Management method and management system for shared plants
1. A method for managing shared plants, comprising the steps of:
generating care information based on a preset trigger condition, wherein the care information comprises integral information;
acquiring a real-time face image based on care information,
acquiring a corresponding user file from a preset data file based on the real-time face image, and storing integral information into the corresponding user file;
calculating the contribution rate of the corresponding user according to the corresponding integral information in the same user file based on manual operation;
and deleting the integral information corresponding to the user profile according to the preset starting condition.
2. The method as claimed in claim 1, wherein the specific way of obtaining the corresponding user profile from the preset data profile based on the real-time face image is as follows: and matching the acquired real-time face image with a pre-stored user image in the data file, calling the corresponding user file if the pre-stored user image corresponding to the real-time face image is matched, and establishing a temporary file based on the real-time face image and sending a prompt to supplement the temporary file if the pre-stored user image is not matched.
3. The method for managing shared plants according to claim 1, wherein the specific way of generating the care information based on the preset trigger condition is to obtain the corresponding care integral according to a preset integral rule based on the preset trigger condition, obtain the plant number corresponding to the currently cared plant, bind the care integral and the plant number and load the care integral and the plant number into the care information together.
4. The method as claimed in claim 3, wherein the specific manner of calculating the contribution rate of the corresponding user according to the corresponding point information in the same user profile based on manual operation is as follows: the plant numbers are input based on manual operation, the integral information bound with the corresponding plant numbers in all the user files is counted to calculate total points, the integral information bound with the corresponding plant numbers in the corresponding user files is counted to calculate personal points, and the contribution rate is calculated according to the personal points and the total points.
5. The method for managing shared plants according to claim 1, further comprising: and counting the current watering amount based on a preset triggering condition, comparing the current watering amount with a preset estimated watering amount, and automatically closing the watering equipment and giving a corresponding alarm when the current watering amount exceeds the estimated watering amount.
6. The method for managing shared plants according to claim 5, wherein: and acquiring the residual water quantity of the plant based on a preset water consumption rule, and automatically watering the corresponding plant until the residual water quantity exceeds a preset stop value when the residual water quantity is lower than a preset warning value.
7. The method for managing shared plants according to claim 3, further comprising: after the care information is generated, the corresponding countdown is started according to the plant number bound with the care information, and when the preset trigger condition corresponding to the plant number is triggered again before the countdown is finished, the care information cannot be generated.
8. A management system for sharing plants, characterized by: the system comprises a sensing module (7), a camera module (8), a processing module (9), a counting module (10) and a settlement module (11);
the induction module (7) generates care information based on a preset trigger condition, wherein the care information comprises integral information;
the camera module (8) is started based on the care information to acquire a real-time face image,
the processing module (9) establishes a user profile based on the real-time face image and stores the integral information into the corresponding user profile;
the counting module (10) counts the integral information corresponding to the same user file according to the preset starting condition and displays the counted integral;
and the settlement module (11) deletes the integral information corresponding to the user profile according to the preset starting condition.
Background
The old people are easy to have uncomfortable conditions in life just after retirement, mainly because no matter can be done in daily life. In order to eliminate time, the elderly can develop some hobbies, such as fishing, playing chess, planting plants, etc. Among them, for people living in cities, growing plants is really maintenance potting, and potting is really popular among the elderly as a product which not only beautifies the environment but also makes people pleasant.
However, since a great amount of money is needed to buy the pot culture, and the old also lacks sufficient energy to take care of the pot culture all the time, the old cannot take care of the pot culture independently in practice. Therefore, a plant sharing platform is proposed, and a plurality of old people take care of plants together. In order to improve the sense of participation of the elderly, the worker calculates the contribution rate of each elderly according to the number of times of caring for the plants by the elderly. However, this causes a lot of work for the worker.
Disclosure of Invention
In order to calculate contribution rates of the old, the application provides a management method and a management system for shared plants.
In a first aspect, the present application provides a management method for shared plants, which adopts the following technical scheme:
a method of managing shared plants, comprising the steps of:
generating care information based on a preset trigger condition, wherein the care information comprises integral information;
acquiring a real-time face image based on care information,
acquiring a corresponding user file from a preset data file based on the real-time face image, and binding the integral information with the corresponding user file;
calculating the contribution rate of the corresponding user according to the corresponding integral information in the same user file based on manual operation;
and deleting the integral information corresponding to the user profile according to the preset starting condition.
By adopting the technical scheme, when the old people care for the plants, the care information is automatically generated, the real-time face images of the old people are obtained to be matched to obtain the corresponding user files, the care information is bound into the user files, the care information in the corresponding user files is directly called when the contribution rate needs to be counted, the staff is not required to record and count, and the calculation of the contribution rate is convenient.
Optionally, the specific manner of obtaining the corresponding user profile from the preset data profile based on the real-time face image is as follows: and matching the acquired real-time face image with a pre-stored user image in the data file, calling the corresponding user file if the pre-stored user image corresponding to the real-time face image is matched, and establishing a temporary file based on the real-time face image and sending a prompt to supplement the temporary file if the pre-stored user image is not matched.
By adopting the technical scheme, the care information can be effectively stored no matter whether the old people participating in plant care establish the user file in advance or not, so that each participating old person can calculate the corresponding contribution rate, and the calculation of the contribution rate is more fair and accurate.
Optionally, the specific manner of generating the care information based on the preset trigger condition is to obtain a corresponding care integral according to a preset integral rule based on the preset trigger condition, obtain a plant number corresponding to a currently cared plant, bind the care integral and the plant number, and load the care integral and the plant number into the care information together.
By adopting the technical scheme, the care points obtained by caring different plants are respectively bound with the corresponding plant numbers instead of being mixed together, so that the corresponding care points can be conveniently checked according to the plant numbers.
Optionally, the specific manner of calculating the contribution rate of the corresponding user according to the corresponding integral information in the same user profile based on manual operation is as follows: the plant numbers are input based on manual operation, the integral information bound with the corresponding plant numbers in all the user files is counted to calculate total points, the integral information bound with the corresponding plant numbers in the corresponding user files is counted to calculate personal points, and the contribution rate is calculated according to the personal points and the total points.
By adopting the technical scheme, when the contribution rate is calculated, only the specific plant number can be selected to obtain the contribution rate of the old people to the corresponding plant, and the income can be more conveniently determined according to the contribution rate of each old person when the plant is sold.
Optionally, the method further includes: and counting the current watering amount based on a preset triggering condition, comparing the current watering amount with a preset estimated watering amount, and automatically closing the watering equipment and giving a corresponding alarm when the current watering amount exceeds the estimated watering amount.
Through adopting above-mentioned technical scheme, between the old person probably does not understand professional planting knowledge, and the old person is comparatively slow in action, and the automatic volume of watering of monitoring is in time shut down the water supply, prevents that the plant from dying because of watering excessively.
Optionally, the residual water amount of the plant is obtained based on a preset water consumption rule, and when the residual water amount is lower than a preset warning value, the corresponding plant is automatically watered until the residual water amount exceeds a preset stop value.
By adopting the technical scheme, when the plant is watered without a person for a long time, in order to prevent the plant from dying or growing badly due to water shortage, the residual water quantity of the plant is automatically monitored, and the water quantity is supplemented in time.
Optionally, the method further includes: after the care information is generated, the corresponding countdown is started according to the plant number bound with the care information, and when the preset trigger condition corresponding to the plant number is triggered again before the countdown is finished, the care information cannot be generated.
By adopting the technical scheme, in order to prevent the occurrence of the malicious point brushing situation, the care information is generated only once in the countdown after one-time effective watering is finished.
In a second aspect, the present application provides a management system for sharing plants, which adopts the following technical solutions:
a management system for sharing plants comprises an induction module, a camera module, a processing module, a statistic module and a settlement module;
the induction module generates care information based on a preset trigger condition, wherein the care information comprises integral information;
the camera module is activated based on the care information to acquire a real-time face image,
the processing module establishes a user file based on the real-time face image and stores the integral information into a corresponding user file;
the counting module counts the integral information corresponding to the same user file according to the preset starting condition and displays the counted integral;
and the settlement module deletes the integral information corresponding to the user file according to the preset starting condition.
In summary, the present application includes at least one of the following beneficial technical effects: after the old people care for the shared plants, automatically recording care information so as to conveniently and accurately calculate the contribution rate of the old people subsequently; and the watering amount and the residual water amount of the plants are automatically monitored, so that the survival rate of the plants is effectively improved.
Drawings
Fig. 1 is a schematic structural diagram of a shared platform according to an embodiment of the present application.
Fig. 2 is a flow chart of a management method according to an embodiment of the present application.
Fig. 3 is a block diagram of a management system according to an embodiment of the present application.
Description of reference numerals: 1. a mounting frame; 2. a tray; 3. a water supply pipe; 4. a camera; 5. a branch pipe; 6. an electromagnetic valve; 7. a sensing module; 8. a camera module; 9. a processing module; 10. a statistical module; 11. and a settlement module.
Detailed Description
The present application is described in further detail below with reference to figures 1-3.
The utility model provides a sharing plant platform, refers to fig. 1, includes a plurality of mounting bracket 1, installs a plurality of tray 2 that are used for placing cultivated in a pot on every mounting bracket 1, still is fixed with delivery pipe 3 and a plurality of camera 4 on the mounting bracket 1, is connected with a plurality of branch pipes 5 with tray 2 one-to-one on the delivery pipe 3, and the tip that delivery pipe 3 was kept away from to branch pipe 5 extends to corresponding tray 2 tops. Each branch pipe 5 is provided with an electromagnetic valve 6, the electromagnetic valve 6 is provided with a switch button for manually controlling the on-off of the electromagnetic valve 6, the electromagnetic valve 6 is in a normally closed state when not electrified, and after the switch button is pressed, the electromagnetic valve 6 is electrified and the branch pipes 5 are conducted; when the switch button is reset, the electromagnetic valve 6 is powered off and the branch pipe 5 is cut off again. A plurality of cameras 4 and a plurality of tray 2 one-to-one, camera 4 are located corresponding tray 2's side top, and camera 4 is used for shooting the people that stands before corresponding tray 2 in order to obtain the facial image.
The embodiment of the application discloses a management method of shared plants, which is applied to the shared plant platform, and is shown in fig. 2, and the management method comprises the following steps:
generating care information based on a preset trigger condition;
acquiring a real-time face image based on care information,
acquiring a corresponding user file from a preset data file based on the real-time face image, and storing the care information into the corresponding user file;
calculating the contribution rate of the corresponding user according to the care information stored in the same user file based on manual operation;
and deleting the care information stored in the user profile according to the preset starting condition.
The preset trigger condition is that when the electromagnetic valve 6 is opened after the electromagnetic valve 6 is powered on, the care information is automatically generated, and the care information comprises integral information and plant numbers. The plant numbers are preset by workers, and each plant number corresponds to a different pot plant. The point information has a plurality of types which respectively represent a plurality of potted plant care actions such as watering, fertilizing, deinsectization and the like, but only watering is the action which is most easily finished and monitored by the old, so that the corresponding point information can be automatically obtained only by the care action of watering, and the point information generated by other care actions needs to be manually input by a worker. That is, the point information in the care information corresponds only to the care action of watering.
After the care information is generated, the camera 4 is started to shoot the real-time face image of the current watering person, and simultaneously, the countdown corresponding to the plant number is started, which is manually set and is generally 1 hour. And when the electromagnetic valve 6 corresponding to the same plant number is triggered again before the countdown is finished, comparing whether the current real-time face image is consistent with the current real-time face image or not, and failing to generate care information. The reason for setting the countdown is to prevent the occurrence of the malicious point brushing situation, and after the countdown is finished, the water on the surface of the potted plant disappears, so that the old people can not easily judge whether the potted plant is watered, and at the moment, watering is carried out again, so that the normal behavior can be considered, and even if watering for the second time is not needed for the potted plant, the point can still be calculated.
The specific way of acquiring the corresponding user profile from the preset data profile based on the real-time face image is as follows: and matching the acquired real-time face image with a pre-stored user image in the data file, calling the corresponding user file if the pre-stored user image corresponding to the real-time face image is matched, and establishing a temporary file based on the real-time face image and sending a prompt to supplement the temporary file if the pre-stored user image is not matched.
The user file stores a face image corresponding to the old, the name of the old, the home address of the old and the contact information of the relative of the old. The temporary file only stores the face image corresponding to the old, and lacks other information, so that the other information needs to be complemented by a worker, and the temporary file after information complementation is automatically converted into a user file.
The contribution rate is calculated in the following way: inputting a plant number based on manual operation, counting integral information bound with the plant number in all user files to calculate the total integral of the plant number, counting integral information bound with the corresponding plant number in the corresponding user files to calculate a personal integral corresponding to the plant number, and dividing the personal integral by the total integral to obtain the contribution rate.
After the potted plants are co-cultured, workers can sell the potted plants, the obtained income is partially used for maintaining the contribution platform, and the rest is distributed according to the contribution rate of each old person, so that the old persons can generate harvest feeling. Once the contribution rate is settled, the care information in the user profile corresponding to the sold potted plant is deleted.
In addition, the potted plant is directly placed on the tray 2, and accordingly, the potted plant is also easily taken out from the tray 2. If no potted plant is placed on the tray 2, and the old triggers the switch button on the corresponding solenoid valve 6, then the water will be wasted undoubtedly if the branch pipe 5 drains water. Therefore, a pressure sensor is arranged in the tray 2, after the potted plant is placed on the tray 2, the pressure sensor generates a corresponding pressure signal, and the electromagnetic valve 6 corresponding to the tray 2 can be controlled by the switch button only under the condition of continuously receiving the pressure signal.
In order to avoid the old people from damaging plants due to excessive single watering, the management method further comprises the following steps:
and counting the current watering amount based on a preset triggering condition, comparing the current watering amount with the preset estimated watering amount, and automatically closing the electromagnetic valve 6 to cut off the branch pipe 5 and give a corresponding alarm when the current watering amount exceeds the estimated watering amount.
The way of counting the current watering amount is to install a flowmeter in the branch pipe 5 to measure the watering amount. The preset estimated watering amount is obtained by subtracting the residual water amount of the plants from the preset maximum water storage amount. The alarm mode has various modes, and can be that a corresponding loudspeaker is arranged on one side of the tray 2, and when the current watering amount exceeds the estimated watering amount, the loudspeaker gives out sound to serve as a prompt; or an indicator light can be adopted, and after watering is excessive, the indicator light displays red color as a prompt.
As for the remaining amount of water of the plant, it is obtained by a preset water consumption rule. The water consumption rule is as follows: residual water = initial water + make-up water-consumption per unit time elapsed time. The water replenishing quantity is the total watering quantity detected during manual watering, the consumption in unit time is a preset value, and the elapsed time refers to the duration from generation of the pressure signal to the current time.
The condition that watering is excessive exists in some potted plants, and the condition that does not obtain enough water supply for a long time also can appear in some potted plants, and concrete judgement mode also can be derived by the surplus water: when the residual water quantity is lower than the preset warning value, indicating that the potted plant is lack of water, the electromagnetic valve 6 is automatically opened to water the corresponding plant until the residual water quantity exceeds the preset stop value.
The corresponding warning value, stopping value and maximum water storage amount of different plants are different, and the consumption per unit time of the same plant in different growth periods is different. Therefore, preset values such as a warning value, a stop value, a maximum water storage amount and a unit time consumption amount need to be obtained by experience of workers and then are bound with corresponding plant numbers. Therefore, when the judgment of the plant residual water quantity is involved, the corresponding warning value, stop value and maximum water storage quantity can be obtained according to the plant number, and then the calculation is carried out according to the formula. It is noted that the alarm value is lower than the stop value, which is lower than the maximum water storage amount.
The embodiment of the application also discloses a management system for shared plants, which is shown in fig. 3 and comprises a sensing module 7, a camera module 8, a processing module 9, a counting module 10 and a settlement module 11.
The induction module 7 is arranged on the electromagnetic valve 6, and the plant number and the integral information corresponding to watering are prestored in the induction module 7. The induction module 7 is used for detecting whether the electromagnetic valve 6 is electrified or not, and after the electromagnetic valve 6 is electrified, the induction module 7 adds the plant number and the integral information into the care information and transmits the care information to the camera module 8.
The camera module 8 receives the care information, then opens the corresponding camera 4 according to the plant number, and transmits the acquired real-time face image and the care information to the processing module 9.
The processing module 9 is preset with a data file, and the data file stores a plurality of user files. The processing module 9 searches the data file to find the user file matched with the real-time face image or not after receiving the real-time face image, if the matching is successful, the care information is stored in the corresponding user file, if the matching is unsuccessful, a temporary file is established, and the care information is stored in the temporary file.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种综合能源系统灵活性评价方法