CN104702786B - One kind is taken pictures based reminding method and device - Google Patents

One kind is taken pictures based reminding method and device Download PDF

Info

Publication number
CN104702786B
CN104702786B CN201510106850.4A CN201510106850A CN104702786B CN 104702786 B CN104702786 B CN 104702786B CN 201510106850 A CN201510106850 A CN 201510106850A CN 104702786 B CN104702786 B CN 104702786B
Authority
CN
China
Prior art keywords
taking pictures
default
smell
information
odiferous 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.)
Expired - Fee Related
Application number
CN201510106850.4A
Other languages
Chinese (zh)
Other versions
CN104702786A (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.)
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 CN201510106850.4A priority Critical patent/CN104702786B/en
Publication of CN104702786A publication Critical patent/CN104702786A/en
Application granted granted Critical
Publication of CN104702786B publication Critical patent/CN104702786B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供了一种拍照提醒方法和装置,该方法包括:通过气味采集器检测终端所在场景的气味信息;判断所述气味信息是否属于预设的拍照气味;如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。通过检测终端所在场景的气味信息,并且检测的气味信息属于预设的气味信息时,则发送拍照提醒信息,使得用户能够及时的进行拍照,从而避免用户错过最佳拍照时机,方便用户及时拍摄得到食用前的照片,以利于进行交流分享。

The present invention provides a photographing reminder method and device, the method comprising: detecting the odor information of the scene where the terminal is located through an odor collector; judging whether the odor information belongs to the preset photographing odor; if the odor information belongs to the preset Take a photo of the smell and send a photo reminder message. By detecting the odor information of the scene where the terminal is located, and when the detected odor information belongs to the preset odor information, a photo reminder message is sent, so that the user can take a photo in time, so as to prevent the user from missing the best photo opportunity and facilitate the user to take pictures in time. Photos before eating to facilitate communication and sharing.

Description

一种拍照提醒方法和装置A photo reminder method and device

技术领域technical field

本发明属于智能设备领域,尤其涉及一种拍照提醒方法和装置。The invention belongs to the field of smart devices, and in particular relates to a method and device for taking pictures and reminding.

背景技术Background technique

随着移动智能终端的兴起,在传统的通信功能基础上,智能手机提供了越来越丰富的功能,比如上网获取数据、拍摄照片或者视频、播放视频或音乐、获取地理位置信息,或者在终端中设置有气味扩散器,模拟真实的气味等,为人们生活带来了极大的方便。With the rise of mobile intelligent terminals, on the basis of traditional communication functions, smartphones provide more and more functions, such as obtaining data online, taking photos or videos, playing videos or music, obtaining geographic location information, or There is a smell diffuser in the middle, simulating the real smell, etc., which brings great convenience to people's life.

在使用手机过程中,目的一种较为流行的使用方式为,通过手机中的相机拍摄用户所在场景的画面,通过社交平台进行照片分享,从而使用户能够与其它好友进行更好的互动交流。In the process of using a mobile phone, one of the more popular usage methods is to take a picture of the scene where the user is in through the camera in the mobile phone, and share the photo through a social platform, so that the user can better interact with other friends.

然而,用户在使用过程中,常常会由于忘记拍摄照片,比如在享用美食时忘了拍摄,等吃完后才想来的时候已错过最佳拍摄时间,不能及时拍摄得到食用前的照片,不利于进行交流分享。However, users often forget to take photos during use, such as forgetting to take photos while enjoying food, and miss the best shooting time when they want to come after eating, and cannot take photos before eating in time, which is not conducive to To communicate and share.

发明内容Contents of the invention

本发明的目的在于提供一种拍照提醒方法,以解决现有技术容易错过最佳拍摄时间,不能及时拍摄得到信用前的照片,不利于进行交流分享的问题。The purpose of the present invention is to provide a reminder method for taking photos to solve the problems in the prior art that it is easy to miss the best shooting time, and the photos before credit cannot be taken in time, which is not conducive to communication and sharing.

本发明是这样实现的,一种拍照提醒方法,所述方法包括:The present invention is achieved in this way, a method for taking pictures and reminding, said method comprising:

通过气味采集器检测终端所在场景的气味信息;Detect the odor information of the scene where the terminal is located through the odor collector;

判断所述气味信息是否属于预设的拍照气味;judging whether the odor information belongs to the preset photographic odor;

如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。If the smell information belongs to the preset smell for taking pictures, a picture-taking reminder message is issued.

本发明的另一目的在于提供一种拍照提醒装置,所述装置包括:Another object of the present invention is to provide a photo reminder device, which includes:

气味检测单元,用于通过气味采集器检测终端所在场景的气味信息;The smell detection unit is used to detect the smell information of the scene where the terminal is located through the smell collector;

气味判断单元,用于判断所述气味信息是否属于预设的拍照气味;An odor judging unit, configured to judge whether the odor information belongs to a preset photographic odor;

提醒单元,用于如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。The reminding unit is configured to issue a photographing reminder if the smell information belongs to a preset photographing smell.

在本发明中,通过检测终端所在场景的气味信息,并且检测的气味信息属于预设的气味信息时,则发送拍照提醒信息,使得用户能够及时的进行拍照,从而避免用户错过最佳拍照时机,方便用户及时拍摄得到食用前的照片,以利于进行交流分享。In the present invention, by detecting the smell information of the scene where the terminal is located, and when the detected smell information belongs to the preset smell information, a photo reminder message is sent, so that the user can take a photo in time, thereby preventing the user from missing the best photo opportunity. It is convenient for users to take photos before eating in time to facilitate communication and sharing.

附图说明Description of drawings

图1是本发明第一实施例提供的拍照提醒方法的实现流程图;Fig. 1 is the implementation flow diagram of the photo reminder method provided by the first embodiment of the present invention;

图2是本发明第二实施例提供的拍照提醒方法的实现流程图;Fig. 2 is the implementation flowchart of the method for taking pictures and reminding provided by the second embodiment of the present invention;

图3是本发明第三实施例提供的拍照提醒方法的实现流程图;Fig. 3 is a flow chart of realizing the photo reminder method provided by the third embodiment of the present invention;

图4是本发明第四实施例提供的拍照提醒方法的实现流程图;Fig. 4 is a flow chart of realizing the photo reminder method provided by the fourth embodiment of the present invention;

图5是本发明第五实施例提供的拍照提醒方法的实现流程图;Fig. 5 is a flow chart of realizing the photo reminder method provided by the fifth embodiment of the present invention;

图6是本发明第六实施例提供的拍照提醒装置的结构示意图。Fig. 6 is a schematic structural diagram of a photographing reminder device provided by a sixth embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例的主要目的在于提供一种方便用户在享用美食前能够及时的提醒用户进行拍照方法,比如用户在享用美食前,由于美食的诱惑往往使得忘记进行拍照,如果在食用后再进行拍照,就不能拍到美食的原始造型。因而,需要在食用美食前,及时的提醒用户进行拍照。The main purpose of the embodiment of the present invention is to provide a method that is convenient for the user to remind the user to take pictures in time before enjoying the food. For example, before enjoying the food, the user often forgets to take a picture due to the temptation of the food. , the original shape of the food cannot be photographed. Therefore, it is necessary to promptly remind the user to take a photo before eating the delicious food.

为克服现有技术不能及时进行拍照的缺陷,本发明提出了一种拍照提醒方法,所述方法包括:通过气味采集器检测终端所在场景的气味信息;判断所述气味信息是否属于预设的拍照气味;如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。In order to overcome the defect that the prior art cannot take pictures in time, the present invention proposes a method for reminding taking pictures, the method includes: detecting the smell information of the scene where the terminal is located through the smell collector; judging whether the smell information belongs to the preset picture taking Smell: if the smell information belongs to the preset smell for taking pictures, send a reminder message for taking pictures.

通过检测终端所在场景的气味信息,并且检测的气味信息属于预设的气味信息时,则发送拍照提醒信息,使得用户能够及时的进行拍照,从而避免用户错过最佳拍照时机,方便用户及时拍摄得到食用前的照片,以利于进行交流分享。下面结合附图具体说明。By detecting the odor information of the scene where the terminal is located, and when the detected odor information belongs to the preset odor information, a photo reminder message is sent, so that the user can take a photo in time, so as to prevent the user from missing the best photo opportunity and facilitate the user to take pictures in time. Photos before eating to facilitate communication and sharing. It will be described in detail below in conjunction with the accompanying drawings.

实施例一:Embodiment one:

图1示出了本发明第一实施例提供的一种拍照提醒方法的实现流程,详述如下:Fig. 1 shows the implementation flow of a kind of photo reminder method provided by the first embodiment of the present invention, which is described in detail as follows:

在步骤S101中,通过气味采集器检测终端所在场景的气味信息。In step S101, the odor information of the scene where the terminal is located is detected by the odor collector.

具体的,本发明实施例所述终端,可以为配置了气味扩散器的智能手机,当然不局限于此,其它智能终端,如平板电脑等,均可作为本发明实施例中所述的终端。Specifically, the terminal described in the embodiment of the present invention may be a smart phone equipped with a scent diffuser, of course it is not limited thereto, and other smart terminals, such as a tablet computer, etc., can be used as the terminal described in the embodiment of the present invention.

采集的周期,可以根据用户的需要进行设定,一般设定的周期较大,比如可以为五分钟或者十分钟等,从而能够减少终端的电能消耗。The collection cycle can be set according to the user's needs. Generally, the set cycle is relatively large, such as five minutes or ten minutes, so as to reduce the power consumption of the terminal.

所述气味采集器,优选的实施方式为使用多个气敏传感器组成的嗅觉传感器阵列。所述气敏传感器可以为金属氧化物型半导体传感器、有机导电聚合物传感器、脂涂层传感器、红外线光电传感器。其中:A preferred embodiment of the odor collector is an olfactory sensor array composed of a plurality of gas sensors. The gas sensor may be a metal oxide semiconductor sensor, an organic conductive polymer sensor, a grease coating sensor, or an infrared photoelectric sensor. in:

所述金属氧化物型半导体传感器目前是世界上生产量最大,应用最广泛的气敏传感器,其原理是通过被测气味分子吸附在敏感膜材料上,导致金属氧化物半导体的电阻发生变化而实现检测。这种传感器的特点是选择性不高,稳定性好。The metal oxide semiconductor sensor is currently the world's largest production and most widely used gas sensor. Its principle is that the measured odor molecules are adsorbed on the sensitive film material, resulting in a change in the resistance of the metal oxide semiconductor. detection. This sensor is characterized by low selectivity and good stability.

所述有机导电聚合物传感器的工作原理是,工作电极表面上的杂环分子涂层,在吸附和释放被测气体分子后导电性发生变化。导电聚合物材料是有机敏感膜材料,如吡咯、苯胺、噻吩等。这种传感器的特点是体积小,能耗小,工作时不需加热,稳定性好,吸附和释放快,被测对象的浓度与传感器的响应在很大范围内几乎呈线性关系,这给数据处理带来极大的方便。The working principle of the organic conductive polymer sensor is that the conductivity of the heterocyclic molecular coating on the surface of the working electrode changes after absorbing and releasing the measured gas molecules. Conductive polymer materials are organic sensitive film materials, such as pyrrole, aniline, thiophene, etc. This kind of sensor is characterized by small size, low energy consumption, no heating when working, good stability, fast adsorption and release, and the concentration of the measured object and the response of the sensor are almost linear in a wide range, which gives the data Handling brings great convenience.

脂涂层传感器又称质量传感器,典型的脂涂层传感器有声表面波型和石英谐振型两种。声表面波型传感器工作原理是在压电晶体上涂敷一层气体敏感材料,被测气体在流动过程中被吸附在敏感膜上,这样,压电晶体基片的质量发生变化,由于质量负荷效应而使基片振荡频率发生变化,从而实现对被测气体检测。石英谐振型传感器的工作原理是在石英振子上涂敷一层敏感膜,常用的敏感膜材料有脂类、塞珞珞等。当敏感膜吸附分子后,谐振子的振荡频率就成比例的变化,仍属于质量负荷效应。谐振子上涂敷的敏感膜材料不同,传感器的性能就不同,把具有部分重叠特性的传感器组合起来,就构成质量传感器阵列。Grease-coated sensors are also called quality sensors. Typical grease-coated sensors include surface acoustic wave type and quartz resonant type. The working principle of the surface acoustic wave sensor is to coat a layer of gas-sensitive material on the piezoelectric crystal, and the gas to be measured is adsorbed on the sensitive film during the flow process, so that the quality of the piezoelectric crystal substrate changes, due to the mass load The oscillation frequency of the substrate changes due to the effect, so as to realize the detection of the gas to be measured. The working principle of the quartz resonant sensor is to coat a layer of sensitive film on the quartz vibrator. Commonly used sensitive film materials include lipids, cellulo, etc. When the sensitive membrane adsorbs molecules, the oscillation frequency of the harmonic oscillator changes proportionally, which still belongs to the mass loading effect. Different sensitive film materials coated on the resonator have different performances of the sensors, and the combination of sensors with partial overlapping characteristics constitutes a mass sensor array.

所述红外线光电传感器的工作原理是,在给定的光程上,红外线通过不同的媒质(这里是气体)后,光强以及光谱峰的位置和形状均会发生变化,测出这些变化,就可对传感器的输出与被测对象的成分和浓度进行分析。其特点是在一定范围内,传感器的输出与被测气体的浓度基本呈线性关系。The working principle of the infrared photoelectric sensor is that, on a given optical path, after the infrared rays pass through different media (gas here), the light intensity and the position and shape of the spectral peaks will change. The output of the sensor and the composition and concentration of the measured object can be analyzed. Its characteristic is that within a certain range, the output of the sensor has a linear relationship with the concentration of the measured gas.

这几种传感器的共同特点是对温度和湿度的敏感性强,所以测试时必须严格控制温湿度的影响。按工作原理的不同,还有金属氧化物半导体场效应管等传感器阵列装置。嗅觉传感器阵列装置的发展趋势是集成化、监测范围宽和携带方便。The common feature of these types of sensors is their strong sensitivity to temperature and humidity, so the influence of temperature and humidity must be strictly controlled during testing. According to different working principles, there are also sensor array devices such as metal oxide semiconductor field effect transistors. The development trend of the olfactory sensor array device is integration, wide monitoring range and portability.

在步骤S102中,判断所述气味信息是否属于预设的拍照气味。In step S102, it is judged whether the smell information belongs to a preset photographic smell.

具体的,本发明实施例所述预设的拍照气味,可以根据常见的食物香味进行设置,比如可以对食物的香味信息进行统计,生成食物气味数据库作为预设的拍照气味。当然,所述拍照气味不局限于吃的食物,还可以包括如挥发性更强的酒精气味,或者其它与美食相关的气味信息,作为预设的拍照气味。Specifically, the preset photographic smells described in the embodiments of the present invention can be set according to common food scents, for example, the food scent information can be collected to generate a food smell database as the preset photographic smells. Of course, the photographic smell is not limited to the food eaten, and may also include more volatile alcohol smell, or other smell information related to food as the preset photographic smell.

当然,由于用户包含习惯的不同,本发明还包括对于经常饮用的食物对应的气味信息进行统计,当统计的次数超过一定数值,比如超过十次时,则不发出拍照提醒。以便于智能的区分经常饮用的食品。Of course, due to the different habits of users, the present invention also includes counting the odor information corresponding to the food that is often consumed. When the number of counts exceeds a certain value, such as more than ten times, no photo reminder will be issued. In order to intelligently distinguish the foods that are often consumed.

在步骤S103中,如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。In step S103, if the smell information belongs to a preset smell for taking pictures, a picture-taking reminder message is issued.

当监测到终端当前所在场景的气味信息符合属于预设的拍照气味时,表明用户当前处于美食环境,向用户发送拍照提醒信息,可以方便用户及时对美食进行拍照,从而避免错过最佳拍照时间。When it is detected that the smell information of the scene where the terminal is currently located matches the preset smell for taking photos, it indicates that the user is currently in a food environment, and a photo reminder message is sent to the user, which can facilitate the user to take pictures of the food in time, so as to avoid missing the best photo time.

其中,所述拍照提醒信息,可以根据终端是否处于可见的状态发送不同的提醒,另外还可以检测气味的浓度和持续时长,以更为准确的判断用户是否处于美食环境,将通过后续实施例具体进行说明。Among them, the photo reminder information can send different reminders according to whether the terminal is in a visible state. In addition, it can also detect the concentration and duration of the smell to more accurately judge whether the user is in a gourmet environment. Be explained.

本发明实施例通过检测终端所在场景的气味信息,并且检测的气味信息属于预设的气味信息时,则发送拍照提醒信息,使得用户能够及时的进行拍照,从而避免用户错过最佳拍照时机,方便用户及时拍摄得到食用前的照片,以利于进行交流分享。The embodiment of the present invention detects the odor information of the scene where the terminal is located, and when the detected odor information belongs to the preset odor information, a photo reminder message is sent, so that the user can take a photo in time, thereby preventing the user from missing the best photo opportunity, which is convenient. Users take pictures before eating in time to facilitate communication and sharing.

实施例二:Embodiment two:

图2示出了本发明第二实施例提供的一种拍照提醒方法的实现流程,详述如下:FIG. 2 shows the implementation process of a method for taking pictures and reminding provided by the second embodiment of the present invention, which is described in detail as follows:

在步骤S201中,通过气味采集器检测终端所在场景的气味信息。In step S201, the odor information of the scene where the terminal is located is detected by the odor collector.

在步骤S202中,判断所述气味信息是否属于预设的拍照气味。In step S202, it is judged whether the smell information belongs to a preset photographic smell.

步骤S201和步骤S202与实施例一中步骤S101和S102基本相同,在此不作重复赘述。Step S201 and step S202 are basically the same as steps S101 and S102 in the first embodiment, and will not be repeated here.

在步骤S203中,如果所述气味信息属于预设的拍照气味,获取所述气味信息的浓度。In step S203, if the smell information belongs to a preset photographic smell, the concentration of the smell information is obtained.

具体的,所述气味的浓度,可以用单位体积中含有的同一发出气味的气体分子的质量来表示,比如用单位g/L来表示等。Specifically, the concentration of the odor can be expressed by the mass of the same odor-emitting gas molecule contained in a unit volume, such as expressed by the unit g/L.

所述气味浓度,还可以用单位体积中气体分子的个数表示。通过单位体积中气体分子个数的比较,可以判断不同气体分子在同一场景中的浓度的大小。单位体积中气体分子的个数越多,对应的气体的浓度也越大。The odor concentration can also be represented by the number of gas molecules per unit volume. By comparing the number of gas molecules per unit volume, the concentration of different gas molecules in the same scene can be judged. The greater the number of gas molecules per unit volume, the greater the corresponding gas concentration.

在步骤S204中,判断所述气味信息的浓度大于预设的浓度值,则发出拍照提醒信息。In step S204, it is determined that the concentration of the odor information is greater than a preset concentration value, and then a photographing reminder message is issued.

其中,所述预设的浓度值,可以通过经验统计在餐厅或者其它用餐地点的浓度值进行确定。Wherein, the preset concentration value can be determined through empirical statistics of concentration values in restaurants or other dining places.

另外,本发明还可以设定多个浓度值区间,比如在进入餐厅时进行第一次提醒,在上菜时,浓度值增加后,再发送一次提醒,从而能够使得提醒更为及时。In addition, the present invention can also set multiple concentration value ranges, such as the first reminder when entering a restaurant, and another reminder after the concentration value increases when serving food, so that the reminder can be made more timely.

本发明通过对终端所在场景的气味浓度信息进行判断,通过气味浓度的判断,进一步提高确定相机拍照时机的准确性。The present invention judges the odor concentration information of the scene where the terminal is located, and further improves the accuracy of determining the timing of taking pictures by the camera through the judgment of the odor concentration.

实施例三:Embodiment three:

图3示出了本发明第三实施例提供的一种相机拍照提醒方法的实现流程,详述如下:Fig. 3 shows the implementation flow of a camera reminder method provided by the third embodiment of the present invention, which is described in detail as follows:

在步骤S301中,通过气味采集器检测终端所在场景的气味信息。In step S301, the odor information of the scene where the terminal is located is detected by the odor collector.

在步骤S302中,判断所述气味信息是否属于预设的拍照气味。In step S302, it is judged whether the smell information belongs to a preset photographic smell.

步骤S301和步骤S302与实施例一中步骤S101和S102基本相同,在此不作重复赘述。Step S301 and step S302 are basically the same as steps S101 and S102 in Embodiment 1, and will not be repeated here.

在步骤S303中,如果所述气味信息属于预设的拍照气味,获取所述气味信息的持续时间。In step S303, if the smell information belongs to a preset photographic smell, the duration of the smell information is acquired.

具体的,在检测到特定的气味信息后,进一步监测气味信息持续时长,这样做的目的在于,可避免由于经过一些地方或者一些食物路过时留下香味,而产生的误提醒情形。Specifically, after detecting specific odor information, the duration of the odor information is further monitored. The purpose of this is to avoid false reminders caused by passing through some places or leaving fragrances when some foods pass by.

在步骤S304中,判断所述气味信息的持续时间超过预设的时长,则发出拍照提醒信息。In step S304, it is determined that the duration of the smell information exceeds a preset time length, and then a reminder message to take pictures is issued.

通过本发明的气味持续时长,可以进一步提高提醒信息发送的准确性。The accuracy of sending reminder information can be further improved by the smell duration of the present invention.

另外,本发明实施例还可与实施例相结合,通过判断一定浓度的持续时长大于预定值时,发送提醒信息,进一步能够提高发送提醒信息的准确性。In addition, the embodiment of the present invention can also be combined with the embodiment, by sending a reminder message when it is judged that the duration of a certain concentration is greater than a predetermined value, the accuracy of sending the reminder message can be further improved.

实施例四:Embodiment four:

图4示出了本发明第四实施例提供的一种拍照提醒方法的实现流程,详述如下:FIG. 4 shows the implementation process of a photo reminder method provided by the fourth embodiment of the present invention, which is described in detail as follows:

在步骤S401中,通过气味采集器检测终端所在场景的气味信息。In step S401, the odor information of the scene where the terminal is located is detected by the odor collector.

在步骤S402中,判断所述气味信息是否属于预设的拍照气味。In step S402, it is judged whether the smell information belongs to a preset photographic smell.

步骤S401和步骤S402与实施例一中步骤S101和S102基本相同,在此不作重复赘述。Step S401 and step S402 are basically the same as steps S101 and S102 in Embodiment 1, and will not be repeated here.

在步骤S403中,如果所述气味信息属于预设的拍照气味,打开摄像头,获取终端所在场景的亮度信息。In step S403, if the odor information belongs to the preset photographing odor, turn on the camera to obtain the brightness information of the scene where the terminal is located.

其中,所述摄像头可以包括前摄像头和后摄像头,通过前后摄像头获取的图像的亮度信息进行分析,可以判断当前移动终端是否处于口袋内还是处于口袋外。Wherein, the camera may include a front camera and a rear camera, and by analyzing brightness information of images obtained by the front and rear cameras, it may be determined whether the current mobile terminal is in the pocket or out of the pocket.

当前后摄像头得到的亮度信息都处于黑暗状态,则表明手机处于口袋内,其亮度值较小。If the brightness information obtained by the front and rear cameras is in a dark state, it indicates that the mobile phone is in the pocket, and its brightness value is small.

另外,当前摄像头获取的亮度信息处于黑暗状态,本发明视为场景的亮度信息处于黑暗状态。In addition, the current brightness information obtained by the camera is in a dark state, and the present invention regards the brightness information of the scene as being in a dark state.

在步骤S404中,如果所述场景的亮度信息小于预定亮度值,则发送声音和/或振动提醒。In step S404, if the brightness information of the scene is less than a predetermined brightness value, a sound and/or vibration reminder is sent.

具体的,当场景的亮度信息小于预定亮度值,比如手机处于口袋内,或者手机的前置摄像头朝下放置,用户不能看到由LED闪烁所发出的提醒信息,本发明通过声音和/或振动信息进行提醒。Specifically, when the brightness information of the scene is less than the predetermined brightness value, for example, the mobile phone is in the pocket, or the front camera of the mobile phone is placed downwards, the user cannot see the reminder information sent by the LED flashing, the present invention uses sound and/or vibration information to remind.

在步骤S405中,如果所述场景的亮度信息大于预定亮度值,则发送LED闪烁和振动提醒。In step S405, if the brightness information of the scene is greater than a predetermined brightness value, then send LED flashing and vibration reminders.

当场景的亮度信息大于预定的亮度值时,则表明终端处于使用状态或者处于正面朝上的方向,可以通过LED闪烁进行提醒以及通过振动进行提醒。When the brightness information of the scene is greater than a predetermined brightness value, it indicates that the terminal is in use or facing up, and the reminder can be reminded by flashing the LED or vibrating.

本发明实施例通过进一步检测手机的状态信息,从而根据手机的状态发送不同的提醒,能够进一步提高提醒的有效性。In the embodiment of the present invention, by further detecting the status information of the mobile phone, different reminders are sent according to the status of the mobile phone, which can further improve the effectiveness of the reminder.

实施例五:Embodiment five:

图5示出了本发明第五实施例提供的一种拍照提醒方法的实现流程,详述如下:FIG. 5 shows the implementation process of a photo reminder method provided by the fifth embodiment of the present invention, which is described in detail as follows:

在步骤S501中,通过气味采集器检测终端所在场景的气味信息。In step S501, the odor information of the scene where the terminal is located is detected by the odor collector.

在步骤S502中,判断所述气味信息是否属于预设的拍照气味。In step S502, it is judged whether the smell information belongs to a preset photographic smell.

在步骤S503中,如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。In step S503, if the odor information belongs to the preset photographing odor, a photographing reminder message is issued.

步骤S501至S503与实施例一中步骤S101至S103基本相同,在此不作重复赘述。Steps S501 to S503 are basically the same as steps S101 to S103 in Embodiment 1, and will not be repeated here.

在步骤S504中,判断接收到解锁指令,打开预设的相机程序。In step S504, it is determined that an unlocking instruction is received, and a preset camera program is opened.

本发明实施例中所述解锁指令,是指用户打开屏幕,进入手机主界面的操作,包括但不限于密码解锁、滑动解锁、键盘解锁等操作。The unlocking instruction in the embodiment of the present invention refers to the operation for the user to turn on the screen and enter the main interface of the mobile phone, including but not limited to password unlocking, slide unlocking, keyboard unlocking and other operations.

所述预设的相机程序,可以由用户进行设定,比如可以设定常用的社交平台的相机程序,使得拍摄的照片可以由社交应用程序直接读取,以便于用户进行分享交流。The preset camera program can be set by the user, for example, a camera program of a commonly used social platform can be set, so that the photos taken can be directly read by the social application program, so as to facilitate sharing and communication by the user.

本发明实施例在实施例一的基础上,进一步在判断当前处于美食环境时,通过监测用户的解锁指令,自动打开到社交应用程序的相机,更加方便用户进行操作。On the basis of Embodiment 1, the embodiment of the present invention further monitors the user's unlock command to automatically open the camera of the social application program when it is judged that it is currently in a gourmet environment, which is more convenient for the user to operate.

另外,如果发送提醒后的预定时长内没有接收到用户的解锁指令,则自动退出监测功能,以减少对终端的电能消耗。In addition, if no unlocking command from the user is received within a predetermined period of time after the reminder is sent, the monitoring function will be automatically exited, so as to reduce the power consumption of the terminal.

实施例六:Embodiment six:

图6示出了本发明第六实施例提供的一种相机拍照装置的结构示意图,详述如下:Fig. 6 shows a schematic structural diagram of a camera photographing device provided by the sixth embodiment of the present invention, which is described in detail as follows:

本发明实施例所述的相机拍照装置,包括:The camera photographing device described in the embodiment of the present invention includes:

气味检测单元601,用于通过气味采集器检测终端所在场景的气味信息;An odor detection unit 601, configured to detect the odor information of the scene where the terminal is located through the odor collector;

气味判断单元602,用于判断所述气味信息是否属于预设的拍照气味;Smell judging unit 602, configured to judge whether the smell information belongs to a preset photographic smell;

提醒单元603,用于如果所述气味信息属于预设的拍照气味,发出拍照提醒信息。The reminding unit 603 is configured to send a photographing reminder message if the smell information belongs to a preset photographing smell.

优选的,所述提醒单元包括:Preferably, the reminder unit includes:

浓度获取子单元,用于如果所述气味信息属于预设的拍照气味,获取所述气味信息的浓度;A concentration acquisition subunit, configured to acquire the concentration of the odor information if the odor information belongs to the preset photographic odor;

浓度值判断子单元,用于判断所述气味信息的浓度是否大于预设的浓度值;A concentration value judging subunit, used to judge whether the concentration of the odor information is greater than a preset concentration value;

第一拍照提醒子单元,用于如果所述气味信息的浓度大于预设的浓度值,则发出拍照提醒信息。The first photographing reminder subunit is configured to issue a photographing reminder message if the concentration of the odor information is greater than a preset concentration value.

优选的,所述提醒单元包括:Preferably, the reminder unit includes:

持续时间获取子单元,用于如果所述气味信息属于预设的拍照气味,获取所述气味信息的持续时间;The duration acquisition subunit is used to acquire the duration of the odor information if the odor information belongs to the preset photographic odor;

时长判断子单元,用于判断所述气味信息的持续时间是否超过预设的时长;The duration judging subunit is used to judge whether the duration of the smell information exceeds the preset duration;

第二拍照提醒子单元,用于如果所述气味信息的持续时间超过预设的时长,则发出拍照提醒信息。The second photographing reminder subunit is configured to issue a photographing reminder message if the smell information lasts longer than a preset time period.

优选的,所述提醒单元包括:Preferably, the reminder unit includes:

亮度信息获取子单元,用于如果所述气味信息属于预设的拍照气味,打开摄像头,获取终端所在场景的亮度信息;The brightness information acquisition subunit is used to turn on the camera to obtain the brightness information of the scene where the terminal is located if the odor information belongs to the preset photographing odor;

声音提醒子单元,用于如果所述场景的亮度信息小于预定亮度值,则发送声音和/或振动提醒;A sound reminder subunit, used to send a sound and/or vibration reminder if the brightness information of the scene is less than a predetermined brightness value;

闪烁提醒子单元,用于如果所述场景的亮度信息大于预定亮度值,则发送LED闪烁和振动提醒。The blinking reminder subunit is configured to send LED blinking and vibration reminders if the brightness information of the scene is greater than a predetermined brightness value.

优选的,所述装置还包括:Preferably, the device also includes:

指令判断单元,用于判断是否接收到解锁指令;an instruction judging unit, configured to judge whether an unlock instruction is received;

相机程序打开单元,用于如果接收到解锁指令,则打开预设的相机程序。The camera program opening unit is configured to open a preset camera program if an unlock instruction is received.

本发明实施例中所述相机拍照装置与实施例一至五中所述的相机拍照方法对应,在此不作重复赘述。The camera photographing device described in the embodiment of the present invention corresponds to the camera photographing method described in Embodiments 1 to 5, and will not be repeated here.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

  1. The based reminding method 1. one kind is taken pictures, it is characterised in that methods described includes:
    The odiferous information of scene where detecting terminal by odor;
    Judge whether the odiferous information belongs to default smell of taking pictures in default odor data storehouse;Default smell of taking pictures includes Food flavors or other odiferous informations related to cuisines;
    If the odiferous information belongs to default smell of taking pictures, and the statistics number of the odiferous information is less than predetermined threshold value, Send prompting message of taking pictures;
    Methods described also includes:
    After judging that the odiferous information belongs to default smell of taking pictures, send before prompting message of taking pictures, detection smell is believed The concentration and duration of breath;
    The prompting message of taking pictures that sends also includes:
    Whether different prompting messages of taking pictures are sent in visible state according to terminal.
  2. 2. method according to claim 1, it is characterised in that if the odiferous information belongs to default gas of taking pictures Taste, sending prompting message of taking pictures is specially:
    If the odiferous information belongs to default smell of taking pictures, the concentration of the odiferous information is obtained;
    Judge whether the concentration of the odiferous information is more than default concentration value;
    If the concentration of the odiferous information is more than default concentration value, prompting message of taking pictures is sent.
  3. 3. method according to claim 1, it is characterised in that if the odiferous information belongs to default gas of taking pictures Taste, sending prompting message of taking pictures is specially:
    If the odiferous information belongs to default smell of taking pictures, the duration of the odiferous information is obtained;
    Judge whether the duration of the odiferous information exceedes default duration;
    If the duration of the odiferous information exceedes default duration, prompting message of taking pictures is sent.
  4. 4. method according to claim 1, it is characterised in that if the odiferous information belongs to default gas of taking pictures Taste, sending prompting message of taking pictures is specially:
    If the odiferous information belongs to default smell of taking pictures, camera is opened, the monochrome information of scene where obtaining terminal;
    If the monochrome information of the scene is less than predetermined brightness value, sound and/or vibrating alert are sent;
    If the monochrome information of the scene is more than predetermined brightness value, LED flickers and vibrating alert are sent.
  5. 5. method according to claim 1, it is characterised in that if belonging to default gas of taking pictures in the odiferous information Taste, sends after prompting message step of taking pictures, methods described also includes:
    Judge whether to receive unlock instruction;
    If receiving unlock instruction, default camera programm is opened.
  6. The alarm set 6. one kind is taken pictures, it is characterised in that described device includes:
    Odor detection unit, the odiferous information of scene where for detecting terminal by odor;
    Smell judging unit, for judging whether the odiferous information belongs to default smell of taking pictures in default odor data storehouse; Default smell of taking pictures includes food flavors or other odiferous informations related to cuisines;
    Reminding unit, if belonging to default smell of taking pictures, and the statistics number of the odiferous information for the odiferous information Less than predetermined threshold value, prompting message of taking pictures is sent;
    Described device also includes:
    After judging that the odiferous information belongs to default smell of taking pictures, send before prompting message of taking pictures, detect odiferous information Concentration and duration;
    The prompting message of taking pictures that sends also includes:
    Whether different prompting messages of taking pictures are sent in visible state according to terminal.
  7. 7. device according to claim 6, it is characterised in that the reminding unit includes:
    Concentration obtains subelement, if belonging to default smell of taking pictures for the odiferous information, obtains the odiferous information Concentration;
    Concentration value judgment sub-unit, for judging whether the concentration of the odiferous information is more than default concentration value;
    First count, if the concentration for the odiferous information is more than default concentration value, sends and taken pictures according to subelement is reminded Prompting message.
  8. 8. device according to claim 6, it is characterised in that the reminding unit includes:
    Duration obtains subelement, if belonging to default smell of taking pictures for the odiferous information, obtains the smell letter The duration of breath;
    Duration judgment sub-unit, for judging whether the duration of the odiferous information exceedes default duration;
    Second count, if the duration for the odiferous information exceedes default duration, sends bat according to subelement is reminded According to prompting message.
  9. 9. device according to claim 6, it is characterised in that the reminding unit includes:
    Monochrome information obtains subelement, if belonging to default smell of taking pictures for the odiferous information, opens camera, obtains The monochrome information of scene where terminal;
    Sound prompting subelement, if the monochrome information for the scene is less than predetermined brightness value, sends sound and/or shakes It is dynamic to remind;
    Subelement is reminded in flicker, if the monochrome information for the scene is more than predetermined brightness value, is sent LED flickers and is shaken It is dynamic to remind.
  10. 10. device according to claim 6, it is characterised in that described device also includes:
    Judging unit is instructed, for judging whether to receive unlock instruction;
    Camera programm opening unit, if for receiving unlock instruction, opening default camera programm.
CN201510106850.4A 2015-03-11 2015-03-11 One kind is taken pictures based reminding method and device Expired - Fee Related CN104702786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510106850.4A CN104702786B (en) 2015-03-11 2015-03-11 One kind is taken pictures based reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510106850.4A CN104702786B (en) 2015-03-11 2015-03-11 One kind is taken pictures based reminding method and device

Publications (2)

Publication Number Publication Date
CN104702786A CN104702786A (en) 2015-06-10
CN104702786B true CN104702786B (en) 2017-09-29

Family

ID=53349536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510106850.4A Expired - Fee Related CN104702786B (en) 2015-03-11 2015-03-11 One kind is taken pictures based reminding method and device

Country Status (1)

Country Link
CN (1) CN104702786B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131417A (en) * 2016-07-20 2016-11-16 珠海市魅族科技有限公司 The method of adjustment of a kind of exposal model and device
CN106331341A (en) * 2016-08-23 2017-01-11 珠海市魅族科技有限公司 State reminding method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312902A (en) * 2013-07-04 2013-09-18 深圳市中兴移动通信有限公司 Method and device for starting application automatically

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100657900B1 (en) * 2004-09-20 2006-12-14 삼성전자주식회사 Mobile phone with perfume spray

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312902A (en) * 2013-07-04 2013-09-18 深圳市中兴移动通信有限公司 Method and device for starting application automatically

Also Published As

Publication number Publication date
CN104702786A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
US10518208B2 (en) Methods and apparatuses for detecting parameter for air purifier
CN107332981B (en) Image processing method and related products
CN107273510B (en) Photo recommendation method and related product
CN105393639B (en) Data communication method and data communication system
CN104462277B (en) Application program installation data statistical method, server and terminal
CN111092748B (en) Alarm rule setting method, device, equipment and storage medium for Internet of things equipment
CN103702155B (en) A kind of TV control method and device
CN103944804B (en) Contact recommending method and device
CN113316778A (en) Equipment recommendation method and related product
WO2016107076A1 (en) State prompting method and apparatus
CN110941736B (en) An electronic photo display method, device and mobile device
CN108670260A (en) User fatigue detection method based on mobile terminal and mobile terminal
WO2020063014A1 (en) Image display method and related product
CN104052876A (en) A breathing light reminding method applied to a mobile terminal and the mobile terminal
WO2016173243A1 (en) Method and apparatus for information broadcast
WO2017054360A1 (en) Method, device, and apparatus for replacing display background
CN107577513A (en) A kind of method, apparatus and storage medium for showing painted eggshell
CN104636475B (en) Optimize the method and device of multimedia file memory space
CN106462634A (en) Information processing device, information processing method, and program
WO2016065750A1 (en) Item content display method and device
CN104702786B (en) One kind is taken pictures based reminding method and device
CN108419203A (en) Usage monitoring method, device, equipment and storage medium of electronic equipment
CN108924439A (en) Image processing method and related product
CN106686250A (en) Reminding mode setting method and device of intelligent terminal and intelligent watch
CN108989555A (en) Image processing method and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170929

CF01 Termination of patent right due to non-payment of annual fee