Wireless fence boundary determination method, device and equipment triggered by progressive distance
By setting multiple concentric rings and logical determination of action levels in the wireless fence, and updating the action level according to the real-time distance of the pet, the problems of reminder lag and high misjudgment rate in the existing wireless fence technology are solved, and a more accurate and accurate Safe pet restraint.
Patent Information
- Application Number
- CN202410300247.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-03-15
AI Technical Summary
The existing wireless fence technology has a lag in the reminder after the pet leaves the fence boundary, and cannot upgrade the reminder according to the direction of the pet's movement, resulting in misleading reminders and high misjudgment rates.
By setting up multiple concentric rings, a new device action level is triggered based on the real-time distance update between the target device and the center point of the wireless fence. The action level is positively correlated with the range radius, realizing the logical determination and constraints of the action level, ensuring the timeliness and accuracy of the reminder. Accuracy.
It reduces the harm to pets, enhances the restraint ability of the wireless fence, reduces misleading reminders and misjudgments, and improves the safety of the pet return process.
Smart Images

Figure CN118102220B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of Internet technology, and specifically to a method, device, equipment and computer-readable storage medium for determining the boundary of a wireless fence triggered by progressive distance. Background Art
[0002] In traditional technology, to prevent pets from leaving the movable range preset by the owner, solid wooden, iron and other fences are used to delimit the range. With the development of technology, wireless fence products that use wireless signal communication, GPS positioning and other methods to delimit the range and receivers to remind the range have emerged, including but not limited to GPS wireless fences, wireless fences with signal transmitters and receivers for wireless signal transmission, wireless fences that transmit signals through coils buried underground, and wireless fences that determine distances through wireless communication between signal transmitters and receivers.
[0003] However, the inventors of the present application have discovered that, on the one hand, the existing wireless fence technology provides a reminder after the pet leaves the boundary of the fence, the reminder has a lag, and the reminder cannot be upgraded, started or stopped according to the direction of the pet's movement, which is somewhat misleading for the pet's reminder; on the other hand, the existing wireless fence technology obtains the pet's direction through sensors when the pet is outside the wireless fence, and upgrades the reminder and warning according to the pet's direction, but the misjudgment rate of this type of upgrade and upgrade of reminder and warning is high, and there is no absolute connection between the pet's direction and the pet's movement. Summary of the invention
[0004] In view of the above problems, the embodiments of the present invention provide a distance-progressively triggered wireless fence boundary determination method, device, equipment and computer-readable storage medium, which are used to solve the problems in the prior art of lack of means for reminding within the boundary, and lack of means for upgrading, lowering, starting and stopping reminders according to the direction of pet movement.
[0005] According to one aspect of an embodiment of the present invention, a method for determining a wireless fence boundary triggered by progressive distance is provided, the method comprising:
[0006] Detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle; set at least two concentric circles with the center point of the wireless fence as the center; each circle represents a range radius;
[0007] When the real-time distance is updated, a new device action level is triggered; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius;
[0008] Determine whether there is a current device action being executed; the current device action corresponds to a current device action level; one device action level corresponds to one device action;
[0009] If yes, compare the new device action level with the current device action level;
[0010] When the new device action level is lower than the current device action level, the current device action is stopped, the new action is not executed, and the current device action level is marked as the new device action level.
[0011] In an optional manner, when the new device action level exists, comparing the new device action level with the current device action level further includes:
[0012] When the new device action level is greater than the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level;
[0013] When the new device action level is equal to the current device action level, waiting for the execution of the current device action to be completed;
[0014] In an optional manner, the determining whether there is a current device action being executed further includes:
[0015] If it does not exist, comparing the new device action level with the current device action level;
[0016] When the new device action level is greater than or equal to the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level;
[0017] When the new device action level is lower than the current device action level, the device action corresponding to the new device action level is not executed, and the current device action level is marked as the new device action level.
[0018] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes:
[0019] Setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level;
[0020] Between the range radius with the largest value and the center point, a device action level having an intensity level positively correlated with the size of the range radius is set;
[0021] Outside the range radius with the largest value, the intensity level is set to the device action level of the preset intensity level; the preset intensity level is less than the highest intensity level of the device action level.
[0022] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes:
[0023] The location information of the center point and the range radius of the wireless fence are set; the range radius of the wireless fence is consistent with the range radius of one of the circular rings.
[0024] In an optional manner, the device action corresponding to the device action level includes no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder according to the intensity level from low to high; the device action level of setting the intensity level to the preset intensity level outside the range radius with the largest value includes:
[0025] Outside the range radius with the largest value, the intensity level is set to the device action level of the preset intensity level; the device action corresponding to the preset intensity level is a sound reminder.
[0026] In an optional manner, detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period includes:
[0027] Acquire the real-time position of the target device according to the distance detection period, and calculate the real-time distance between the target device and the center point according to the real-time position and the position information of the center point;
[0028] or,
[0029] The communication information between the target device and the center point is acquired according to a distance detection period, and the real-time distance between the target device and the center point is calculated according to the communication information.
[0030] According to another aspect of an embodiment of the present invention, a wireless fence boundary determination device triggered by progressive distance is provided, the device comprising:
[0031] A distance measurement module is used to detect the real-time distance between the target device and the center point of the wireless fence according to a distance detection period; at least two concentric circles are set with the center point of the wireless fence as the center; each circle represents a range radius;
[0032] An action level updating module is used to trigger the generation of a new device action level when the real-time distance is updated; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius;
[0033] A state judgment module is used to determine whether there is a current device action being executed; the current device action corresponds to the current device action level; one device action level corresponds to one device action;
[0034] An action execution module is used to compare the new device action level with the current device action level when it exists; when the new device action level is smaller than the current device action level, stop executing the current device action, do not execute the new action, and mark the current device action level as the new device action level.
[0035] According to another aspect of an embodiment of the present invention, there is provided a wireless fence, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0036] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the wireless fence boundary determination method triggered by progressive distance as described in any one of the above.
[0037] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, characterized in that at least one executable instruction is stored in the storage medium, and when the executable instruction is run on a distance-progressively triggered wireless fence boundary determination device, the distance-progressively triggered wireless fence boundary determination device performs the operation of the distance-progressively triggered wireless fence boundary determination method as described in any one of the above.
[0038] The embodiment of the present invention triggers the generation of a new device action level when the distance between the target device and the center point is updated, constrains and makes logical judgments on the device action level, and when the priority of the new device action level is lower than the priority of the current device action level, the target device stops executing the current device action, and can cancel the device action when the target device moves toward the center point, thereby reducing damage to the target and enhancing the ability of the wireless fence to constrain the target.
[0039] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0041] Figure 1 A schematic diagram of a flow chart of a method for determining a wireless fence boundary triggered by progressive distance provided by an embodiment of the present invention is shown;
[0042] Figure 2 A schematic diagram showing the structure of a wireless fence boundary determination device triggered by progressive distance provided by an embodiment of the present invention;
[0043] Figure 3 A schematic structural diagram of a distance-progressively triggered wireless fence provided in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0044] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0045] It should be noted that although the existing wireless fence technology also provides a high-intensity reminder warning to the target device wearer, that is, the pet, who leaves the boundary of the wireless fence, in order to restrict the range of the pet's activity area. However, the existing technology lacks the upgrade or start and stop of the reminder according to the direction of the pet's movement. When the pet moves toward the center point, the reminder warning or upgrade is unreasonable, which is not only easy to mislead the pet's reminder, but also easy to cause harm to the pet. In another case, the existing technology may obtain the pet's direction and upgrade the reminder warning according to the pet's direction when the pet is outside the wireless fence. However, the applicant found that the upgrade and misjudgment rate of the reminder warning in this direction is high, and there is no absolute connection between the pet's direction and the pet's movement. For this reason, the present application obtains the pet's movement direction, and upgrades, starts and stops the reminder of the pet according to the wireless fence triggered by the distance progressively, which will not mislead the pet's reminder. Example
[0046] Figure 1 The flowchart of the wireless fence boundary determination method triggered by progressive distance provided by an embodiment of the present invention is shown. The method is executed by a wireless fence. The wireless fence can be a wireless fence product worn on a target. The target is usually a pet. Correspondingly, the wireless fence product can be in the form of a collar or wristband, etc. Figure 1 As shown, the method comprises the following steps:
[0047] Step 110: Detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle; set at least two concentric circles with the center point of the wireless fence as the center; each circle represents a range radius.
[0048] In another embodiment of the present invention, the circular ring may also be represented by a range diameter.
[0049] Before step 110, the method further includes: setting the location information of the center point and the range radius of the wireless fence; the range radius of the wireless fence is consistent with the range radius of one of the at least two circular rings.
[0050] Among them, the location information of the center point can be manually set geographical coordinates or base station coordinates already on the map; the range radius R of the wireless fence can be manually set, and the range defined by the range radius R of the wireless fence is the original boundary of the wireless fence.
[0051] In another embodiment of the present invention, the wireless fence may also be represented by a range diameter.
[0052] At least two concentric rings are arranged with the center point of the wireless fence as the center. Specifically, the number and data of the at least two concentric rings can be set manually, for example, the at least two concentric rings are named r1, r2, r3..., rx according to the range radius from small to large; rx is the concentric ring with the largest range radius; each of the concentric rings forms a plurality of distance progressive trigger boundaries with the center point as the center.
[0053] The range radius of the wireless fence is consistent with the range radius of one of the circular rings. Specifically, the range radius R of the wireless fence is set to be consistent with the range radius of one of the circular rings greater than r1, that is, R=r2 or r3 or ... or rx. That is, the embodiment of the present invention divides circular rings with progressive distances around the wireless fence based on the original boundary of the original wireless fence.
[0054] The embodiment of the present invention sets at least two concentric rings with the center point of the wireless fence as the center, and ensures that the concentric ring r1 with the smallest value is smaller than the range radius R of the wireless fence, and sets one of the concentric rings to be consistent with the range radius of the wireless fence. While retaining the boundary judgment of the original wireless fence, it is possible to set multiple distance progressive boundaries around the wireless fence for trigger judgment, so as to improve the timeliness and accuracy of the reminder, and start the reminder before the pet leaves the boundary of the wireless fence.
[0055] Among them, detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period includes: obtaining the real-time position of the target device according to the distance detection period, and calculating the real-time distance between the target device and the center point according to the real-time position and the position information of the center point; or, obtaining the communication information between the target device and the center point according to the distance detection period, and calculating the real-time distance between the target device and the center point according to the communication information.
[0056] Among them, the real-time position of the target device is obtained according to the distance detection period, and the real-time distance between the target device and the center point is calculated according to the real-time position and the position information of the center point. Specifically, the target device can be equipped with a GPS positioning system, and the center point can record and mark a longitude and latitude information as the center point D0 through software; according to the distance detection period, the real-time position of the target device including the longitude and latitude information is obtained through the GPS positioning system, and the real-time distance between the target device and the center point is calculated according to the real-time position and the position information of the center point D0.
[0057] Among them, the communication information between the target device and the center point is obtained according to the distance detection period, and the real-time distance between the target device and the center point is calculated according to the communication information. Specifically, the center point D0 is determined by the existing base station positions, and the target device establishes communication with the base station of the center point D0; the communication information between the target device and the center point is obtained according to the distance detection period, and according to the communication information, ranging methods such as TOF (Time of Flight) or TDOA (Time Difference of Arrival) are used to calculate the real-time distance between the target device and the center point. The embodiments of the present invention do not limit the specific ranging method.
[0058] Step 120: When the real-time distance is updated, trigger the generation of a new device action level; the new device action level corresponds to the range radius; one device action level is set between the center point and the range radius with the smallest value, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius.
[0059] Among them, the period of the real-time distance update can be set according to the actual performance of the target device.
[0060] Among them, when the real-time distance Rx is updated, the new device action level of the target device is determined according to the positional relationship between the real-time distance Rx and the range radii of the respective rings. Specifically, when Rx < r1, the device action level is set to the lowest level L1, and the corresponding device action is V1; when r1 < Rx < r2, the device action level is set to L2, and the corresponding device action is V2; when r2 < Rx < r3, the device action level is set to L3, and the corresponding device action is V3...; when Rx > rx, the device action level is set to L(x + 1), and the corresponding device action is V(x + 1).
[0061] Among them, the device action level is positively correlated with the size of the range radius. Specifically, L1 < L2 < L3 <... < Lx < L(x + 1).
[0062] Among them, there may be a cross-level between the new device action level and the current device action level. For example, the current device action level is V1, and the new device action level is V3 or a higher device action level.
[0063] Step 130: Determine whether there is a currently executing current device action; the current device action corresponds to the current device action level; one device action level corresponds to one device action.
[0064] In the embodiment of the present invention, since the duration of the device action of the target device may be greater than the update time of the real-time distance Rx, when the target device is executing the current device action, the current device action level may need to be updated to a new device action level. Therefore, it is necessary to constrain and logically judge the device action levels of different levels according to whether the target device has a current device action being executed.
[0065] The current device action level is the device action level corresponding to the target device before the real-time distance Rx is updated.
[0066] The embodiment of the present invention divides the device action level according to the radius of the ring, and can implement different reminder schemes according to the distance, thereby improving the effectiveness of the reminder.
[0067] Step 140: When it exists, compare the new device action level with the current device action level; when the new device action level is smaller than the current device action level, stop executing the current device action, do not execute the new action, and mark the current device action level as the new device action level.
[0068] Among them, step 140 also includes: when the new device action level is greater than the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is equal to the current device action level, waiting for the execution of the current device action to be completed.
[0069] Among them, step 140 also includes: when it does not exist, comparing the new device action level with the current device action level; when the new device action level is greater than or equal to the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is less than the current device action level, not executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level.
[0070] The embodiment of the present invention divides the device action level according to the distance, and constrains and logically determines the priority of the device action level. When the new device action level is higher than the current device action level, the new action is immediately executed. When the new device action level is equal to the current device action level, the current action is maintained until the action is completed and stopped. When the new device action level is less than the current device action level, the current action level is immediately stopped. When the target device moves toward the center point, the device action can be stopped in time and no new device action can be executed, so that the reminder of the pet's return process can be immediately cancelled, thereby reducing the harm to the pet and being more conducive to guiding and restraining the pet.
[0071] Wherein, before step 110, the method further includes: setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level; between the range radius with the largest value and the center point, setting the device action level whose intensity level is positively correlated with the size of the range radius; outside the range radius with the largest value, setting the device action level with an intensity level of a preset intensity level; the preset intensity level is lower than the highest intensity level of the device action level.
[0072] Wherein, between the range radius with the largest value and the center point, a device action level whose intensity level is positively correlated with the size of the range radius is set, specifically, V1 is set <V2<V3<...<Vx。
[0073] Wherein, outside the range radius with the largest value, the intensity level is set to the device action level of the preset intensity level; the preset intensity level is less than the highest intensity level of the device action level. Specifically, V(x+1) is set <Vx。
[0074] Among them, the device actions corresponding to the device action level include but are not limited to no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder according to the intensity level from low to high; the device action level with an intensity level set to a preset intensity level outside the range radius with the largest value includes: outside the range radius with the largest value, the device action level with an intensity level set to a preset intensity level; the device action corresponding to the preset intensity level is a sound reminder.
[0075] The device action corresponding to the device action level may be adjusted according to actual conditions. For example, the embodiment of the present invention may add device actions such as water spray reminders and light reminders, or delete device actions.
[0076] The sound reminder includes music or other recorded noise reminders or buzzer warnings.
[0077] Outside the range radius with the largest value, the intensity level is set to the device action level of the preset intensity level; the device action corresponding to the preset intensity level is a sound reminder, and the sound reminder is preferably a buzzer warning.
[0078] The embodiment of the present invention sets device action levels of different intensity levels inside and outside the range radius of the maximum value. After the target device leaves the range radius of the maximum value, the high-intensity reminder of the target can be stopped, and only the sound reminder is retained to warn the surroundings. This can not only reduce unnecessary harm to pets, but also facilitate the recovery of pets and reduce the occurrence of pet abduction.
[0079] In an optional manner, the target device is also used to establish communication with a user device, and the user device obtains the location information and working status of the target device through communication with the target device. Example
[0080] Figure 2 FIG. 1 is a schematic diagram showing the structure of a wireless fence boundary determination device triggered by progressive distance provided by an embodiment of the present invention. Figure 2 As shown, the distance-progressively triggered wireless fence boundary determination device 200 includes: a distance measurement module 210 , an action level update module 220 , a state determination module 230 and an action execution module 240 .
[0081] Among them, the distance measurement module 210 is used to detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection period; at least two concentric circles are set with the center point of the wireless fence as the center; each circle represents a range radius.
[0082] In one embodiment of the present invention, the ranging module 210 includes a positioning unit and a calculation unit; the positioning unit is used to obtain the location information of the target device according to the distance detection period; the calculation unit is used to calculate the real-time distance between the target device and the center point based on the location information of the target device and the location information of the center point provided by the positioning unit.
[0083] In another embodiment of the present invention, the ranging module 210 includes a communication unit and a calculation unit; the communication unit is used to obtain the communication information between the target device and the center point according to the distance detection period; the calculation unit is used to calculate the real-time distance between the target device and the center point based on the communication information.
[0084] The action level update module 220 is used to trigger the generation of a new device action level when the real-time distance is updated; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between the adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius;
[0085] The state determination module 230 is used to determine whether there is a current device action being executed; the current device action corresponds to the current device action level; one device action level corresponds to one device action;
[0086] Among them, the action execution module 240 is used to compare the new device action level with the current device action level when there is a current device action being executed; when the new device action level is smaller than the current device action level, stop executing the current device action, do not execute the new action, and mark the current device action level as the new device action level.
[0087] In an optional manner, the action execution module 240 is further used to compare the new device action level with the current device action level when there is a current device action being executed; when the new device action level is greater than the current device action level, execute the device action corresponding to the new device action level, and mark the current device action level as the new device action level; when the new device action level is equal to the current device action level, wait for the execution of the current device action to be completed;
[0088] In an optional manner, the action execution module 240 is also used to compare the new device action level with the current device action level when there is no current device action being executed; when the new device action level is greater than or equal to the current device action level, execute the device action corresponding to the new device action level, and mark the current device action level as the new device action level; when the new device action level is less than the current device action level, do not execute the device action corresponding to the new device action level, and mark the current device action level as the new device action level.
[0089] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level; between the range radius with the largest value and the center point, setting the device action level whose intensity level is positively correlated with the size of the range radius; outside the range radius with the largest value, setting the device action level with an intensity level of a preset intensity level; the preset intensity level is lower than the highest intensity level of the device action level.
[0090] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the location information of the center point and the range radius of the wireless fence; the range radius of the wireless fence is consistent with the range radius of one of the circular rings.
[0091] In an optional manner, the device action corresponding to the device action level includes no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder in order of intensity level from low to high; the device action level with an intensity level set to a preset intensity level outside the range radius with the largest value includes: outside the range radius with the largest value, the device action level with an intensity level set to a preset intensity level; the device action corresponding to the preset intensity level is a sound reminder.
[0092] The embodiment of the present invention triggers the generation of a new device action level when the distance between the target device and the center point is updated, constrains and makes logical judgments on the device action level, and when the priority of the new device action level is lower than the priority of the current device action level, the target device stops executing the current device action, and can cancel the device action when the target device moves toward the center point, thereby reducing damage to the target and enhancing the ability of the wireless fence to constrain the target. Example
[0093] Figure 3 A schematic diagram of the structure of a wireless fence provided in an embodiment of the present invention is shown. The fence described in the embodiment of the present invention can be any form of wireless fence product, such as a GPS wireless fence, a wireless fence with a signal transmitter and a receiver for wireless signal transmission, a wireless fence that transmits signals through a coil buried underground, a wireless fence that determines distance through wireless communication between a signal transmitter and a receiver, etc. The specific embodiment of the present invention does not limit the specific implementation of the wireless fence.
[0094] like Figure 3As shown, the wireless fence may include: a processor (processor) 4302 , a communications interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0095] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiment of the wireless fence boundary determination method for progressive distance triggering.
[0096] Specifically, the program 310 may include program code including computer executable instructions.
[0097] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the distance-progressively triggered wireless fence boundary determination device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0098] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0099] Program 310 can be specifically called by processor 302 to enable the wireless fence to perform the following operations:
[0100] Detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle; set at least two concentric circles with the center point of the wireless fence as the center; each circle represents a range radius;
[0101] When the real-time distance is updated, a new device action level is triggered; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius;
[0102] Determine whether there is a current device action being executed; the current device action corresponds to a current device action level; one device action level corresponds to one device action;
[0103] If yes, compare the new device action level with the current device action level;
[0104] When the new device action level is lower than the current device action level, the current device action is stopped, the new action is not executed, and the current device action level is marked as the new device action level.
[0105] In an optional manner, when the new device action level exists, comparing the new device action level with the current device action level, further includes: when the new device action level is greater than the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is equal to the current device action level, waiting for the execution of the current device action to be completed;
[0106] In an optional manner, the determining whether there is a current device action being executed also includes: when it does not exist, comparing the new device action level with the current device action level; when the new device action level is greater than or equal to the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is less than the current device action level, not executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level.
[0107] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level; between the range radius with the largest value and the center point, setting the device action level whose intensity level is positively correlated with the size of the range radius; outside the range radius with the largest value, setting the device action level with an intensity level of a preset intensity level; the preset intensity level is lower than the highest intensity level of the device action level.
[0108] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the location information of the center point and the range radius of the wireless fence; the range radius of the wireless fence is consistent with the range radius of one of the circular rings.
[0109] In an optional manner, the device action corresponding to the device action level includes no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder in order of intensity level from low to high; the device action level with an intensity level set to a preset intensity level outside the range radius with the largest value includes: outside the range radius with the largest value, the device action level with an intensity level set to a preset intensity level; the device action corresponding to the preset intensity level is a sound reminder.
[0110] In an optional manner, detecting the real-time distance between the target device and the center point of the wireless fence according to a distance detection period includes: acquiring the real-time position of the target device according to the distance detection period, and calculating the real-time distance between the target device and the center point based on the real-time position and the position information of the center point; or acquiring communication information between the target device and the center point according to the distance detection period, and calculating the real-time distance between the target device and the center point based on the communication information.
[0111] The embodiment of the present invention triggers the generation of a new device action level when the distance between the target device and the center point is updated, constrains and makes logical judgments on the device action level, and when the priority of the new device action level is lower than the priority of the current device action level, the target device stops executing the current device action, and can cancel the device action when the target device moves toward the center point, thereby reducing damage to the target and enhancing the ability of the wireless fence to constrain the target. Example
[0112] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a distance-progressively triggered wireless fence boundary determination device, the distance-progressively triggered wireless fence boundary determination device executes the distance-progressively triggered wireless fence boundary determination method in any of the above-mentioned method embodiments.
[0113] The executable instructions can be specifically used to enable the wireless fence boundary determination device triggered by progressive distance to perform the following operations:
[0114] Detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle; set at least two concentric circles with the center point of the wireless fence as the center; each circle represents a range radius;
[0115] When the real-time distance is updated, a new device action level is triggered; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius;
[0116] Determine whether there is a current device action being executed; the current device action corresponds to a current device action level; one device action level corresponds to one device action;
[0117] If yes, compare the new device action level with the current device action level;
[0118] When the new device action level is lower than the current device action level, the current device action is stopped, the new action is not executed, and the current device action level is marked as the new device action level.
[0119] In an optional manner, when the new device action level exists, comparing the new device action level with the current device action level, further includes: when the new device action level is greater than the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is equal to the current device action level, waiting for the execution of the current device action to be completed;
[0120] In an optional manner, the determining whether there is a current device action being executed also includes: when it does not exist, comparing the new device action level with the current device action level; when the new device action level is greater than or equal to the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; when the new device action level is less than the current device action level, not executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level.
[0121] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level; between the range radius with the largest value and the center point, setting the device action level whose intensity level is positively correlated with the size of the range radius; outside the range radius with the largest value, setting the device action level with an intensity level of a preset intensity level; the preset intensity level is lower than the highest intensity level of the device action level.
[0122] In an optional manner, before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection period, the method includes: setting the location information of the center point and the range radius of the wireless fence; the range radius of the wireless fence is consistent with the range radius of one of the circular rings.
[0123] In an optional manner, the device action corresponding to the device action level includes no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder in order of intensity level from low to high; the device action level with an intensity level set to a preset intensity level outside the range radius with the largest value includes: outside the range radius with the largest value, the device action level with an intensity level set to a preset intensity level; the device action corresponding to the preset intensity level is a sound reminder.
[0124] In an optional manner, detecting the real-time distance between the target device and the center point of the wireless fence according to a distance detection period includes: acquiring the real-time position of the target device according to the distance detection period, and calculating the real-time distance between the target device and the center point based on the real-time position and the position information of the center point; or acquiring communication information between the target device and the center point according to the distance detection period, and calculating the real-time distance between the target device and the center point based on the communication information.
[0125] The embodiment of the present invention triggers the generation of a new device action level when the distance between the target device and the center point is updated, constrains and makes logical judgments on the device action level, and when the priority of the new device action level is lower than the priority of the current device action level, the target device stops executing the current device action, and can cancel the device action when the target device moves toward the center point, thereby reducing damage to the target and enhancing the ability of the wireless fence to constrain the target.
[0126] The embodiment of the present invention triggers the generation of a new device action level when the distance between the target device and the center point is updated, constrains and makes logical judgments on the device action level, and when the priority of the new device action level is lower than the priority of the current device action level, the target device stops executing the current device action, and can cancel the device action when the target device moves toward the center point, thereby reducing damage to the target and enhancing the ability of the wireless fence to constrain the target.
[0127] An embodiment of the present invention provides a wireless fence boundary determination device triggered by progressive distance, which is used to execute the wireless fence boundary determination method triggered by progressive distance.
[0128] An embodiment of the present invention provides a computer program, which can be called by a processor to enable a wireless fence to execute the wireless fence boundary determination method triggered by progressive distance in any of the above method embodiments.
[0129] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are run on a computer, the computer executes the distance-progressively triggered wireless fence boundary determination method in any of the above method embodiments.
[0130] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0131] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0132] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than those expressly recited in each claim.
[0133] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and set in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and may be divided into multiple submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0134] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for determining the boundary of a wireless fence triggered by progressive distance, characterized in that: The method is applied to a wireless fence product targeted at pets, and the method comprises: Detect the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle; set at least two concentric circles with the center point of the wireless fence as the center; each circle represents a range radius; When the real-time distance is updated, a new device action level is triggered; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius; Determine whether there is a current device action being executed; the current device action corresponds to the current device action level; one device action level corresponds to one device action; the device actions corresponding to the device action level include no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder according to the intensity level from low to high; If yes, compare the new device action level with the current device action level; When the new device action level is lower than the current device action level, the current device action is stopped, the new action is not executed, and the current device action level is marked as the new device action level.
2. The method according to claim 1, characterized in that When the new device action level exists, comparing the new device action level with the current device action level, further comprising: When the new device action level is greater than the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; When the new device action level is equal to the current device action level, waiting for the current device action to be completed.
3. The method according to claim 1, characterized in that The determining whether there is a current device action being executed also includes: If it does not exist, comparing the new device action level with the current device action level; When the new device action level is greater than or equal to the current device action level, executing the device action corresponding to the new device action level, and marking the current device action level as the new device action level; When the new device action level is lower than the current device action level, the device action corresponding to the new device action level is not executed, and the current device action level is marked as the new device action level.
4. The method according to claim 1, characterized in that: Before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle, the method includes: Setting the intensity level of the device action level, the intensity of the device action corresponding to the device action level is positively correlated with the intensity level of the device action level; Between the range radius with the largest value and the center point, a device action level having an intensity level positively correlated with the size of the range radius is set; Outside the range radius with the largest value, the intensity level is set to the device action level of the preset intensity level; the preset intensity level is less than the highest intensity level of the device action level.
5. The method according to claim 1, characterized in that Before detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle, the method includes: The location information of the center point and the range radius of the wireless fence are set; the range radius of the wireless fence is consistent with the range radius of one of the circular rings.
6. The method according to claim 4, characterized in that The device actions corresponding to the device action levels include no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder according to the intensity level from low to high; The step of setting the intensity level to a device action level of a preset intensity level outside the range radius with the largest value includes: Outside the range radius with the largest value, setting the intensity level to the device action level of the preset intensity level; The device action corresponding to the preset intensity level is a sound reminder.
7. The method according to claim 1, characterized in that The detecting the real-time distance between the target device and the center point of the wireless fence according to the distance detection cycle includes: Acquire the real-time position of the target device according to the distance detection period, and calculate the real-time distance between the target device and the center point according to the real-time position and the position information of the center point; or, The communication information between the target device and the center point is acquired according to a distance detection period, and the real-time distance between the target device and the center point is calculated according to the communication information.
8. A wireless fence boundary determination device triggered by progressive distance, characterized in that: The device is a wireless fence product targeted at pets, and includes: A distance measurement module is used to detect the real-time distance between the target device and the center point of the wireless fence according to a distance detection period; at least two concentric circles are set with the center point of the wireless fence as the center; each circle represents a range radius; An action level updating module is used to trigger the generation of a new device action level when the real-time distance is updated; the new device action level corresponds to the range radius; one device action level is set between the range radius with the smallest value and the center point, between adjacent range radii, and outside the range radius with the largest value; the device action level is positively correlated with the size of the range radius; A state judgment module is used to determine whether there is a current device action being executed; the current device action corresponds to the current device action level; one device action level corresponds to one device action; the device actions corresponding to the device action level include no action, sound reminder, sound and vibration reminder, sound, vibration and current reminder according to the intensity level from low to high; An action execution module is used to compare the new device action level with the current device action level when it exists; when the new device action level is smaller than the current device action level, stop executing the current device action, do not execute the new action, and mark the current device action level as the new device action level.
9. A wireless fence, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the wireless fence boundary determination method triggered by progressive distance as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the distance-progressively triggered wireless fence boundary determination device, the distance-progressively triggered wireless fence boundary determination device performs the operation of the distance-progressively triggered wireless fence boundary determination method as described in any one of claims 1-7.
