CN109729159B - Method and device for reminding loss of network equipment - Google Patents

Method and device for reminding loss of network equipment Download PDF

Info

Publication number
CN109729159B
CN109729159B CN201811554208.2A CN201811554208A CN109729159B CN 109729159 B CN109729159 B CN 109729159B CN 201811554208 A CN201811554208 A CN 201811554208A CN 109729159 B CN109729159 B CN 109729159B
Authority
CN
China
Prior art keywords
detection
message
user terminal
message sent
sending
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.)
Active
Application number
CN201811554208.2A
Other languages
Chinese (zh)
Other versions
CN109729159A (en
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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811554208.2A priority Critical patent/CN109729159B/en
Publication of CN109729159A publication Critical patent/CN109729159A/en
Application granted granted Critical
Publication of CN109729159B publication Critical patent/CN109729159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a method and a device for reminding loss of network equipment, the method is applied to an AP (access point) in a wireless network, the wireless network further comprises a detection source, the detection source is used for periodically sending a detection message, and the method comprises the following steps: and judging whether the detection message sent by the detection source is received again within the preset time after the detection message sent by the detection source is received last time, and if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal to remind the user of AP loss. Based on the above processing, when the AP is lost, the distance between the AP and the detection source is increased, so that the AP cannot receive the detection message sent by the detection source any more.

Description

Method and device for reminding loss of network equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for reminding a loss of a network device.
Background
With the rapid development of computer network technology, networks have an increasingly important role in people's lives, and accordingly, in order to meet the ever-increasing network demands of users, network service providers generally need to deploy various types of network devices in outdoor environments.
For example, a network service provider may respectively deploy Access Points (APs) at multiple locations, and the APs may establish a connection with a client to provide a wireless network service for the client. In addition, an Access Controller (AC) may be deployed, and the AC may perform unified management on each AP.
However, because the number of the network devices is large and the distribution range is wide, the network devices are easily stolen by malicious persons, and property loss is caused to network service providers, so a method for reminding the loss of the network devices and a user of the loss of the network devices are urgently needed.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for reminding a user of loss of network equipment, which can find and remind the user of loss of the network equipment in time. The specific technical scheme is as follows:
in a first aspect, to achieve the above object, an embodiment of the present application discloses a method for reminding a lost network device, where the method is applied to an AP in a wireless network, and the wireless network further includes a detection source, where the detection source is configured to periodically send a detection message, and the method includes:
judging whether the detection message sent by the detection source is received again within the preset time after the detection message sent by the detection source is received last time;
and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal to remind the user that the AP is lost.
Optionally, a backup battery is configured in the AP;
if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal, including:
and if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time and the AP obtains electric energy through the standby battery at present, sending a loss reminding message to the user terminal.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
when detecting that the AP obtains the electric energy in a mode except the standby battery, sending a first recovery reminding message to the user terminal, wherein the first recovery reminding message is used for reminding a user, and the AP obtains the electric energy in a mode except the standby battery at present.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
and when detecting that the AP obtains electric energy in a mode except the standby battery, sending the current position information of the AP to the user terminal.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
and when receiving a detection message sent by the detection source, sending a second recovery prompting message to the user terminal, wherein the second recovery prompting message is used for prompting a user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message carries the current position information of the AP.
Optionally, the method further includes:
receiving a state request message sent by the user terminal;
and sending the state information of the AP to the user terminal, wherein the state information is used for representing the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
Optionally, the loss reminding message carries the current location information of the AP.
In a second aspect, in order to achieve the above object, an embodiment of the present application discloses an apparatus for reminding that a network device is lost, where the apparatus is applied to an AP in a wireless network, the wireless network further includes a detection source, the detection source is configured to periodically send a detection message, and the apparatus includes:
the judging module is used for judging whether the detection message sent by the detection source is received again within the preset time length after the detection message sent by the detection source is received last time;
and the sending module is used for sending a loss reminding message to the user terminal to remind the user that the AP is lost if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time.
Optionally, a backup battery is configured in the AP;
the sending module is specifically configured to send a loss reminding message to the user terminal if the detection message sent by the detection source is not received again within a preset time after the detection message sent by the detection source is received last time and the AP obtains electric energy through the backup battery at present.
Optionally, the apparatus further comprises:
the first processing module is configured to send a first recovery prompting message to the user terminal when detecting that the AP obtains the electric energy in a manner other than the standby battery, where the first recovery prompting message is used to prompt a user, and the AP currently obtains the electric energy in a manner other than the standby battery.
Optionally, the apparatus further comprises:
and the second processing module is used for sending the current position information of the AP to the user terminal when detecting that the AP obtains electric energy in a mode except the standby battery.
Optionally, the apparatus further comprises:
and a third processing module, configured to send a second recovery prompting message to the user terminal when receiving a detection message sent by the detection source, where the second recovery prompting message is used to prompt a user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message carries current location information of the AP.
Optionally, the apparatus further comprises:
a fourth processing module, configured to receive a status request message sent by the user terminal;
and sending the state information of the AP to the user terminal, wherein the state information is used for representing the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
Optionally, the loss reminding message carries the current location information of the AP.
In a third aspect, in order to achieve the above object, the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of the first aspect when executing the program stored in the memory.
In a fourth aspect, to achieve the above object, the present application provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: the method steps of the first aspect are implemented.
In a fifth aspect, to achieve the above object, the present application provides a computer program product containing instructions, which when executed on a computer, causes the computer to perform the method steps of the first aspect.
The embodiment of the application provides a method and a device for reminding loss of network equipment, which are applied to an AP (access point) in a wireless network, wherein the wireless network further comprises a detection source, the detection source is used for periodically sending a detection message, the AP can judge whether the detection message sent by the detection source is received again within a preset time length after the detection message sent by the detection source is received last time, and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time, the AP sends a loss reminding message to a user terminal so as to remind the user of loss of the AP. Based on the above processing, when the AP is lost, the distance between the AP and the detection source is increased, so that the AP cannot receive the detection message sent by the detection source any more.
Of course, not all of the above advantages need be achieved in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for reminding a loss of a network device according to an embodiment of the present application;
fig. 2 is a flowchart of an example of a method for reminding that a network device is lost according to an embodiment of the present application;
fig. 3 is a structural diagram of a device for reminding that a network device is lost according to an embodiment of the present application;
fig. 4 is a structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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 application.
The embodiment of the application provides a method and a device for reminding the loss of network equipment, which can be applied to an AP (access point) in a wireless network, wherein the network to which the AP belongs can also comprise a detection source, and the detection source is used for periodically sending a detection message.
The detection source may be an AP, and the detection message may be a Beacon (Beacon) frame, or the detection source may also be a device that is preset to send a Beacon frame to the AP. Generally, when the distance between the AP and the detection source is greater than the reception range of the detection message, the AP cannot receive the detection message sent by the detection source. When the AP is stolen, the distance between the AP and the detection source is increased, so that the AP does not receive the detection message sent by the detection source again within the preset time length after receiving the detection message sent by the detection source last time, at the moment, the AP can send a loss reminding message to the user terminal, and the user AP can be found and reminded of being lost in time.
Referring to fig. 1, fig. 1 is a flowchart of a method for reminding a loss of a network device according to an embodiment of the present application, where the method may be applied to an AP in a wireless network, the network to which the AP belongs may further include a detection source, and the detection source is configured to periodically send a detection message, and the method may include the following steps:
s101: and judging whether the detection message sent by the detection source is received again within the preset time after the detection message sent by the detection source is received last time.
Wherein the preset duration can be set by a technician according to experience. In general, the preset time duration may be determined according to the time duration of the interval between the detection sources sending the detection messages. For example, if the interval duration of sending the detection message by the detection source is X, the preset duration may be 2X, or the preset duration may also be 3X, which is not limited in this embodiment of the application.
In the application embodiment, when the network device in the network is deployed, a technician may deploy the detection source in a preset range near the AP, so that the AP can receive the detection message sent by the detection source when the network is operating normally. The AP may determine whether to receive the detection message sent by the detection source again within a preset time length after receiving the detection message sent by the detection source last time.
In this step, the AP may start timing each time a detection message sent by the detection source is received, and then the AP may determine whether the detection message sent by the detection source will be received again before the timing duration reaches the preset duration.
S102: and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal to remind the user of AP loss.
The user terminal may be a terminal used by a technician to monitor the current state of the AP. For example, the user terminal may be an operation and maintenance platform of the network device.
The AP may be configured with an Internet of Things communication module, so that the AP may communicate with the ue through NB-IoT (Narrow B and Internet of Things) technology or Lora (Long Range Radio) technology. The user terminal may display the information carried in the loss alert message.
In the embodiment of the application, if the AP does not receive the detection message sent by the detection source again within the preset time length after receiving the detection message sent by the detection source last time, the AP may send a loss reminding message (which may be referred to as a first loss reminding message) to the user terminal to remind the user that the AP is lost.
In this step, if the timing duration reaches the preset duration, and the AP has not yet received the detection message sent by the detection source again, the AP may determine that the distance between the AP and the detection source is greater than the reception range of the detection message, that is, the AP is stolen, at this time, the AP may send a first loss prompt message to the user terminal, and correspondingly, the user terminal may display information carried in the first loss prompt message to prompt the user that the AP is lost.
In one example, the first loss alert message may carry an identifier of the AP, and the user terminal may display "AP lost".
Optionally, when the AP is lost, the AP may also report its own location information. Specifically, the first loss warning message may carry current location information of the AP.
The AP may be configured with a Positioning module, where the Positioning module may obtain location information of the AP through a GPS (Global Positioning System) technology or a beidou technology, and the location information may be a current physical coordinate of the AP.
In the application embodiment, if the AP does not receive the detection message sent by the detection source again within the preset time length after receiving the detection message sent by the detection source last time, the AP may send a first loss reminding message carrying the current location information of the AP to the user terminal, and correspondingly, the user terminal may display the information carried in the first loss reminding message.
In an example, the first loss notification message may carry an identifier of the AP and a current physical coordinate of the AP, and the user terminal may display "AP loss", and at the same time, the user terminal may also display the current physical coordinate of the AP.
In addition, after sending the first loss reminding message, the AP may also periodically send its own location information to the user terminal, so that the user may continuously obtain the location information of the AP.
Optionally, the AP may also remind the user that the AP receives the detection message again. Specifically, after the AP sends the first loss alert message to the user terminal, the method may further include the following steps:
and when receiving the detection message sent by the detection source, sending a second recovery reminding message to the user terminal.
The second recovery prompting message is used for prompting the user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message may carry the current location information of the AP.
In the embodiment of the application, after the AP sends the first loss reminding message due to a network failure or a human factor, the AP may receive the detection message sent by the detection source again, and at this time, the AP may send a recovery reminding message (i.e., a second recovery reminding message) to the user terminal to remind the user that the AP can receive the detection message sent by the detection source again, that is, remind the user that the AP currently recovers to a normal operating state.
In an example, the second recovery alert message may carry an identifier of the AP, and the user terminal may display "the AP received detection message".
When the AP receives the detection message again, it may also report its own location information. After the AP sends the first loss reminding message, if the AP receives the detection message sent by the detection source again, the AP may send the current location information of the AP to the user terminal, so that the user obtains the current location information of the AP.
In this step, the AP may also add the current location information of itself to the second recovery prompting message, and send the second recovery prompting message carrying the current location information of itself to the user terminal.
Optionally, in order to improve the accuracy of determining the AP loss, a backup battery may be further configured in the AP, and accordingly, S102 may include the following steps:
and if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time and the current AP obtains electric energy through the standby battery, sending a loss reminding message to the user terminal.
In general, the AP may obtain the electric energy through the network cable interface, and when the AP is configured with the backup battery, if the AP cannot obtain the electric energy through the network cable interface, the AP may obtain the electric energy through the backup battery. For example, when the AP is stolen, the thief disconnects the network cable of the AP, so that the AP cannot obtain the electric energy through the network cable interface, and at this time, the AP may obtain the electric energy through the backup battery.
In the application embodiment, if the AP does not receive the detection message sent by the detection source again within the preset time length after receiving the detection message sent by the detection source last time, and the AP detects that the AP obtains power through the backup battery at present, the AP may send a loss notification message (which may be referred to as a second loss notification message) to the user terminal to notify the user that the AP is lost.
In this step, if the timing duration reaches the preset duration, the AP still does not receive the detection message sent by the detection source again, and the AP detects that the AP obtains electric energy through the standby battery at present, the AP may determine that the distance between the AP and the detection source is greater than the reception range of the detection message, and the AP is disconnected from the network cable, that is, the AP is stolen, at this time, the AP may send a second loss reminding message to the user terminal, and correspondingly, the user terminal may display information carried in the second loss reminding message to remind the user of the AP loss.
In an example, the second loss alert message may carry an identifier of the AP, and the user terminal may display "AP lost".
Optionally, when the AP is lost, the AP may also report its own location information. Specifically, the second loss alert message may carry the current location information of the AP.
In the application embodiment, if the AP does not receive the detection message sent by the detection source again within the preset time length after receiving the detection message sent by the detection source last time, and the AP detects that the AP obtains electric energy through the backup battery at present, the AP may send a second loss reminding message carrying the current position information of the AP to the user terminal, and correspondingly, the user terminal may display information carried in the second loss reminding message.
In an example, the second loss notification message may carry an identifier of the AP and a current physical coordinate of the AP, and the user terminal may display "AP loss", and at the same time, the user terminal may also display the current physical coordinate of the AP.
In addition, after sending the second loss reminding message, the AP may also periodically send its own location information to the user terminal, so that the user may continuously obtain the location information of the AP.
Optionally, the AP may also remind the user that the AP no longer obtains power through the backup battery. Specifically, after the AP sends the second loss alert message to the user terminal, the method may further include the following steps:
and when detecting that the AP obtains the electric energy in a mode except for the standby battery, sending a first recovery reminding message to the user terminal.
The first recovery reminding message is used for reminding the user, and the AP obtains electric energy currently in a mode except for the standby battery.
In the application embodiment, after sending the second loss reminding message, when the AP detects that the AP obtains the electric energy by a method other than the standby battery, the AP may send a recovery reminding message (i.e., the first recovery reminding message) to the user terminal to remind the user that the AP obtains the electric energy by a method other than the standby battery. The first recovery prompting message may carry an identifier of a mode in which the AP acquires the electric energy, for example, a field indicating the mode in which the AP acquires the electric energy in the first recovery prompting message is "1", may indicate that the AP acquires the electric energy through the backup battery, and a field indicating the mode in which the AP acquires the electric energy is "0", and may indicate that the AP acquires the electric energy through a mode other than the backup battery.
In one example, after sending the second loss reminding message, when the AP detects that the AP obtains the electric energy by a method other than the standby battery, the AP may send a first recovery reminding message to the user terminal, where a field indicating the method of obtaining the electric energy in the first recovery reminding message is "0" to remind the user AP of obtaining the electric energy by a method other than the standby battery.
Optionally, when the AP detects that it obtains power by a method other than the backup battery, it may report its location information. Specifically, after the AP sends the second loss alert message to the user terminal, the method may further include the following steps:
and when detecting that the AP obtains the electric energy in a mode except for the standby battery, sending the current position information of the AP to the user terminal.
In the application embodiment, after the AP sends the second loss reminding message, if it is detected that the AP obtains the power by a method other than the standby battery, the AP may send the current location information of the AP to the user terminal, so that the user obtains the current location information of the AP.
In this step, the AP may add its current location information to the first recovery warning message, and send the first recovery warning message carrying its current location information to the user terminal; alternatively, the AP may directly transmit its current location information to the user terminal. The embodiment of the present application is not limited to a manner in which the AP sends its current location information to the user terminal.
In addition, after sending the second loss reminding message, if the detection message sent by the detection source is received again, the AP may also send a second recovery reminding message to the user terminal to remind the user to receive the detection message sent by the detection source again.
Optionally, the query of the user for the state information of the AP may also be implemented. Specifically, the method may comprise the steps of:
step one, receiving a state request message sent by a user terminal.
In the application embodiment, the user can inquire the state information of the AP at any time. The user can send the status request message to the AP through the user terminal, and correspondingly, the AP can receive the status request message. The status request message may be used to request to acquire the current location information of the AP, or to request to acquire the current power acquisition mode of the AP, or to request to acquire the current location information of the AP and the current power acquisition mode of the AP.
And step two, sending the state information of the AP to the user terminal.
The state information is used for indicating the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
In the application embodiment, after receiving the status request message, the AP may send the current status information of the AP to the user terminal, and correspondingly, the user terminal may display the current status information of the AP for the user to browse.
In this step, the status information sent by the AP may carry current location information of the AP, or the status information sent by the AP may carry a current power obtaining mode of the AP, or the status information sent by the AP may carry current location information of the AP and a current power obtaining mode of the AP, and specifically, information carried in the status information sent by the AP may be determined according to the status request message.
Referring to fig. 2, fig. 2 is a flowchart of an example of a method for reminding that a network device is lost according to an embodiment of the present application, where the method may be applied to an AP, a wireless network to which the AP belongs may further include a detection source, and the detection source is configured to periodically send a detection message, and the method may include the following steps:
s201: and receiving a detection message sent by a detection source.
S202: and judging whether the detection message sent by the detection source is received again within the preset time length, and if not, executing S203.
S203: and judging whether the electric energy is acquired through the standby battery at present, and if so, executing S204.
S204: and sending a loss reminding message carrying the current position information and the identifier of the electric energy obtaining mode to the user terminal.
S205: and when detecting that the electric energy is obtained in a mode except for the standby battery, sending a first recovery reminding message to the user terminal.
The first recovery reminding message is used for reminding the user, and the AP obtains electric energy currently in a mode except for the standby battery. The first recovery reminding message may also carry current location information of the AP.
S206: and when receiving the detection message sent by the detection source, sending a second recovery reminding message to the user terminal.
And the second recovery reminding message is used for reminding the user, and the AP receives the detection message sent by the detection source again. The second recovery prompting message may also carry the current location information of the AP.
S207: and when receiving the state request message sent by the user terminal, sending the state information of the AP to the user terminal.
Therefore, based on the method for reminding loss of network equipment in the embodiment of the application, the AP may judge whether the detection message sent by the detection source is received again within the preset time length after the detection message sent by the detection source is received last time, and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time and the AP currently obtains electric energy through the backup battery, the AP sends a loss reminding message to the user terminal to remind the user of loss of the AP. Based on the processing, when the AP is lost, the distance between the AP and the detection source is increased, so that the AP can not receive the detection message sent by the detection source any more, and the AP can only obtain electric energy through the standby battery, at the moment, the AP can send a loss reminding message to the user terminal, and the AP loss of the user can be found and reminded in time.
Corresponding to the method embodiment of fig. 1, referring to fig. 3, fig. 3 is a structural diagram of an apparatus for reminding of network device loss according to an embodiment of the present application, where the apparatus may be applied to an AP in a wireless network, and the wireless network to which the AP belongs may further include a detection source, where the detection source is configured to periodically send a detection message, and the apparatus may include:
a judging module 301, configured to judge whether the detection message sent by the detection source is received again within a preset time length after the detection message sent by the detection source is received last time;
a sending module 302, configured to send a loss reminding message to a user terminal to remind a user that the AP is lost if the detection message sent by the detection source is not received again within a preset time length after the detection message sent by the detection source is received last time.
Optionally, a backup battery is configured in the AP;
the sending module 302 is specifically configured to send a loss reminding message to the user terminal if the detection message sent by the detection source is not received again within a preset time after the detection message sent by the detection source is received last time and the AP obtains electric energy through the backup battery at present.
Optionally, the apparatus further comprises:
the first processing module is configured to send a first recovery prompting message to the user terminal when detecting that the AP obtains the electric energy in a manner other than the standby battery, where the first recovery prompting message is used to prompt a user, and the AP currently obtains the electric energy in a manner other than the standby battery.
Optionally, the apparatus further comprises:
and the second processing module is used for sending the current position information of the AP to the user terminal when detecting that the AP obtains electric energy in a mode except the standby battery.
Optionally, the apparatus further comprises:
and a third processing module, configured to send a second recovery prompting message to the user terminal when receiving a detection message sent by the detection source, where the second recovery prompting message is used to prompt a user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message carries current location information of the AP.
Optionally, the apparatus further comprises:
a fourth processing module, configured to receive a status request message sent by the user terminal;
and sending the state information of the AP to the user terminal, wherein the state information is used for representing the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
Optionally, the loss reminding message carries the current location information of the AP.
Therefore, based on the device for reminding the loss of the network device in the embodiment of the application, the AP may judge whether the detection message sent by the detection source is received again within the preset time length after the detection message sent by the detection source is received last time, and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time, the AP sends a loss reminding message to the user terminal to remind the user of the loss of the AP. Based on the above processing, when the AP is lost, the distance between the AP and the detection source is increased, so that the AP cannot receive the detection message sent by the detection source any more.
The embodiment of the present application further provides an electronic device, as shown in fig. 4, which includes a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404,
a memory 403 for storing a computer program;
a processor 401, configured to execute the program stored in the memory 403, so as to enable the electronic device to perform the steps of the method for reminding that the network device is lost, where the method includes:
judging whether the detection message sent by the detection source is received again within the preset time after the detection message sent by the detection source is received last time;
and if the detection message sent by the detection source is not received again within the preset time length after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal to remind the user that the AP is lost.
Optionally, a backup battery is configured in the AP;
if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time, sending a loss reminding message to the user terminal, including:
and if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time and the AP obtains electric energy through the standby battery at present, sending a loss reminding message to the user terminal.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
when detecting that the AP obtains the electric energy in a mode except the standby battery, sending a first recovery reminding message to the user terminal, wherein the first recovery reminding message is used for reminding a user, and the AP obtains the electric energy in a mode except the standby battery at present.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
and when detecting that the AP obtains electric energy in a mode except the standby battery, sending the current position information of the AP to the user terminal.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
and when receiving a detection message sent by the detection source, sending a second recovery prompting message to the user terminal, wherein the second recovery prompting message is used for prompting a user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message carries the current position information of the AP.
Optionally, after sending the loss alert message to the user terminal, the method further includes:
and when receiving the detection message sent by the detection source, sending the current position information of the AP to the user terminal.
Optionally, the method further includes:
receiving a state request message sent by the user terminal;
and sending the state information of the AP to the user terminal, wherein the state information is used for representing the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
Optionally, the loss reminding message carries the current location information of the AP.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment provided by the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of any one of the above methods for reminding that a network device is lost.
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for reminding that any network device is lost in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (8)

1. A method for reminding loss of network equipment is applied to an Access Point (AP) in a wireless network, wherein a standby battery is configured in the AP, the wireless network further comprises a detection source, and the detection source is used for periodically sending a detection message, and the method comprises the following steps:
judging whether the detection message sent by the detection source is received again within the preset time after the detection message sent by the detection source is received last time;
if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time and the current AP obtains electric energy through the standby battery, sending a loss reminding message to a user terminal to remind a user that the AP is lost;
and when detecting that the AP obtains electric energy in a mode except the standby battery, sending the current position information of the AP to the user terminal.
2. The method of claim 1, wherein after the sending the loss alert message to the user terminal, the method further comprises:
when detecting that the AP obtains the electric energy in a mode except the standby battery, sending a first recovery reminding message to the user terminal, wherein the first recovery reminding message is used for reminding a user, and the AP obtains the electric energy in a mode except the standby battery at present.
3. The method of claim 1, wherein after the sending the loss alert message to the user terminal, the method further comprises:
and when receiving a detection message sent by the detection source, sending a second recovery prompting message to the user terminal, wherein the second recovery prompting message is used for prompting a user, the AP receives the detection message sent by the detection source again, and the second recovery prompting message carries the current position information of the AP.
4. The method of claim 1, further comprising:
receiving a state request message sent by the user terminal;
and sending the state information of the AP to the user terminal, wherein the state information is used for representing the current position of the AP and/or the current mode of acquiring the electric energy by the AP.
5. The method according to any of claims 1-4, wherein the loss alert message carries current location information of the AP.
6. The utility model provides a reminding device that network equipment loses, its characterized in that, the device is applied to the access point AP in the wireless network, dispose battery backup in the AP, the wireless network still includes the detection source, the detection source is used for sending the detection message periodically, the device includes:
the judging module is used for judging whether the detection message sent by the detection source is received again within the preset time length after the detection message sent by the detection source is received last time;
and the sending module is used for sending a loss reminding message to the user terminal to remind the user that the AP is lost if the detection message sent by the detection source is not received again within the preset time after the detection message sent by the detection source is received last time and the AP obtains electric energy through the standby battery at present, and sending the current position information of the AP to the user terminal when the AP is detected to obtain the electric energy through a mode except the standby battery.
7. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implementing the method steps of any of claims 1-5.
8. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 5.
CN201811554208.2A 2018-12-19 2018-12-19 Method and device for reminding loss of network equipment Active CN109729159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811554208.2A CN109729159B (en) 2018-12-19 2018-12-19 Method and device for reminding loss of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811554208.2A CN109729159B (en) 2018-12-19 2018-12-19 Method and device for reminding loss of network equipment

Publications (2)

Publication Number Publication Date
CN109729159A CN109729159A (en) 2019-05-07
CN109729159B true CN109729159B (en) 2021-11-26

Family

ID=66296817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811554208.2A Active CN109729159B (en) 2018-12-19 2018-12-19 Method and device for reminding loss of network equipment

Country Status (1)

Country Link
CN (1) CN109729159B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602339B (en) * 2019-08-29 2021-04-20 深圳震有科技股份有限公司 Fault detection method, system and storage medium based on voice gateway
CN114221894B (en) * 2021-12-27 2024-01-26 中科海微(北京)科技有限公司 Anti-loss system and anti-loss method for networking of Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572858A (en) * 2009-06-23 2009-11-04 杭州华三通信技术有限公司 Security detection method of network equipment and device thereof
CN102571163A (en) * 2011-12-21 2012-07-11 上海合合信息科技发展有限公司 Method and system for detecting stealing of communication equipment
CN102905299A (en) * 2012-10-23 2013-01-30 三维通信股份有限公司 Method for carrying out automatic monitoring and abnormality alarming on wireless APs (Access Points) by user behavior simulation
CN105608816A (en) * 2016-01-21 2016-05-25 珠海格力电器股份有限公司 Antitheft method, antitheft device, antitheft system and terminal device
CN106910307A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Terminal anti-theft method, equipment and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10276038B2 (en) * 2016-03-18 2019-04-30 Mark Hastings Remote notification system for medical devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572858A (en) * 2009-06-23 2009-11-04 杭州华三通信技术有限公司 Security detection method of network equipment and device thereof
CN102571163A (en) * 2011-12-21 2012-07-11 上海合合信息科技发展有限公司 Method and system for detecting stealing of communication equipment
CN102905299A (en) * 2012-10-23 2013-01-30 三维通信股份有限公司 Method for carrying out automatic monitoring and abnormality alarming on wireless APs (Access Points) by user behavior simulation
CN106910307A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Terminal anti-theft method, equipment and terminal
CN105608816A (en) * 2016-01-21 2016-05-25 珠海格力电器股份有限公司 Antitheft method, antitheft device, antitheft system and terminal device

Also Published As

Publication number Publication date
CN109729159A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
US9419733B2 (en) Effective broadcasting of emergency messages
CN106557407B (en) Method and device for monitoring equipment load
US20130055271A1 (en) Apparatus and method for controlling polling
US20100122110A1 (en) Method and apparatus for managing advertising-enabled applications
TWI536787B (en) Secure geo-location of a computing resource
US20150222672A1 (en) Situational crowd-sourced response system
CN114666740A (en) Method and device for determining position of terminal device
US9596313B2 (en) Method, terminal, cache server and system for updating webpage data
CN106658568B (en) Method and equipment for providing available wireless access point information
US8504065B2 (en) System and method for tracking a mobile telecommunication apparatus
WO2021254261A1 (en) Device positioning method and apparatus
CN109729159B (en) Method and device for reminding loss of network equipment
CN112311824A (en) Attendance information processing method and related device
CN109816830B (en) Unlocking method and device
CN111263338A (en) Network distribution method of Bluetooth Mesh network and related network distribution equipment and system
JP2016184306A (en) Protection support system, protection support server, and protection terminal
CN113014640B (en) Request processing method, request processing device, electronic equipment and storage medium
JP2016523054A (en) User notification method, user notification device, program, and recording medium
CN104125130B (en) A kind of safety prompt function method, device and communication system
CN109600738B (en) User information updating method, device, equipment and storage medium
CN109088800B (en) Intelligent equipment state monitoring method and system
CN108990025B (en) Internet of things communication method and device
CN105577466B (en) A kind of determination method and device of network environment
EP2654354B1 (en) Providing a current position while reducing an overall power consumption
CN105163335B (en) A kind of network access management method, server, mobile terminal and system

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
GR01 Patent grant
GR01 Patent grant