CN108009288B - Recipe pushing method and device - Google Patents

Recipe pushing method and device Download PDF

Info

Publication number
CN108009288B
CN108009288B CN201711423843.2A CN201711423843A CN108009288B CN 108009288 B CN108009288 B CN 108009288B CN 201711423843 A CN201711423843 A CN 201711423843A CN 108009288 B CN108009288 B CN 108009288B
Authority
CN
China
Prior art keywords
target
food material
picture
recipe
material information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711423843.2A
Other languages
Chinese (zh)
Other versions
CN108009288A (en
Inventor
赵美欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711423843.2A priority Critical patent/CN108009288B/en
Publication of CN108009288A publication Critical patent/CN108009288A/en
Application granted granted Critical
Publication of CN108009288B publication Critical patent/CN108009288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes

Abstract

The embodiment of the invention discloses a recipe pushing method and a device, which are used for solving the problems of inaccurate and incomplete recipe pushing in the prior art, and the method comprises the following steps: the method comprises the steps of obtaining a food material image to be identified, and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information; identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the target recipe picture to a user. According to the technical scheme, the acquisition sources of the target recipe pictures pushed by the user are diversified, so that the interest of the user in the pushed target recipe pictures is promoted to a great extent, and the recipe pushing method is more perfect and accurate.

Description

Recipe pushing method and device
Technical Field
The invention relates to the field of communication, in particular to a recipe pushing method and device.
Background
In the modern society, the pace of life of people is getting faster, most people are busy working and rarely pay attention to the health in the aspect of diet, and the diet is usually greasy food such as high fat and high calorie when people eat nearby fast food or have a dinner together. Under the conditions of bad diet and great pressure, the physical quality of people also becomes bad, which is not good for the health development of people in the past. Therefore, there is a need to remind people to improve the quality of diet to improve physical fitness.
In the prior art, in the aspect of reminding people of improving the diet quality, some health recipes on the network are usually pushed for users, and although the method can play a recipe recommendation effect to a certain extent, the experience is not good for the users, especially the pushing mode is single, and the pushed recipes have no selectivity, so that the users are not interested in the pushed recipes.
Disclosure of Invention
The embodiment of the invention aims to provide a recipe pushing method and device to solve the problem that in the prior art, the recipe pushing is not accurate and incomplete.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a recipe pushing method, where the method includes:
the method comprises the steps of obtaining a food material image to be identified, and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information;
identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application;
and pushing the target recipe picture to a user.
In a second aspect, an embodiment of the present invention further provides a recipe pushing apparatus, where the apparatus includes:
the food material identification module is used for acquiring a food material image to be identified and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information;
the acquisition module is used for identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application;
and the pushing module is used for pushing the target recipe picture to a user.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the recipe pushing method according to any one of the above items
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the recipe pushing method according to any one of the above items.
In the embodiment of the invention, at least one piece of food material information in a food material image is identified by acquiring the food material image to be identified, and a target recipe picture matched with the food material information is identified and acquired from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the obtained target recipe picture to the user. Therefore, when the recipe is pushed to the user, the technical scheme is not limited to the recipe uploaded on the network, but the target recipe picture can be obtained for the user from the first picture uploaded by the contact person in the specified application, so that the obtaining source of the target recipe picture pushed to the user is more diversified, the interest of the user on the pushed target recipe picture is greatly promoted, and the recipe pushing method is more perfect and accurate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a recipe pushing method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a recipe pushing method according to another embodiment of the present invention.
Fig. 3 is a schematic interface diagram of a recipe pushing method in an embodiment of the invention.
Fig. 4 is a schematic interface diagram of a recipe pushing method in another embodiment of the present invention.
Fig. 5 is a schematic interface diagram of a recipe pushing method in another embodiment of the present invention.
Fig. 6 is a schematic interface diagram of a recipe pushing method in another embodiment of the present invention.
Fig. 7 is a schematic interface diagram of a recipe pushing method in another embodiment of the present invention.
Fig. 8 is a schematic interface diagram of a recipe pushing method in another embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a recipe pushing device according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a mobile terminal in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a recipe pushing method according to an embodiment of the present invention. The method of fig. 1 is applicable to a mobile terminal, and comprises the following steps:
s101, obtaining a food material image to be identified, and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information.
In this step, a camera of the mobile terminal may be used to shoot an image of the food material to be identified in real time, or the image of the food material to be identified may be obtained from a picture set (e.g., an album) for storing pictures in the mobile terminal.
When the food material information comprises text food material information, firstly, image food material information needs to be identified, and then the text food material information corresponding to the image food material information is determined according to the corresponding relation between the image food material information and the text food material information. The corresponding relation between the image food material information and the text food material information can be stored in the network side or the local mobile terminal in advance.
S102, identifying and acquiring a target recipe picture matched with the food material information from a plurality of designated pictures, wherein the designated pictures comprise a first picture uploaded by a contact person in a designated application.
Wherein specifying the picture may further comprise specifying a second picture in the search engine server.
The designated application may be a third-party social application installed on the mobile terminal, such as an instant messaging application, a live broadcast application, and the like; or the system application of the mobile terminal can be self-contained, such as an album and the like.
When the designated application is a third-party social application installed on the mobile terminal, the contact may be a friend of the user in the third-party social application, and the first picture uploaded by the contact is a picture uploaded by the friend in a social circle (such as a friend circle, an album, and the like) in the third-party social application.
S103, pushing the target recipe picture to the user.
In the embodiment of the invention, at least one piece of food material information in a food material image is identified by acquiring the food material image to be identified, and a target recipe picture matched with the food material information is identified and acquired from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the obtained target recipe picture to the user. Therefore, when the recipe is pushed to the user, the technical scheme is not limited to the recipe uploaded on the network, but the target recipe picture can be obtained for the user from the first picture uploaded by the contact person in the specified application, so that the obtaining source of the target recipe picture pushed to the user is more diversified, the interest of the user on the pushed target recipe picture is greatly promoted, and the recipe pushing method is more perfect and accurate.
The method of the embodiments of the present invention will be further described with reference to specific embodiments.
In one embodiment, the target recipe picture matching the food material information can be identified and obtained from a plurality of specified pictures by the following method: first, key information in each designated picture is identified, wherein the key information comprises image key information and/or text key information. And secondly, matching each piece of key information with the food material information respectively to obtain target key information matched with the food material information. And finally, determining that the target appointed picture corresponding to the target key information is a target recipe picture matched with the food material information.
The text information will be described as an example. The key information in the pictures is designated as text key information, and the food material information is text food material information. When the text food material information is matched with the text key information, the Euclidean distance between the text food material information and the text key information can be calculated by using an Euclidean distance method, when the Euclidean distance is smaller than a preset threshold value, the text food material information is determined to be matched with the text key information, and then the text food material information is determined to be matched with the appointed picture corresponding to the text key information.
In one embodiment, after the food material image to be identified is obtained, a first option corresponding to the first picture and a second option corresponding to the second picture may be displayed in the food material image. When receiving a selection operation of a user on a first option, identifying and acquiring a recipe picture matched with the food material information from the first picture; and when receiving the selection operation of the user on the second option, identifying and acquiring the recipe picture matched with the food material information from the second picture.
In this embodiment, the first option and the second option may be distinguished by using different characters. For example, a first option is a "friends recipe" representing friends of the user uploading in a social-like application, and a second option is a "best people's mood recipe" representing multiple users uploading on a designated search engine server (i.e., on a network). When a user selects a 'friend recipe', the mobile terminal acquires a recipe picture matched with food material information from pictures uploaded by all friends in the social application; when the user selects the 'best popularity recipe', the mobile terminal acquires the recipe picture matched with the food material information from the pictures uploaded to the network by the plurality of users.
In this embodiment, for food material information, a user can select to obtain a target recipe picture matched with the food material information from a designated application or from a search engine server as needed, so that the recipe is pushed to the user more selectively without being limited to a pushing mode, and further the interest of the user in the pushed target recipe picture is promoted.
In one embodiment, considering that the number of the first pictures uploaded by the contact in the specific application is limited or the types of the first pictures uploaded are limited, the target recipe picture matched with the food material information may not be identified. At this time, the user may be prompted that the target recipe picture matched with the food material information is not identified from the first picture, and the target recipe picture matched with the food material information is continuously identified and acquired from the second picture in the specified search engine server. Therefore, even if the recipe picture matched with the food material information cannot be obtained from the first picture uploaded by the contact person in the appointed application, the situation that the target recipe picture cannot be pushed for the user can be avoided.
Fig. 2 is a flowchart of a recipe pushing method according to an embodiment of the present invention. The method of fig. 2 is applicable to a mobile terminal, and comprises the following steps:
s201, shooting a food material image to be identified, and identifying at least one piece of food material information in the food material image.
S202, displaying a first option corresponding to a picture uploaded by a friend in the social application and a second option corresponding to a picture in a designated search engine server in the food material image.
For example, a first option is a "friends recipe" representing friends of the user uploading in a social-like application, and a second option is a "best people's mood recipe" representing multiple users uploading on a designated search engine server (i.e., on a network). As shown in fig. 3, the photographed food material image 300 (not shown with specific picture content) is displayed on the display screen of the mobile terminal in a full screen manner, and a first option 301- "friend recipe" and a second option 302- "best people's energy recipe" are displayed on the food material image 300.
S203, receiving the selection operation of the user on the first option or the second option. If the user selects the first option, executing S204; if the user selects the second option, S207 is performed.
S204, sending the identified food material information to a social application, and identifying a target recipe picture matched with the food material information from a social circle of a friend by the social application.
S205, judging whether a target recipe picture can be identified from the social circle; if yes, go to S206; if not, go to S207.
S206, acquiring the target recipe picture identified from the social circle, and pushing the target recipe picture to the user.
And S207, sending the identified food material information to a specified search engine, and identifying a target recipe picture matched with the food material information from a server by the specified search engine.
And S208, acquiring the target recipe picture identified from the specified search engine server, and pushing the target recipe picture to the user.
In this embodiment, for food material information, a user can select to obtain a target recipe picture matched with the food material information from a social application or a search engine server as needed, so that the recipe is pushed to the user more selectively without being limited to a pushing mode, and the interest of the user in the pushed target recipe picture is further promoted.
In one embodiment, after a target recipe picture matched with food material information is identified and acquired from a first picture uploaded by a contact in a specified application, the acquired target recipe picture and related information of the target contact corresponding to the target recipe picture can be pushed to a user. The related information of the target contact person may include a nickname, a head portrait, an account number, and the like of the target contact person in a specified application.
The obtained target recipe picture is pushed to the user, meanwhile, the target recipe picture can be displayed in a full screen mode, and related information of the target contact person is displayed at a corresponding position (such as a lower position) on the target recipe picture. Or, the related information of the target recipe picture and the target contact person is displayed in a non-full screen mode, that is, the related information of the target recipe picture and the target contact person is respectively displayed in different areas on the display screen.
Fig. 4 shows a schematic interface diagram for displaying a target recipe picture and related information of a target contact in a non-full screen manner. As shown in fig. 4, the display screen is divided into two areas, an upper area 401 displays a target recipe picture a (not shown in the figure, the content of a specific picture), and a lower area 402 displays information related to a target contact "cookie face" corresponding to the target recipe picture a: "the cookie face has done the dish, clicked and shared with him at a bar! ".
When the target recipe pictures comprise a plurality of target recipe pictures, the related information of the target contacts corresponding to the target recipe pictures and the target recipe pictures can be pushed to the user at the same time. Namely, the target recipe pictures are all displayed on the display screen, and the related information of the target contact persons corresponding to the target recipe pictures is displayed on the corresponding target recipe pictures respectively. Wherein, the target contact persons corresponding to the target recipe pictures can be the same or different. In this embodiment, the user can more clearly know the corresponding relationship between the target contact and the target recipe picture by correspondingly displaying the relevant information of each target recipe picture and the target contact.
For example, the target contact person corresponding to the target recipe picture a is a "cookie face", and the target contact person corresponding to the target recipe picture b is a "sheep". As shown in fig. 5, the display screen is divided into two areas, and the area 501 at the top displays a target recipe picture a (not shown in the figure, the content of the specific picture), and displays the related information of the target contact "cookie face" on the target recipe picture a: "the cookie face has done the dish, clicked and shared with him at a bar! "; the lower area 502 displays a target recipe picture b (the content of the specific picture is not shown in the figure), and the related information of the target contact person "sheep" is displayed on the target recipe picture b: "the sheep made the dish and clicked to share a bar! ".
When the target recipe picture includes a plurality of target contacts corresponding to the plurality of target recipe pictures, in addition to the above-mentioned manner of displaying the target recipe pictures and the related information of the target contacts correspondingly, the plurality of target recipe pictures may be combined together and displayed on the display screen, and the related information of the plurality of target contacts corresponding to the plurality of target recipe pictures is displayed comprehensively at a designated position (e.g., a lower position of the plurality of target recipe pictures) on the display screen.
For example, the target contact person corresponding to the target recipe picture a is a "cookie face", and the target contact person corresponding to the target recipe picture b is a "sheep". As shown in fig. 6, the target recipe picture a and the target recipe picture b are combined together in an up-down combination manner and displayed on the display screen, and the related information of a plurality of target contacts is displayed at the lower positions of the target recipe picture a and the target recipe picture b: a cheeks and sheep have made the dish and clicked to share a bar! ".
In one embodiment, the user may enter a chat interface with the target contact by triggering related information of the target contact. When the user triggers the related information of the target contact person, the user sends a sharing instruction for the target recipe picture. When a plurality of target recipe pictures are pushed, the user can select the target recipe picture which the user is interested in and trigger the related information of the target contact corresponding to the selected target recipe picture.
If the target contact person only comprises one target contact person, when a sharing instruction of the user for the target recipe picture is received, jumping to a dialog box for message communication with the target contact person, and sending the target recipe picture to the target contact person in the dialog box. Namely, after jumping to a dialog box for message exchange with the target contact person, the mobile terminal automatically sends the target recipe picture as a message to the target contact person.
Following the embodiment shown in FIG. 4, when the user clicks on the "cookie face" associated with the target contact "cookie face" in the interface shown in FIG. 4, click on a call to share with him! When "the current interface jumps to the dialog box where" i "and target contact" pie face "are in messaging, as shown in fig. 7. And, within the dialog, the target recipe picture a is sent as a message to the target contact "cookie face".
When the target contact person only comprises one target contact person, the target recipe picture corresponding to the target contact person may comprise a plurality of target recipe pictures, at this time, each target recipe picture can be respectively used as a message and sequentially sent to the target contact person, and the target recipe pictures can also be combined together to form a message and sent to the target contact person. When combining a plurality of target recipe pictures, the plurality of target recipe pictures may be combined according to a preset picture combination manner, for example, the preset picture combination manner is that the plurality of pictures are sequentially arranged from top to bottom, the plurality of pictures are sequentially arranged from left to right, and the like.
If the target contacts comprise a plurality of target contacts, when a sharing instruction of a user for the target recipe picture is received, a group conversation frame for carrying out message communication with the target contacts is created and jumped to, and the target recipe picture is sent to the target contacts in the group conversation frame.
When the target contact person comprises a plurality of target contact persons, the obtained target recipe pictures also comprise a plurality of target recipe pictures, in this case, each target recipe picture can be respectively used as a message and sequentially sent to the target contact person, and the target recipe pictures can also be combined together to form a message and sent to the target contact person. When combining a plurality of target recipe pictures, the plurality of target recipe pictures may be combined according to a preset picture combination manner, for example, the preset picture combination manner is that the plurality of pictures are sequentially arranged from top to bottom, the plurality of pictures are sequentially arranged from left to right, and the like.
Following the embodiment shown in FIG. 6, when the user clicks on the target contacts "cookie face" and "sheep" related information "cookie face, sheep" in the interface shown in FIG. 6, he/she makes the dish and clicks on a bar! When the user wants to chat with the target contact, the mobile terminal creates a group dialog box for the message exchange between the user and the target contact, namely the cookie face and the white goat, and the current interface jumps to the group dialog box, as shown in the group chat interface shown in fig. 8, the number "3" in the group chat (3) "indicates that the group dialog box has 3 people to participate in the chat. And, in the group dialog box, the target recipe picture a and the target recipe picture b are combined into one message to be transmitted to the target contacts "cookie face" and "lamb" and displayed in the group dialog box shown in fig. 8. In this embodiment, the target recipe picture a and the target recipe picture b are combined in an up-and-down combination manner.
In the embodiment, the target recipe picture matched with the food material information is obtained from the first picture uploaded by the contact person in the designated application, and after the target recipe picture is pushed for the user, the user can jump to a dialog box where the user and the target contact person perform message communication according to a sharing instruction sent by the user, so that the user can share the target recipe picture with the target contact person through the dialog box, and further communicate related experiences. Furthermore, friends who like to cook can be gathered together and share cooking experience, so that the interest of the user in sharing cooking recipes is promoted, and the user is better stimulated to improve the diet quality.
In one embodiment, a target recipe picture which matches the food material information and meets a preset condition can be identified and obtained from a plurality of designated pictures. The preset conditions comprise the maximum number of praise, the maximum rating, the maximum sharing times, the healthiest and the most delicious, etc.
For example, when a target recipe picture is acquired from a first picture uploaded by a contact in a specified application, a target recipe picture which is matched with food material information and has the largest number of prawns can be acquired; when the target recipe picture is obtained from the second picture in the designated search engine server, the healthier target recipe picture matched with the food material information can be obtained.
In the embodiment, the target recipe picture with the most praise number, the highest evaluation rate, the most sharing times, the healthest or most delicious taste and the like can be pushed for the user, so that the target recipe picture pushed for the user is more targeted, the pursuit of the user on the diet quality can be met, and the interest of the user on the pushed target recipe picture is promoted.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Fig. 9 is a schematic structural diagram of a recipe pushing device according to an embodiment of the present invention. Referring to fig. 9, a recipe pushing device may include:
the identification module 910 is configured to acquire a food material image to be identified, and identify at least one piece of food material information in the food material image, where the food material information includes image-based food material information and/or text-based food material information;
an obtaining module 920, configured to identify and obtain a target recipe picture matched with the food material information from multiple designated pictures, where the designated pictures include a first picture uploaded by a contact in a designated application;
a pushing module 930, configured to push the target recipe picture to the user.
In one embodiment, the pushing module 930 includes:
and the pushing unit is used for pushing the target recipe picture acquired from the first picture and the related information of the target contact person corresponding to the target recipe picture to the user.
In one embodiment, the above apparatus further comprises:
the skip module is used for skipping to a dialog box for message communication with the target contact person when a sharing instruction sent by a user for the target recipe picture and related information is received if the target contact person only comprises one, and sending the target recipe picture to the target contact person in the dialog box;
and the creating module is used for creating and jumping to a group conversation frame for carrying out message traffic with the target contacts when receiving the sharing instruction if the target contacts comprise a plurality of contacts, and sending the target recipe picture to the target contacts in the group conversation frame.
In one embodiment, the obtaining module 920 includes:
the acquisition unit is used for identifying and acquiring a target recipe picture which is matched with the food material information and meets preset conditions from the plurality of appointed pictures, wherein the preset conditions comprise at least one of the following items: most praise, best comment and most share.
In one embodiment, the obtaining module 920 includes:
the identification unit is used for identifying key information in each designated picture, and the key information comprises image key information and/or text key information;
the matching unit is used for matching each piece of key information with the food material information respectively to obtain target key information matched with the food material information;
and the determining unit is used for determining the target appointed picture corresponding to the target key information as the target recipe picture matched with the food material information.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 8, and is not described herein again to avoid repetition.
In the embodiment of the invention, at least one piece of food material information in a food material image is identified by acquiring the food material image to be identified, and a target recipe picture matched with the food material information is identified and acquired from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the obtained target recipe picture to the user. Therefore, when the recipe is pushed to the user, the technical scheme is not limited to the recipe uploaded on the network, but the target recipe picture can be obtained for the user from the first picture uploaded by the contact person in the specified application, so that the obtaining source of the target recipe picture pushed to the user is more diversified, the interest of the user on the pushed target recipe picture is greatly promoted, and the recipe pushing method is more perfect and accurate.
Fig. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 10 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1010 is configured to acquire a food material image to be identified, and identify at least one piece of food material information in the food material image, where the food material information includes image-based food material information and/or text-based food material information; identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the target recipe picture to a user.
In the embodiment of the invention, at least one piece of food material information in a food material image is identified by acquiring the food material image to be identified, and a target recipe picture matched with the food material information is identified and acquired from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application; and pushing the obtained target recipe picture to the user. Therefore, when the recipe is pushed to the user, the technical scheme is not limited to the recipe uploaded on the network, but the target recipe picture can be obtained for the user from the first picture uploaded by the contact person in the specified application, so that the obtaining source of the target recipe picture pushed to the user is more diversified, the interest of the user on the pushed target recipe picture is greatly promoted, and the recipe pushing method is more perfect and accurate.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The mobile terminal 1000 can also include at least one sensor 1005, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the mobile terminal 1000 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 106 may include a Display panel 10061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 1008 is an interface through which an external device is connected to the mobile terminal 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 1000 or may be used to transmit data between the mobile terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the mobile terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The mobile terminal 1000 may also include a power supply 1011 (e.g., a battery) for powering the various components, and the power supply 1011 may be logically coupled to the processor 1010 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the recipe pushing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the recipe pushing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A recipe push method, comprising:
the method comprises the steps of obtaining a food material image to be identified, and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information;
identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application;
pushing the target recipe picture to a user;
the pushing the target recipe picture to a user comprises: pushing the target recipe picture obtained from the first picture and related information of a target contact corresponding to the target recipe picture to a user;
if the target contact person only comprises one target contact person, when a sharing instruction sent by the user aiming at the target recipe picture and the related information is received, skipping to a dialog box for message communication with the target contact person, and sending the target recipe picture to the target contact person in the dialog box;
if the target contact persons comprise a plurality of target contact persons, when the sharing instruction is received, a group dialog box which carries out message communication with the target contact persons is created and jumped to, and the target recipe picture is sent to the target contact persons in the group dialog box.
2. The method of claim 1, wherein the identifying and obtaining the target recipe picture matching the food material information from the plurality of designated pictures comprises:
identifying and acquiring a target recipe picture which is matched with the food material information and meets a preset condition from a plurality of specified pictures, wherein the preset condition comprises at least one of the following items: most praise, best comment and most share.
3. The method of claim 1, wherein the identifying and obtaining the target recipe picture matching the food material information from the plurality of designated pictures comprises:
identifying key information in each appointed picture, wherein the key information comprises image key information and/or text key information;
matching each piece of key information with the food material information respectively to obtain target key information matched with the food material information;
and determining that the target appointed picture corresponding to the target key information is a target recipe picture matched with the food material information.
4. A recipe pushing device, comprising:
the food material identification module is used for acquiring a food material image to be identified and identifying at least one piece of food material information in the food material image, wherein the food material information comprises image-type food material information and/or text-type food material information;
the acquisition module is used for identifying and acquiring a target recipe picture matched with the food material information from a plurality of specified pictures, wherein the specified pictures comprise a first picture uploaded by a contact person in a specified application;
the pushing module is used for pushing the target recipe picture to a user;
the push module comprises: the pushing unit is used for pushing the target recipe picture acquired from the first picture and the related information of the target contact person corresponding to the target recipe picture to a user; the skip module is used for skipping to a dialog box for carrying out message communication with the target contact person when a sharing instruction which is sent by the user aiming at the target recipe picture and the related information is received if the target contact person only comprises one, and sending the target recipe picture to the target contact person in the dialog box;
and the creating module is used for creating and jumping to a group dialog box for carrying out message communication with the target contacts when the sharing instruction is received if the target contacts comprise a plurality of contacts, and sending the target recipe picture to the target contacts in the group dialog box.
5. The apparatus of claim 4, wherein the obtaining module comprises:
an obtaining unit, configured to identify and obtain a target recipe picture that matches the food material information and satisfies a preset condition from a plurality of specified pictures, where the preset condition includes at least one of: most praise, best comment and most share.
6. The apparatus of claim 5, wherein the obtaining module comprises:
the identification unit is used for identifying key information in each designated picture, and the key information comprises image key information and/or text key information;
the matching unit is used for matching each piece of key information with the food material information respectively to obtain target key information matched with the food material information;
and the determining unit is used for determining that the target appointed picture corresponding to the target key information is the target recipe picture matched with the food material information.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, realizes the steps of the recipe pushing method according to any one of claims 1 to 3.
CN201711423843.2A 2017-12-25 2017-12-25 Recipe pushing method and device Active CN108009288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711423843.2A CN108009288B (en) 2017-12-25 2017-12-25 Recipe pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711423843.2A CN108009288B (en) 2017-12-25 2017-12-25 Recipe pushing method and device

Publications (2)

Publication Number Publication Date
CN108009288A CN108009288A (en) 2018-05-08
CN108009288B true CN108009288B (en) 2020-01-14

Family

ID=62061242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711423843.2A Active CN108009288B (en) 2017-12-25 2017-12-25 Recipe pushing method and device

Country Status (1)

Country Link
CN (1) CN108009288B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108766529A (en) * 2018-05-16 2018-11-06 北京豆果信息技术有限公司 A kind of intelligence recipe recommendation method and system
CN109521684B (en) * 2018-11-23 2022-06-17 维沃移动通信(杭州)有限公司 Household equipment control method and terminal equipment
CN110223757A (en) * 2019-04-23 2019-09-10 平安科技(深圳)有限公司 The recommended method of recipe scheme, device, medium, electronic equipment
CN111459054A (en) * 2020-04-14 2020-07-28 珠海格力电器股份有限公司 Recipe pushing method, equipment, storage medium and kitchen appliance
CN112233773A (en) * 2020-10-28 2021-01-15 刘娴 Recipe management method based on household robot and household robot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407658A (en) * 2016-08-31 2017-02-15 广东格兰仕集团有限公司 Menu pushing system based on image recognition and use method thereof
CN106446212A (en) * 2016-09-30 2017-02-22 努比亚技术有限公司 Mobile terminal and food recommendation method
CN106815745A (en) * 2016-12-30 2017-06-09 北京三快在线科技有限公司 Vegetable recommends method and system
CN107341340A (en) * 2017-06-08 2017-11-10 美的集团股份有限公司 recipe recommendation method, system and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368746A (en) * 2011-09-08 2012-03-07 宇龙计算机通信科技(深圳)有限公司 Picture information promotion method and apparatus thereof
US10262302B2 (en) * 2015-10-27 2019-04-16 International Business Machines Corporation Recipe selection system with bidirectional calendar interface
CN105653636B (en) * 2015-12-25 2020-07-28 北京搜狗科技发展有限公司 Information processing method and device for information processing
CN106503219A (en) * 2016-10-28 2017-03-15 深圳前海弘稼科技有限公司 The method for pushing of Cookbooks, pusher and server
CN106971069A (en) * 2017-03-20 2017-07-21 云南火地科技有限公司 A kind of intelligent recipe recommendation system for nutrient health
CN107256334A (en) * 2017-05-26 2017-10-17 广东欧珀移动通信有限公司 recipe matching method and related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407658A (en) * 2016-08-31 2017-02-15 广东格兰仕集团有限公司 Menu pushing system based on image recognition and use method thereof
CN106446212A (en) * 2016-09-30 2017-02-22 努比亚技术有限公司 Mobile terminal and food recommendation method
CN106815745A (en) * 2016-12-30 2017-06-09 北京三快在线科技有限公司 Vegetable recommends method and system
CN107341340A (en) * 2017-06-08 2017-11-10 美的集团股份有限公司 recipe recommendation method, system and terminal

Also Published As

Publication number Publication date
CN108009288A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
CN108009288B (en) Recipe pushing method and device
CN109388297B (en) Expression display method and device, computer readable storage medium and terminal
WO2016173513A1 (en) Recommended content-based interaction method, terminal, and server
CN110087117B (en) Video playing method and terminal
CN109739418B (en) Interaction method and terminal for multimedia playing application program
CN108255382B (en) Method and device for recommending floating menu content
CN106973330B (en) Screen live broadcasting method, device and system
CN106303733B (en) Method and device for playing live special effect information
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN108683850B (en) Shooting prompting method and mobile terminal
CN106797336B (en) Method and device for displaying historical chat records
CN113115114B (en) Interaction method, device, equipment and storage medium
CN108600089B (en) Expression image display method and terminal equipment
CN107835495B (en) Message prompting method and device and mobile terminal
CN110971510A (en) Message processing method and electronic equipment
CN109634438B (en) Input method control method and terminal equipment
CN108718389B (en) Shooting mode selection method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN107944040B (en) Lyric display method and mobile terminal
CN108429668B (en) Message processing method, device, terminal and system
CN109660674B (en) Method for setting alarm clock and electronic equipment
CN109164908B (en) Interface control method and mobile terminal
CN110784394A (en) Prompting method and electronic equipment
CN108108338B (en) Lyric processing method, lyric display method, server and mobile terminal
CN107886303B (en) Schedule sharing processing method, server and mobile terminal

Legal Events

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