Electronic fence adjustment method, device, storage medium and electronic device
By automatically determining the target range and allowable conditions of the electronic fence and monitoring the length of stay of staff, the problem of low accuracy of electronic fence alarms is solved and accurate monitoring of employee locations is achieved.
Patent Information
- Application Number
- CN202211528485.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The alarm accuracy of existing electronic fences is low and they rely on manual adjustments, resulting in inaccurate monitoring of employee locations.
By determining the target range of the electronic fence, allowed types of work, time periods and length of stay, the location of the target workers is automatically monitored and alarm information is issued in a timely manner to ensure the accuracy of the alarm.
It improves the accuracy of monitoring and alarming of the target staff's stay time, solves the problem of low accuracy of electronic fence alarming, and achieves accurate monitoring of employee locations.
Smart Images

Figure CN115985025B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to an adjustment method, device, storage medium and electronic device for an electronic fence. Background Art
[0002] In an enterprise, a special storage area is usually set up for raw materials or products. During the storage process, an electronic fence needs to be set up in the storage area. If a person enters the electronic fence, an alarm will be issued. However, in the prior art, once the electronic fence is set, it usually does not change unless a staff member manually adjusts the electronic fence. This is very dependent on human experience and subjective judgment, which results in untimely updates of the electronic fence and inaccurate monitoring and alarming of employee locations, thus losing the timeliness of the application of the electronic fence. Summary of the invention
[0003] The embodiments of the present invention provide an electronic fence adjustment method, device, storage medium and electronic device to at least solve the technical problem of low alarm accuracy of the electronic fence.
[0004] According to one aspect of an embodiment of the present invention, a method for adjusting an electronic fence is provided, comprising: determining a first target range of a first electronic fence; when it is detected that a target worker enters the first target range, determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, a first allowed time period corresponding to each allowed type of work, and a first allowed stay time; when the target type of work exists in the first allowed types of work and the current time is within the first allowed time period corresponding to the target type of work, starting timing; when the timing time is equal to the first allowed stay time and the target worker has not left the first target range, issuing an alarm message.
[0005] According to another aspect of an embodiment of the present invention, an electronic fence adjustment device is provided, comprising: a first determination module, used to determine a first target range of a first electronic fence; a second determination module, used to determine the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time when detecting that the target worker enters the first target range; a first timing module, used to start timing when the target type of work exists in the first allowed types of work and the current time is within the first allowed time period corresponding to the target type of work; a first alarm module, used to issue an alarm message when the timing time is equal to the first allowed stay time and the target worker has not left the first target range.
[0006] As an optional example, the above-mentioned device also includes: a second alarm module, which is used to determine the target job type of the above-mentioned target worker, the first allowed job type of the above-mentioned first electronic fence at the current time, the first allowed time period corresponding to each allowed job type, and the first allowed stay time when it is detected that the target worker enters the above-mentioned first target range, and after that, if the above-mentioned target job type does not exist in the above-mentioned first allowed job types, issue the above-mentioned alarm information.
[0007] As an optional example, the above-mentioned device also includes: a third alarm module, which is used to determine the target job type of the above-mentioned target worker, the first allowed job type of the above-mentioned first electronic fence at the current time, the first allowed time period corresponding to each allowed job type, and the first allowed stay time when it is detected that the target worker enters the above-mentioned first target range; and after that, if the above-mentioned target job type exists in the above-mentioned first allowed job types and the above-mentioned current time is not within the above-mentioned first allowed time period corresponding to the above-mentioned target job type, issue the above-mentioned alarm information.
[0008] As an optional example, the second determination module includes: an acquisition unit, used to acquire the stored items in the first electronic fence at the current time, the current reserves of the stored items and the current storage time of the stored items; a first determination unit, used to determine the first allowed type of work, the first allowed time period corresponding to each allowed type of work and the first allowed stay time of the first electronic fence at the current time based on the stored items, the current reserves of the stored items and the current storage time of the stored items.
[0009] As an optional example, the above-mentioned device also includes: an acquisition module, which is used to, when the above-mentioned target job type exists in the above-mentioned first allowed job types and the above-mentioned current time is within the above-mentioned first allowed time period corresponding to the above-mentioned target job type, after starting the timing, obtain the position of the above-mentioned target worker through the positioning card of the target worker once every first time interval; a processing module, which is used to stop the timing when the above-mentioned timing time is less than the above-mentioned first allowed stay time and the above-mentioned position is not within the above-mentioned first target range.
[0010] As an optional example, the device further includes: a third determination module, which is used to determine the second permitted type of work, the second permitted time period corresponding to each second permitted type of work, and the second permitted stay duration of the second electronic fence at the current time after detecting that the target worker enters the first target range, when detecting that the target worker enters the second target range, wherein the second target range is the overlapping range of the third target range of the second electronic fence and the first target range; a fourth determination module, which is used to determine the second permitted type of work, the second permitted type of work, the first permitted time period corresponding to each first permitted type of work, and the second permitted stay duration of the second electronic fence at the current time according to the first permitted type of work, the second permitted type of work, the first permitted time period corresponding to each first permitted type of work, and the second permitted stay duration of the second electronic fence at the current time. The first allowed stay time corresponding to each first allowed type of work, the second allowed stay time corresponding to each second allowed type of work determine the third allowed type of work in the second target range, the third allowed time period corresponding to each third allowed type of work, and the third allowed stay time corresponding to each second allowed type of work; a second timing module is used to start timing when the above-mentioned target type of work exists in the above-mentioned third allowed types of work and the above-mentioned current time is within the above-mentioned third allowed time period corresponding to the above-mentioned target type of work; a fourth alarm module is used to issue the above-mentioned alarm information when the timing duration is equal to the above-mentioned third allowed stay time and the above-mentioned target staff member has not left the above-mentioned third target range.
[0011] As an optional example, the fourth determination module includes: a second determination unit, used to determine the same type of work as the first allowed type of work and the second allowed type of work as the third allowed type of work; a third determination unit, used to determine the time period in which the first allowed time period corresponding to each third allowed type of work and the second allowed time period corresponding to each third allowed type of work overlap as the third allowed time period corresponding to each third allowed type of work; a fourth determination unit, used to determine the shortest duration of the first allowed stay duration corresponding to each third allowed type of work and the second duration corresponding to each third allowed type of work as the third allowed stay duration corresponding to each third allowed type of work.
[0012] According to another aspect of the embodiments of the present invention, a storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the electronic fence adjustment method is executed.
[0013] According to another aspect of an embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the electronic fence adjustment method through the computer program.
[0014] In an embodiment of the present invention, a method is adopted for determining a first target range of a first electronic fence; when it is detected that a target worker enters the above-mentioned first target range, determining the target type of work of the above-mentioned target worker, the first allowed type of work of the above-mentioned first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time; when the above-mentioned target type of work exists in the above-mentioned first allowed types of work and the above-mentioned current time is within the above-mentioned first allowed time period corresponding to the above-mentioned target type of work, starting timing; when the timing time period is equal to the above-mentioned first allowed stay time period and the above-mentioned target worker has not left the above-mentioned first target range, issuing an alarm message. Because in the above-mentioned method, when the target type of work of the target worker is the first allowed type of work of the first electronic fence and the target worker enters the first target range of the first electronic fence within the first allowed time period corresponding to the target type of work of the first electronic fence, and the stay time period exceeds the first allowed stay time corresponding to the target type of work of the first electronic fence, an alarm message is issued, thereby achieving the purpose of improving the accuracy of monitoring and alarming the position of the target worker, and further solving the technical problem of low alarm accuracy of the electronic fence. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0016] Figure 1 is a flow chart of an optional electronic fence adjustment method according to an embodiment of the present invention;
[0017] Figure 2 is a range diagram of an electronic fence according to an optional electronic fence adjustment method of an embodiment of the present invention;
[0018] Figure 3 is a schematic structural diagram of an optional electronic fence adjustment device according to an embodiment of the present invention;
[0019] Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] According to a first aspect of an embodiment of the present invention, a method for adjusting an electronic fence is provided. Optionally, as follows: Figure 1 As shown, the above method includes:
[0023] S102, determining a first target range of a first electronic fence;
[0024] S104, when it is detected that the target worker enters the first target range, determining the target job type of the target worker, the first allowed job type of the first electronic fence at the current time, the first allowed time period corresponding to each allowed job type, and the first allowed stay duration;
[0025] S106, if the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type, start timing;
[0026] S108: When the timing duration is equal to the first allowed stay duration and the target staff member has not left the first target range, an alarm message is issued.
[0027] Embodiment 1, in order to improve the accuracy of monitoring and alarming the target worker's stay time in the first electronic fence. When the target job of the target worker is the first allowed job of the first electronic fence, and the target worker enters the first target range of the first electronic fence within the first allowed time period corresponding to the target job of the first electronic fence, the target worker's stay time is monitored, and when the stay time exceeds the first allowed stay time corresponding to the target job of the first electronic fence, an alarm message is issued.
[0028] Optionally, in the first embodiment of the present invention, the electronic fence is an advanced perimeter anti-theft alarm system. The electronic fence contains multiple attributes, such as target range, allowed time period, allowed type of work, allowed length of stay, etc. The target range is the size and position of the area included in the electronic fence. The area included in an electronic fence can be physically continuous or divided from each other. Allowed types of work, that is, setting up an electronic fence to allow staff of specific roles and types of work to enter, as well as types of roles and types of work that are prohibited from entering. Different types of work are divided according to professional quality, ability and authority. Different types of work correspond to different allowed time periods and allowed lengths of stay. The first allowed time period is the time period during which the first allowed type of work can enter the first electronic fence, i.e., the first target range. The first allowed stay time is the time during which the first allowed type of work can stay after entering the first electronic fence during the first allowed time period. When a worker enters the first electronic fence during a non-allowed time period, or stays for more than the first allowed stay time after entering the first electronic fence during an allowed time period, an alarm message will be issued. For example, the first allowed time period corresponding to the first allowed type of work A in the first electronic fence is 12:00-15:00, and the first stay time is 2 hours. The first allowed time period corresponding to the first allowed type of work B in the first electronic fence is 15:00-18:00, and the first stay time is 1 hour.
[0029] Optionally, in the first embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to the target type of work of the first electronic fence is determined. If the time when the target worker enters the first target range is within the first allowed time period, the first allowed stay time corresponding to the target type of work of the first electronic fence is determined. At the same time, the timing starts from when the target worker enters the first target range, and the position of the target worker is continuously obtained. If the timing reaches the first allowed time, the target worker has not left the first target range, then an alarm message is issued to prompt the target worker that the stay has exceeded the time limit. Thus, the purpose of improving the accuracy of monitoring and alarming the stay time of the target worker in the first electronic fence is achieved, and the technical problem of low alarm accuracy of the electronic fence is solved.
[0030] Embodiment 2, in order to improve the monitoring accuracy of the first electronic fence on the work type of the staff, when it is detected that the target staff enters the first target range of the first electronic fence, the target work type of the target staff and the first permitted work type of the first electronic fence at the current time are first determined; if the target work type of the target staff is not the first permitted work type of the first electronic fence at the current time, an alarm message is issued.
[0031] As an optional example, when it is detected that the target worker enters the first target range, after determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time, the method further includes:
[0032] When the target job type does not exist in the first allowed job types, an alarm message is issued.
[0033] Optionally, in the second embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is not the first allowed type of work of the first electronic fence at the current time, an alarm message is issued to remind the target worker that the first electronic fence is not allowed to enter. For example, it is detected that the target worker 1 enters the first target range of the first electronic fence, and the first allowed type of work of the first electronic fence at the current time is determined to be type of work A and type of work B. If the target type of work of the target worker is type of work A, it is determined that the target worker can enter. If the target type of work of the target worker is type of work C, the target worker is prohibited from entering and an alarm message is issued. This can prevent workers of types of work that are not allowed to enter from mistakenly entering the first electronic fence to avoid serious consequences.
[0034] Embodiment three, in order to improve the monitoring accuracy of the time when the staff enters the first electronic fence, after detecting that the target staff enters the first target range of the first electronic fence, and determining that the target staff can enter according to the type of work of the target staff, determine the first allowed time period corresponding to the target type of work of the first electronic fence; if the time when the target staff enters the first target range is not within the first allowed time period, an alarm message is issued.
[0035] As an optional example, when it is detected that the target worker enters the first target range, after determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time, the method further includes:
[0036] When the target type of work exists in the first allowed type of work and the current time is not within the first allowed time period corresponding to the target type of work, an alarm message is issued.
[0037] Optionally, in the third embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to the target type of work of the first electronic fence is determined. If the time when the target worker enters the first target range is not within the first allowed time period, an alarm message is issued. For example, when it is detected that the target worker 2 enters the first target range of the first electronic fence, after it is determined that the target worker 2 can enter based on the type of work of the target worker 2 being type B, the first allowed time period corresponding to type B at the current time of the first electronic fence is determined to be 12:00-15:00. If the current time is 13:00, which is within the first allowed time period, it is determined that the target worker can enter. If the current time is 11:00, which is not within the first allowed time period, it is determined that the target worker cannot enter, and an alarm message is issued. This can remind the target staff that they are not allowed to enter the first electronic fence at this time, thereby preventing the staff who are allowed to enter the work type from mistakenly entering the first electronic fence during the non-permitted time period to avoid serious consequences, thereby achieving the purpose of improving the monitoring accuracy of the time when the staff enters the first electronic fence.
[0038] Embodiment 4, in order to improve the accuracy of the allowed types of work, allowed time periods, and allowed stay times of the first electronic fence, the first allowed type of work of the first electronic fence, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time are adjusted as the stored items, the current storage quantity of the stored items, and the current storage time of the stored items in the first electronic fence change.
[0039] As an optional example, determining the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration includes:
[0040] Obtaining the stored items, the current storage quantity of the stored items, and the current storage duration of the stored items in the first electronic fence at the current time;
[0041] According to the stored items, the current storage quantity of the stored items and the current storage time of the stored items, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work and the first allowed stay time are determined.
[0042] Optionally, in this fourth embodiment, the first allowed type of work of the first electronic fence, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration are determined based on the stored items stored in the first electronic fence, the current inventory of the stored items, and the current storage duration of the stored items.
[0043] (1) Adjustment based on the stored items in the first electronic fence: For example, if item A is stored in the first electronic fence, the first permitted type of work in the first electronic fence is type A and type B, the first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours, and the first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A and item B are stored in the first electronic fence, the first permitted type of work in the first electronic fence is adjusted to type A, the first permitted time period corresponding to type A is 12:00-14:00, and the first permitted stay time is 1 hour.
[0044] (2) Adjustment based on the current storage volume of the stored items in the first electronic fence: For example, if item A is stored in the first electronic fence and the storage volume of item A is 100 tons, the first permitted type of work in the first electronic fence is type A and type B, the first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours, and the first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A is stored in the first electronic fence and the storage volume of item A is 200 tons, then the first permitted type of work in the first electronic fence is adjusted to type A, the first permitted time period corresponding to type A is 12:00-13:00, and the first permitted stay time is 0.5 hours.
[0045] (3) Adjustment based on the current storage time of the stored items in the first electronic fence: for example, item A is stored in the first electronic fence, and the current storage time of item A is 3 days. The first permitted types of work in the first electronic fence are type A and type B. The first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours. The first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A is stored in the first electronic fence and the current storage time of item A is 10 days, the first allowed type of work in the first electronic fence is adjusted to type A, type B and type C. The first allowed time period corresponding to type A is 12:00-16:00, and the first allowed stay time is 2.5 hours. The first allowed time period corresponding to type B is 14:00-18:00, and the first allowed stay time is 1.5 hours. The first allowed time period corresponding to type C is 9:00-12:00, and the first allowed stay time is 1 hour.
[0046] Embodiment 5, in order to improve the monitoring accuracy of the first electronic fence on the length of time that a worker stays after entering the first electronic fence, the timing starts from when the target worker enters the first target range of the first electronic fence, and the position of the target worker is obtained once through the positioning card of the target worker at every first time interval. If the timing duration does not reach the first allowed duration, the position of the target worker is no longer within the first target range, and the timing is stopped. It is determined that the length of time that the target worker stays after entering the first electronic fence reaches the first allowed duration, and no alarm is required.
[0047] As an optional example, when the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type, after starting the timing, the method further includes:
[0048] The location of the target worker is obtained once every first time interval through the positioning card of the target worker;
[0049] When the timing duration is less than the first allowed stay duration and the position is not within the first target range, the timing is stopped.
[0050] Optionally, in the fifth embodiment of the present invention, when it is detected that the target worker enters the first target range of the first electronic fence, it is determined that the target job of the target worker is the first allowed job of the first electronic fence at the current time, and it is determined that the time when the target worker enters the first target range is within the first allowed time period, then the first allowed stay time corresponding to the target job of the first electronic fence is determined, and at the same time, the timing starts from the time when the target worker enters the first target range, and the position of the target worker is obtained once through the positioning card of the target worker at every first time interval. If the timing time does not reach the first allowed time, it is found that the position of the target worker is no longer within the first target range, and the timing is stopped, and the position of the target worker is no longer monitored, to prevent the timing from continuing after the target worker has left the first electronic fence, resulting in a false alarm, thereby achieving the purpose of improving the monitoring accuracy of the first electronic fence on the stay time of the worker after entering the first electronic fence.
[0051] Embodiment 6, in order to improve the monitoring accuracy of workers within the overlapping range of multiple electronic fences, determine the third permitted type of work of the second target range of the overlapping range of multiple electronic fences, the third permitted time period corresponding to each third permitted type of work, and the third permitted stay time. When the target type of work of the target worker is the third permitted type of work and the time of entering the second target range is also the third permitted time period, start monitoring the stay time of the target worker from the moment the target worker enters the second target range. When the stay time exceeds the third permitted stay time, issue an alarm.
[0052] As an optional example, after detecting that the target worker enters the first target range, the method further includes:
[0053] When it is detected that the target worker enters the second target range, determine the second permitted type of work of the second electronic fence at the current time, the second permitted time period corresponding to each second permitted type of work, and the second permitted length of stay, wherein the second target range is the overlapped range of the third target range of the second electronic fence and the first target range;
[0054] Determine the third permitted type of work in the second target range, the third permitted time period corresponding to each third permitted type of work, and the third permitted length of stay according to the first permitted type of work, the second permitted time period corresponding to each second permitted type of work, the first permitted length of stay corresponding to each first permitted type of work, and the second permitted length of stay corresponding to each second permitted type of work;
[0055] If the target type of work exists in the third allowed types of work and the current time is within the third allowed time period corresponding to the target type of work, start timing;
[0056] When the timing duration is equal to the third permitted stay duration and the target staff member has not left the third target range, an alarm message is issued.
[0057] Optionally, in the sixth embodiment, the second target range of the overlapped range of the first electronic fence and the second electronic fence needs to satisfy the attributes of the first electronic fence and the second electronic fence at the same time. When it is detected that the target staff member enters the second target range, the target type of work of the target staff member and the third allowed type of work of the second target range at the current time are determined. If the target type of work of the target staff member is the third allowed type of work of the second target range at the current time, the third allowed time period corresponding to the target type of work of the second target range is determined. If the time when the target staff member enters the second target range is within the third allowed time period, the third allowed stay time corresponding to the target type of work of the second target range is determined. At the same time, the timing starts from the time when the target staff member enters the second target range, and the position of the target staff member is continuously obtained. If the timing reaches the third allowed time, the target staff member has not left the second target range, then an alarm message is issued to prompt that the target staff member has stayed for a timeout. Thereby, the purpose of improving the monitoring accuracy of the staff within the overlapped range of multiple electronic fences and preventing false alarms is achieved.
[0058] Embodiment 7, in order to improve the accuracy of the allowed types of work, allowed time periods and allowed stay durations in the second range of the overlapping range of multiple electronic fences, the allowed types of work, allowed time periods and allowed stay durations in the second range of the overlapping range are determined according to the allowed types of work, allowed time periods and allowed stay durations of each electronic fence in which the second range of the overlapping range is located.
[0059] As an optional example, determining the third permitted type of work in the second target range, the third permitted time period corresponding to each third permitted type of work, and the third permitted stay duration according to the first permitted type of work, the second permitted type of work, the first permitted time period corresponding to each first permitted type of work, the second permitted time period corresponding to each second permitted type of work, the first permitted stay duration corresponding to each first permitted type of work, and the second permitted stay duration corresponding to each second permitted type of work includes:
[0060] The type of work that is the same as the first permitted type of work and the second permitted type of work is determined as the third permitted type of work;
[0061] Determine the time period in which the first allowed time period corresponding to each third allowed type of work overlaps with the second allowed time period corresponding to each third allowed type of work as the third allowed time period corresponding to each third allowed type of work;
[0062] The shortest duration of the first allowed stay duration corresponding to each third allowed type of work and the second duration corresponding to each third allowed type of work is determined as the third allowed stay duration corresponding to each third allowed type of work.
[0063] Optionally, in the seventh embodiment, when the electronic fence in the overlapped range second range has the first electronic fence and the second electronic fence, the same type of work as the first allowed type of work of the first electronic fence and the second allowed type of work of the second electronic fence is determined as the third allowed type of work of the second range, for example, the first allowed type of work of the first electronic fence is type of work A, type of work B and type of work C, and the second allowed type of work of the second electronic fence is type of work A and type of work C, then type of work A is determined as the third allowed type of work of the second target range. The overlap time 12:00-14:00 of the first allowed time period of type of work A of the first electronic fence 12:00-15:00 and the second allowed time period 10:00-14:00 of type of work A of the second electronic fence is determined as the third allowed time period of type of work A of the second target range. The shortest time of 1 hour of the first allowed stay time of type of work A of the first electronic fence 2 hours and the second allowed stay time of type of work A of the second electronic fence 1 hour is determined as the third allowed stay time of type of work A of the second target range. Thereby, the purpose of improving the accuracy of the permitted types of work, permitted time periods and permitted lengths of stay in the second range of the overlapping range of multiple electronic fences is achieved.
[0064] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0065] According to another aspect of the embodiment of the present application, a device for adjusting an electronic fence is also provided. Figure 3 As shown, including:
[0066] A first determination module 302, configured to determine a first target range of a first electronic fence;
[0067] The second determination module 304 is used to determine the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time when detecting that the target worker enters the first target range;
[0068] A first timing module 306, configured to start timing when the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type;
[0069] The first alarm module 308 is used to issue an alarm message when the timing duration is equal to the first allowed stay duration and the target staff member has not left the first target range.
[0070] Embodiment 1, in order to improve the accuracy of monitoring and alarming the target worker's stay time in the first electronic fence. When the target job of the target worker is the first allowed job of the first electronic fence, and the target worker enters the first target range of the first electronic fence within the first allowed time period corresponding to the target job of the first electronic fence, the target worker's stay time is monitored, and when the stay time exceeds the first allowed stay time corresponding to the target job of the first electronic fence, an alarm message is issued.
[0071] Optionally, in the first embodiment of the present invention, the electronic fence is an advanced perimeter anti-theft alarm system. The electronic fence contains multiple attributes, such as target range, allowed time period, allowed type of work, allowed length of stay, etc. The target range is the size and position of the area included in the electronic fence. The area included in an electronic fence can be physically continuous or divided from each other. Allowed types of work, that is, setting up an electronic fence to allow staff of specific roles and types of work to enter, as well as types of roles and types of work that are prohibited from entering. Different types of work are divided according to professional quality, ability and authority. Different types of work correspond to different allowed time periods and allowed lengths of stay. The first allowed time period is the time period during which the first allowed type of work can enter the first electronic fence, i.e., the first target range. The first allowed stay time is the time during which the first allowed type of work can stay after entering the first electronic fence during the first allowed time period. When a worker enters the first electronic fence during a non-allowed time period, or stays for more than the first allowed stay time after entering the first electronic fence during an allowed time period, an alarm message will be issued. For example, the first allowed time period corresponding to the first allowed type of work A in the first electronic fence is 12:00-15:00, and the first stay time is 2 hours. The first allowed time period corresponding to the first allowed type of work B in the first electronic fence is 15:00-18:00, and the first stay time is 1 hour.
[0072] Optionally, in the first embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to the target type of work of the first electronic fence is determined. If the time when the target worker enters the first target range is within the first allowed time period, the first allowed stay time corresponding to the target type of work of the first electronic fence is determined. At the same time, the timing starts from when the target worker enters the first target range, and the position of the target worker is continuously obtained. If the timing reaches the first allowed time, the target worker has not left the first target range, then an alarm message is issued to prompt the target worker that the stay has exceeded the time limit. Thus, the purpose of improving the accuracy of monitoring and alarming the stay time of the target worker in the first electronic fence is achieved, and the technical problem of low alarm accuracy of the electronic fence is solved.
[0073] Embodiment 2, in order to improve the monitoring accuracy of the first electronic fence on the work type of the staff, when it is detected that the target staff enters the first target range of the first electronic fence, the target work type of the target staff and the first permitted work type of the first electronic fence at the current time are first determined; if the target work type of the target staff is not the first permitted work type of the first electronic fence at the current time, an alarm message is issued.
[0074] As an optional example, the above device further includes:
[0075] The second alarm module is used to determine the target job type of the target worker, the first allowed job type of the first electronic fence at the current time, the first allowed time period corresponding to each allowed job type, and the first allowed stay time when it is detected that the target worker enters the first target range. If the target job type does not exist in the first allowed job types, an alarm message is issued.
[0076] Optionally, in the second embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is not the first allowed type of work of the first electronic fence at the current time, an alarm message is issued to remind the target worker that the first electronic fence is not allowed to enter. For example, it is detected that the target worker 1 enters the first target range of the first electronic fence, and the first allowed type of work of the first electronic fence at the current time is determined to be type of work A and type of work B. If the target type of work of the target worker is type of work A, it is determined that the target worker can enter. If the target type of work of the target worker is type of work C, the target worker is prohibited from entering and an alarm message is issued. This can prevent workers of types of work that are not allowed to enter from mistakenly entering the first electronic fence to avoid serious consequences.
[0077] Embodiment three, in order to improve the monitoring accuracy of the time when the staff enters the first electronic fence, after detecting that the target staff enters the first target range of the first electronic fence, and determining that the target staff can enter according to the type of work of the target staff, determine the first allowed time period corresponding to the target type of work of the first electronic fence; if the time when the target staff enters the first target range is not within the first allowed time period, an alarm message is issued.
[0078] As an optional example, the above device further includes:
[0079] The third alarm module is used to determine the target job type of the target worker, the first allowed job type of the first electronic fence at the current time, the first allowed time period corresponding to each allowed job type, and the first allowed stay time when it is detected that the target worker enters the first target range. If the target job type exists in the first allowed job types and the current time is not within the first allowed time period corresponding to the target job type, an alarm message is issued.
[0080] Optionally, in the third embodiment, when it is detected that the target worker enters the first target range of the first electronic fence, the target type of work of the target worker and the first allowed type of work of the first electronic fence at the current time are determined. If the target type of work of the target worker is the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to the target type of work of the first electronic fence is determined. If the time when the target worker enters the first target range is not within the first allowed time period, an alarm message is issued. For example, when it is detected that the target worker 2 enters the first target range of the first electronic fence, after it is determined that the target worker 2 can enter based on the type of work of the target worker 2 being type B, the first allowed time period corresponding to type B at the current time of the first electronic fence is determined to be 12:00-15:00. If the current time is 13:00, which is within the first allowed time period, it is determined that the target worker can enter. If the current time is 11:00, which is not within the first allowed time period, it is determined that the target worker cannot enter, and an alarm message is issued. This can remind the target staff that they are not allowed to enter the first electronic fence at this time, thereby preventing the staff who are allowed to enter the work type from mistakenly entering the first electronic fence during the non-permitted time period to avoid serious consequences, thereby achieving the purpose of improving the monitoring accuracy of the time when the staff enters the first electronic fence.
[0081] Embodiment 4, in order to improve the accuracy of the allowed types of work, allowed time periods, and allowed stay times of the first electronic fence, the first allowed type of work of the first electronic fence, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time are adjusted as the stored items, the current storage quantity of the stored items, and the current storage time of the stored items in the first electronic fence change.
[0082] As an optional example, the second determining module includes:
[0083] An acquisition unit, used to acquire stored items in the first electronic fence at a current time, a current storage quantity of the stored items, and a current storage duration of the stored items;
[0084] The first determination unit is used to determine the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration according to the stored items, the current storage capacity of the stored items, and the current storage time of the stored items.
[0085] Optionally, in this fourth embodiment, the first allowed type of work of the first electronic fence, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration are determined based on the stored items stored in the first electronic fence, the current inventory of the stored items, and the current storage duration of the stored items.
[0086] (1) Adjustment based on the stored items in the first electronic fence: For example, if item A is stored in the first electronic fence, the first permitted type of work in the first electronic fence is type A and type B, the first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours, and the first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A and item B are stored in the first electronic fence, the first permitted type of work in the first electronic fence is adjusted to type A, the first permitted time period corresponding to type A is 12:00-14:00, and the first permitted stay time is 1 hour.
[0087] (2) Adjustment based on the current storage volume of the stored items in the first electronic fence: For example, if item A is stored in the first electronic fence and the storage volume of item A is 100 tons, the first permitted type of work in the first electronic fence is type A and type B, the first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours, and the first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A is stored in the first electronic fence and the storage volume of item A is 200 tons, then the first permitted type of work in the first electronic fence is adjusted to type A, the first permitted time period corresponding to type A is 12:00-13:00, and the first permitted stay time is 0.5 hours.
[0088] (3) Adjustment based on the current storage time of the stored items in the first electronic fence: for example, item A is stored in the first electronic fence, and the current storage time of item A is 3 days. The first permitted types of work in the first electronic fence are type A and type B. The first permitted time period corresponding to type A is 12:00-15:00, and the first permitted stay time is 2 hours. The first permitted time period corresponding to type B is 15:00-18:00, and the first permitted stay time is 1 hour. If item A is stored in the first electronic fence and the current storage time of item A is 10 days, the first allowed type of work in the first electronic fence is adjusted to type A, type B and type C. The first allowed time period corresponding to type A is 12:00-16:00, and the first allowed stay time is 2.5 hours. The first allowed time period corresponding to type B is 14:00-18:00, and the first allowed stay time is 1.5 hours. The first allowed time period corresponding to type C is 9:00-12:00, and the first allowed stay time is 1 hour.
[0089] Embodiment 5, in order to improve the monitoring accuracy of the first electronic fence on the length of time that a worker stays after entering the first electronic fence, the timing starts from when the target worker enters the first target range of the first electronic fence, and the position of the target worker is obtained once through the positioning card of the target worker at every first time interval. If the timing duration does not reach the first allowed duration, the position of the target worker is no longer within the first target range, and the timing is stopped. It is determined that the length of time that the target worker stays after entering the first electronic fence reaches the first allowed duration, and no alarm is required.
[0090] As an optional example, the above device further includes:
[0091] An acquisition module is used to acquire the position of the target worker through a positioning card of the target worker once every first time interval after starting the timing if the target worker exists in the first allowed worker types and the current time is within the first allowed time period corresponding to the target worker type;
[0092] The processing module is used to stop timing when the timing duration is less than the first allowed stay duration and the position is not within the first target range.
[0093] Optionally, in the fifth embodiment of the present invention, when it is detected that the target worker enters the first target range of the first electronic fence, it is determined that the target job of the target worker is the first allowed job of the first electronic fence at the current time, and it is determined that the time when the target worker enters the first target range is within the first allowed time period, then the first allowed stay time corresponding to the target job of the first electronic fence is determined, and at the same time, the timing starts from the time when the target worker enters the first target range, and the position of the target worker is obtained once through the positioning card of the target worker at every first time interval. If the timing time does not reach the first allowed time, it is found that the position of the target worker is no longer within the first target range, and the timing is stopped, and the position of the target worker is no longer monitored, to prevent the timing from continuing after the target worker has left the first electronic fence, resulting in a false alarm, thereby achieving the purpose of improving the monitoring accuracy of the first electronic fence on the stay time of the worker after entering the first electronic fence.
[0094] Embodiment 6, in order to improve the monitoring accuracy of workers within the overlapping range of multiple electronic fences, determine the third permitted type of work of the second target range of the overlapping range of multiple electronic fences, the third permitted time period corresponding to each third permitted type of work, and the third permitted stay time. When the target type of work of the target worker is the third permitted type of work and the time of entering the second target range is also the third permitted time period, start monitoring the stay time of the target worker from the moment the target worker enters the second target range. When the stay time exceeds the third permitted stay time, issue an alarm.
[0095] As an optional example, the above device further includes:
[0096] A third determination module is used to determine the second permitted type of work of the second electronic fence at the current time, the second permitted time period corresponding to each second permitted type of work, and the second permitted length of stay after detecting that the target worker enters the first target range and when detecting that the target worker enters the second target range, wherein the second target range is the overlapped range of the third target range of the second electronic fence and the first target range;
[0097] A fourth determination module is used to determine a third permitted type of work in a second target range, a third permitted time period corresponding to each third permitted type of work, and a third permitted length of stay according to the first permitted type of work, the second permitted type of work, the first permitted time period corresponding to each first permitted type of work, the second permitted time period corresponding to each second permitted type of work, the first permitted length of stay corresponding to each first permitted type of work, and the second permitted length of stay corresponding to each second permitted type of work;
[0098] A second timing module is used to start timing when the target type of work exists in the third allowed types of work and the current time is within the third allowed time period corresponding to the target type of work;
[0099] The fourth alarm module is used to issue an alarm message when the timing duration is equal to the third allowed stay duration and the target staff member has not left the third target range.
[0100] Optionally, in the sixth embodiment, the second target range of the overlapped range of the first electronic fence and the second electronic fence needs to satisfy the attributes of the first electronic fence and the second electronic fence at the same time. When it is detected that the target staff member enters the second target range, the target type of work of the target staff member and the third allowed type of work of the second target range at the current time are determined. If the target type of work of the target staff member is the third allowed type of work of the second target range at the current time, the third allowed time period corresponding to the target type of work of the second target range is determined. If the time when the target staff member enters the second target range is within the third allowed time period, the third allowed stay time corresponding to the target type of work of the second target range is determined. At the same time, the timing starts from the time when the target staff member enters the second target range, and the position of the target staff member is continuously obtained. If the timing reaches the third allowed time, the target staff member has not left the second target range, then an alarm message is issued to prompt that the target staff member has stayed for a timeout. Thereby, the purpose of improving the monitoring accuracy of the staff within the overlapped range of multiple electronic fences and preventing false alarms is achieved.
[0101] Embodiment 7, in order to improve the accuracy of the allowed types of work, allowed time periods and allowed stay durations in the second range of the overlapping range of multiple electronic fences, the allowed types of work, allowed time periods and allowed stay durations in the second range of the overlapping range are determined according to the allowed types of work, allowed time periods and allowed stay durations of each electronic fence in which the second range of the overlapping range is located.
[0102] As an optional example, the fourth determining module includes:
[0103] A second determining unit is used to determine the type of work that is the same as the first permitted type of work and the second permitted type of work as a third permitted type of work;
[0104] A third determining unit, configured to determine a time period in which the first permitted time period corresponding to each third permitted type of work overlaps with the second permitted time period corresponding to each third permitted type of work as a third permitted time period corresponding to each third permitted type of work;
[0105] The fourth determining unit is used to determine the shortest duration of the first allowed stay duration corresponding to each third allowed type of work and the second duration corresponding to each third allowed type of work as the third allowed stay duration corresponding to each third allowed type of work.
[0106] Optionally, in the seventh embodiment, when the electronic fence in the overlapped range second range has the first electronic fence and the second electronic fence, the same type of work as the first allowed type of work of the first electronic fence and the second allowed type of work of the second electronic fence is determined as the third allowed type of work of the second range, for example, the first allowed type of work of the first electronic fence is type of work A, type of work B and type of work C, and the second allowed type of work of the second electronic fence is type of work A and type of work C, then type of work A is determined as the third allowed type of work of the second target range. The overlap time 12:00-14:00 of the first allowed time period of type of work A of the first electronic fence 12:00-15:00 and the second allowed time period 10:00-14:00 of type of work A of the second electronic fence is determined as the third allowed time period of type of work A of the second target range. The shortest time of 1 hour of the first allowed stay time of type of work A of the first electronic fence 2 hours and the second allowed stay time of type of work A of the second electronic fence 1 hour is determined as the third allowed stay time of type of work A of the second target range. Thereby, the purpose of improving the accuracy of the permitted types of work, permitted time periods and permitted lengths of stay in the second range of the overlapping range of multiple electronic fences is achieved.
[0107] For other examples of this embodiment, please refer to the above examples and will not be repeated here.
[0108] Figure 4 is a schematic diagram of an optional electronic device according to an embodiment of the present application, such as Figure 4As shown, it includes a processor 402, a communication interface 404, a memory 406 and a communication bus 408, wherein the processor 402, the communication interface 404 and the memory 406 communicate with each other through the communication bus 408, wherein,
[0109] Memory 406, used to store computer programs;
[0110] The processor 402 is used to implement the following steps when executing the computer program stored in the memory 406:
[0111] Determine a first target range of a first electronic fence;
[0112] When it is detected that the target worker enters the first target range, determine the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay time;
[0113] If the target type of work exists in the first allowed types of work and the current time is within the first allowed time period corresponding to the target type of work, start timing;
[0114] When the timing duration is equal to the first allowed stay duration and the target staff member has not left the first target range, an alarm message is issued.
[0115] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 The communication interface is used for communication between the above electronic device and other devices.
[0116] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0117] As an example, the memory 406 may include, but is not limited to, the first determination module 302, the second determination module 304, the first timing module 306, and the first alarm module 308 in the electronic fence adjustment device. In addition, other module units in the electronic fence adjustment device may also be included but are not limited to, which will not be repeated in this example.
[0118] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0119] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0120] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only. The device for implementing the above-mentioned electronic fence adjustment method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 4 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations shown.
[0121] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.
[0122] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program executes the steps in the above-mentioned electronic fence adjustment method when executed by a processor.
[0123] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0124] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0125] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
[0126] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for adjusting an electronic fence, characterized in that: include: Determine a first target range of a first electronic fence; In the case where it is detected that the target worker enters the first target range, determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed length of stay, including: obtaining stored items in the first electronic fence at the current time, the current reserves of the stored items, and the current storage time of the stored items; determining the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed length of stay according to the stored items, the current reserves of the stored items, and the current storage time of the stored items; If the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type, start timing; When the timing duration is equal to the first allowed stay duration and the target staff member has not left the first target range, an alarm message is issued.
2. The method according to claim 1, characterized in that: In the case where it is detected that the target worker enters the first target range, after determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration, the method further includes: When the target type of work does not exist in the first allowed types of work, the warning information is issued.
3. The method according to claim 1, characterized in that In the case where it is detected that the target worker enters the first target range, after determining the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration, the method further includes: When the target type of work exists in the first allowed types of work and the current time is not within the first allowed time period corresponding to the target type of work, the alarm information is issued.
4. The method according to claim 1, characterized in that If the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type, after starting the timing, the method further includes: Acquiring the location of the target worker through the positioning card of the target worker once every first time interval; When the timing duration is less than the first allowed stay duration and the location is not within the first target range, the timing is stopped.
5. The method according to claim 1, characterized in that After detecting that the target worker enters the first target range, the method further includes: In the case where it is detected that the target worker enters the second target range, determining the second allowed type of work of the second electronic fence at the current time, the second allowed time period corresponding to each second allowed type of work, and the second allowed stay duration, wherein the second target range is the overlapped range of the third target range of the second electronic fence and the first target range; Determine the third permitted type of work within the second target range, the third permitted time period corresponding to each third permitted type of work, and the third permitted length of stay according to the first permitted type of work, the second permitted time period corresponding to each second permitted type of work, the first permitted length of stay corresponding to each first permitted type of work, and the second permitted length of stay corresponding to each second permitted type of work; If the target job type exists in the third allowed job types and the current time is within the third allowed time period corresponding to the target job type, start timing; When the timing duration is equal to the third allowed stay duration and the target staff member has not left the third target range, the warning information is issued.
6. The method according to claim 5, characterized in that The method of determining the third permitted type of work, the third permitted time period and the third permitted stay duration corresponding to each third permitted type of work in the second target range according to the first permitted type of work, the second permitted type of work, the first permitted time period corresponding to each first permitted type of work, the second permitted time period corresponding to each second permitted type of work, the first permitted stay duration corresponding to each first permitted type of work and the second permitted stay duration corresponding to each second permitted type of work comprises: Determine the same type of work as the first permitted type of work and the second permitted type of work as the third permitted type of work; Determine the time period in which the first allowed time period corresponding to each third allowed type of work overlaps with the second allowed time period corresponding to each third allowed type of work as the third allowed time period corresponding to each third allowed type of work; The shortest duration of the first allowed stay duration corresponding to each third allowed type of work and the second duration corresponding to each third allowed type of work is determined as the third allowed stay duration corresponding to each third allowed type of work.
7. An electronic fence adjustment device, characterized in that: include: A first determination module, used to determine a first target range of a first electronic fence; A second determination module is used to determine the target type of work of the target worker, the first allowed type of work of the first electronic fence at the current time, the first allowed time period corresponding to each allowed type of work, and the first allowed stay duration when detecting that the target worker enters the first target range; The second determination module is further configured to obtain the stored items in the first electronic fence at the current time, the current storage quantity of the stored items, and the current storage duration of the stored items; Determine the first permitted type of work, the first permitted time period corresponding to each permitted type of work, and the first permitted stay duration of the first electronic fence at the current time according to the stored items, the current storage quantity of the stored items, and the current storage duration of the stored items; A first timing module, configured to start timing when the target job type exists in the first allowed job types and the current time is within the first allowed time period corresponding to the target job type; The first alarm module is used to issue an alarm message when the timing duration is equal to the first allowed stay duration and the target staff member has not left the first target range.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is executed.
9. An electronic device, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.
Citation Information
Patent Citations
Monitoring method and monitoring system for automatic deploying virtual electronic fence
CN103280041A
Electronic fence at construction site
CN104851224A
Position monitoring method and device
CN111385738A
Electronic fence system, electronic fence management method and computer device
CN111583566A
Tool use management method based on tool use management system
CN111950955A
