FARM MANAGEMENT SYSTEM, COMPUTER-IMPLEMENTED METHOD, COMPUTER PROGRAM AND NON-VOLATILE DATA CARRIER
20230281067 · 2023-09-07
Inventors
Cpc classification
G06F11/0775
PHYSICS
A01J5/007
HUMAN NECESSITIES
G08B21/182
PHYSICS
International classification
Abstract
A message handling node of a farm management system that receives error messages from a plurality of automatic devices, and generates and sends out error reports to user terminals, where the message handling node applies a rules system prescribing that an error report concerning a particular one of the automatic devices is generated based on fulfillment of a frequency criterion relating to a number of times at which the message handling node receives the error messages from said particular one device within at least one previous period in order to manage a total number of error reports received by each of the user terminals.
Claims
1. A farm management system, comprising: a message handling node (120) configured to: receive error messages from a plurality of automatic devices, generate at least one error report (E.sub.rep) based on the received error messages, and send the at least one error report (E.sub.rep) to at least one user terminal, wherein the message handling node (120) is configured to generate the at least one error report (E.sub.rep) by applying a rules system (RS), which prescribes that the at least one error report (E.sub.rep) concerns a particular one (111) of said automatic devices and is generated based on fulfillment of a frequency criterion relating to a count of a number of times that the message handling node (120) receives the error messages from said particular one automatic device (111) within at least one previous period of time.
2. The system according to claim 1, wherein the message handling node (120) is further configured to, when receiving a first error message of a first type (T.sub.1) from said particular one automatic device (111): check if said frequency criterion is fulfilled by comparing a first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during a first previous period (P1) with a first cumulative count threshold (e.sub.th), and if said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th), send the at least one error report (E.sub.rep), indicating that the first cumulative count threshold (e.sub.th) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
3. The system according to claim 1, wherein the message handling node (120) is further configured to, when receiving a first error message of a first type (T.sub.1) from said particular one automatic device (111): check if said frequency criterion is fulfilled by comparing a first cumulative count (Σe1(T 1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during a first previous period (P1) with a first cumulative count threshold (e.sub.th), and if and only if said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th), send the at least one error report (E.sub.rep) of the auxiliary type (AUX), indicating that the first count threshold (e.sub.th) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
4. The system according to claim 2, wherein the message handling node (120) is further configured such that: if said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th) at a first point in time (t.sub.13), the message handling node (120) sends, after the first point in time (t.sub.13), the at least one error report (E.sub.rep), indicating that the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) has been received from the particular one automatic device (111) during a second previous period (P2), said at least one error report (E.sub.rep) being sent only at predefined points in time (t.sub.20).
5. The system according to claim 2, wherein the message handling node (120) is further configured to set the first cumulative count threshold (e.sub.th) dynamically based on a time parameter such that a duration of the first previous period (P1) is different at different times of day.
6. The system according to claim 2, wherein said particular one automatic device (111) belongs to a first category of devices within said plurality of automatic devices, and wherein the message handling node (120) is further configured to: compare the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from a further automatic device (112) belonging to a second category of devices within said number of automatic devices during the first previous period (P1) with a second cumulative count threshold, and if said first cumulative count (Σe1(T.sub.1)) exceeds the second cumulative count threshold, send the at least one error report (E.sub.rep) indicating that the second cumulative count threshold has been exceeded by error messages of the first type (T.sub.1) from said further automatic device (112).
7. The system according to claim 6, wherein the message handling node (120) is further configured to: compare a sum of the first cumulative counts (Σe1(T.sub.1)) of the error messages of the first type (T.sub.1) received from said particular automatic device (111) and said further automatic device (112) during the first previous period (P1) with a third cumulative count threshold that is different from a combined magnitude of the first and second cumulative count thresholds, and if said sum of the first cumulative counts (Σe1(T.sub.1)) exceeds the third cumulative count threshold, send the at least one error report (E.sub.rep), indicating that the third cumulative count threshold has been exceeded by error messages of the first type (T.sub.1) from said particular automatic device (111) and said further automatic device (112).
8. The system according to claim 1, wherein the message handling node (120) is further configured to: analyze the received error messages, said received error messages representing at least two different types of error messages and/or have been received from at least two different automatic devices, and determine from said received error messages an estimated cause of a combination of at least two of said at least two the error messages, and present the estimated cause in the at least one error report (E.sub.rep).
9. The system according to claim 1, wherein the rules system (RS) prescribes that a subgroup of error messages of said error messages pertains to critical alarms, and wherein the message handling node (120) is further configured such that if the message handling node (120) receives an error message in said subgroup, the message handling node (120) sends out the at least one error report (E.sub.rep), with an indication of the critical alarm to which the error message pertains irrespective of whether said frequency criterion is fulfilled relating to a number of times per unit time the message handling node (120) receives said error message in said subgroup.
10. The system according to claim 1, further comprising: a control node (140), configured to: receive the at least one error report (E.sub.rep), generate at least one statistic report (E.sub.stat) based on the at least one error report (E.sub.rep), and store the at least one statistic report (E.sub.stat) in a digital storage resource (145).
11. The system according to claim 10, wherein the control node (140) is further configured to: receive at least one programming command (PC), and in response thereto generate at least one rule adjustment instruction (RA) and send the at least one rule adjustment instruction (RA) to the message handling node (120), said at least one rule adjustment instruction (RA) being configured to alter the rules system (RS) applied to the error messages received in the message handling node (120).
12. The system according to claim 2, wherein the message handling node (120) is configured to: check if an emergency criterion is fulfilled by comparing the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during the first previous period (P1) with an emergency cumulative count threshold (e.sub.emg) above the first count threshold (e.sub.th), and if said first cumulative count (Σe1(T.sub.1)) exceeds the emergency cumulative count threshold (e.sub.emg), send the at least one error report (E.sub.rep) indicating that the emergency cumulative count threshold (e.sub.emg) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
13. A computer-implemented method performed in a farm management system, the method comprising: receiving error messages from a number of automatic devices; generating at least one error report (E.sub.rep) based on the received error messages; and sending the at least one error report (E.sub.rep) to at least one user terminal (151, 152), wherein said generating the at least one error report (E.sub.rep) includes applying a rules system (RS), which prescribes that the at least one error report (E.sub.rep) concerns a particular one (111) of said automatic devices and is generated based on fulfillment of a frequency criterion relating to a count of a number of times that the error messages from said particular one device (111) are received within at least one previous period of time.
14. The method according to claim 13, further comprising: receiving a first error message of a first type (T.sub.1) from said particular one automatic device (111); determining that said frequency criterion is fulfilled by comparing a first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during a first previous period (P1) with a first cumulative count threshold (e.sub.th); determining that said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th); and sending the at least one error report (E.sub.rep), indicating that the first cumulative count threshold (e.sub.th) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
15. The method according to claim 13, further comprising: receiving a first error message of a first type (T.sub.1) from said particular one automatic device (111) the method comprises; determining that said frequency criterion is fulfilled by comparing a first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during a first previous period (P1) with a first cumulative count threshold (e.sub.th); determining that said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th); and sending the at least one error report (E.sub.rep) of the auxiliary type (AUX) indicating that the first count threshold (e.sub.th) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
16. The method according to claim 14, further comprising: determining that said first cumulative count (Σe1(T.sub.1)) exceeds the first cumulative count threshold (e.sub.th) at a first point in time (t.sub.13); and after the first point in time (t.sub.13), sending the at least one error report (E.sub.rep), indicating that the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) has been received from the particular one automatic device (111) during a second previous period (P2), said at least one error report (E.sub.rep) being sent only at predefined points in time (t.sub.20).
17. The method according to claim 14, further comprising: setting the first cumulative count threshold (e.sub.th) dynamically, based on a time parameter such that a duration of the first previous period (P1) is different at different times of the day.
18. The method according to claim 14, wherein said particular one automatic device (111) belongs to a first category of devices within said number of automatic devices, and the method further comprises: comparing the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from a further automatic device (112) belonging to a second category of devices within said number of automatic devices during the first previous period (P1) with a second cumulative count threshold; determining that said first cumulative count (Σe1(T.sub.1)) exceeds the second cumulative count threshold; and sending the at least one error report (E.sub.rep) indicating that the second cumulative count threshold has been exceeded by error messages of the first type (T.sub.1) from said further automatic device (112).
19. The method according to claim 18, further comprising: comparing a sum of the first cumulative counts (Σe1(T.sub.1)) of the error messages of the first type (T.sub.1) received from said particular automatic device (111) and said further automatic device (112) during the first previous period (P1) with a third cumulative count threshold that is different from a combined magnitude of the first and second cumulative count thresholds; determining that said sum of the first cumulative counts (Σe1(T 1)) exceeds the third cumulative count threshold; and sending the at least one error report (E.sub.rep), indicating that the third cumulative count threshold has been exceeded by error messages of the first type (T.sub.1) from said particular automatic device (111) and said further automatic device (112).
20. The method according to claim 13, further comprising: analyzing the received error messages, said received error messages representing at least two different types of error messages and/or have been received from at least two different automatic devices; and determining from said received error messages an estimated cause of a combination of at least two of said at least two the error messages; and presenting the estimated cause in the at least one error report (E.sub.rep).
21. The method according to claim 13, wherein the rules system (RS) prescribes that a subgroup of error messages of said error messages pertains to critical alarms, and the method further comprises: receiving at the message handling node (120) an error message in said subgroup; and sending out the at least one error report (E.sub.rep), with an indication of the critical alarm to which the error message pertains irrespective of whether said frequency criterion is fulfilled relating to a number of times per unit time the message handling node (120) receives said error message in said subgroup.
22. The method according to claim 14, further comprising: checking whether if an emergency criterion is fulfilled by comparing the first cumulative count (Σe1(T.sub.1)) of error messages of the first type (T.sub.1) received from the particular one automatic device (111) during the first previous period (P1) with an emergency cumulative count threshold (e.sub.emg) above the first count threshold (e.sub.th); determining that said first cumulative count (Σe1(T.sub.1)) exceeds the emergency cumulative count threshold (e.sub.emg); and sending the at least one error report (E.sub.rep) indicating that the emergency cumulative count threshold (e.sub.emg) has been exceeded by error messages of the first type (T.sub.1) from said particular one automatic device (111).
23. (canceled)
24. A non-transitory data medium (426) having recorded thereon a computer program (427) that, upon execution by a processor of a computer, executes the method according to claim 13.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The invention is now to be explained more closely by means of preferred embodiments, which are disclosed as examples, and with reference to the attached drawings.
[0024]
[0025]
[0026]
[0027]
DETAILED DESCRIPTION
[0028]
[0029] The message handling node 120 is configured to receive error messages e1, e2, e3, e4, e5, . . . , en from a number of automatic devices, here symbolically illustrated by boxes 111, 112, 113, 114, 115 and 11n respectively.
[0030] The main task of the message handling node 120 is to filter the received error messages e1, e2, e3, e4, e5, . . . , en, so that end recipients in the form of user terminals, here exemplified by a laptop computer 151 and a smartphone 152 respectively, receive a reasonable number of error indications in a perspicuous manner. The user terminals 151 and 152 can be handled by a farmer, a service technician, a member of administrative staff etc. and are preferably connected to the message handling node 120 via a respective wireless interface and at least one interconnecting network 130, such as the Internet.
[0031] Based on the received error messages e1, e2, e3, e4, e5 and en, the message handling node 120 is configured to generate at least one error report of a basic type BSC or an auxiliary type AUX, here exemplified by E.sub.rep, and send these error reports E.sub.rep to the user terminal(s) 151 and/or 152 respectively depending on which end recipient(s) that is/are registered in the message handling node 120. The message handling node 120 is configured to generate the at least one error report E.sub.rep of the basic or auxiliary type BSC/AUX by applying a rules system RS. The rules system RS may define a number of criteria for how and when the error report(s) E.sub.rep of the basic or auxiliary type BSC/AUX shall be issued. In any case, the rules system RS prescribes that the at least one error report E.sub.rep of the basic or auxiliary type BSC/AUX in respect of a particular one of the automatic devices, say 111, be generated based on the fulfillment of a frequency criterion relating to a number of times at which the message handling node 120 receives the error messages e1 from the particular one device 111 within a first previous period P1.
[0032]
[0033] Preferably, when receiving the first error message e1 of the first type T.sub.1 from the particular one device 111, the message handling node 120 is configured to check if the frequency criterion is fulfilled by comparing the first cumulative count Σe1(T.sub.1) of error messages of the first type T.sub.1 received from the particular one automatic device 111 during the first previous period P1 with a first cumulative count threshold e.sub.th. The first previous period P1 is a predefined time span, for instance a day, a part of a day, a number of hours etc., since a particular point in time t.sub.1.
[0034] According to one embodiment of the invention, the message handling node 120 is configured to set the first cumulative count threshold e.sub.th dynamically based on a time parameter. This could mean that the duration of the first previous period P1 is set to vary over the day, so that the length of this period is different at different times of the day. For example, in the daytime when the farm devices are relatively busy, the duration of the first previous period P1 may be relatively short; and at night, when many farm devices are inactive, the duration of the first previous period P1 may be relatively long.
[0035] If the first cumulative count Σe1(T.sub.1) does not exceed the first cumulative count threshold e.sub.th, the message handling node 120 is configured to generate at least one error report E.sub.rep of the basic type BSC. If the first cumulative count Σe1(T.sub.1) exceeds the first cumulative count threshold e.sub.th, the message handling node 120 is instead configured to generate at least one error report E.sub.rep of the auxiliary type AUX.
[0036] In the example illustrated in
[0037] According to one embodiment of the invention, the at least one error report E.sub.rep of the basic type BSC indicates an instant first count e1(T.sub.1). I.e. in the example illustrated in
[0038] The message handling node 120 may further be configured to determine if such an amount of error messages of a particular type has been received that an emergency criterion is fulfilled, i.e. a very large number of errors have occurred. Therefore, according to one embodiment of the invention, the message handling node 120 is configured to check if the emergency criterion is fulfilled by comparing the first cumulative count Σe1(T.sub.1) of error messages of the first type T.sub.1 received from the particular one device 111 during the first previous period P1 with an emergency cumulative count threshold e.sub.emg. The emergency cumulative count threshold e.sub.emg is above, preferably substantially above, the first cumulative count threshold e.sub.th, say a factor 10, 100, 1000 or 10 000, or for example any number between 10 and 100 000. For reasons of clarity, in
[0039] If the first cumulative count Σe1(T.sub.1) exceeds the emergency cumulative count threshold e.sub.emg, the message handling node 120 is configured to send the error report E.sub.rep to the user terminal(s) 151 and/or 152, where the error report E.sub.rep indicates that the emergency cumulative count threshold e.sub.emg has been exceeded by error messages of the first type T.sub.1 from said particular one device 111. As is apparent from the example in
[0040] In the embodiment illustrated in
[0041] After that the first count threshold e.sub.th has been exceeded, the at least one error report E.sub.rep of the auxiliary type AUX, which is sent out by the message handling node 120 indicates that the first cumulative count threshold e.sub.th has been exceeded by the error messages of the first type T.sub.1 from the particular one automatic device 111 during the first period P1. The at least one error report E.sub.rep of the auxiliary type AUX is preferably sent out only at predefined points in time, which in
[0042] It may be advantageous to organize the automatic devices in two or more category of devices from which categories the error messages are treated differently, i.e. the rules system RS specifies a first set of criteria for a first category of devices within said number of automatic devices 111, 112, 113, 114, 115 and 11n and a second set of criteria for a second category of devices within said number of automatic devices 111, 112, 113, 114, 115 and 11n.
[0043] Specifically, according to one embodiment of the invention, it is presumed that the particular one device 111 belongs to a first category of devices, and the message handling node 120 is configured to check if the frequency criterion is fulfilled by comparing the first cumulative count Σe1(T.sub.1) of error messages of the first type T.sub.1 received from a further device 112 belonging to a second category of devices during the first previous period P1 with a second cumulative count threshold. If said first cumulative count Σe1(T.sub.1) exceeds the second cumulative count threshold, the message handling node 120 is configured to send the at least one error report E.sub.rep indicating that the second cumulative count threshold has been exceeded by error messages of the first type T.sub.1 from the further device 112. Thus, the level at which the at least one error report E.sub.rep shifts to the auxiliary type AUX can be set differently for the automatic devices of the first and second categories.
[0044] The automatic devices of the first and second categories may either represent devices of different kinds or the same kind. Hence, each of the first and second categories of devices may for example include an activity meter, a milk meter, a milking machine, a milking robot or milk extraction equipment for a milking point, a teat sensor, a TOF (time of flight) camera, a vacuum system, a manure handling system, an animal-identity system, a climate control system e.g. with fans and/or sprinklers, a fluid pressure sensor, a mechanical pressure sensor, a herd management system, a washing machine, a cooling system, a communication apparatus for remote communication, a gate system or a feeding system.
[0045] According to one embodiment of the invention, the message handling node 120 is configured to check if the frequency criterion is fulfilled by comparing a sum of the first cumulative counts Σe1(T.sub.1) of the error messages of the first type T.sub.1 received from said particular device 111 and said further device 112 during the first previous period P1 with a third cumulative count threshold. The magnitude of the third cumulative count threshold is different from a combined magnitude of the first and second cumulative count thresholds, i.e. third cumulative count threshold is either higher or lower than the first cumulative count threshold plus the second cumulative count threshold. If said sum of the first cumulative counts Σe1(T.sub.1) of the error messages of the first type T.sub.1 exceeds the third cumulative count threshold, the message handling node 120 is configured to send the at least one error report E.sub.rep indicating that the third cumulative count threshold has been exceeded by the error messages of the first type T.sub.1 from said particular device 111 and said further device 112. Such a combined treatment of error messages in the message handling node 120 can be advantageous because although a particular amount of errors may be accepted for an individual automatic device, less than the sum of the individually acceptable cumulative counts may be tolerated for a group of automatic devices.
[0046] It is preferable if the message handling node 120 is configured to analyze the received error messages e1, e2, e3, e4, e5 and en to determine an estimated cause of the error messages e1, e2, e3, e4, e5 and/or en. Specifically, here, the received error messages e1, e2, e3, e4, e5 and/or en represent at least two different types of error messages and/or have been received from at least two different automatic devices 111, 112, 113, 114, 115 and/or 11n. Moreover, the message handling node 120 is configured to determine the estimated cause, i.e. a possible fault, based on a combination of at least two of said at least two the error messages e1, e2, e3, e4, e5 and/or en, for instance by applying a deterministic scheme, an algorithm based on an artificial neural network, a connectionist systems or a combination thereof. Namely, for instance, by studying a consecutive order in which different error messages occur and/or by studying how various combinations of error messages occur together conclusions can be drawn regarding a fault that causes these error messages e1, e2, e3, e4, e5 and/or en. First and second errors may be functionally related to one another. For example, a first error relating to a vacuum sensor that occurs in conjunction with a second error indicating failure to attach a teat cup may be caused by a faulty vacuum pressure level, which, in turn, may be the result of a malfunctioning vacuum system.
[0047] Often two or more automatic devices 111, 112, 113, 114, 115 and/or 11n are interrelated by being arranged to operate in a consecutive chain of actions. In such a case, error messages originating from an automatic device at a later position in the chain me be caused by an error in an automatic device at an earlier position in the chain. Consequently, it may be concluded that an earliest link in the chain is the cause of all the error messages e1, e2, e3, e4, e5 and/or en.
[0048] The message handling node 120 is further configured to present the estimated cause in the at least one error report E.sub.rep of the auxiliary type AUX. Thereby, the user gains valuable information about how the reported error may be corrected.
[0049] Typically, some kinds of errors are less critical than others. It is therefore advantageous if it is possible to differentiate between the error messages. According to one embodiment of the invention, the rules system RS prescribes that a subgroup of error messages of the error messages e1, e2, e3, e4, e5 and en pertains to critical alarms. If the message handling node 120 receives an error message in said subgroup, the message handling node 120 is configured to send out the at least one error report E.sub.rep with an indication of the critical alarm to which the error message pertains irrespective of whether said frequency criterion is fulfilled relating to a number of times per unit time the message handling node 120 receives said error message in said subgroup. In other words, an error message in said subgroup always passes through to the user terminal(s) 151 and/or 152.
[0050] As mentioned above, the farm management system may further include a control node 140. This node is configured to receive the at least one error report E.sub.rep. Based thereon, the control node 140 is configured to generate at least one statistic report E.sub.stat. The control node 140 is also configured to store the at least one statistic report E.sub.stat in a digital storage resource 145. Thereby, it is straightforward to analyze how the farm system performs in terms of when particular errors occur. Furthermore, a user may conclude that the error report(s) E.sub.rep should be generated based on different criteria. For instance, the user may want to elevate or lower at least one cumulative count threshold.
[0051] The first cumulative count threshold e.sub.th, the second cumulative count threshold, the third cumulative count threshold and/or the emergency cumulative count threshold e.sub.emg in the light the statistic report(s) E.sub.stat, so that he/she is expected to receive a reasonable number of error report E.sub.rep, and at the same time does not risk missing any critical errors.
[0052] Therefore, according to one embodiment of the invention, the control node 140 is further configured to receive at least one programming command PC, for example from one of the user terminals 151 or 152, or from an administrator of the farm management system. In response to the at least one programming command PC, the control node 140 is configured to generate at least one rule adjustment instruction RA. The control node 140 is further configured to send the at least one rule adjustment instruction RA to the message handling node 120. When received in the message handling node 120, the at least one rule adjustment instruction RA is configured to alter the rules system RS that is applied to the error messages e1, e2, e3, e4, e5 and en received therein. Consequently, the filtering behavior of the message handling node 120 may be manipulated in a convenient and a straightforward manner.
[0053]
[0054] In order to sum up, and with reference to the flow diagram in
[0055] In a first step 510, at least one error message is received from a at least one automatic device. In a following step, 520, a rules system is applied to the received message(s). Then, a step 530 specifically checks a frequency criterion is fulfilled relating to a number of times at which the error messages from said particular one device are received within at least one previous period; and if so, a step 550 follows. Otherwise, the procedure continues to a step 540 in which a basic error report is forwarded to at least one user terminal. This may for example involve sending information about a current error count only if the first cumulative count Σe1(1) exceeds the first cumulative count threshold e.sub.th. Thus, generating the basic error report may be an empty step meaning that nothing is sent to any user terminal. In step 550, an auxiliary error report is forwarded to at least one user terminal. This may for example involve sending at least one error report to at least one user terminal, which at least one error report indicates that the first count threshold has been exceeded by error messages of the first type from the particular one device. After step 540 or 550, the procedure loops back to step 510.
[0056] All of the process steps, as well as any sub-sequence of steps, described with reference to
[0057] The term “comprises/comprising” when used in this specification is taken to specify the presence of stated features, integers, steps or components. However, the term does not preclude the presence or addition of one or more additional features, integers, steps or components or groups thereof.
[0058] The invention is not restricted to the described embodiments in the figures, but may be varied freely within the scope of the claims.