CN112383876A - Method and device for early warning of loss, electronic equipment and storage medium - Google Patents

Method and device for early warning of loss, electronic equipment and storage medium Download PDF

Info

Publication number
CN112383876A
CN112383876A CN202011191927.XA CN202011191927A CN112383876A CN 112383876 A CN112383876 A CN 112383876A CN 202011191927 A CN202011191927 A CN 202011191927A CN 112383876 A CN112383876 A CN 112383876A
Authority
CN
China
Prior art keywords
loss
message
lost
animal
early warning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011191927.XA
Other languages
Chinese (zh)
Inventor
傅嘉嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN202011191927.XA priority Critical patent/CN112383876A/en
Publication of CN112383876A publication Critical patent/CN112383876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/04Telephonic communication systems specially adapted for combination with other electrical systems with alarm systems, e.g. fire, police or burglar alarm systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a method and a device for early warning of loss, electronic equipment and a storage medium, wherein the method comprises the following steps: broadcasting heartbeat messages according to a preset period; when a lost message sent by second tag equipment worn on other animals except the leading animal in the appointed group animal group is received, generating lost early warning information according to lost information carried in the lost message; and uploading the loss early warning information to a server for monitoring the designated group animal. According to the early warning method for the loss, only the first tag device of the leading animal in the designated group of the social animals needs to be added into the operator network, so that the flow cost can be effectively reduced; in addition, the first tag equipment worn on the leading animal in the specified social zoon and the second tag equipment worn on other animals except the leading animal in the specified social zoon are respectively arranged by utilizing the characteristic of animal social, so that the local deployment base station can be independent.

Description

Method and device for early warning of loss, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for early warning of loss, electronic equipment and a storage medium.
Background
The herd of living animals includes not only the leading animal but also other animals than the leading animal. Common herds of animals include flocks of sheep, flocks of cattle, herds of horses, etc., and will be described below by way of example of flocks of sheep.
When raising sheep flocks, the sheep flocks are usually grazed by means of stocking. The sheep in the flocks are numerous, the loss condition can happen from time to time, and the herd is difficult to monitor comprehensively, so that an intelligent method is needed to complete automatic monitoring and loss early warning of the flocks.
The existing method for monitoring a flock of sheep is to wear an electronic tag for each sheep, locate the sheep by a GPS (Global Positioning System) or a local base station, and return location information back through an operator network.
The existing flocks of sheep monitoring method has the following defects: generally, the size of a flock is dozens to hundreds of sheep, and if each sheep wears an operator electronic tag, the network cost is high; if a local base station mode is adopted, base stations need to be deployed at a higher density in a field grazing area, the base stations are high in construction and maintenance cost and easy to lose due to theft.
How to solve the problems that the network cost for preventing the lost early warning of the social animal group taking the sheep group as an example is high or the maintenance cost of the base station is too high is a problem to be solved.
Disclosure of Invention
Therefore, it is necessary to provide a loss warning method, a device, an electronic device, and a storage medium for solving the problems of high network cost or high base station maintenance cost in the conventional loss warning method.
In a first aspect, an embodiment of the present application provides a method for early warning of loss, where the method is applied to a first tag device worn on a leading animal in a specified group of animals, and the method includes:
broadcasting heartbeat messages according to a preset period;
when a lost message sent by second tag equipment worn on other animals except the leading animal in the specified group of animals is received, generating lost early warning information according to lost information carried in the lost message, wherein the lost message is generated when the second tag equipment receives the heartbeat message and the received signal strength indication RSSI value measured when the heartbeat message is received for the last N times is judged to meet a preset condition, and N is a positive integer greater than 1;
and uploading the loss early warning information to a server for monitoring the designated social zoon.
In one embodiment, the loss information includes at least one of:
the number information of the other animals and the identification information of the second tag device.
In a second aspect, the present application provides a method for early warning of loss, which is applied to a second tag device worn on an animal other than a leading animal in a designated group of social animals, and includes:
receiving a heartbeat message broadcast by first label equipment worn on the leading animal;
when the received signal strength indication RSSI value measured when the heartbeat message is received for the last N times is judged to meet a first preset condition, generating a lost message carrying lost information, wherein N is a positive integer greater than 1;
broadcasting the missing message according to a preset duration, and stopping broadcasting the missing message until an RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that the first tag device generates missing early warning information according to the missing information carried in the missing message when receiving the missing message, and uploads the missing early warning information to a server for monitoring the specified group animal group, wherein M is a positive integer greater than 1.
In an embodiment, the first preset condition is that the RSSI value measured when the second tag device receives the heartbeat message last N times is in a decreasing trend, and the RSSI value measured when the second tag device receives the heartbeat message last time is not greater than a preset threshold;
the second preset condition is that the RSSI value measured when the second label device continuously receives the heartbeat message for M times is not less than the preset threshold value;
the loss information includes at least one of:
the number information of the other animals and the identification information of the second tag device.
In one embodiment, the method further comprises: each time a lost message is broadcast, an audio signal and/or an optical signal is also sent to indicate the lost location.
In a third aspect, an embodiment of the present application provides a wandering warning apparatus, which is applied to a first tag device worn on a leading animal in a designated group of animals, and includes:
the broadcast unit is used for broadcasting the heartbeat message according to a preset period;
a generating unit, configured to generate loss warning information according to loss information carried in a loss message when receiving the loss message sent by a second tag device worn on another animal in the specified group of animals except the leading animal, where the loss message is generated when the second tag device receives the heartbeat message and when determining that a received signal strength indication RSSI value measured when the heartbeat message is received last N times satisfies a preset condition, N is a positive integer greater than 1;
and the uploading unit is used for uploading the wandering early warning information generated by the generating unit to a server for monitoring the specified social zooms.
In one embodiment, the loss information includes at least one of: the number information of the other animals and the identification information of the second tag device.
In a fourth aspect, the present application provides a loss warning apparatus, which is applied to a second tag device worn on an animal other than a leading animal in a designated group of animals, and includes:
the receiving unit is used for receiving a heartbeat message broadcasted by first label equipment worn on the leading animal;
a generating unit, configured to generate a missing packet with missing information when it is determined that a received signal strength indication RSSI value measured when the heartbeat packet is received last N times satisfies a first preset condition, where N is a positive integer greater than 1;
the processing unit is used for broadcasting the lost message according to preset duration, and stopping broadcasting the lost message until the RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that the first label equipment generates lost early warning information according to lost information carried in the lost message when receiving the lost message;
and the uploading unit is used for uploading the wandering early warning information generated by the processing unit to a server for monitoring the specified social zooms, wherein M is a positive integer larger than 1.
In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method steps described above.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, the program being executed by a processor to implement the method steps as described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the embodiment of the application, the first tag device worn on the leading animal in the designated social zoo group performs the following operations: broadcasting heartbeat messages according to a preset period; when a lost message sent by second tag equipment worn on other animals except the leading animal in the appointed group animal group is received, generating lost early warning information according to lost information carried in the lost message; and uploading the loss early warning information to a server for monitoring the designated group animal. According to the early warning method for the loss, only the first tag device of the leading animal in the designated group of the social animals needs to be added into the operator network, so that the flow cost can be effectively reduced; in addition, the first tag equipment worn on the leading animal in the specified social zoon and the second tag equipment worn on other animals except the leading animal in the specified social zoon are respectively arranged by utilizing the characteristic of animal social, so that the local deployment base station can be independent. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is an application scenario diagram of a loss early warning system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for early warning of loss according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for early warning of loss according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another early warning method for loss according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a loss warning apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another straying warning device provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of another early warning device for loss according to an embodiment of the present disclosure;
fig. 8 shows a schematic diagram of an electronic device connection structure according to an embodiment of the application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Alternative embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Fig. 1 is a view of an application scenario of a loss warning system according to an embodiment of the present application. For convenience of description, the designated herd of herds in fig. 1 is a herd of sheep. The characteristic of stocking the sheep flock is as follows: generally, a first sheep can be found in a first sheep flock, the first sheep can be followed by the first sheep in most cases, the scale of the first sheep flock is usually dozens of to hundreds of sheep heads, the first sheep can be led by a shepherd, and the first sheep can be led by the first sheep to move. Therefore, a sheep monitoring system as shown in fig. 1 was designed. As shown in fig. 1, the early warning system for the loss of the sheep comprises a first tag device with a first sheep tag, a plurality of sheep group tag devices with sheep group tags (i.e. tags representing normal sheep), and a server for monitoring the sheep group. As shown in fig. 1, the first sheep is directly connected to a server for monitoring the sheep flock through a first tag device.
The components of the loss warning system are described as follows:
the first label device with the sheep label has the following functions: the local network broadcast message transmitting and receiving device has a function of communicating with an operator network and a function of transmitting and receiving a local network broadcast message.
The flock label device with flock label has the following functions: the wireless communication terminal has the functions of receiving and sending local network broadcast messages and warning through sound signals and/or light signals.
If the sheep flock is large in scale, the distribution distance between sheep except for the sheep head may be far, so that the method is not suitable for short-distance wireless technologies such as bluetooth and Radio Frequency Identification (RFID), and therefore, a Long-distance communication technology such as SubG or Long Range Radio (Long Range Radio) is considered as a local network communication technology.
In this embodiment of the application, the first tag device is a tag device worn on a leading animal in a specified group of animals, the second tag device is a tag device worn on other animals except the leading animal in the specified group of animals, in fig. 1, the first tag device in this embodiment of the application is a tag device with a first lamb tag installed on a first lamb body, and the second tag device is a tag device with a lamb group tag installed on a common lamb body except the first lamb body.
As shown in fig. 1, the process of performing the early warning of the loss by using the early warning system shown in fig. 1 is specifically as follows:
step 1: installing a first label device (such as a sheep label shown in fig. 1) with a sheep label on a sheep body, wherein the first label device is powered by a battery; similarly, a flock label device (such as the flock label shown in fig. 1) with flock labels, which is also battery powered, is mounted on the average sheep in a flock other than the head sheep.
Step 2: the first label equipment on the sheep head is according to presetting the cycle: and broadcasting the heartbeat message.
And step 3: the method comprises the steps that a flock tag device on a common sheep receives a heartbeat message sent by a head sheep, and the RSSI (Received Signal Strength Indication) measured when the heartbeat message is Received at this time is recorded.
And 4, step 4: and when a heartbeat message is received each time, the sheep flock label equipment on the common sheep checks the RSSI value recorded for the last N times. If the RSSI value recorded for the last N times is found to be in a descending trend and the RSSI value recorded for the last time is not larger than the preset threshold value, the flock tag equipment broadcasts a lost message carrying lost information according to preset duration, and the lost message is used for reminding a goat in a flock of goats to be released of possible loss. In order to avoid the phenomenon of false alarm, the flocks of sheep tag equipment can continuously broadcast lost messages according to preset time length, and broadcasting is stopped until the RSSI value measured when M heartbeat messages are continuously received is not less than a preset threshold value. Here, M and N are both positive integers greater than 1.
In the embodiment of the present application, the preset threshold may be configured in advance. The configured predetermined threshold should be greater than the minimum effective communication signal strength, e.g., the minimum effective communication signal strength is-125 db, the predetermined signal strength threshold may be configured as-95 db, or the predetermined signal strength threshold may be configured as-100 db.
And 5: when receiving the loss message, the first tag equipment on the first sheep generates loss early warning information according to the loss information, and returns the loss early warning information to a server for monitoring the sheep flock through an operator network;
step 6: the server pushes the loss early warning information to an application program installed on a mobile phone of a shepherd through an operator network, so that the specific sheep in the current sheep flock is timely known to be lost through the latest loss early warning information updated in real time on the application program.
And 7: if the shepherd is near the shepherd, in order to facilitate the shepherd to quickly find the sheep, the shepherd label equipment can simultaneously send an acousto-optic signal to give an alarm while broadcasting the missing message, so that the purpose of prompting the current position is achieved.
Fig. 2 is a schematic flow chart of a method for early warning of loss according to an embodiment of the present disclosure; as shown in fig. 2, an embodiment of the present application provides a method for early warning of loss, which is applied to a first tag device worn on a leading animal in a designated group of social animals, and specifically includes the following steps:
s202: broadcasting heartbeat messages according to a preset period;
in the embodiment of the present application, only the first tag device worn on the leading animal in the specified social animal group has a function of communicating with the carrier network, and the second tag device worn on the other animals than the leading animal in the specified social animal group does not have a function of communicating with the carrier network; therefore, the method can not only be independent of a local deployment base station, but also effectively reduce the flow cost.
For the description of the functions of the first tag device and the second tag device, refer to the description of fig. 1, which is not repeated herein.
S204: when a lost message sent by second tag equipment worn on other animals except a leading animal in a specified group of living animals is received, generating lost early warning information according to lost information carried in the lost message, wherein the lost message is generated when the second tag equipment receives a heartbeat message and judges that a received signal strength indication RSSI value measured when the heartbeat message is received for the last N times meets a preset condition, and N is a positive integer greater than 1;
in this embodiment, the loss information may be number information of other animals, and the loss information may also be identification information of the second tag device. The following sheep flocks are taken as examples and are specifically described as follows:
the losing information can be number information of the lost sheep, and the number information indicates which sheep in the sheep group is lost; or, the lost information may also be identification information of a second tag device of the lost sheep, where the identification information may be MAC (Media Access Control Address) Address information, and the identification information may also be SN (Serial Number) code information, and the like, and the identification information is not limited specifically herein.
The above lists only common loss information, and other loss information may be introduced according to the requirements of different application scenarios, which is not described herein again.
S206: and uploading the loss early warning information to a server for monitoring the designated group animal.
Fig. 3 is a schematic flow chart of another method for early warning of loss according to the embodiment of the present application; as shown in fig. 3, an embodiment of the present application provides a method for early warning of loss, where the method is applied to a second tag device worn on an animal other than a leading animal in a specified social animal group, and for description of functions of the second tag device, reference is made to specific description of fig. 1, which is not repeated herein, and the method specifically includes the following steps:
s302: receiving a heartbeat message broadcast by first label equipment worn on a leading animal;
for the description of the function of the first tag device, refer to the description of fig. 1, and similarly, for the description of the function of the second tag device, refer to the description of fig. 1, which is not repeated herein.
S304: when judging that a received signal strength indication RSSI value measured when the heartbeat message is received for the last N times meets a first preset condition, generating a lost message carrying lost information, wherein N is a positive integer greater than 1;
in the embodiment of the application, the first preset condition is that the RSSI value measured when the second tag device receives the heartbeat message for the last N times is in a decreasing trend, and the RSSI value measured when the second tag device receives the heartbeat message for the last time is not greater than a preset threshold value;
in the embodiment of the present application, the preset threshold is not specifically limited, and the preset threshold may be configured in advance according to the requirements of different application scenarios, which is not described herein again.
S306: broadcasting the missing message according to a preset duration, and stopping broadcasting the missing message until an RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that when the first tag equipment receives the missing message, the first tag equipment generates missing early warning information according to the missing information carried in the missing message, and uploads the missing early warning information to a server for monitoring a specified group animal group, wherein M is a positive integer greater than 1; therefore, the situation that any animal in the designated group animal group is likely to be lost can be early warned in advance based on the signal attenuation situation of the local network signal displayed by the RSSI value under the current application scene, and the loss of the user can be effectively avoided.
In the embodiment of the present application, reference is made to the description of the same or similar parts of fig. 1 for description of functions of the first tag device, and details are not repeated here.
In the embodiment of the present application, the preset duration is not specifically limited, and the duration of the preset duration can be adjusted according to the requirements of different application scenarios, which is not described herein again.
In the embodiment of the application, the second preset condition is that the RSSI value measured when the second label device continuously receives M heartbeat messages is not less than the preset threshold; the preset threshold is not specifically limited, and the preset threshold may be configured in advance according to the requirements of different application scenarios, which is not described herein again.
In this embodiment, the loss information may be number information of other animals, and the loss information may also be identification information of the second tag device. For the related description of the missing information, refer to the same or similar description in fig. 2, which is not repeated herein.
In a possible implementation manner, if a shepherd is in the vicinity of a flock, in order to quickly perform a loss early warning on a lost sheep, the loss early warning method provided in the embodiment of the present application further includes the following steps:
each time a lost message is broadcast, an audio signal and/or an optical signal is also sent to indicate the lost location.
The herd of herds is designated below as an example of a flock, as follows:
when the lost message is broadcasted every time, a sound signal can be sent to prompt the lost position of the lost sheep; therefore, the shepherd can search for the lost sheep by the warning sound and the prompted lost position;
or, when the lost message is broadcasted every time, the lost message can also be sent to prompt the lost position of the lost sheep; therefore, the shepherd can search for the lost sheep by the warning light and the lost position combined with the prompt;
or when the lost message is broadcasted every time, the lost message can also be sent out simultaneously by sound signals and light signals to prompt the lost position of the lost sheep; therefore, the shepherd can search for the lost sheep through the sent warning sound and warning light and the lost position combined with the prompt; therefore, the lost sheep can be found quickly and accurately.
Fig. 4 is a schematic flowchart of another early warning method for loss according to an embodiment of the present disclosure; as shown in fig. 4, an embodiment of the present application provides a method for early warning of loss, which is applied to a server capable of early warning of loss of a specified group of social animals, and specifically includes the following steps:
s402: receiving the early warning information of the loss sent by the first label equipment;
in the embodiment of the application, for the description of the first tag device and the loss warning information, reference is made to the description of the same or similar parts, which is not repeated herein.
S404: pushing the loss early warning information to a mobile terminal provided with an application program for carrying out loss early warning; if the designated herd of animals is a flock, the method is beneficial for shepherds to early warn the possible loss phenomenon of the sheep in the flock in advance or early warn in real time through the loss early warning application program installed on the mobile terminal.
In the embodiment of the application, the first tag device worn on the leading animal in the designated social zoo group performs the following operations: broadcasting heartbeat messages according to a preset period; when a lost message sent by second tag equipment worn on other animals except the leading animal in the appointed group animal group is received, generating lost early warning information according to lost information carried in the lost message; and uploading the loss early warning information to a server for monitoring the designated group animal. According to the early warning method for the loss, only the first tag device of the leading animal in the designated group of the social animals needs to be added into the operator network, so that the flow cost can be effectively reduced; in addition, the first tag equipment worn on the leading animal in the specified social zoon and the second tag equipment worn on other animals except the leading animal in the specified social zoon are respectively arranged by utilizing the characteristic of animal social, so that the local deployment base station can be independent.
The following is an embodiment of a loss early warning apparatus in the embodiment of the present application, which may be used to execute the embodiment of the loss early warning method in the embodiment of the present application. For details that are not disclosed in the embodiments of the early warning device for loss of use in the embodiments of the present application, please refer to the embodiments of the early warning method for loss of use in the embodiments of the present application.
Referring to fig. 5, a schematic structural diagram of a loss warning apparatus according to an exemplary embodiment of the present invention is shown. The early warning device for the loss is applied to first label equipment worn on leading animals in a specified group of animals, and can be realized to be all or part of a terminal through software, hardware or the combination of the software and the hardware. The loss warning apparatus includes a broadcasting unit 502, a generating unit 504, and an uploading unit 506.
Specifically, the broadcasting unit 502 is configured to broadcast a heartbeat message according to a preset period;
a generating unit 504, configured to generate loss warning information according to loss information carried in a loss message when receiving the loss message sent by a second tag device worn on another animal in the specified group of animals except the leading animal, where the loss message is generated when the second tag device receives the heartbeat message and when determining that the RSSI value of the received signal strength indication measured when the heartbeat message is received last N times meets a preset condition, N is a positive integer greater than 1;
an uploading unit 506, configured to upload the early-warning information of loss generated by the generating unit 504 to a server for monitoring the designated group of animals.
Optionally, the missing information includes at least one of: number information of other animals, identification information of the second tag device.
Referring to fig. 6, a schematic structural diagram of a loss warning apparatus according to an exemplary embodiment of the present invention is shown. The early warning device for the loss is applied to second tag equipment worn on other animals except the leading animal in a specified group of animals, and can be realized to be all or part of a terminal through software, hardware or a combination of the software and the hardware. The early warning device for the loss of person comprises a receiving unit 602, a generating unit 604 and an uploading unit 608 of a processing unit 606.
Specifically, the receiving unit 602 is configured to receive a heartbeat message broadcast by a first tag device worn on a leading animal;
a generating unit 604, configured to generate a missing packet with missing information when it is determined that a received signal strength indication RSSI value measured when the heartbeat packet is received last N times meets a first preset condition, where N is a positive integer greater than 1;
the processing unit 606 is configured to broadcast the lost message according to a preset duration, and stop broadcasting the lost message until an RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that the first tag device generates lost early warning information according to lost information carried in the lost message when receiving the lost message;
an uploading unit 608, configured to upload the loss warning information generated by the processing unit 606 to a server for monitoring a specified group of animals, where M is a positive integer greater than 1.
Optionally, the first preset condition is that the RSSI value measured when the second tag device receives the heartbeat message for the last N times is in a decreasing trend, and the RSSI value measured when the second tag device receives the heartbeat message for the last time is not greater than a preset threshold;
the second preset condition is that the RSSI value measured when the second label equipment continuously receives M heartbeat messages is not less than the preset threshold value;
the loss information includes at least one of:
number information of other animals, identification information of the second tag device.
Optionally, the apparatus further comprises:
a signal transmitting unit (not shown in fig. 6) for transmitting a sound signal and/or a light signal to indicate the lost position each time the lost message is broadcasted.
Referring to fig. 7, a schematic structural diagram of a loss warning apparatus according to an exemplary embodiment of the present invention is shown. The early warning device for the loss is applied to a server for monitoring the sheep flock, and the early warning device for the loss can be realized to be all or part of a terminal through software, hardware or the combination of the software and the hardware. The loss warning apparatus includes a receiving unit 702 and a pushing unit 704.
Specifically, the receiving unit 702 is configured to receive the loss warning information sent by the first tag device;
a pushing unit 704, configured to push the loss early warning information received by the receiving unit 702 to a mobile terminal installed with an application program for performing loss early warning.
It should be noted that, when the loss warning apparatus provided in the foregoing embodiment executes the loss warning method, only the division of the functional units is illustrated, and in practical applications, the function distribution may be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units, so as to complete all or part of the functions described above. In addition, the embodiment of the loss early warning device and the embodiment of the loss early warning method provided by the above embodiments belong to the same concept, and the implementation process is detailed in the embodiment of the loss early warning method, which is not described herein again.
In the embodiment of the application, a broadcasting unit broadcasts a heartbeat message according to a preset period; the generating unit generates the early warning information of the lost according to the lost information carried in the lost message when receiving the lost message sent by the second tag equipment worn on other animals except the leading animal in the appointed group; and the uploading unit uploads the loss early warning information to a server for monitoring the designated group animal. According to the early warning device for the loss, only the first tag device of the leading animal in the designated group of the social animals needs to be added into the operator network, so that the flow cost can be effectively reduced; in addition, the first tag equipment worn on the leading animal in the specified social zoon and the second tag equipment worn on other animals except the leading animal in the specified social zoon are respectively arranged by utilizing the characteristic of animal social, so that the local deployment base station can be independent.
As shown in fig. 8, the present embodiment provides an electronic device, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method steps as described above.
The present application provides a storage medium storing computer readable instructions, on which a computer program is stored, the program being executed by a processor to implement the method steps as described above.
Referring now to FIG. 8, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present application. The terminal device in the embodiments of the present application may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 8, an electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing apparatus 801, the ROM802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 8 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present application.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A method of early warning of loss, the method being applied to a first tag device worn on a leading animal in a designated group of social animals, the method comprising:
broadcasting heartbeat messages according to a preset period;
when a lost message sent by second tag equipment worn on other animals except the leading animal in the specified group of animals is received, generating lost early warning information according to lost information carried in the lost message, wherein the lost message is generated when the second tag equipment receives the heartbeat message and the received signal strength indication RSSI value measured when the heartbeat message is received for the last N times is judged to meet a preset condition, and N is a positive integer greater than 1;
and uploading the loss early warning information to a server for monitoring the designated social zoon.
2. The method of claim 1,
the loss information includes at least one of:
the number information of the other animals and the identification information of the second tag device.
3. A method of early warning of loss, applied to a second tag device worn on an animal other than the leading animal in a designated herd of social animals, the method comprising:
receiving a heartbeat message broadcast by first label equipment worn on the leading animal;
when the received signal strength indication RSSI value measured when the heartbeat message is received for the last N times is judged to meet a first preset condition, generating a lost message carrying lost information, wherein N is a positive integer greater than 1;
broadcasting the missing message according to a preset duration, and stopping broadcasting the missing message until an RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that the first tag device generates missing early warning information according to the missing information carried in the missing message when receiving the missing message, and uploads the missing early warning information to a server for monitoring the specified group animal group, wherein M is a positive integer greater than 1.
4. The method according to claim 3, wherein the first preset condition is that the RSSI value measured when the second tag device receives the heartbeat packet N times last is in a decreasing trend, and the RSSI value measured when the second tag device receives the heartbeat packet last is not greater than a preset threshold;
the second preset condition is that the RSSI value measured when the second label device continuously receives the heartbeat message for M times is not less than the preset threshold value;
the loss information includes at least one of:
the number information of the other animals and the identification information of the second tag device.
5. The method of claim 3, further comprising:
each time a lost message is broadcast, an audio signal and/or an optical signal is also sent to indicate the lost location.
6. A loss warning apparatus for use with a first tag device to be worn on a leading animal of a designated group of social animals, the apparatus comprising:
the broadcast unit is used for broadcasting the heartbeat message according to a preset period;
a generating unit, configured to generate loss warning information according to loss information carried in a loss message when receiving the loss message sent by a second tag device worn on another animal in the specified group of animals except the leading animal, where the loss message is generated when the second tag device receives the heartbeat message and when determining that a received signal strength indication RSSI value measured when the heartbeat message is received last N times satisfies a preset condition, N is a positive integer greater than 1;
and the uploading unit is used for uploading the wandering early warning information generated by the generating unit to a server for monitoring the specified social zooms.
7. The apparatus of claim 6,
the loss information includes at least one of:
the number information of the other animals and the identification information of the second tag device.
8. A loss warning apparatus for use with a second tag device worn on an animal other than a leading animal in a designated group of social animals, the apparatus comprising:
the receiving unit is used for receiving a heartbeat message broadcasted by first label equipment worn on the leading animal;
a generating unit, configured to generate a missing packet with missing information when it is determined that a received signal strength indication RSSI value measured when the heartbeat packet is received last N times satisfies a first preset condition, where N is a positive integer greater than 1;
the processing unit is used for broadcasting the lost message according to preset duration, and stopping broadcasting the lost message until the RSSI value measured when M heartbeat messages are continuously received meets a second preset condition, so that the first label equipment generates lost early warning information according to lost information carried in the lost message when receiving the lost message;
and the uploading unit is used for uploading the wandering early warning information generated by the processing unit to a server for monitoring the specified social zooms, wherein M is a positive integer larger than 1.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method of any one of claims 1-5.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to any of claims 1-5.
CN202011191927.XA 2020-10-30 2020-10-30 Method and device for early warning of loss, electronic equipment and storage medium Pending CN112383876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011191927.XA CN112383876A (en) 2020-10-30 2020-10-30 Method and device for early warning of loss, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011191927.XA CN112383876A (en) 2020-10-30 2020-10-30 Method and device for early warning of loss, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112383876A true CN112383876A (en) 2021-02-19

Family

ID=74577824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011191927.XA Pending CN112383876A (en) 2020-10-30 2020-10-30 Method and device for early warning of loss, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112383876A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642412A (en) * 2002-03-21 2005-07-20 特伦诺有限公司 A system and method for tracking individuals
CN200956193Y (en) * 2006-09-25 2007-10-03 四川大学 Anti-article-losing or person-missing alarm prompter
CN102842197A (en) * 2011-06-24 2012-12-26 深圳中兴力维技术有限公司 Alarming method, device and system
CN110503801A (en) * 2019-08-27 2019-11-26 武汉新视野风险管理科技有限公司 Positioning alarm system based on bluetooth cellular phone and digital communication location technology
KR20200022149A (en) * 2018-08-22 2020-03-03 주식회사 오지씨티 Crowd control system and method in large crowd
CN110874075A (en) * 2018-09-04 2020-03-10 山东大学 Device for collecting positions of herds in collecting mode
CN111145478A (en) * 2019-12-23 2020-05-12 航天科技控股集团股份有限公司 Loss alarm method for RFID equipment positioning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642412A (en) * 2002-03-21 2005-07-20 特伦诺有限公司 A system and method for tracking individuals
CN200956193Y (en) * 2006-09-25 2007-10-03 四川大学 Anti-article-losing or person-missing alarm prompter
CN102842197A (en) * 2011-06-24 2012-12-26 深圳中兴力维技术有限公司 Alarming method, device and system
KR20200022149A (en) * 2018-08-22 2020-03-03 주식회사 오지씨티 Crowd control system and method in large crowd
CN110874075A (en) * 2018-09-04 2020-03-10 山东大学 Device for collecting positions of herds in collecting mode
CN110503801A (en) * 2019-08-27 2019-11-26 武汉新视野风险管理科技有限公司 Positioning alarm system based on bluetooth cellular phone and digital communication location technology
CN111145478A (en) * 2019-12-23 2020-05-12 航天科技控股集团股份有限公司 Loss alarm method for RFID equipment positioning

Similar Documents

Publication Publication Date Title
CN110278543B (en) Method and device for updating control system of automobile and storage medium
US9183728B2 (en) Self-detection of lost device status using device-to-device communications with one or more expected neighboring devices
EP3491855B1 (en) Method and apparatus relating to v2x communication
CN111784380B (en) Advertisement putting attribution method and device
JP2016103257A (en) Drive recorder with communication module and drive recording method
CN105262979A (en) Method and device for multi-channel video playback
US20150094054A1 (en) Dropped call warning and prevention methods
US20100214415A1 (en) System and method for protecting and managing children using wireless communication network
CN112184519A (en) Travel monitoring method and device, electronic equipment and storage medium
CN103270742B (en) Method, devices, and system for delayed usage of identified content
CN110912807A (en) Information prompting method and device, electronic equipment and computer readable storage medium
CN106210011A (en) A kind of message prompt method and device
CN113052075A (en) Environment monitoring method, device, terminal and medium for pasture
CN112383876A (en) Method and device for early warning of loss, electronic equipment and storage medium
KR101867548B1 (en) A method of retrieving a user's context using a mobile device based on wireless signal characteristics
CN110719233A (en) Method and device for sending information
CN110083283B (en) Method, device and system for managing information
CN104022787A (en) Audio system used for audio stream transmission and related method
CN104022788A (en) Audio system for audio streaming transmission and associated method
WO2014198296A1 (en) Method and notifying unit for providing a notification about an event
KR102298732B1 (en) Method of transmitting broadcast contents of broadcasting equipment
CN115641037B (en) Method, apparatus, electronic device, computer medium and program product for receiving package
CN115577145B (en) Transportation information storage method, apparatus, electronic device, medium, and program product
CN110351713B (en) Method and device for processing information
US20240147203A1 (en) Server, communication system, and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219

RJ01 Rejection of invention patent application after publication