Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
As shown in Figure 1, being food service stores 114, the background server 115 and hand-held that present pre-ferred embodiments provide
The schematic diagram that terminal 116 interacts.The background server 115 passes through network and handheld terminal 116, food service stores
114 are communicatively coupled, to carry out data communication or interaction.The background server 115 can be network server, database
Server etc..The handheld terminal 116 can be tablet computer, smart phone, personal digital assistant (personal digital
Assistant, PDA) etc..
As shown in Fig. 2, being the block diagram of the food service stores 114.The food service stores 114 include storage
Storage, store controller, processor, Peripheral Interface, input-output unit.
Each element of the memory, store controller, processor, Peripheral Interface, input-output unit is direct between each other
Or be electrically connected indirectly, to realize the transmission or interaction of data.For example, these elements can pass through one or more between each other
Communication bus or signal wire, which are realized, to be electrically connected.Wherein, memory may be, but not limited to, random access memory (Random
Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory
(Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable
Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable
Read-Only Memory, EEPROM) etc..
Processor may be a kind of IC chip, have data and signal operation processing capacity and circuit control energy
Power.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, abbreviation
CPU), MCU (Microcontroller Unit) processor, can also be digital signal processor (DSP), specific integrated circuit
(ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..Input-output unit is for mentioning
Supply the interaction that user input data realizes user and the background server 115 (or local terminal).
Fig. 3, Fig. 4 are please referred to, which includes: food service stores 114, background server 115 and hand
Hold terminal 116, in which:
The food service stores 114 include:
Food quantity information acquisition module 101, for acquiring food quantity information.
Information sending module 102 is used for the food quantity information to the background server 115.
The food quantity information acquisition module 101 includes:
Multiple first light-sensitive devices 105 are corresponded with multiple positions of storage food, multiple to be measured for acquiring respectively
Intensity signal.
First light-sensitive device 105 can be photo resistance or photodiode or phototriode.Photo resistance, light
The characteristic of quick diode and phototriode is that resistance changes with intensity of illumination and changed.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Judgment module 107, whether multiple the first voltage values for judging to obtain one by one are in pre-stored first voltage
It is worth in range.
Food quantity counting module 108, for one of the first voltage value within the scope of pre-stored the first voltage value
When, then food quantity is once counted.
In actual design, which can be installed on to a storing back box, it is hollow for putting back box
Cavity, be provided with control circuit board, multiple first light-sensitive devices 105, multiple voltage collection circuits, judgment module in cavity
107 and food quantity counting module 108 be all set in control circuit board.It puts back box and is provided with multiple putting grooves, each set
It puts slot and is used to place food, the food of storing can be battalion that people often eat in the daily lifes such as boxed milk, egg
The product of supporting.The bottom of each putting groove is provided with loophole, and each first light-sensitive device 105 is located under a loophole
Side, ambient light can be irradiated on the first light-sensitive device 105 by loophole.It, will be by saturating when putting groove storing has food
The light of unthreaded hole blocks, and the resistance for being then situated on the first light-sensitive device 105 below the loophole changes, thus the first light
The first voltage value at 105 both ends of sensing device also changes, therefore collected first photosensor of first voltage Acquisition Circuit 106
The first voltage value at the both ends of part 105 also changes, and transmits when judgment module 107 determines first voltage Acquisition Circuit 106
The first voltage value in pre-stored the first voltage value when, that is, thinking to put on the putting groove has food, then food quantity meter
Digital-to-analogue block 108 once counts food quantity.
For example, the voltage at both ends is 0.2V, memory module when the first light-sensitive device 105 is under ambient light irradiation
Pre-stored the first voltage value range is 2V~3V, the first light-sensitive device 105 when there is food to be placed to putting groove, the of both ends
One voltage value be 2.5V when, judgment module 107 i.e. think on putting groove put have food, then food quantity counting module 108 into
Row is primary to be counted, and count value is sent to a background server 115 by information sending module 102.
The background server 115 is for judging whether the food quantity information received is less than pre-stored food quantity
Information, if it is, generating prompt information out of stock and the prompt information out of stock being sent to the handheld terminal 116.
Assuming that pre-stored food quantity information is 4, when the food quantity information that background server 115 receives is 3
When a, that is, prompt information out of stock is sent to handheld terminal 116, reminds consumer that food is replenished in time.Prompt information out of stock can be with
For the texts such as " food lazy weight 4, food please be replenished in time " or " your food quantity only remains 3, it is noted that supplement "
Class prompt information.Handheld terminal 116 can be smart phone or tablet computer.In addition, background server 115 can with it is more
A handheld terminal 116 is bound, and for being unfamiliar with the crowd of shopping online, (for example, the elderly) can be pushed away prompt information out of stock
It is sent to the mobile phone or tablet computer of other kinsfolks, improves the consumption experience of user.In addition, sending prompt letter out of stock
The purchase of the food can also be linked to network address when breath and be pushed to handheld terminal, user only needs a little to open purchase link network address, click true
It subscribes and buys, improve the experience of user, it is convenient and practical.In addition, what business server can be sent according to multiple handheld terminals
Multiple food order information record customers' consumption long-time statistical, convenient for the demand of prediction of supplier customers, traction
The management of production and supply.
In addition, handheld terminal 116 passes through software (including but not limited to webpage APP, built-in application program, wechat, QQ
Deng) control food service stores 114 working condition;Complete the wireless connection configuration of food service stores 114, it is ensured that food storage
Cryopreservation device 114 can normally connect online;Handheld terminal 116 can also inquire the status data information of background server 115,
Status data information includes but is not limited to the storage time information of food and the quantity information of food, 114 work of food service stores
The unit exception warning prompting made state, power supply state etc. information, and also can receive food service stores 114 etc. letter
Breath.
A kind of food storing system provided by the invention, the food that food service stores 114 can put food storing device
It is counted, and count value is sent to background server 115, when to determine the count value that receives small for background server 115
When pre-stored count value, then the handheld terminal 116 of prompt information out of stock to user is sent, to prompt user to need purchase in time
Food is bought, after buying when the user clicks, handheld terminal 116 can send business server for purchase order information, so that quotient
Family can recognize the demand of customer in real time.A kind of food storing system provided by the invention, can remind user's food storing device
Food residue situation avoids user's nutrition intake interruption, improves people's lives quality;For supplier, due to
Customer can buy in time supplements above-mentioned food, so that food is sold with certain sustainability, and can be intuitively
Consumer demand is solved, so that the quantity of production and storage stock is controlled according to consumer demand, so that the equilibrium of supply and demand, real
Xian Liao supplier benefit.
Fig. 3, Fig. 5 are please referred to, which includes: food service stores 114, background server 115 and hand
Hold terminal 116, in which:
The food service stores 114 include:
Food quantity information acquisition module 101, for acquiring food quantity information.
Information sending module 102 is used for the food quantity information to the background server 115.
It should be noted that food service stores 114 provided in an embodiment of the present invention are installed on a storing back box, food
Quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put the structure of back box with
Upper one embodiment is identical, and the mounting means of control circuit board is also identical as upper one embodiment, to briefly describe, the present embodiment
Part does not refer to place, can refer to corresponding contents in one embodiment.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
First light-sensitive device 105 and the mounting means of first voltage Acquisition Circuit 106 are same as the previously described embodiments, herein
It is no longer to repeat more.
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second light-sensitive device 109 is installed on the outer wall for putting back box, puts the ambient light around back box for acquiring
Intensity signal.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Judgment module 107, for judge respectively obtain multiple the first voltage values whether the second voltage with acquisition
Value is consistent.
Food quantity counting module 108, if the second voltage value for one of the first voltage value and acquisition
It is inconsistent, then food quantity is once counted.
Unlike upper one embodiment, the food quantity information acquisition module 101 of the embodiment of the present invention is further comprised
Second light-sensitive device 109.When putting groove storing has food, it is contemplated that if being located at different light environments when putting back box
Under, the light for being radiated at the first light-sensitive device 105 is different, when putting back box replacement and arriving another environment (for example, out of refrigerator
Replace to kitchen), if the light intensity of the ambient light of two kinds of environment differs greatly, the of the both ends of the first light-sensitive device 105
The variation of one voltage value is also larger, therefore the food service stores 114 may generate erroneous judgement, therefore in the outer wall for putting back box
It is provided with the second light-sensitive device 109, the second light-sensitive device 109 is used to acquire the light intensity of ambient light, when judgment module 107 judges
When inconsistent to the first voltage value and second voltage value, then it is assumed that putting on the putting groove has food.By photosensitive using second
The judgment mode that device 109 is compared with the voltage value at 105 both ends of the first light-sensitive device can greatly reduce the general of erroneous judgement
Rate.
The background server 115 is for judging whether the food quantity information received is less than pre-stored food quantity
Information, if it is, generating prompt information out of stock and the prompt information out of stock being sent to the handheld terminal 116.
Fig. 3, Fig. 6 are please referred to, which includes: food service stores 114, background server 115 and hand
Hold terminal 116, in which:
The food service stores 114 include:
Food quantity information acquisition module 101, for acquiring food quantity information.
Information sending module 102 is used for the food quantity information to the background server 115.
It should be noted that food service stores 114 provided in an embodiment of the present invention are installed on a storing back box, food
Quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put the structure of back box with
Upper one embodiment is identical, and the mounting means of control circuit board is also identical as upper one embodiment, to briefly describe, the present embodiment
Part does not refer to place, can refer to corresponding contents in one embodiment.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information, and first light-sensitive device 105 is reduced type light-sensitive device.
Reduced type light-sensitive device described in the present embodiment refers to the light-sensitive device for increasing resistance and reducing with incident intensity.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends;
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Threshold voltage generation module 111, for the second voltage value obtained to be added with pre-stored adjustment voltage value
Generate threshold voltage.
Judgment module 107, for judging whether the multiple the first voltage values obtained are greater than the thresholding electricity of acquisition respectively
Pressure value.
Food quantity counting module 108, if being greater than the threshold voltage obtained for one of the first voltage value
Value, then once count food quantity.
Even if due on putting groove when non-place food, under same light environment (for example, in refrigerator), the second photosensor
Part 109 and multiple first light-sensitive devices 105 can be because of the light that the factors such as difference of light irradiating angle, light source distance distance are subject to
Line intensity can be inconsistent, therefore will cause erroneous judgement, so as to cause inaccuracy is counted.Therefore in the present embodiment, if n the first light
The light intensity value that sensing device 105S1~Sn is obtained is L1~Ln, and the light intensity value that the second light-sensitive device 109 receives is
Lref, the collected second voltage value of second voltage Acquisition Circuit 110 are Vref.The received light of each first light-sensitive device 105
Line intensity value random distribution in a certain range, multiple collected multiple the first voltage value VS1 of first voltage Acquisition Circuit 106
~VSn also the random distribution within the scope of one.At this time if multiple the first voltage value VS1~VSn size directly compared with Vref
It can be inaccurate to causing final food quantity to count.But in the case where empty slot, as light it is uneven caused by it is each
Difference between the first voltage value and second voltage value can be far smaller than putting groove and put the first voltage value when having food and the
The difference of two voltage values.In the present embodiment, second voltage value is added with adjustment voltage value and generates threshold voltage, adjusts voltage
Value selection has certain limitation, i.e., slightly larger than maximum in the case where empty slot between multiple the first voltage values and second voltage value
Difference, far smaller than putting groove put the difference of the first voltage value and second voltage value when having food.
In order to become apparent from the scheme of expression the present embodiment, illustrate the present embodiment to food quantity meter below by concrete example
The principle of calculation.If 10 first light-sensitive device 105S1~S10 are L1~Ln, the second light-sensitive device in the light intensity value of acquisition
109 light intensity values received are Lref.The received light intensity value of each first light-sensitive device 105 in a certain range with
Machine distribution, multiple collected multiple the first voltage values of first voltage Acquisition Circuit 106 be respectively 3.1V, 2.9V, 3.1V,
2.8V, 3.2V, 3.1V, 3V, 6V, 6.2V, 6.1V, the collected second voltage value of second circuit Acquisition Circuit are 3V, Mei Ge
One light-sensitive device 105 is reduced type light-sensitive device, but cannot be directly by judging whether above-mentioned multiple the first voltage values are greater than
For 3V to once be counted to the case where being greater than 3V, such case is to count in the non-uniform situation of light to food
Inaccuracy.In the present embodiment, it is assumed that pre-stored adjustment voltage value is 0.3V, then threshold voltage is 3.3V, by each first
Voltage value is seriatim compared with 3.3V, that is, judges have 7 the first voltage values to be less than 3.3V, have 3 the first voltage values to be greater than
3.3V, therefore can accurately calculate food quantity information is 3.
In the present embodiment, need to do experiment according to actual environment light scene to determine adjustment voltage value.Due to the first light
Nonlinear characteristic is presented in sensing device 105 and the received intensity of illumination of the second light-sensitive device 109 and self-resistance value, this is resulted in
Different light intensity value sections, it is different to the both end voltage value coverage of the first light-sensitive device 105 with the second light-sensitive device 109, because
The value of this adjustment voltage value is not also identical, in the specific implementation can be according to the first light-sensitive device 105 and the second light-sensitive device
There is the table for the value that an adjustment voltage value is formulated the light-sensitive device photoelectric characteristic curve in 109 device handbook, in photoelectricity
Characteristic curve, which changes slow section adjustment voltage value, can be selected lesser value, in the quick section tune of photoelectric characteristic curvilinear motion
Whole voltage value selects biggish value.Photoelectric characteristic curve can be divided into 3 areas according to the difference of light intensity by usual situation
Between, i.e., between highlights, excessive section and half-light section.With half-light section between highlights, curvilinear motion is slower, adjustment electricity
Pressure value value gets the small value;In transition section, curvilinear motion is rapid, and adjustment voltage value value takes the larger value.And it can also be according to photosensitive
Device photoelectric characteristic curve does the division in thinner section in conjunction with actual test result, is desirably to obtain adjustment electricity the most suitable
Pressure value.
In addition in the present embodiment, if the first light-sensitive device 105 and the second light-sensitive device 109 are the light-sensitive device of increase type
When food quantity acquisition principle and the first light-sensitive device 105 and the second light-sensitive device 109 when being reduced type light-sensitive device
Principle on the contrary, just no longer herein repeat more.Increase type light-sensitive device described in the present embodiment is the increasing with incident intensity
The light-sensitive device that big resistance increases.
The background server 115 is for judging whether the food quantity information received is less than pre-stored food quantity
Information, if it is, generating prompt information out of stock and the prompt information out of stock being sent to the handheld terminal 116.
Fig. 7, Fig. 8 are please referred to, which includes: food service stores 114, background server 115 and hand
Terminal 116 is held, background server 115 is established with handheld terminal 116, food service stores 114 communicate to connect respectively.Wherein, after
Communication connection mode of the platform server 115 respectively with handheld terminal 116, food service stores 114 can pass through 3G network, 4G network
And unlimited wifi network is attached, in which:
The food service stores 114 include:
Food quantity information acquisition module 101, for acquiring food quantity information.
Information sending module 102 is used for the food quantity information to the background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
It should be noted that food service stores 114 provided in an embodiment of the present invention are installed on a storing back box, food
Quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put the structure of back box with
Upper one embodiment is identical, and the mounting means of control circuit board is also identical as upper one embodiment, to briefly describe, the present embodiment
Part does not refer to place, can refer to corresponding contents in one embodiment.
Sample circuit module 112 for sampling respectively to each the first voltage value within a certain period of time, and obtains
Obtain multiple sample voltage values.
Judgment module 107, for judging that the multiple of the first voltage value that same first light-sensitive device 105 exports described adopt
Whether sample voltage value is consistent with second voltage value.
Quasi- state determines numerical value generation module 113, for when a sample voltage value is consistent with second voltage value wherein,
It is then directed at empty slot and determines that numerical value is once counted, it is when a sample voltage value and second voltage value are inconsistent wherein, then right
Quasi- shadow groove determines that numerical value is once counted.
The judgment module 107 is also used to judge that each quasi- shadow groove determines that numerical value and quasi- empty slot determine inatheadearomatizationazone
Whether preset threshold value is greater than.
Food quantity counting module 108, for determining that numerical value and quasi- empty slot determine the ratio of numerical value in the quasi- shadow groove
When greater than preset threshold value, then once counted.
Unlike upper one embodiment, food quantity information acquisition module 101 provided in an embodiment of the present invention is also wrapped
Include sample circuit module 112.In view of that the empty slot of the non-place food of part may be hidden when user goes to take food with hand
Gear, so that the collected light intensity of the first light-sensitive device 105 for being located at the lower section of empty slot is adopted with the second light-sensitive device 109
The light intensity collected is inconsistent, it is thus possible to cause to judge by accident.Therefore using using circuit module in certain time to each the
The first voltage value of one light-sensitive device 105 output is sampled respectively, and obtains multiple sample voltage values.In view of people
It the time of daily feeding product substantially 3~5 seconds, in the present embodiment, sets the certain time to 10 seconds.In 10 seconds time
The interior the first voltage value to the output of same first light-sensitive device 105 carries out ten samplings and obtains ten sample voltage values, to this
Ten sample voltage values are compared with second voltage value respectively, if one of sample voltage value and second voltage value are different
It causes, is then directed at empty slot and determines that numerical value is once counted, if one of sample voltage value and second voltage value are inconsistent,
Alignment shadow groove determines that numerical value is once counted.If the quasi- shadow groove determines that numerical value and quasi- empty slot determine the ratio of numerical value
Greater than preset threshold value, then it is assumed that the putting groove positioned at the top of first light-sensitive device 105, which is put, food, rather than due to
People takes moment the blocking to the light for projecting first light-sensitive device 105 of food.Above-mentioned preset threshold value can be according to more
Secondary experiment is artificial setting, and in the present embodiment, preset threshold value is set as 1.5, i.e., quasi- in ten samplings of 4 seconds time
Shadow groove determines that numerical value is 6, when quasi- empty slot determines that numerical value is 4, then it is assumed that should setting positioned at the top of first light-sensitive device 105
Putting slot storing has food.
The background server 115 is for judging whether the food quantity information received is less than pre-stored food quantity
Information, if it is, generating prompt information out of stock and the prompt information out of stock being sent to the handheld terminal 116.
In addition, the food service stores 114 further include:
Temporal information acquisition module 103, for acquiring the storage time information of food.
When judgment module 107 determines wherein the first voltage value is consistent with the second voltage value of acquisition when, then time
Information acquisition module 103 starts timing, and when there is multiple the first voltage values consistent with the second voltage value, then temporal information is adopted
Collection module 103 carries out timing respectively.
Food location information acquisition module 104, for acquiring the location information of food.
Food location information acquisition module 104 can be by identifying that the pin connecting with each first light-sensitive device 105 acquires
The location information of food.
The information sending module 102 is also used to for the storage time information and the location information being sent to described
Background server 115.
It is new that the background server 115 is also used to judge whether the storage time information received is greater than pre-stored standard
Fresh temporal information, if it is, generating time limit prompt information and sending the location information of the time limit prompt information and food
To the handheld terminal 116.
In daily life, many users because go on business or amnesia and cause food storing for a long time without edible, this
Sample be arranged so that food service stores 114, background server 115 and handheld terminal 116 interaction, can remind in time user that
The food storage time that putting groove is put is longer, needs to eat immediately, avoids wasting.For example, the shelf-life of the food is 30 days,
Standard freshness information can be set to 20 days, if the time of the food storing has been more than 20 days, background server 115
Time limit prompt information and food location information are sent to handheld terminal 116, the food of that putting groove of user storing can be reminded in time
The product resting period is longer, needs to eat immediately, avoids wasting.In addition standard freshness information can also be set to 30 days, such as
The time of the fruit food storing has been more than 30 days, then background server 115, which is sent, abandons prompt information and food location information extremely
Handheld terminal 116, the food storage time that putting groove of user can be reminded to put in time have had been subjected to the shelf-life of the food,
It needs immediately to abandon the food, avoids eating expired food by mistake, the health of human body is impacted, embody more
Human nature care.
Fig. 3, Fig. 9 are please referred to, which includes: food service stores 114, background server 115 and hand
Hold terminal 116, in which:
The food service stores 114 include:
Food quantity information acquisition module 101, for acquiring food quantity information.
Information sending module 102 is used for the food quantity information to the background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Sample circuit module 112 for sampling respectively to each the first voltage value within a certain period of time, and obtains
Obtain multiple sample voltage values.
Judgment module 107, for judging that the multiple of the first voltage value that same first light-sensitive device 105 exports described adopt
Whether sample voltage value is consistent with second voltage value.
Threshold voltage generation module 111, for the second voltage value obtained to be added with pre-stored adjustment voltage value
Generate threshold voltage.
Quasi- state determines numerical value generation module 113, for when a sample voltage value is less than threshold voltage wherein, then
Alignment empty slot determines that numerical value is once counted, and when a sample voltage value is greater than threshold voltage wherein, is then directed at shade
Slot determines that numerical value is once counted.
The judgment module 107 is also used to judge that each quasi- shadow groove determines that numerical value and the quasi- empty slot determine numerical value
Whether ratio is greater than preset threshold value.
Food quantity counting module 108, for determining that numerical value and the quasi- empty slot determine numerical value in the quasi- shadow groove
When ratio is greater than preset threshold value, then once counted.
Referring to Fig. 4, it should be noted that food service stores provided in an embodiment of the present invention 114 are installed on one sets
Back box is put, food quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put
The structure of back box is identical as upper one embodiment, and the mounting means of control circuit board is also identical as upper one embodiment, is brief
Description, the present embodiment part do not refer to place, can refer to corresponding contents in one embodiment.The food service stores 114
Including food quantity information acquisition module 101, information sending module 102.
The food quantity information acquisition module 101, for acquiring food quantity information.
The information sending module 102, for the food quantity information to be sent to a background server 115.
The food quantity information acquisition module 101 includes:
Multiple first light-sensitive devices 105 are corresponded with multiple positions of storage food, multiple to be measured for acquiring respectively
Intensity signal.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Judgment module 107, whether multiple the first voltage values for judging to obtain one by one are in pre-stored first voltage
It is worth in range.
Memory module, for storing the first voltage value range.
Food quantity counting module 108, for one of the first voltage value within the scope of pre-stored the first voltage value
When, then food quantity is once counted.
A kind of food service stores 114 provided by the invention, can be to the food storing for being equipped with the food service stores 114
The food that device is put is counted, and count value is sent to a background server 115, is connect when background server 115 determines
When the count value received is less than pre-stored count value, then the handheld terminal 116 of prompt information out of stock to user is sent, with prompt
User needs purchase food in time, and after buying when the user clicks, handheld terminal 116 can send businessman for purchase order information
Server.A kind of food service stores 114 provided in an embodiment of the present invention can remind the food residue feelings of user's food storing device
Condition avoids user's nutrition intake interruption, improves people's lives quality;For supplier, since customer can be timely
Purchase supplements above-mentioned food, so that food is sold with certain sustainability, and can intuitively understand consumer
Demand, thus according to consumer demand control production and storage stock quantity so that the equilibrium of supply and demand, realizes supplier
Benefit.
Referring to Fig. 5, it should be noted that food service stores provided in an embodiment of the present invention 114 are installed on one sets
Back box is put, food quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put
The structure of back box is identical as upper one embodiment, and the mounting means of control circuit board is also identical as upper one embodiment, is brief
Description, the present embodiment part do not refer to place, can refer to corresponding contents in one embodiment.The food service stores 114
Including food quantity information acquisition module 101, information sending module 102.
The food quantity information acquisition module 101, for acquiring food quantity information.
The information sending module 102, for the food quantity information to be sent to a background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends;
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Judgment module 107, for judge respectively obtain multiple the first voltage values whether the second voltage with acquisition
Value is consistent.
Food quantity counting module 108, if the second voltage value for one of the first voltage value and acquisition
It is inconsistent, then food quantity is once counted.
Referring to Fig. 6, it should be noted that food service stores provided in an embodiment of the present invention 114 are installed on one sets
Back box is put, food quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put
The structure of back box is identical as upper one embodiment, and the mounting means of control circuit board is also identical as upper one embodiment, is brief
Description, the present embodiment part do not refer to place, can refer to corresponding contents in one embodiment.The food service stores 114
Including food quantity information acquisition module 101, information sending module 102.
The food quantity information acquisition module 101, for acquiring food quantity information;
The information sending module 102, for the food quantity information to be sent to a background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information, and first light-sensitive device 105 is reduced type light-sensitive device.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends;
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Threshold voltage generation module 111, for the second voltage value obtained to be added with pre-stored adjustment voltage value
Generate threshold voltage.
Judgment module 107, for judging whether the multiple the first voltage values obtained are greater than the thresholding electricity of acquisition respectively
Pressure value.
Food quantity counting module 108, if being greater than the threshold voltage obtained for one of the first voltage value
Value, then once count food quantity.
Referring to Fig. 8, it should be noted that food service stores provided in an embodiment of the present invention 114 are installed on one sets
Back box is put, food quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put
The structure of back box is identical as upper one embodiment, and the mounting means of control circuit board is also identical as upper one embodiment, is brief
Description, the present embodiment part do not refer to place, can refer to corresponding contents in one embodiment.The food service stores 114
Including food quantity information acquisition module 101, information sending module 102.
The food quantity information acquisition module 101, for acquiring food quantity information;
The information sending module 102, for the food quantity information to be sent to a background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Sample circuit module 112 for sampling respectively to each the first voltage value within a certain period of time, and obtains
Obtain multiple sample voltage values.
Judgment module 107, for judging that the multiple of the first voltage value that same first light-sensitive device 105 exports described adopt
Whether sample voltage value is consistent with second voltage value.
Quasi- state determines numerical value generation module 113, for when a sample voltage value is consistent with second voltage value wherein,
It is then directed at empty slot and determines that numerical value is once counted, when whether a sample voltage value is inconsistent with second voltage value wherein,
It is then directed at shadow groove and determines that numerical value is once counted.
The judgment module 107 is also used to judge that each quasi- shadow groove determines that numerical value and the quasi- empty slot determine numerical value
Whether ratio is greater than preset threshold value.
Food quantity counting module 108, for determining that numerical value and the quasi- empty slot determine numerical value in the quasi- shadow groove
When ratio is greater than preset threshold value, then once counted.
Referring to Fig. 9, it should be noted that food service stores provided in an embodiment of the present invention 114 are installed on one sets
Back box is put, food quantity information acquisition module 101 and information sending module 102 are arranged in the same control circuit board, put
The structure of back box is identical as upper one embodiment, and the mounting means of control circuit board is also identical as upper one embodiment, is brief
Description, the present embodiment part do not refer to place, can refer to corresponding contents in one embodiment.The food service stores 114
Including food quantity information acquisition module 101, information sending module 102.
The food quantity information acquisition module 101, for acquiring food quantity information;
The information sending module 102, for the food quantity information to be sent to a background server 115.
The food quantity information acquisition module 101 includes:
First light-sensitive device 105 is corresponded with multiple positions of storage food, for acquiring multiple light intensity to be measured respectively
Information.
Multiple first voltage Acquisition Circuits 106 are electrically connected, one by one for adopting respectively with multiple first light-sensitive devices 105
Collect the first voltage value at corresponding first light-sensitive device, 105 both ends.
Second light-sensitive device 109, for acquiring environmental light intensity information.
Second voltage Acquisition Circuit 110 is electrically connected, for acquiring second light with second light-sensitive device 109
The second voltage value at 109 both ends of sensing device.
Sample circuit module 112 for sampling respectively to each the first voltage value within a certain period of time, and obtains
Obtain multiple sample voltage values.
Judgment module 107, for judging that the multiple of the first voltage value that same first light-sensitive device 105 exports described adopt
Whether sample voltage value is consistent with second voltage value.
Threshold voltage generation module 111, for the second voltage value obtained to be added with pre-stored adjustment voltage value
Generate threshold voltage.
Quasi- state determines numerical value generation module 113, for when a sample voltage value is less than threshold voltage wherein, then
Alignment empty slot determines that numerical value is once counted, and when a sample voltage value is greater than threshold voltage wherein, is then directed at shade
Slot determines that numerical value is once counted.
The judgment module 107 is also used to judge that each quasi- shadow groove determines that numerical value and the quasi- empty slot determine numerical value
Whether ratio is greater than preset threshold value.
Food quantity counting module 108, for determining that numerical value and the quasi- empty slot determine numerical value in the quasi- shadow groove
When ratio is greater than preset threshold value, then once counted.
Referring to Fig. 10, the embodiment of the invention also provides a kind of food storage method, the food storage method includes:
Step S1001: food quantity information is acquired using a food service stores, and by the food quantity information to one
Background server;
Step S1002: pre-stored using whether the food quantity information that background server judgement receives is less than
Food quantity information, if so, thening follow the steps S1003.
Step S1003: the background server generates prompt information out of stock and the prompt information out of stock is sent to one
Handheld terminal.
Step S1004: the storage time information of the food service stores acquisition food and the location information of food, and will
The storage time information and the location information are sent to the background server.
Step S1005: pre-stored using whether the storage time information that background server judgement receives is greater than
Standard freshness information, if so, thening follow the steps step S1005.
Step S1006: the background server generates time limit prompt information and by the time limit prompt information and institute's rheme
Confidence breath is sent to a handheld terminal.
Wherein, it should be noted that without first between step S1001~step S1003, step S1004~step S1006
Sequence afterwards.
In several embodiments provided herein, it should be understood that disclosed device can also pass through others
Mode is realized.The apparatus embodiments described above are merely exemplary, for example, the block diagram in attached drawing is shown according to this hair
The architecture, function and operation in the cards of the devices of bright multiple embodiments, method and computer program product.At this
On point, each box in block diagram can represent a part of a module, section or code, a part packet of the module
Containing one or more executable instructions for implementing the specified logical function.It should also be noted that in some realities as replacement
In existing mode, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two continuous
Box can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this is according to related function
Depending on energy.It is also noted that the combination of each box in block diagram and the box in block diagram, it can be as defined in executing
Function or the dedicated hardware based system of movement are realized, or can be come using a combination of dedicated hardware and computer instructions
It realizes.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.