CN109618047A - Electronic device, information-pushing method and Related product - Google Patents

Electronic device, information-pushing method and Related product Download PDF

Info

Publication number
CN109618047A
CN109618047A CN201811428212.4A CN201811428212A CN109618047A CN 109618047 A CN109618047 A CN 109618047A CN 201811428212 A CN201811428212 A CN 201811428212A CN 109618047 A CN109618047 A CN 109618047A
Authority
CN
China
Prior art keywords
hazardous substance
substance
target food
information
food
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.)
Pending
Application number
CN201811428212.4A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811428212.4A priority Critical patent/CN109618047A/en
Publication of CN109618047A publication Critical patent/CN109618047A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • G01N21/31Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
    • G01N21/35Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
    • G01N21/359Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using near infrared light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Analytical Chemistry (AREA)
  • Environmental & Geological Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

Application embodiment discloses a kind of electronic device, information-pushing method and Related product, comprising: determines target food by camera or substance sensor;The hazardous substance information of target food is detected by substance sensor;It is generated according to hazardous substance information and exports presupposed information.The embodiment of the present application is conducive to promote convenience and reasonability that user handles food.

Description

Electronic device, information-pushing method and Related product
Technical field
This application involves electronics art fields, and in particular to a kind of electronic device, information-pushing method and Related product.
Background technique
With a large amount of popularization and applications of mobile terminal (such as smart phone), the application that mobile terminal can be supported is increasingly More, function is stronger and stronger, and smart phone develops towards diversification, personalized direction, becomes indispensable in user's life Appliance and electronic.
Currently, people face food when, can not know food hazardous substance information (such as hazardous substance type, Content), in the case where not knowing correct processing mode, inappropriate processing has been carried out to food.
Summary of the invention
The embodiment of the present application provides a kind of electronic device, information-pushing method and Related product, to promote user's food The convenience and reasonability of object processing.
In a first aspect, the embodiment of the present application provides a kind of electronic device, including processor, substance sensor, camera and Display, the substance sensor, camera and display are separately connected the processor, wherein
The camera or the substance sensor, for determining target food;
The substance sensor, for detecting the hazardous substance information of the target food;
The processor, for being generated according to the hazardous substance information and exporting presupposed information.
Second aspect, the embodiment of the present application provide a kind of information-pushing method, are applied to electronic device, the electronic device Including substance sensor and camera, the substance sensor is arranged close to the camera, which comprises
Target food is determined by the camera or the substance sensor;
The hazardous substance information of the target food is detected by the substance sensor;
It is generated according to the hazardous substance information and exports presupposed information.
The third aspect, the embodiment of the present application provide a kind of information push-delivery apparatus, are applied to electronic device, the electronic device Including substance sensor and camera, the substance sensor is arranged close to the camera, and the information push-delivery apparatus includes Determining module, detection module and pushing module, wherein
The determining module, for determining target food;
The detection module, for detecting the hazardous substance information of the target food;
The pushing module, for being generated according to the hazardous substance information and exporting presupposed information.
Fourth aspect, the embodiment of the present application provide a kind of electronic device, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application second aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application second aspect either method.
6th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application second aspect either method.The computer program product It can be a software installation packet.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application;
Figure 1B is a kind of schematic diagram of positional relationship between substance sensor and camera provided by the embodiments of the present application;
Fig. 1 C is the schematic diagram of positional relationship between another substance sensor and camera provided by the embodiments of the present application;
Fig. 2A is a kind of flow diagram of information-pushing method provided by the embodiments of the present application;
Fig. 2 B is a kind of display interface exemplary diagram of food applications provided by the embodiments of the present application;
Fig. 2 C is a kind of schematic diagram of substance sensor detection content of material provided by the embodiments of the present application;
Fig. 2 D is a kind of infrared spectroscopy exemplary diagram provided by the embodiments of the present application;
Fig. 2 E is that push interface schematic diagram is suggested in cleaning in a kind of food applications provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another information-pushing method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another information-pushing method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application;
Fig. 6 is a kind of functional module composition block diagram of information push-delivery apparatus provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as contain series of steps or the process, method, system, product or equipment of module do not have It is defined in listed step or module, but optionally further comprising the step of not listing or module, or optionally also wrap Include other steps or module intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic device involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic device.
It describes in detail below to the embodiment of the present application.
Figure 1A is please referred to, Figure 1A is that the embodiment of the invention provides a kind of structural schematic diagram of electronic device 100, the electronics Device 100 includes: shell 110, the display 120 being set on the shell 110, the mainboard being set in the shell 110 130, processor 140 and memory 150 are provided on mainboard 130, and as shown in Figure 1B, the electronic device is additionally provided with substance biography Sensor 160, camera 170 etc., the substance sensor 160 and the camera 170 connect the processor 140, the place Reason device 140 connects the display 120, and the electronic device 100 further includes radio frequency system 180 as shown in Figure 1A, described to penetrate Display system 180 includes transmitter 181, receiver 182, signal processor 183, wherein
The camera 170 or the substance sensor 160, for determining target food;
The substance sensor 160, for detecting the hazardous substance information of the target food;
The processor 140, for exporting presupposed information by the display 120 according to the hazardous substance information.
Wherein, the display 120 includes circuit of display driving, display screen and touch screen, the display driving electricity Road is carried out for controlling the display screen according to the display data and display parameters (for example, brightness, color, saturation degree etc.) of picture Content shows that the touch screen is organic light-emitting diode (OLED) display screen OLED for detecting touch control operation, the display screen.
Wherein, the camera 170 can be the front camera of the electronic device 100, or the electronics The rear camera of device 100, but no matter the camera 170 is front camera or rear camera, and the substance passes Sensor 160 is close to the camera 170 and is arranged, for example, as shown in Figure 1B, when the camera 170 is postposition dual camera When, the substance sensor 160 is located at the intermediate setting of two cameras, alternatively, again as shown in Figure 1 C, the camera 170 When for postposition single camera, the substance sensor 160 is located at top setting of the camera 170 etc., does not do herein unique It limits.
Wherein, the substance sensor 160 can detecte the type or content of many kinds of substance, since different material is to close Infrared spectra adsorption ability is different, therefore, integrates multiple channels in the substance sensor 160, when carrying out substance detection, Then emitting infrared light by the infrared LED lamp in substance sensor 160 makes the lighting equipment in substance sensor 160 to every Because the infrared light of different wave length that irradiation different material back reflection returns is acquired in a channel, and by the number of the infrared light of acquisition According to processor 140 is transmitted to, processor 140 is set to draw infrared spectroscopy, and carry out big data analysis to infrared spectroscopy, to come true Determine Matter Composition and content.
Wherein, the shape size of the mainboard 130 can be the arbitrary size and shape that the electronic device 100 can accommodate Shape does not do unique restriction herein.
Wherein, processor 140 includes application processor and baseband processor, and processor 140 is the control of electronic device 100 Center is stored in memory by running or executing using the various pieces of various interfaces and the entire electronic device of connection Software program and/or module in 150, and the data being stored in memory 150 are called, execute each of electronic device 100 Kind function and processing data, to carry out integral monitoring to electronic device 100.Wherein, the main processing operation system of application processor System, user interface and application program etc., baseband processor mainly handles wireless communication.It is understood that above-mentioned Base-Band Processing Device can not also be integrated into the processor.
Wherein, memory 150 can be used for storing software program and module, and processor 140 is stored in storage by operation The software program and module of device 150, thereby executing the various function application and data processing of electronic device 100.Memory 150 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one function Application program needed for energy etc.;Storage data area, which can be stored, uses created data etc. according to electronic device.In addition, storage Device 150 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk storage Device, flush memory device or other volatile solid-state parts.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and/or content.
In this possible example, the hazardous substance information includes hazardous substance entrained by the target food Type;It is described generate according to the hazardous substance information and export presupposed information in terms of, the processor 140 is specifically used for: Judge whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;And judging the danger In the case that evil substance is substance easy to clean, the first presupposed information that the target food is bought in suggestion is generated and exported; And it in the case where judging the hazardous substance is substance not easy to clean, generates and exports suggestion and do not buy the mesh Mark the second presupposed information of food.
In this possible example, the substance sensor 160 is provided with near-infrared NIR light source and multiple optical channels, Each optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only passing through institute State the optical signal of the corresponding wave band of each optical channel;The target food is detected by the substance sensor 160 described Hazardous substance message context, the processor 140 are specifically used for: irradiating the target food by the substance sensor, lead to The first optical signal that the substance sensor 160 acquires the target food reflection is crossed, the first light of the target food is obtained Data, the hazardous substance that first light data is associated with the target food and is attached on the target food, described first Light data includes the multiple groups optical channel data of the corresponding multiple wave bands of multiple optical channels, and every group of optical channel data are for indicating described Target object to the absorbability of the optical signal of the corresponding wave band of every group of optical channel data, first light data include with Descend any one: light energy relative value, alternatively, absorptivity relative value;And the mesh is determined according to first light data Mark the corresponding wave band of absorption peak of food;And with the wave band be inquiry mark, inquire the of the target food prestored One mapping relations, obtain the type of the corresponding hazardous substance of the wave band, and first mapping relations include the target Corresponding relationship between the wave band of food and the type of the hazardous substance.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and content;It is described generate according to the hazardous substance information and export presupposed information in terms of, the processor 140 is specific For: when detecting that the hazardous substance content is greater than or equal to default content, determined according to the type of the hazardous substance The cleaning way of the target food, output include the first presupposed information of the cleaning way;And detecting the danger When evil content of material is less than the default content, the second edible presupposed information is suggested in output.
In this possible example, the substance sensor 160 is provided with near-infrared NIR light source and multiple optical channels, Each optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only passing through institute State the optical signal of the corresponding wave band of each optical channel;The target food is detected by the substance sensor 160 described Hazardous substance message context, the processor 140 are specifically used for: opening the NIR light source, irradiated by the substance sensor The target food acquires the second optical signal that the target food reflects under the irradiation of the NIR light source, obtains the target Second light data of food, second light data include the multiple groups optical channel number of the corresponding multiple wave bands of the multiple optical channel It is used to indicate the target object to the optical signal of the corresponding wave band of every group of optical channel data according to, every group of optical channel data Absorbability, second light data include any of the following: light energy relative value, alternatively, absorptivity relative value;And The corresponding wave band of absorption peak of the target food and the absorptivity of the absorption peak are determined according to second light data Relative value;And with the wave band be inquiry mark, the first mapping relations of the target food prestored are inquired, described in acquisition The type of the corresponding hazardous substance of wave band, first mapping relations include the target food wave band and the harm Corresponding relationship between the type of substance;And identified with the absorptivity relative value for inquiry, inquire the mesh prestored The second mapping relations for marking food, obtain the content of the corresponding hazardous substance of the absorptivity relative value, and described second Mapping relations include the corresponding relationship between the absorptivity relative value of the target food and the content of the hazardous substance.
Fig. 2A is please referred to, Fig. 2A is that the embodiment of the present application provides a kind of flow diagram of information-pushing method, application In the electronic device as described in Figure 1A -1C, it is applied to electronic device, the electronic device includes substance sensor and camera, The substance sensor is arranged close to the camera, as shown, this information-pushing method includes:
S201, electronic device determine target food by the camera or the substance sensor.
Wherein, it is arranged due to substance sensor close to camera, electronic device is while starting substance sensor It can star camera and determine target food, be also possible to determine target food by user's operation starting camera, herein not It limits.
Wherein, the specific implementation of the determining target food, which can be, carries out feature by the image to target food It analyzes and determines target food, for example, obtaining the characteristic parameter of target food in image, such as color, lines, do not limit herein It is fixed.Alternatively, the specific implementation of the determining target food is also possible to obtain by substance sensor scanning target food The spectrogram of target food goes out the type of target food according to the spectrum figure analysis.The inspection of specific testing principle and hazardous substance Survey principle is similar, and details are not described herein again.
S202, the electronic device detect the hazardous substance information of the target food by the substance sensor.
Wherein, the hazardous substance for example may include chemical fertilizer (such as the leaf of remaining pesticide (such as herbicide), application Leaven), dust, worm's ovum, bacterium, the virus etc. of landing, do not do unique restriction herein.
Wherein, the application program that food instructs class can be set in the electronic device, which instructs class application program Surface chart it is as shown in Figure 2 B, user can be pressed switch to open by clicking scanning icon in the application program or scanning function Scanning function, i.e. sensor for detecting substance in starting electronic device are scanned the foodstuff surface that can currently scan, A variety of hazardous substance information of foodstuff surface are obtained, which can also include query icon, be used to refer to user query Hazardous substance information can also include a variety of suggestions etc. for food, it is not limited here.
Wherein, sensor for detecting substance scans current foodstuff surface, obtains the hazardous substance information of the foodstuff surface Specific implementation process may include process as shown in figures 2 c-2d, firstly, as shown in Figure 2 C, using the substance in electronic device Detection sensor scans foodstuff surface, emits the Infrared irradiation foodstuff surface, and acquire the infrared light being reflected back, then, root The infrared light of the substance reflection obtained according to sensor for detecting substance obtains infrared spectrogram as shown in Figure 2 D, finally, according to this Infrared spectrogram analyzes hazardous substance information.
S203, the electronic device generate according to the hazardous substance information and export presupposed information.
Wherein, presupposed information can be suggestion purchase information, is also possible to suggestion and does not buy information, be also possible to suggestion food With information, it is also possible to suggestion and does not eat information, can also be suggestion cleaning information, etc..
Wherein, the electronic device generates according to the hazardous substance information and exports the specific implementation of presupposed information It can be diversified, such as can be and send cloud database, the preset danger of database analysis for hazardous substance information The mapping relations of evil material information and presupposed information, are sent to electronic device, and electronic equipment is raw according to the mapping relations received It is shown at presupposed information, and by the presupposed information by display screen.It can also be after analyzing hazardous substance information, directly look into The mapping relations list for asking hazardous substance information and presupposed information that electronic device prestores matches according to mapping relations generation Presupposed information.
Wherein, the electronic device generates and exports presupposed information according to the hazardous substance information, specifically can be, electricity Sub-device generates according to the different hazardous substance information and exports presupposed information corresponding with the hazardous substance information, example Such as, electronic device is that in the case that hazardous substance is easy to clean, output is built in the case where hazardous substance is soluble easily in water Purchase on negotiation is bought.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and/or content.
Wherein, hazardous substance information can be the type of the hazardous substance of foodstuff surface carrying, can also be foodstuff surface The content of the hazardous substance of carrying is also possible to the combination of the type and content of the hazardous substance of foodstuff surface carrying, herein Without limitation.
In this possible example, the hazardous substance information includes hazardous substance entrained by the target food Type;It is described to be generated according to the hazardous substance information and export presupposed information, comprising:
Judge whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;
In the case where judging the hazardous substance is substance easy to clean, generates and export suggestion and buy the mesh Mark the first presupposed information of food;
In the case where judging the hazardous substance is substance not easy to clean, generates and export suggestion and do not buy institute State the second presupposed information of target food.
Wherein, substance easy to clean can be clear water and be easy the substance removed, is also possible to salt water and is easy the object removed Matter can also be that cleaning solution is easy the substance removed, be not especially limited.
As it can be seen that electronic device is directed to the type of hazardous substance in this example, the corresponding meaning bought or do not bought is provided See, is conducive to the safety and convenience that promote user's Food Purchase.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;The hazardous substance for detecting the target food by the substance sensor is believed Breath, comprising: open the NIR light source, the target food is irradiated by the substance sensor, the target food is acquired and exists Lower first optical signal reflected of NIR light source irradiation, obtains the first light data of the target food;According to first light Data determine the corresponding wave band of the absorption peak of the target food;It is inquiry mark with the wave band, inquires the mesh prestored The first mapping relations for marking food, obtain the type of the corresponding hazardous substance of the wave band, the first mapping relations packet Include the corresponding relationship between the wave band of the target food and the type of the hazardous substance.
Wherein, the first light data includes the multiple groups optical channel data of the corresponding multiple wave bands of the multiple optical channel, and every group Optical channel data are for indicating the target object to the absorption energy of the optical signal of the corresponding wave band of every group of optical channel data Power, the first light data can be light energy relative value, and the first light data is also possible to absorptivity relative value.
Wherein, by the substance sensor acquire the target food the NIR light source irradiation under reflect first Optical signal, the process for obtaining the first light data of the target food may include process as shown in figures 2 c-2d, firstly, such as Shown in Fig. 2 C, can be is to scan foodstuff surface with the sensor for detecting substance in electronic device, emits Infrared irradiation food Surface, and the infrared light being reflected back from the foodstuff surface is acquired, then, reflected according to the substance that sensor for detecting substance obtains Infrared light obtains infrared spectrogram as shown in Figure 2 D, finally, analyzing the of the target food according to the infrared spectrogram One light data.
Wherein, the corresponding wave band of absorption peak of the target food determined according to first light data and with the wave Section is inquiry mark, inquires the first mapping relations of the target food prestored, obtains the corresponding harm of the wave band The type of substance, first mapping relations include pair between the wave band of the target food and the type of the hazardous substance It should be related to.As shown in Figure 2 D, A, B, C respectively indicate electronic device and scan the Infrared spectra adsorption song that different foodstuff surfaces obtain Line, for example, A are the Infrared spectra adsorption curve for scanning the first food and obtaining, and B is the infrared light for scanning the second food and obtaining Absorption curve is composed, C is the Infrared spectra adsorption curve for scanning third food and obtaining, wherein sensor for detecting substance is in wavelength N number of different channel is integrated between 750nm to 1100nm, in the near infrared light of each channel emission different wave length, it is then possible to Infrared spectrogram as shown in Figure 2 D is drawn according to the infrared light being reflected back that each channel acquires, then, it is determined that absorption peak goes out Existing wave band, absorption peak appear in different wave bands and represent different substances, be stored in database material type and wave band it Between the first mapping relations set, such as the absorption peak of A curve, B curve, C curve respectively appears in first band and the second wave Section is inquiry mark with first band, inquires between the wave band of the target food prestored and the type of the hazardous substance Corresponding relationship, the type of the corresponding hazardous substance of the first band can be obtained, with second band be inquiry mark, Inquire the corresponding relationship between the wave band of the target food prestored and the type of the hazardous substance, can obtain this second The type of the corresponding hazardous substance of wave band.In addition, the absorption of A curve, B curve, C curve in first band and second band The peak value at peak is different, then it represents that the content of two substances of the first hazardous substance and harm is different in different food, in database It is also stored with the peak value of the absorption peak of different material and the second mapping relations set of content of material, finally, bent according to A curve, B It is corresponding to inquire the first hazardous substance in the second mapping relations set for the peak value of the absorption peak of the first hazardous substance in line, C curve Multiple mapping relations, determine respectively A curve, B curve, in C curve the first hazardous substance content, likewise, according to A song Line, B curve, the peak value of the absorption peak of the second hazardous substance inquires the second hazardous substance in the second mapping relations set in C curve Corresponding multiple mapping relations, determine respectively A curve, B curve, in C curve the second hazardous substance content, that is, define The first light data of food.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and content;It is described to be generated according to the hazardous substance information and export presupposed information, comprising:
When detecting that the hazardous substance content is greater than or equal to default content, the type according to the hazardous substance is true The cleaning way of the fixed target food, output include the first presupposed information of the cleaning way;
When detecting that the hazardous substance content is less than the default content, the default letter of edible second is suggested in output Breath.
Wherein, it is the minimum content that possible do harm to huamn body that the default content, which is the default content,.Wherein, institute It states cleaning way and can be and cleaned by clear water, can also be and cleaned by salt water, can also be and cleaned by food cleaning solution, This is not construed as limiting.When detecting that the hazardous substance content is greater than or equal to default content, inquiry hazardous substance and cleaning The mapping relations list of mode obtains the cleaning way for target food, and display includes the cleaning side on a display screen The recommendation information of formula directly displays edible comprising suggesting when detecting that the hazardous substance content is less than the default content Presupposed information.For example, working as, detect that the hazardous substance A of foodstuff surface is the substance for being soluble in clear water, and detect hazardous material The content of matter A is greater than default content, and as shown in Figure 2 E, display includes the suggestion cleaned with clear water on a display screen.
As it can be seen that in this example, electronic device is according to the content of the hazardous substance of foodstuff surface, for target food output phase The handling suggestion answered promotes the intelligence of electronic device and the accuracy of food preparation guidance.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;The hazardous substance for detecting the target food by the substance sensor is believed Breath, comprising: open the NIR light source, the target food is irradiated by the substance sensor, the target food is acquired and exists Lower second optical signal reflected of NIR light source irradiation, obtains the second light data of the target food, second light data Multiple groups optical channel data including the corresponding multiple wave bands of the multiple optical channel, every group of optical channel data are for indicating the mesh Object is marked to the absorbability of the optical signal of the corresponding wave band of every group of optical channel data, second light data includes following Any one: light energy relative value, alternatively, absorptivity relative value;The target food is determined according to second light data The corresponding wave band of absorption peak and the absorption peak absorptivity relative value;It is inquiry mark with the wave band, inquiry is pre- First mapping relations of the target food deposited, obtain the type of the corresponding hazardous substance of the wave band, and described first Mapping relations include the corresponding relationship between the wave band of the target food and the type of the hazardous substance;With the light absorption Rate relative value is inquiry mark, inquires the second mapping relations of the target food prestored, it is opposite to obtain the absorptivity Be worth the content of the corresponding hazardous substance, second mapping relations include the target food absorptivity relative value with Corresponding relationship between the content of the hazardous substance.
Wherein, this part must be described referring to the above-mentioned description to Fig. 2 D, and details are not described herein again.
It is consistent with embodiment shown in above-mentioned Fig. 2A, referring to Fig. 3, Fig. 3 is a kind of letter provided by the embodiments of the present application The flow diagram for ceasing method for pushing is applied to electronic device, the electronics applied to the electronic device as described in Figure 1A -1C Device includes substance sensor and camera, and the substance sensor is arranged close to the camera, as shown, method packet It includes:
S301, electronic device determine target food by the camera or the substance sensor;
S302, the electronic device detect hazardous substance entrained by the target food by the substance sensor Type;
S303, the electronic device judge whether the hazardous substance is easy to clean according to the type of the hazardous substance Substance;
S304, the electronic device generate simultaneously in the case where judging the hazardous substance is substance easy to clean Output suggests buying the first presupposed information of the target food;
S305, the electronic device are generated in the case where judging the hazardous substance is substance not easy to clean And export the second presupposed information that the target food is not bought in suggestion.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In addition, electronic device is directed to the type of hazardous substance in the embodiment of the present application, corresponding purchase is provided or is not purchased The opinion bought is conducive to the safety and convenience that promote user's Food Purchase.
It is consistent with embodiment shown in above-mentioned Fig. 2A, referring to Fig. 4, Fig. 4 is a kind of letter provided by the embodiments of the present application The flow diagram for ceasing method for pushing, applied to the electronic device as described in Figure 1A -1C, the electronic device includes substance sensing Device and camera, the substance sensor are arranged close to the camera.As shown, this information-pushing method includes:
S401, electronic device determine target food by the camera or the substance sensor.
S402, the electronic device detect hazardous substance entrained by the target food by the substance sensor Type and content;
S403, the electronic device is when detecting that the hazardous substance content is greater than or equal to default content, according to institute The type for stating hazardous substance determines the cleaning way of the target food, first default letter of the output comprising the cleaning way Breath;
S404, the electronic device when detecting that the hazardous substance content is less than the default content, suggest by output The second edible presupposed information.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In addition, in the embodiment of the present application, electronic device is according to the content of the hazardous substance of foodstuff surface, for target food Corresponding handling suggestion is exported, the intelligence and promotion for promoting electronic device instruct the accuracy of user's processing food.
It is consistent with above-mentioned Fig. 2A, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is that the embodiment of the present application provides A kind of electronic device 500 structural schematic diagram, the electronic device 500 include substance sensor and camera, the substance Sensor is arranged close to the camera, as shown, the electronic device 500 connects including processor 510, memory 520, communication Mouth 530 and one or more programs 540, wherein said one or multiple programs 540 are stored in above-mentioned memory, and And be configured to be executed by above-mentioned processor, above procedure 540 includes the instruction for executing following steps;
Target food is determined by the camera or the substance sensor;
The hazardous substance information of the target food is detected by the substance sensor;
It is generated according to the hazardous substance information and exports presupposed information.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and/or content.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type;Presupposed information reverse side is generated and exported according to the hazardous substance information described, and the instruction in described program 540 is specific For performing the following operations: judging whether the hazardous substance is substance easy to clean according to the type of the hazardous substance; In the case where judging the hazardous substance is substance easy to clean, generates and export suggestion and buy the target food First presupposed information;In the case where judging the hazardous substance is substance not easy to clean, generates and export suggestion not Buy the second presupposed information of the target food.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;In the hazardous substance for detecting the target food by the substance sensor Message context, the instruction in described program 540 are specifically used for executing following operation: opening the NIR light source, pass through the substance Sensor irradiates the target food, acquires the first optical signal that the target food reflects under the irradiation of the NIR light source, obtains To the first light data of the target food, first light data is associated with the target food and is attached to the target food On hazardous substance, first light data includes the multiple groups optical channel data of the corresponding multiple wave bands of the multiple optical channel, Every group of optical channel data are for indicating suction of the target object to the optical signal of the corresponding wave band of every group of optical channel data Receipts ability, first light data include any of the following: light energy relative value, alternatively, absorptivity relative value;And root The corresponding wave band of absorption peak of the target food is determined according to first light data;And identified with the wave band for inquiry, The first mapping relations for inquiring the target food prestored, obtain the type of the corresponding hazardous substance of the wave band, institute State the corresponding relationship between the wave band that the first mapping relations include the target food and the type of the hazardous substance.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and content;It is described generate according to the hazardous substance information and export presupposed information in terms of, above procedure 540 further includes For executing the instruction of following steps: when detecting that the hazardous substance content is greater than or equal to default content, according to described The type of hazardous substance determines the cleaning way of the target food, and output includes the first presupposed information of the cleaning way; And when detecting that the hazardous substance content is less than the default content, the second edible presupposed information is suggested in output.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;In the hazardous substance for detecting the target food by the substance sensor Message context, the instruction in described program 540 are specifically used for executing following operation: opening the NIR light source, pass through the substance Sensor irradiates the target food, acquires the second optical signal that the target food reflects under the irradiation of the NIR light source, obtains To the second light data of the target food, second light data includes the more of the corresponding multiple wave bands of the multiple optical channel Group optical channel data, every group of optical channel data are for indicating the target object to the corresponding wave band of every group of optical channel data Optical signal absorbability, second light data includes any of the following: light energy relative value, alternatively, absorptivity Relative value;And the corresponding wave band of absorption peak and the absorption peak of the target food are determined according to second light data Absorptivity relative value;And identified with the wave band for inquiry, the first mapping for inquiring the target food prestored is closed System, obtains the type of the corresponding hazardous substance of the wave band, first mapping relations include the wave of the target food Corresponding relationship between section and the type of the hazardous substance;And it is identified with the absorptivity relative value for inquiry, inquiry Second mapping relations of the target food prestored, obtain containing for the corresponding hazardous substance of absorptivity relative value Amount, second mapping relations include between the absorptivity relative value of the target food and the content of the hazardous substance Corresponding relationship.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic device Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary module of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional module according to above method example to electronic device, for example, can With each functional module of each function division of correspondence, two or more functions can also be integrated in a processing module In.Above-mentioned integrated module both can take the form of hardware realization, can also be realized in the form of software function module.It needs It is noted that be schematical, only a kind of logical function partition to the division of module in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional module composition block diagram of information push-delivery apparatus 600 involved in the embodiment of the present application.The information pushes away Device 600 is sent to be applied to electronic device, the electronic device includes substance sensor and camera, and the substance sensor is close The camera setting, the information push-delivery apparatus 600 include determining module 601, detection module 602 and pushing module 603, In,
The determining module 601, for determining target food;
The detection module 602, for detecting the hazardous substance information of the target food;
The pushing module 603, for being generated according to the hazardous substance information and exporting presupposed information.
As can be seen that electronic device passes through the camera first or the substance sensor is true in the embodiment of the present application Set the goal food;Secondly, detecting the hazardous substance information of the target food by the substance sensor;Finally, according to institute Hazardous substance information is stated to generate and export presupposed information.It is found that electronic device pass through camera and substance sensor respectively can be with The hazardous substance information for determining foodstuff surface, the food hazardous substance information obtained according to detection are pre- for the output of specific food If information, the accurate guidance for handling user food is improved, is conducive to promote safety and reasonability that user handles food.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and/or content.
In this possible example, the hazardous substance information includes hazardous substance entrained by the target food Type;It is described generate according to the hazardous substance information and export presupposed information in terms of, the pushing module 603 is specifically used In: judge whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;And judging In the case where hazardous substance is stated as substance easy to clean, the first default letter that the target food is bought in suggestion is generated and exported Breath;And it in the case where judging the hazardous substance is substance not easy to clean, generates and exports suggestion and do not buy institute State the second presupposed information of target food.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;In the hazardous substance for detecting the target food by the substance sensor Message context, the detection module 602 are specifically used for: opening the NIR light source, irradiate the mesh by the substance sensor Food is marked, the first optical signal that the target food reflects under the irradiation of the NIR light source is acquired, obtains the target food First light data, the hazardous substance that first light data is associated with the target food and is attached on the target food, institute The multiple groups optical channel data that the first light data includes the corresponding multiple wave bands of the multiple optical channel are stated, every group of optical channel data are used In absorbability of the expression target object to the optical signal of the corresponding wave band of every group of optical channel data, first light Data include any of the following: light energy relative value, alternatively, absorptivity relative value;And according to first light data Determine the corresponding wave band of the absorption peak of the target food;And identified with the wave band for inquiry, inquire the mesh prestored The first mapping relations for marking food, obtain the type of the corresponding hazardous substance of the wave band, the first mapping relations packet Include the corresponding relationship between the wave band of the target food and the type of the hazardous substance.
In a possible example, the hazardous substance information includes hazardous substance entrained by the target food Type and content;It is described generate according to the hazardous substance information and export presupposed information in terms of, the detection module 602 has Body is used for: when detecting that the hazardous substance content is greater than or equal to default content, the type according to the hazardous substance is true The cleaning way of the fixed target food, output include the first presupposed information of the cleaning way;And it is described detecting When hazardous substance content is less than the default content, the second edible presupposed information is suggested in output.
In this possible example, the substance sensor is provided with near-infrared NIR light source and multiple optical channels, each Optical channel corresponds to a wave band of optical signal, and each optical channel is provided with filter coating, and the filter coating is for only by described every The optical signal of the corresponding wave band of a optical channel;In the hazardous substance for detecting the target food by the substance sensor Message context, the detection module 602 are specifically used for: opening the NIR light source, irradiate the mesh by the substance sensor Food is marked, the second optical signal that the target food reflects under the irradiation of the NIR light source is acquired, obtains the target food Second light data, second light data include the multiple groups optical channel data of the corresponding multiple wave bands of the multiple optical channel, often Group optical channel data are for indicating absorption of the target object to the optical signal of the corresponding wave band of every group of optical channel data Ability, second light data include any of the following: light energy relative value, alternatively, absorptivity relative value;And according to Second light data determines that the absorptivity of the corresponding wave band of the absorption peak of the target food and the absorption peak is opposite Value;And identified with the wave band for inquiry, the first mapping relations of the target food prestored are inquired, the wave band is obtained The type of the corresponding hazardous substance, first mapping relations include the wave band and the hazardous substance of the target food Type between corresponding relationship;And identified with the absorptivity relative value for inquiry, inquire the target food prestored Second mapping relations of object obtain the content of the corresponding hazardous substance of the absorptivity relative value, second mapping Relationship includes the corresponding relationship between the absorptivity relative value of the target food and the content of the hazardous substance.
Wherein it is determined that module 601 can be camera or substance sensor, detection module 602 can be substance sensor Deng pushing module 603 can be processor.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of above-mentioned module, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple module or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module, It can be electrical or other forms.
Above-mentioned module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If above-mentioned integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (20)

1. a kind of electronic device, which is characterized in that including processor, substance sensor, camera and display, the substance is passed Sensor, camera and display are separately connected the processor, wherein
The camera or the substance sensor, for determining target food;
The substance sensor, for detecting the hazardous substance information of the target food;
The processor, for being generated according to the hazardous substance information and exporting presupposed information.
2. electronic device according to claim 1, which is characterized in that the hazardous substance information includes the target food The type and/or content of entrained hazardous substance.
3. electronic device according to claim 2, which is characterized in that the hazardous substance information includes the target food The type of entrained hazardous substance;It is described generate according to the hazardous substance information and export presupposed information in terms of, it is described Processor is specifically used for: judging whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;With And in the case where judging the hazardous substance is substance easy to clean, generates and export suggestion and buy the target food The first presupposed information.
4. electronic device according to claim 3, which is characterized in that described by described in substance sensor detection The hazardous substance message context of target food, the processor are specifically used for: irradiating the target by the substance sensor Food acquires the first optical signal of the target food reflection, obtains the first light data of the target food, first light Target food described in data correlation and the hazardous substance being attached on the target food;And it is true according to first light data The corresponding wave band of absorption peak of the fixed target food;And identified with the wave band for inquiry, inquire the target prestored First mapping relations of food, obtain the type of the corresponding hazardous substance of the wave band, and first mapping relations include Corresponding relationship between the wave band of the target food and the type of the hazardous substance.
5. electronic device according to claim 2, which is characterized in that the hazardous substance information includes the target food The type and content of entrained hazardous substance;It is generated according to the hazardous substance information described and exports presupposed information side Face, the processor are specifically used for: when detecting that the hazardous substance content is greater than or equal to default content, according to the danger The type of evil substance determines the cleaning way of the target food, and output includes the first presupposed information of the cleaning way;With And when detecting that the hazardous substance content is less than the default content, the second edible presupposed information is suggested in output.
6. electronic device according to claim 5, which is characterized in that described by described in substance sensor detection The hazardous substance message context of target food, the processor are specifically used for: irradiating the target by the substance sensor Food acquires the second optical signal of the target food reflection, obtains the second light data of the target food;And according to institute State the absorptivity relative value that the second light data determines the corresponding wave band of the absorption peak of the target food and the absorption peak; And identified with the wave band for inquiry, the first mapping relations of the target food prestored are inquired, the wave band pair is obtained The type for the hazardous substance answered, first mapping relations include the wave band and the hazardous substance of the target food Corresponding relationship between type;And identified with the absorptivity relative value for inquiry, inquire the target food prestored The second mapping relations, obtain the content of the corresponding hazardous substance of the absorptivity relative value, second mapping is closed System includes the corresponding relationship between the absorptivity relative value of the target food and the content of the hazardous substance.
7. a kind of information-pushing method, which is characterized in that be applied to electronic device, the electronic device include substance sensor and Camera, the substance sensor are arranged close to the camera, which comprises
Target food is determined by the camera or the substance sensor;
The hazardous substance information of the target food is detected by the substance sensor;
It is generated according to the hazardous substance information and exports presupposed information.
8. the method according to the description of claim 7 is characterized in that the hazardous substance information includes that the target food is taken The type and/or content of the hazardous substance of band.
9. according to the method described in claim 8, it is characterized in that, the hazardous substance information includes that the target food is taken The type of the hazardous substance of band;It is described to be generated according to the hazardous substance information and export presupposed information, comprising:
Judge whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;
In the case where judging the hazardous substance is substance easy to clean, generates and export suggestion and buy the target food First presupposed information of object.
10. according to the method described in claim 9, it is characterized in that, described detect the target by the substance sensor The hazardous substance information of food, comprising:
The target food is irradiated by the substance sensor, the first optical signal of the target food reflection is acquired, obtains First light data of the target food, first light data are associated with the target food and are attached on the target food Hazardous substance;
The corresponding wave band of absorption peak of the target food is determined according to first light data;
It is inquiry mark with the wave band, inquires the first mapping relations of the target food prestored, obtain the wave band pair The type for the hazardous substance answered, first mapping relations include the wave band and the hazardous substance of the target food Corresponding relationship between type.
11. according to the method described in claim 8, it is characterized in that, the hazardous substance information includes the target food institute The type and content of the hazardous substance of carrying;It is described to be generated according to the hazardous substance information and export presupposed information, comprising:
When detecting that the hazardous substance content is greater than or equal to default content, institute is determined according to the type of the hazardous substance The cleaning way of target food is stated, output includes the first presupposed information of the cleaning way;
When detecting that the hazardous substance content is less than the default content, the second edible presupposed information is suggested in output.
12. according to the method for claim 11, which is characterized in that described to detect the target by the substance sensor The hazardous substance information of food, comprising:
The target food is irradiated by the substance sensor, the second optical signal of the target food reflection is acquired, obtains Second light data of the target food;
The light suction of the corresponding wave band of absorption peak and the absorption peak of the target food is determined according to second light data Yield relative value;
It is inquiry mark with the wave band, inquires the first mapping relations of the target food prestored, obtain the wave band pair The type for the hazardous substance answered, first mapping relations include the wave band and the hazardous substance of the target food Corresponding relationship between type;
It is inquiry mark with the absorptivity relative value, inquires the second mapping relations of the target food prestored, obtains The content of the corresponding hazardous substance of the absorptivity relative value, second mapping relations include the target food Corresponding relationship between absorptivity relative value and the content of the hazardous substance.
13. a kind of information push-delivery apparatus, which is characterized in that be applied to electronic device, the electronic device includes substance sensor And camera, the substance sensor are arranged close to the camera, the information push-delivery apparatus includes determining module, detection mould Block and pushing module, wherein
The determining module, for determining target food;
The detection module, for detecting the hazardous substance information of the target food;
The pushing module, for being generated according to the hazardous substance information and exporting presupposed information.
14. device according to claim 13, which is characterized in that the hazardous substance information includes the target food institute The type and/or content of the hazardous substance of carrying.
15. device according to claim 14, which is characterized in that the hazardous substance information includes the target food institute The type of the hazardous substance of carrying;It is described generate according to the hazardous substance information and export presupposed information in terms of, it is described to push away It send module to be specifically used for: judging whether the hazardous substance is substance easy to clean according to the type of the hazardous substance;With And in the case where judging the hazardous substance is substance easy to clean, generates and export suggestion and buy the target food The first presupposed information.
16. device according to claim 15, which is characterized in that detect the mesh by the substance sensor described The hazardous substance message context of food is marked, the detection module is specifically used for: the target is irradiated by the substance sensor Food acquires the first optical signal of the target food reflection, obtains the first light data of the target food;And according to institute It states the first light data and determines the corresponding wave band of the absorption peak of the target food;And it is identified with the wave band for inquiry, inquiry First mapping relations of the target food prestored, obtain the type of the corresponding hazardous substance of the wave band, and described One mapping relations include the corresponding relationship between the wave band of the target food and the type of the hazardous substance.
17. device according to claim 14, which is characterized in that the hazardous substance information includes the target food institute The type and content of the hazardous substance of carrying;It is described generate according to the hazardous substance information and export presupposed information in terms of, The detection module is specifically used for: when detecting that the hazardous substance content is greater than or equal to default content, according to the danger The type of evil substance determines the cleaning way of the target food, and output includes the first presupposed information of the cleaning way;With And when detecting that the hazardous substance content is less than the default content, the second edible presupposed information is suggested in output.
18. device according to claim 17, which is characterized in that detect the mesh by the substance sensor described The hazardous substance message context of food is marked, the detection module is specifically used for: the target is irradiated by the substance sensor Food acquires the second optical signal of the target food reflection, obtains the second light data of the target food;And according to institute State the absorptivity relative value that the second light data determines the corresponding wave band of the absorption peak of the target food and the absorption peak; And identified with the wave band for inquiry, the first mapping relations of the target food prestored are inquired, the wave band pair is obtained The type for the hazardous substance answered, first mapping relations include the wave band and the hazardous substance of the target food Corresponding relationship between type;And identified with the absorptivity relative value for inquiry, inquire the target food prestored The second mapping relations, obtain the content of the corresponding hazardous substance of the absorptivity relative value, second mapping is closed System includes the corresponding relationship between the absorptivity relative value of the target food and the content of the hazardous substance.
19. a kind of electronic device, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet It includes for executing the instruction such as the step in the described in any item methods of claim 7-12.
20. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute such as the described in any item methods of claim 7-12.
CN201811428212.4A 2018-11-27 2018-11-27 Electronic device, information-pushing method and Related product Pending CN109618047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811428212.4A CN109618047A (en) 2018-11-27 2018-11-27 Electronic device, information-pushing method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811428212.4A CN109618047A (en) 2018-11-27 2018-11-27 Electronic device, information-pushing method and Related product

Publications (1)

Publication Number Publication Date
CN109618047A true CN109618047A (en) 2019-04-12

Family

ID=66004910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811428212.4A Pending CN109618047A (en) 2018-11-27 2018-11-27 Electronic device, information-pushing method and Related product

Country Status (1)

Country Link
CN (1) CN109618047A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412124A (en) * 2019-07-30 2019-11-05 Oppo(重庆)智能科技有限公司 Method, apparatus, mobile terminal and the storage medium of substance detection
CN111271497A (en) * 2020-01-23 2020-06-12 深圳市大拿科技有限公司 Faucet control method and device, intelligent faucet and storage medium
CN112986179A (en) * 2021-02-28 2021-06-18 深圳盈达机器视觉技术有限公司 Electronic device and article information detection method
CN116195240A (en) * 2020-09-25 2023-05-30 Lg电子株式会社 Mobile terminal and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182251A (en) * 2014-08-12 2014-12-03 小米科技有限责任公司 Crop characteristic detecting method, device and terminal
CN107631996A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 The detection method and mobile terminal of a kind of pappy shell
CN107677635A (en) * 2017-08-31 2018-02-09 维沃移动通信有限公司 The detection method and mobile terminal of a kind of carcinogen
CN107677636A (en) * 2017-08-31 2018-02-09 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of anaphylactogen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182251A (en) * 2014-08-12 2014-12-03 小米科技有限责任公司 Crop characteristic detecting method, device and terminal
CN107631996A (en) * 2017-08-31 2018-01-26 维沃移动通信有限公司 The detection method and mobile terminal of a kind of pappy shell
CN107677635A (en) * 2017-08-31 2018-02-09 维沃移动通信有限公司 The detection method and mobile terminal of a kind of carcinogen
CN107677636A (en) * 2017-08-31 2018-02-09 维沃移动通信有限公司 The reminding method and mobile terminal of a kind of anaphylactogen

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110412124A (en) * 2019-07-30 2019-11-05 Oppo(重庆)智能科技有限公司 Method, apparatus, mobile terminal and the storage medium of substance detection
CN111271497A (en) * 2020-01-23 2020-06-12 深圳市大拿科技有限公司 Faucet control method and device, intelligent faucet and storage medium
CN111271497B (en) * 2020-01-23 2022-07-12 深圳市大拿科技有限公司 Faucet control method and device, intelligent faucet and storage medium
CN116195240A (en) * 2020-09-25 2023-05-30 Lg电子株式会社 Mobile terminal and control method thereof
CN112986179A (en) * 2021-02-28 2021-06-18 深圳盈达机器视觉技术有限公司 Electronic device and article information detection method

Similar Documents

Publication Publication Date Title
CN109618047A (en) Electronic device, information-pushing method and Related product
WO2020107965A1 (en) Electronic device, information push method and related product
US10674569B2 (en) Domestic appliance, in particular cooking oven, with a camera
CN109587268A (en) Electronic equipment, information-pushing method and Related product
CN109668852B (en) Electronic equipment, information pushing method and related product
US20160093412A1 (en) Ultraviolet light source and methods
CN108338650B (en) Cooking appliance and control method thereof
CN112890683A (en) Cleaning method, device, equipment and computer readable storage medium
WO2020147789A1 (en) Electronic device, information push method, and related products
CN109990757A (en) Laser ranging and illumination
CN109142279A (en) A kind of spectral method of detection, mobile terminal and computer readable storage medium
CN105765368B (en) The method and apparatus of the contents attribute of raw-food material for identification
US20160109295A1 (en) Portable electronic apparatus, spectrometer combined therewith, and method for detecting quality of test object by using the same
CN107638136A (en) The method for cleaning and system of a kind of object
CN107607481A (en) A kind of computational methods and mobile terminal of cooking time information
CN109639888A (en) Electronic device, information-pushing method and Related product
CN107034618A (en) System for handling textile
CN107645636B (en) A kind of method taken pictures and mobile terminal
CN106643503A (en) Object information detection method and terminal thereof
CN111551506A (en) Method for identifying specified material based on smart phone terminal light emitting and collecting system
CN106198404A (en) Food seasoning system, food seasoning device and the processing means of food seasoning
US11503145B2 (en) Smartphone companion device material sensing and improved phone performance
CN109464028A (en) Electrical equipment and control method and device thereof
CN109764371A (en) Method and device for processing working parameters and microwave oven
CN104483272A (en) Electronic equipment and detection method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190412

RJ01 Rejection of invention patent application after publication