A monitoring method and related products
By setting dynamic sub-electronic fences for the monitored party in the satellite positioning monitoring system, combined with the monitoring party's orientation information, the problem of poor monitoring effect caused by the excessive range of electronic fences in the existing technology is solved, and more accurate positioning and security guarantees are achieved.
Patent Information
- Application Number
- CN202111025123.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2041-09-02
AI Technical Summary
When the existing satellite positioning monitoring methods are too large in the range of electronic fences, they cannot effectively ensure the safety of the monitored party, and cannot achieve dynamic setting and precise positioning.
On the basis of setting up the total electronic fence for the monitored party, combining the orientation information between the monitored party and each monitored party, multiple dynamic sub-electronic fences are set up for the monitored party. When the monitored party enters or leaves the sub-electronic fence, the corresponding monitoring party will receive the notification information.
Through the setting of dynamic sub-electronic fences, more precise positioning and security guarantees for the monitored party are achieved, and the monitoring effect is enhanced.
Smart Images

Figure CN113900120B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of monitoring, and in particular, to a monitoring method and related products. Background Art
[0002] Satellite positioning is a high-precision radio navigation positioning method based on artificial earth satellites. It can provide accurate geographical location, speed, and precise time information anywhere in the world and in near-earth space.
[0003] Currently, satellite positioning has been widely used in the field of security monitoring. The monitoring party can set an electronic fence for the monitored party. When the activity range of the monitored party exceeds the range of this electronic fence, the monitoring party will receive an alarm message.
[0004] However, through the above method, the monitoring party can only know whether the monitored party is moving within the set electronic fence range. When the range of the electronic fence is too large, the monitoring effect on the monitored party is poor, and the safety of the monitored party cannot be effectively guaranteed. Summary of the Invention
[0005] Embodiments of this application disclose a monitoring method and related products. Based on setting a total electronic fence for the monitored party, combined with the orientation information between the monitored party and each monitoring party, multiple dynamic sub-electronic fences are set for the monitored party. When the monitored party enters or leaves any one of the multiple sub-electronic fences, the monitoring party corresponding to the sub-electronic fence will receive a notification message in a timely manner, so as to perform more accurate positioning on the monitored party and more effectively guarantee the safety of the monitored party.
[0006] In a first aspect, this application provides a monitoring method, and the method includes: obtaining a first position relationship between a first terminal and a first area, the first area is included in a second area, the geographical location of the second area is fixed, the geographical location of the first area changes with the geographical location of a second terminal, the first area represents the address range of a first electronic fence, and the second area represents the address range of a second electronic fence; according to the first position relationship, when the geographical location of the first terminal changes from outside the first area to inside the first area, sending a first message to the second terminal, where the first message is used to prompt a first user that the first terminal has entered the first electronic fence.
[0007] It can be understood that in this embodiment and subsequent embodiments of this application, the change of the geographical location of the first terminal from inside the first area to outside the first area may include the following situations:
[0008] ① The carrier of the first terminal (i.e., the monitored party) moves while the carrier of the second terminal (i.e., the monitoring party) remains stationary until the monitored party enters the first electronic fence.
[0009] ② The carrier of the first terminal (i.e., the monitored party) remains stationary while the carrier of the second terminal (i.e., the monitoring party) moves (the first electronic fence moves with the movement of the monitoring party) until the monitored party enters the first electronic fence.
[0010] ③ The carrier of the first terminal (i.e., the monitored party) and the carrier of the second terminal (i.e., the monitoring party) both move (the first electronic fence moves with the movement of the monitoring party) until the monitored party enters the first electronic fence.
[0011] Based on setting a total electronic fence for the monitored party, this method combines the orientation information between the monitored party and each monitoring party to set multiple dynamic sub - electronic fences for the monitored party. When the monitored party enters any one of the multiple dynamic sub - electronic fences, the monitoring party corresponding to this sub - electronic fence will receive a notification message in a timely manner, so as to more accurately locate the monitored party and more effectively ensure the safety of the monitored party.
[0012] In an optional implementation manner of the first aspect, after obtaining the geographical location relationship between the first terminal and the first area, the method further includes: according to the first position relationship, when it is determined that the geographical location of the first terminal changes from within the first area to outside the first area, sending a second message to the second terminal, where the second message is used to prompt the first user that the first terminal has left the first electronic fence.
[0013] In this implementation manner, when the monitored party leaves any one of the multiple dynamic sub - electronic fences, the monitoring party corresponding to this sub - electronic fence will receive a notification message in a timely manner and take corresponding measures in a timely manner (such as contacting the monitored party or other monitoring parties), which can further ensure the safety of the monitored party.
[0014] In an alternative implementation of the first aspect, the region where the first region intersects the third region is the fourth region. The third region is included in the second region, and the geographical location of the third region changes with the geographical location of the third terminal. The third region represents the address range of the third electronic fence. After sending the first information to the second terminal, the method further includes: obtaining a second positional relationship between the first terminal and the fourth region; according to the second positional relationship, when the geographical location of the first terminal changes from outside the fourth region to inside the fourth region, sending third information to the third terminal, where the third information is used to prompt the second user that the first terminal has entered the third electronic fence.
[0015] In this implementation, the overlapping region of the first region and the third region is the fourth region. The first terminal is already in the first region but not in the fourth region within the first region. The first terminal moves until it enters the fourth region. At this time, the third terminal will receive the third information. In an alternative embodiment, after the first terminal enters the fourth region, the second terminal will also receive information indicating that the first terminal has entered the third region. In this way, the monitoring party can locate the monitored party more quickly through communication. However, since the first terminal has not left the first region at this time, the second terminal will not receive information indicating that the first terminal has left the first region. By reminding the positional relationship between the monitored party (i.e., the carrier of the first terminal) and each sub-electronic fence, each monitoring party (such as the carrier of the second terminal and the carrier of the third terminal) can obtain more specific positions of the monitored party, which can further ensure the safety of the monitored party.
[0016] In an alternative implementation of the first aspect, after sending the third information to the third terminal and the second terminal, the method further includes: obtaining a third positional relationship between the first terminal and the fourth region and the third region; according to the third positional relationship, when the geographical location of the first terminal changes from inside the fourth region to outside the fourth region and the geographical location of the first terminal is still within the third region, sending fourth information to the second terminal, where the fourth information is used to prompt the first user that the first terminal has left the first electronic fence and the first terminal is still within the third electronic fence.
[0017] In this implementation, after the monitored party leaves the fourth area but is still in the third area (i.e., the monitoring party leaves the first area), the second terminal will receive the fourth information, so that the monitoring party carrying the second terminal can know that the monitored party has left the sub-electronic fence (i.e., the first electronic fence) set by itself. Optionally, after the first terminal leaves the first area, the third terminal will also receive information indicating that the first terminal has left the first area. In this way, the monitoring party can locate the monitored party more quickly through communication.
[0018] In an alternative implementation of the first aspect, the method further includes: obtaining a fourth positional relationship between the first terminal and the second area; according to the fourth positional relationship, when the geographical location of the first terminal changes from outside the second area to inside the second area, or from inside the second area to outside the second area, sending a fifth information to the second terminal and the third terminal; the fifth information includes the distance between the first terminal and the second terminal and the distance between the first terminal and the third terminal when the first terminal enters or leaves the second area.
[0019] In this embodiment, after the first terminal leaves or enters the total electronic fence (i.e., the second electronic fence), all monitoring parties will receive information indicating that the monitored party has left or entered the total electronic fence. For different monitoring parties, the content of the fourth information is also different. Specifically, the fourth information may include the distances between the first terminal and each monitoring party when the monitored party enters or leaves the second electronic fence, so that each monitoring party can determine which monitoring party the monitored party is closest to when leaving or entering the second electronic fence. In this way, it is more conducive for the monitoring party to contact or find the monitored party.
[0020] In an alternative implementation of the first aspect, after obtaining the geographical location relationship between the first terminal and the first area, the method further includes: receiving a first parameter, the first parameter including the geographical location of the second terminal; determining the first area according to the first parameter.
[0021] In this embodiment, to determine the location of the first area, the geographical location of the second terminal needs to be obtained. In an alternative embodiment, in addition to obtaining the geographical location of the second terminal, the radius value set by the second terminal for the first electronic fence also needs to be obtained, and the location and scope of the first area are determined based on the geographical location of the second terminal and the radius value of the first electronic fence. In this way, after the carrier of the second terminal (i.e., one of the monitoring parties) changes the scope of its electronic fence, or when the carrier moves, the size and scope of the first area can be updated in a timely manner.
[0022] In a second aspect, the present application provides a monitoring device, the device comprising: an acquisition unit configured to acquire a first position relationship between a first terminal and a first area, the first area being included in a second area, the geographical location of the second area being fixed, the geographical location of the first area changing with the change of the geographical location of a second terminal, the first area representing the address range of a first electronic fence, and the second area representing the address range of a second electronic fence; and a sending unit configured to, according to the first position relationship, when the geographical location of the first terminal changes from outside the first area to inside the first area, send a first message to the second terminal, the first message being used to prompt a first user that the first terminal has entered the first electronic fence.
[0023] In an optional implementation manner of the second aspect, the sending unit is further configured to, according to the first position relationship, when it is determined that the geographical location of the first terminal changes from inside the first area to outside the first area, send a second message to the second terminal, the second message being used to prompt the first user that the first terminal has left the first electronic fence.
[0024] In an optional implementation manner of the second aspect, an area where the first area intersects with a third area is a fourth area, the third area being included in the second area, the geographical location of the third area changing with the change of the geographical location of a third terminal, the third area representing the address range of a third electronic fence, the acquisition unit is further configured to acquire a second position relationship between the first terminal and the fourth area; and the sending unit is further configured to, according to the second position relationship, when the geographical location of the first terminal changes from outside the fourth area to inside the fourth area, send a third message to the third terminal, the third message being used to prompt a second user that the first terminal has entered the third electronic fence.
[0025] In an optional implementation manner of the second aspect, the acquisition unit is further configured to acquire a third position relationship between the first terminal and the fourth area and the third area; and the sending unit is further configured to, according to the third position relationship, when the geographical location of the first terminal changes from inside the fourth area to outside the fourth area and the geographical location of the first terminal remains within the third area, send a fourth message to the second terminal, the fourth message being used to prompt the first user that the first terminal has left the first electronic fence and the first terminal remains within the third electronic fence.
[0026] In an optional implementation of the second aspect, the obtaining unit is further configured to obtain a fourth positional relationship between the first terminal and the second area; the sending unit is further configured to, according to the fourth positional relationship, when the geographical location of the first terminal changes from outside the second area to inside the second area, or from inside the second area to outside the second area, send fifth information to the second terminal and the third terminal; the fifth information includes the distance between the first terminal and the second terminal and the distance between the first terminal and the third terminal when the first terminal enters or leaves the second area.
[0027] In an optional implementation of the second aspect, the apparatus further includes: a receiving unit, configured to receive a first parameter, where the first parameter includes the geographical location of the second terminal; a determining unit, configured to determine the first area according to the first parameter.
[0028] In a third aspect, the present application provides an electronic device, where the device includes: a memory, configured to store a program; a processor, configured to execute the program stored in the memory, and when the program is executed, the processor is configured to execute the method in the first aspect and any optional implementation manner of the first aspect.
[0029] In a fourth aspect, the present application provides a computer-readable storage medium, characterized in that the computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the method in the first aspect and any optional implementation manner of the first aspect. Description of the Drawings
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the following will briefly introduce the drawings required to be used in the embodiments of the present application or the background art.
[0031] Figure 1 A schematic diagram of an electronic fence provided by an embodiment of the present application;
[0032] Figure 2 A flowchart of a monitoring method provided by an embodiment of the present application;
[0033] Figure 3 A schematic diagram of an electronic fence combination provided by an embodiment of the present application;
[0034] Figure 4 A schematic structural diagram of a monitoring system provided by an embodiment of the present application;
[0035] Figure 5 A schematic structural diagram of a monitoring device provided by an embodiment of the present application;
[0036] Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present application. Specific implementation manners
[0037] In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described below in conjunction with the accompanying drawings.
[0038] Terms such as "first" and "second" in the specification, claims, and drawings of the present application are only used to distinguish different objects, rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device, etc. that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices, etc.
[0039] The "embodiment" mentioned herein means that the specific features, structures, or characteristics described in combination with the embodiment can be included in at least one embodiment of the present application. The phrase appears in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art can explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.
[0040] In the present application, "at least one (item)" means one or more, "a plurality" means two or more, "at least two (items)" means two or three or more, and "and / or" is used to describe the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship. "At least one (one) of the following" or its similar expression means any combination of these items. For example, at least one (one) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c".
[0041] Embodiments of the present invention provide a monitoring method, device, equipment, and storage medium. To describe the solution of the present invention more clearly, some knowledge related to the monitoring method, device, equipment, and storage medium provided by the embodiments of the present application will be introduced first.
[0042] Electronic Fence: The electronic fence is a key function of the positioning system and can be extended to a rich variety of application scenarios. An area can be drawn on a map, which can be in the shape of a circle, polygon, line, administrative region, etc. Then, this area is associated with relevant devices. When a device enters or exits this area, notifications for entering the fence and exiting the fence will be triggered, and the notifications can be presented in the form of phone calls, text messages, WeChat, etc. to inform the user. The electronic fence can be applied in fields such as vehicle anti-theft and warning of children's activity range. In addition, the electronic fence can also implement functions such as counting the staying time of the monitored object within the fence and the movement trend of the monitored object within the fence.
[0043] Satellite positioning is a high-precision radio navigation positioning method based on artificial earth satellites. It can provide accurate geographical location, speed, and precise time information anywhere in the world and in near-earth space. Currently, satellite positioning has been widely used in the field of security monitoring and is widely applied to terminal products such as mobile phones, smart watches, and cars. When using satellite positioning to achieve the security monitoring of a target object, the monitoring party can set an electronic fence for the monitored party. When the activity range of the monitored party exceeds the range of this electronic fence, the monitoring party will receive an alarm message.
[0044] Figure 1 Schematic diagram of an electronic fence provided for the embodiments of this application. As Figure 1 shown, for the convenience of readers' understanding, the monitored party 101 can also be regarded as the terminal device carried by the monitored party 101 (hereinafter referred to as device 1), the monitoring party 102 can also be regarded as the terminal device carried by the monitoring party 102 (hereinafter referred to as device 2), the monitoring party 103 can also be regarded as the terminal device carried by the monitoring party 103 (hereinafter referred to as device 3). The electronic fence 10 can be an electronic fence set by the monitoring party 102 and the monitoring party 103 for the monitored party 101. After the electronic fence 10 is determined, it will not move with the movement of the monitoring party 102 and the monitoring party 103. When the monitored party moves within the electronic fence 10, device 1 updates the position information in real time through the satellite positioning system, and the satellite positioning system synchronizes this position information to the monitoring party 102 and the monitoring party 103. The monitoring party 102 and the monitoring party 103 can view functions such as the specific position of the monitored party 101 within the electronic fence 10 and the movement trend of the monitored object within the fence. However, when the monitored party leaves the electronic fence 10 or enters the electronic fence 10, the devices of the monitoring party 102 and the monitoring party 103 (i.e., device 2 and device 3) will receive an alarm message (such as Figure 1 shown in "The object has left the monitoring range"), notifying that the monitored party has left the electronic fence 10 or entered the electronic fence 10.
[0045] However, in the above-mentioned method for the monitoring party, the positioning range of the electronic fence is single, and the fence range can only be set statically, without the ability to set it dynamically, and the fence range is relatively small. For the monitored party 101, there are only two states: inside the fence and outside the fence. When the monitored party 101 goes out of the fence range, although an alarm is sent to one or more monitoring parties, the alarm information sent is the same, which is just a simple mass alarm, and it is not possible to timely notify the monitoring party closest to the monitored party, and then quickly handle the situation beyond the fence in a timely manner. When the range of the electronic fence is too large, the monitoring effect of this method on the monitored party is poor, and it is impossible to effectively guarantee the safety of the monitored party.
[0046] In view of the defects existing in the above-mentioned monitoring method, an embodiment of the present application provides a monitoring method. On the basis of setting a total electronic fence for the monitored party, this method combines the orientation information between the monitored party and each monitoring party to set multiple dynamic sub-electronic fences for the monitored party. When the monitored party enters or leaves any one of the above-mentioned multiple sub-electronic fences, the monitoring party corresponding to the sub-electronic fence will receive a notification message in a timely manner, so as to more accurately locate the monitored party and more effectively guarantee the safety of the monitored party. As Figure 2 shown, the method may include the following steps:
[0047] 201. The monitoring device obtains the first position relationship between the first terminal and the first area, and the above-mentioned first area is included in the second area.
[0048] The geographical location of the above-mentioned second area is fixed, the geographical location of the above-mentioned first area changes with the geographical location of the second terminal, the above-mentioned first area represents the address range of the first electronic fence, and the above-mentioned second area represents the address range of the second electronic fence. It can be understood that the carrier of the above-mentioned first terminal is the monitored party, and the carrier of the above-mentioned second terminal is the monitoring party. The above-mentioned first electronic fence and the above-mentioned second electronic fence are the electronic fences set by the above-mentioned monitoring party for the above-mentioned monitored party. Among them, the first area corresponding to the above-mentioned first electronic fence is included in the second area corresponding to the above-mentioned second electronic fence. The address range of the second electronic fence is fixed, and the address range of the first electronic fence can change according to the geographical location of the monitoring party (that is, the geographical location of the above-mentioned second terminal). That is to say, when the above-mentioned monitoring party moves in the above-mentioned first area with the above-mentioned second terminal, the range of the above-mentioned first area will also change. In addition, the shapes of the above-mentioned first electronic fence and the above-mentioned second electronic fence can be circular, rectangular, irregular polygon, etc., and the embodiments of the present application do not make any limitations in this regard.
[0049] The above monitoring device can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the above first terminal and the above second terminal can be a mobile phone, a tablet computer (pad), a computer with data transceiver function (such as a notebook computer, a handheld computer, etc.), a mobile Internet device (MID), a terminal device in a 5G network, etc., or other devices with data transceiver function, and the present application does not limit this. The monitoring device, the above first terminal, and the above second terminal can communicate with each other through wireless networks such as Bluetooth, WiFi, and 5G network, and the present application does not limit this here.
[0050] It can be understood that either the above monitoring party or the above monitored party may move within the above first electronic fence. In addition, when the above monitoring party moves, the address range of the above first electronic fence also changes. Therefore, the positional relationship between the monitored party and the above first area may also change at any time. In the embodiment of the present application, the above monitoring device will obtain the geographical location of the above first terminal (i.e., the geographical location of the monitored party) and the address range of the above first electronic fence in real time, so as to determine whether the monitored party enters or leaves the above first electronic fence.
[0051] In some embodiments, before step 201 is completed, the above monitoring device can also receive the first parameter sent by the above second terminal. The first parameter includes the geographical location of the above second terminal. In some embodiments, the first parameter can also include the radius value set by the monitoring party for the above first electronic fence. After that, the above monitoring device will determine the above first area according to the first parameter.
[0052] 202. The above monitoring device sends a first message to the second terminal when the geographical location of the above first terminal changes from outside the above first area to inside the above first area according to the above first positional relationship.
[0053] The above monitoring device will send a first message to the above second terminal when the geographical location of the above first terminal changes from outside the above first area to inside the above first area according to the above first positional relationship. The first message is used to prompt the above monitoring party that the above first terminal (i.e., the monitored party) has entered the above first electronic fence.
[0054] Specifically, in the embodiment of the present application, the change of the geographical location of the above first terminal from inside the above first area to outside the above first area may include the following situations:
[0055] ①The monitored party moves while the monitoring party remains stationary until the monitored party enters the above-mentioned first electronic fence.
[0056] ②The monitored party remains stationary while the monitoring party moves (the above-mentioned first electronic fence moves with the movement of the monitoring party) until the monitored party enters the above-mentioned first electronic fence.
[0057] ③Both the monitored party and the monitoring party move (the above-mentioned first electronic fence moves with the movement of the monitoring party) until the monitored party enters the above-mentioned first electronic fence.
[0058] Regardless of which of the above situations causes the geographical location of the above-mentioned first terminal to change from outside the above-mentioned first area to inside the above-mentioned first area, the above-mentioned monitoring device will send the above-mentioned first information to the above-mentioned first terminal to notify the above-mentioned monitoring party that the monitored party has entered the above-mentioned first electronic fence, so that the above-mentioned monitoring party can take corresponding measures in a timely manner.
[0059] It can be understood that when the geographical location of the above-mentioned first terminal changes from inside the above-mentioned first area to outside the above-mentioned first area, the above-mentioned monitoring device will also send a second information to the above-mentioned first terminal to notify the above-mentioned monitoring party that the monitored party has left the above-mentioned first electronic fence.
[0060] In some embodiments, there may be multiple above-mentioned monitoring parties. In addition to the carrier of the above-mentioned second terminal (hereinafter referred to as the first monitoring party), other monitoring parties may also be included, such as the carrier of the third terminal (hereinafter referred to as the second monitoring party). The third terminal and the above-mentioned second terminal may be a mobile phone, a tablet computer, a computer with data transceiver function, a mobile Internet device, etc., or other devices with data transceiver function. The present application does not make any limitation thereto. The third terminal can also communicate with the above-mentioned monitoring device, the above-mentioned first terminal and the above-mentioned second terminal. It can be understood that the above-mentioned third terminal can also set up a third electronic fence for the above-mentioned first terminal, and the third area corresponding to the above-mentioned third electronic fence is included in the second area corresponding to the above-mentioned second electronic fence. The address range of the third electronic fence can change according to the change of the geographical location of the above-mentioned second monitoring party (i.e., the geographical location of the above-mentioned third terminal). In addition, the shape of the above-mentioned third electronic fence can be circular, rectangular, irregular polygon, etc. The embodiments of the present application do not make any limitation thereto.
[0061] In some embodiments, there may be an intersecting fourth region between the third region and the first region. When the monitored party moves from within the first region while carrying the first terminal and moves from outside the fourth region into the fourth region, the monitoring device may send third information to the third terminal to prompt the second monitoring party that the first terminal (i.e., the monitored party) has entered the third electronic fence. In an alternative embodiment, after the first terminal enters the fourth region, the monitoring device may send information indicating that the first terminal has entered the third region to the second terminal. In this way, the first monitoring party and the second monitoring party can more quickly locate the monitored party through communication.
[0062] In some embodiments, after the monitored party leaves the fourth region but is still within the third region (i.e., the monitoring party leaves the first region), the monitoring device may send fourth information to the second terminal so that the first monitoring party can learn that the monitored party has left the sub-electronic fence (i.e., the first electronic fence) established by itself. Optionally, in an alternative embodiment, after the first terminal leaves the first region, the monitoring device may send information indicating that the first terminal has left the first region to the third terminal so that the monitoring party can more quickly locate the monitored party through communication.
[0063] In some embodiments, after the monitored party leaves or enters the total electronic fence (i.e., the second electronic fence), the monitoring device may send fifth information to all monitoring parties so that all monitoring parties can timely learn that the monitored party has left or entered the total electronic fence. In some embodiments, the content of the fifth information also varies for different monitoring parties. Specifically, the fourth information may include the distances between the first terminal and each monitoring party when the monitored party enters or leaves the second electronic fence, so that each monitoring party can determine which monitoring party the monitored party is closest to when leaving or entering the second electronic fence. In this way, it is more conducive for the monitoring party to contact or search for the monitored party.
[0064] It can be understood that in addition to the first monitoring party and the second monitoring party, there may be more monitoring parties for the monitored party. These monitoring parties can all set separate sub-electronic fences for the monitored party within the second electronic fence. The monitoring device can also send notification information to the corresponding terminals according to the positional relationship between the first terminal and these sub-electronic fences. For details, reference can be made to the foregoing description and will not be elaborated here.
[0065] For a more detailed description of each of the foregoing Figure 2 electronic fences, based on Figure 2In the monitoring method provided, an embodiment of the present application provides a schematic diagram of an electronic fence combination. As Figure 3 shown, the electronic fence combination may include: a total electronic fence 30, a sub - electronic fence 31, and a sub - electronic fence 32; wherein, the total electronic fence 30 is an electronic fence set for the terminal A by one or more of the terminal B or the terminal C, the sub - electronic fence 31 is an electronic fence set for the terminal A by the terminal B, and the sub - electronic fence 32 is an electronic fence set for the terminal A by the terminal C; the range of the address of the total electronic fence 30 is fixed, the sub - electronic fence 31 is centered on the terminal B, and its address range changes with the change of the position of the terminal B; the sub - electronic fence 32 is centered on the terminal C, and its address range changes with the change of the position of the terminal B. There is an overlapping area 321 between the address ranges of the sub - electronic fence 31 and the sub - electronic fence 32. In Figure 3 this case, the terminal A, the terminal B, and the terminal C may be carried by the monitored party, the first monitoring party, and the second monitoring party respectively. Therefore, the positions of the terminal A, the terminal B, and the terminal C in each electronic fence can respectively represent the positions of the monitoring party, the first monitoring party, and the second monitoring party in each electronic fence. In Figure 3 this case, the arrow on the terminal A represents the moving direction of the monitored party.
[0066] Specifically, the terminal A may be the first terminal in the foregoing description, the terminal B may be the second terminal in the foregoing description, and the terminal C may be the third terminal in the foregoing description. The total electronic fence 30 may be the second electronic fence in the foregoing description, and the area represented by the total electronic fence 30 may be the second area in the foregoing description; the sub - electronic fence 31 may be the first electronic fence in the foregoing description, and the area represented by the sub - electronic fence 31 may be the first area in the foregoing description; the sub - electronic fence 32 may be the third electronic fence in the foregoing description, and the area represented by the sub - electronic fence 32 may be the third area in the foregoing description, and the overlapping area 321 may be the fourth area in the foregoing description.
[0067] As Figure 3 shown in (A) in this case, the terminal A is currently in the total electronic fence 30 and outside the sub - electronic fence 31 and the sub - electronic fence 32. At this time, the monitored party carries the terminal A and moves towards the lower right until it enters the sub - electronic fence 31.
[0068] As Figure 3 shown in (B) in this case, after the terminal A enters the sub - electronic fence 31, the terminal B will receive information indicating that the terminal A has entered the sub - electronic fence 31. Specifically, this information may be the first information in the foregoing description.
[0069] After that, the monitored party carries the terminal A and continues to move towards the lower left until it enters the overlapping area 321 between the sub - electronic fence 31 and the electronic fence 32, as Figure 3As shown in (C) therein. At this time, terminal C will receive information indicating that terminal A has entered sub-electronic fence 32. Specifically, this information may be the third information in the foregoing description. In some embodiments, after terminal A enters the overlapping area 321, terminal B may also receive information indicating that terminal A has entered sub-electronic fence 32, so that the first monitoring party and the second monitoring party can determine the location information of the monitored party through communication.
[0070] After that, the monitored party carries terminal A and continues to move left and down until it leaves the overlapping area 321. As Figure 3 shown in (D) therein, terminal A has left electronic fence 31, but at this time terminal A is still within electronic fence 32. At this time, terminal B will receive information indicating that terminal A has left sub-electronic fence 31. Specifically, this information may be the fourth information in the foregoing description. In some embodiments, after terminal A leaves the overlapping area 321 but is still within electronic fence 32, terminal C may also receive information indicating that terminal A has left sub-electronic fence 31, so that the first monitoring party and the second monitoring party can determine the location information of the monitored party through communication.
[0071] After that, the monitored party carries terminal A and moves left until it leaves electronic fence C and finally leaves electronic fence 30. As Figure 3 shown in (E) therein, when terminal A leaves electronic fence 32, terminal C will receive information indicating that terminal A has left sub-electronic fence 32; when terminal A continues to move left until it leaves electronic fence 30, both terminal B and terminal C will receive information indicating that terminal A has left the total electronic fence 30. Specifically, this information may be the fifth information in the foregoing description. In some embodiments, for different monitoring parties, the content of this information is also different. For example, this information may include the distances between terminal A and terminal B and terminal C when terminal A leaves the total electronic fence 30, so that each of terminal B and terminal C can determine which terminal terminal A is closest to when leaving the total electronic fence 30. In this way, it is more conducive for the monitoring party to contact or locate the monitored party.
[0072] Based on the monitoring method and electronic fence combination in the foregoing description, an embodiment of the present application provides a monitoring system. As Figure 4 shown, the monitoring system 40 may include: a server 41, terminals 42, 43, 44, and any two of the server 41, terminals 42, 43, 44 are communicatively connected. Among them:
[0073] Terminal 42 is the terminal carried by the monitored party, and it may be the first terminal in the foregoing description.
[0074] Terminals 43 and 44 are the terminals carried by the monitoring party. Terminal 43 may be the second terminal in the foregoing description, and terminal 44 may be the third terminal in the foregoing description. Terminals 43 and 44 may set a total electronic fence for terminal 42, and either of terminals 43 and 44 may further set a sub-electronic fence for terminal 42 within the total electronic fence. For details, reference may be made to the first electronic fence, the second electronic fence, and the third electronic fence in the foregoing description.
[0075] Server 41 may be the monitoring device in the foregoing description. It may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. For example, the same third-party application may be installed on terminals 42, 43, and 44, and the cloud server of this third-party application is server 41. Server 41 may obtain the geographical locations of terminals 42, 43, and 44, judge the position information between terminal 42 and the above-mentioned total electronic fence and the above-mentioned sub-electronic fence, and is responsible for sending notification information (such as the first information, the second information, the third information, the fourth information, and the fifth information in the foregoing description) to terminals 42 and 43. When terminals 42 and 43 set a total electronic fence or a sub-electronic fence for terminal 43, server 41 may also receive parameters sent by terminal 42 or terminal 43. The parameters may include the geographical locations of terminals 42 and 43, and the radius or range of the electronic fence set by the user, etc.
[0076] The process of the above-mentioned monitoring system for monitoring will be described below in conjunction with the structure of the monitoring device. Figure 5 It is a schematic structural diagram of a monitoring device provided by an embodiment of the present application. Figure 5 The monitoring device in may be the monitoring device in the foregoing embodiment. As Figure 5 shown, the monitoring device includes:
[0077] An acquisition unit 501, configured to acquire a first position relationship between a first terminal and a first area. The first area is included in a second area. The geographical location of the second area is fixed, and the geographical location of the first area changes with the geographical location of the second terminal. The first area represents the address range of the first electronic fence, and the second area represents the address range of the second electronic fence; a sending unit 502, configured to, according to the first position relationship, when the geographical location of the first terminal changes from outside the first area to inside the first area, send a first message to the second terminal. The first message is used to prompt a first user that the first terminal has entered the first electronic fence.
[0078] In an alternative implementation, the above-mentioned sending unit is further configured to, according to the above-mentioned first positional relationship, when it is determined that the geographical location of the above-mentioned first terminal changes from within the above-mentioned first area to outside the above-mentioned first area, send second information to the above-mentioned second terminal, and the second information is used to prompt the above-mentioned first user that the above-mentioned first terminal has left the above-mentioned first electronic fence.
[0079] In an alternative implementation, the area where the above-mentioned first area intersects with the third area is the fourth area, the above-mentioned third area is included in the above-mentioned second area, the geographical location of the above-mentioned third area changes with the change of the geographical location of the third terminal, the above-mentioned third area represents the address range of the third electronic fence, the above-mentioned obtaining unit is further configured to obtain a second positional relationship between the above-mentioned first terminal and the above-mentioned fourth area; the above-mentioned sending unit is further configured to, according to the above-mentioned second positional relationship, when the geographical location of the above-mentioned first terminal changes from outside the above-mentioned fourth area to within the above-mentioned fourth area, send third information to the above-mentioned third terminal, and the third information is used to prompt the second user that the above-mentioned first terminal has entered the above-mentioned third electronic fence.
[0080] In an alternative implementation, the above-mentioned obtaining unit is further configured to obtain a third positional relationship between the above-mentioned first terminal and the above-mentioned fourth area and the above-mentioned third area; the above-mentioned sending unit is further configured to, according to the above-mentioned third positional relationship, when the geographical location of the above-mentioned first terminal changes from within the above-mentioned fourth area to outside the above-mentioned fourth area and the geographical location of the above-mentioned first terminal is still within the above-mentioned third area, send fourth information to the above-mentioned second terminal, and the fourth information is used to prompt the above-mentioned first user that the above-mentioned first terminal has left the above-mentioned first electronic fence and the above-mentioned first terminal is still within the above-mentioned third electronic fence.
[0081] In an alternative implementation, the above-mentioned obtaining unit is further configured to obtain a fourth positional relationship between the above-mentioned first terminal and the above-mentioned second area; the above-mentioned sending unit is further configured to, according to the above-mentioned fourth positional relationship, when the geographical location of the above-mentioned first terminal changes from outside the above-mentioned second area to within the above-mentioned second area, or from within the above-mentioned second area to outside the above-mentioned second area, send fifth information to the above-mentioned second terminal and the above-mentioned third terminal; the fifth information includes the distance between the above-mentioned first terminal and the above-mentioned second terminal and the distance between the above-mentioned first terminal and the above-mentioned third terminal when the above-mentioned first terminal enters or leaves the above-mentioned second area.
[0082] In an alternative implementation, the above-mentioned device further includes: a receiving unit 503, configured to receive a first parameter, where the first parameter includes the geographical location of the above-mentioned second terminal; a determining unit 504, configured to determine the above-mentioned first area according to the above-mentioned first parameter.
[0083] It should be understood that the division of each unit in the above monitoring device is only a division of logical functions. In actual implementation, it can be fully or partially integrated into a physical entity, or physically separated. For example, each of the above units can be a separately established processing element, or can be integrated in a certain chip of the terminal. In addition, it can also be stored in the storage element of the controller in the form of program code, and the functions of each of the above units are called and executed by a certain processing element of the processor. In addition, each unit can be integrated together or independently implemented. Here, the processing element can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method or each of the above units can be completed by the integrated logic circuit in the hardware of the processor element or the instruction in the form of software. The processing element can be a general-purpose processor, such as a central processing unit (abbreviation: CPU in English), or can also be one or more integrated circuits configured to implement the above method, such as: one or more application-specific integrated circuits (abbreviation: ASIC in English), or, one or more digital signal processors (abbreviation: DSP in English), or, one or more field-programmable gate arrays (abbreviation: FPGA in English), etc.
[0084] Figure 6 This is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 6 shown, the electronic device 100 includes a processor 1001, a memory 1002, and a communication interface 1003; the processor 1001, the memory 1002, and the communication interface 1003 are interconnected through a bus. The electronic device can be the monitoring device described above.
[0085] The memory 1002 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a compact disc read-only memory (CDROM). The memory 1002 is used for relevant instructions and data. The communication interface 1003 is used to receive and send data, and it can implement Figure 5 the functions of the sending unit 502 and the receiving unit 503 in
[0086] The processor 1001 may be one or more central processing units (CPUs). When the processor 1001 is a single CPU, it may be a single-core CPU or a multi-core CPU. The steps performed by the monitoring device in the above embodiments may be based on the Figure 6 structure of the electronic device shown. Specifically, the processor 1001 may implement Figure 5 the functions of the determination unit 504 and the acquisition unit 501 in
[0087] The processor 1001 in the electronic device 100 is configured to read the program code stored in the memory 1002 and execute the monitoring method in the foregoing embodiments.
[0088] In an embodiment of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it realizes: obtaining a first positional relationship between a first terminal and a first area, the first area is included in a second area, the geographical location of the second area is fixed, the geographical location of the first area changes with the geographical location of a second terminal, the first area represents an address range of a first electronic fence, and the second area represents an address range of a second electronic fence; according to the first positional relationship, when the geographical location of the first terminal changes from outside the first area to inside the first area, sending a first message to the second terminal, the first message is used to prompt a first user that the first terminal has entered the first electronic fence.
[0089] Those skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system, or a computer program product. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0090] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate for realizing in the process Figure 1 one process or multiple processes and / or blocksFigure 1 means for the functions specified in one or more boxes.
[0091] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a particular manner, such that the instructions stored in the computer-readable memory produce a manufacture including an instruction means that implements the functions specified in one Figure 1 process or a plurality of processes and / or boxes Figure 1 or more boxes.
[0092] These computer program instructions may also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one Figure 1 process or a plurality of processes and / or boxes Figure 1 or more boxes.
[0093] As described above, the above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A monitoring method, characterized in that, it includes: Obtain the first position relationship between the first terminal and the first area. The first area is included in the second area. The geographical location of the second area is fixed. The geographical location of the first area changes with the geographical location of the second terminal. The first area represents the address range of the first electronic fence. The second area represents the address range of the second electronic fence. The area where the first area intersects with the third area is the fourth area. The third area is included in the second area. The geographical location of the third area changes with the geographical location of the third terminal. The third area represents the address range of the third electronic fence; According to the first position relationship, when the geographical location of the first terminal changes from outside the first area to inside the first area, send a first message to the second terminal. The first message is used to prompt the first user that the first terminal has entered the first electronic fence; Obtain the second position relationship between the first terminal and the fourth area; According to the second position relationship, when the geographical location of the first terminal changes from outside the fourth area to inside the fourth area, send a third message to the third terminal. The third message is used to prompt the second user that the first terminal has entered the third electronic fence; And send a message to the second terminal for indicating that the first terminal has entered the third area; Obtain the fourth position relationship between the first terminal and the second area; According to the fourth position relationship, when the geographical location of the first terminal changes from outside the second area to inside the second area, or from inside the second area to outside the second area, send a fifth message to the second terminal and the third terminal; The fifth message includes the distance between the first terminal and the second terminal and the distance between the first terminal and the third terminal when the first terminal enters or leaves the second area.
2. The method according to claim 1, characterized in that, after obtaining the geographical location relationship between the first terminal and the first area, the method further includes: According to the first position relationship, when it is determined that the geographical location of the first terminal changes from inside the first area to outside the first area, send a second message to the second terminal. The second message is used to prompt the first user that the first terminal has left the first electronic fence.
3. The method according to claim 1, characterized in that, after sending the third message to the third terminal and the second terminal, the method further includes: Obtain the third position relationship between the first terminal and the fourth area and the third area; According to the third position relationship, when the geographical location of the first terminal changes from inside the fourth area to outside the fourth area and the geographical location of the first terminal is still within the third area, send a fourth message to the second terminal. The third message is used to prompt the first user that the first terminal has left the first electronic fence and the first terminal is still within the third electronic fence.
4. The method according to any one of claims 1 to 3, wherein, before obtaining the geographical location relationship between the first terminal and the first area, the method further includes: receiving a first parameter, the first parameter including the geographical location of the second terminal; determining the first area according to the first parameter.
5. A monitoring device, wherein, comprising: an obtaining unit, configured to obtain a first location relationship between a first terminal and a first area, the first area being included in a second area, the geographical location of the second area being fixed, the geographical location of the first area changing with the change of the geographical location of the second terminal, the first area representing the address range of a first electronic fence, the second area representing the address range of a second electronic fence, the area where the first area intersects with a third area being a fourth area, the third area being included in the second area, the geographical location of the third area changing with the change of the geographical location of a third terminal, the third area representing the address range of a third electronic fence; a sending unit, configured to send a first message to the second terminal according to the first location relationship when the geographical location of the first terminal changes from outside the first area to inside the first area, the first message being used to prompt a first user that the first terminal has entered the first electronic fence; the obtaining unit is further configured to obtain a second location relationship between the first terminal and the fourth area; the sending unit is further configured to send a third message to the third terminal according to the second location relationship when the geographical location of the first terminal changes from outside the fourth area to inside the fourth area, the third message being used to prompt a second user that the first terminal has entered the third electronic fence; and configured to send a message for instructing the first terminal to enter the third area to the second terminal; the obtaining unit is further configured to obtain a fourth location relationship between the first terminal and the second area; the sending unit is further configured to send a fifth message to the second terminal and the third terminal according to the fourth location relationship when the geographical location of the first terminal changes from outside the second area to inside the second area, or from inside the second area to outside the second area; the fifth message includes the distance between the first terminal and the second terminal and the distance between the first terminal and the third terminal when the first terminal enters or leaves the second area.
6. The device according to claim 5, wherein, the sending unit is further configured to send a second message to the second terminal according to the first location relationship when it is determined that the geographical location of the first terminal changes from inside the first area to outside the first area, the second message being used to prompt the first user that the first terminal has left the first electronic fence.
7. The device according to claim 5, wherein, the obtaining unit is further configured to obtain a third location relationship between the first terminal and the fourth area and the third area; The sending unit is further configured to, according to the third positional relationship, when the geographical location of the first terminal changes from within the fourth area to outside the fourth area and the geographical location of the first terminal remains within the third area, send fourth information to the second terminal, where the fourth information is used to prompt the first user that the first terminal has left the first electronic fence and the first terminal remains within the third electronic fence.
8. The device according to any one of claims 5 to 7, wherein, the device further comprises, a receiving unit, configured to receive a first parameter, where the first parameter includes the geographical location of the second terminal; a determining unit, configured to determine the first area according to the first parameter.
9. An electronic device, wherein, comprising: a memory, configured to store a program; a processor, configured to execute the program stored in the memory, and when the program is executed, the processor is configured to execute the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, wherein, the computer storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for setting electronic fence
CN110933602A
Monitoring method and device based on electronic fence, terminal equipment and storage medium
CN111131783A