CN110254572B - Battery anti-theft method, battery and computer readable storage medium - Google Patents

Battery anti-theft method, battery and computer readable storage medium Download PDF

Info

Publication number
CN110254572B
CN110254572B CN201910654597.4A CN201910654597A CN110254572B CN 110254572 B CN110254572 B CN 110254572B CN 201910654597 A CN201910654597 A CN 201910654597A CN 110254572 B CN110254572 B CN 110254572B
Authority
CN
China
Prior art keywords
battery
alarm
preset
time length
server
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
CN201910654597.4A
Other languages
Chinese (zh)
Other versions
CN110254572A (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.)
Shenzhen Shengwei Zhilian Technology Co ltd
Original Assignee
Shenzhen Shengwei Zhilian Technology 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 Shenzhen Shengwei Zhilian Technology Co ltd filed Critical Shenzhen Shengwei Zhilian Technology Co ltd
Priority to CN201910654597.4A priority Critical patent/CN110254572B/en
Publication of CN110254572A publication Critical patent/CN110254572A/en
Application granted granted Critical
Publication of CN110254572B publication Critical patent/CN110254572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62HCYCLE STANDS; SUPPORTS OR HOLDERS FOR PARKING OR STORING CYCLES; APPLIANCES PREVENTING OR INDICATING UNAUTHORIZED USE OR THEFT OF CYCLES; LOCKS INTEGRAL WITH CYCLES; DEVICES FOR LEARNING TO RIDE CYCLES
    • B62H5/00Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles
    • B62H5/001Preventing theft of parts or accessories used on cycles, e.g. lamp, dynamo
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62HCYCLE STANDS; SUPPORTS OR HOLDERS FOR PARKING OR STORING CYCLES; APPLIANCES PREVENTING OR INDICATING UNAUTHORIZED USE OR THEFT OF CYCLES; LOCKS INTEGRAL WITH CYCLES; DEVICES FOR LEARNING TO RIDE CYCLES
    • B62H5/00Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles
    • B62H5/20Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles indicating unauthorised use, e.g. acting on signalling devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Alarm Systems (AREA)

Abstract

The battery anti-theft method disclosed by the invention judges whether the battery meets a first preset condition; if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area. In addition, the invention also discloses a battery and a computer readable storage medium. Therefore, no matter whether the GPS burglar alarm is lost or not, the battery anti-theft method provided by the invention can send out an alarm under the condition that the battery is possibly stolen, so that the probability that the battery is stolen can be effectively reduced.

Description

Battery anti-theft method, battery and computer readable storage medium
Technical Field
The invention relates to the technical field of battery theft prevention, in particular to a battery theft prevention method, a battery and a computer readable storage medium.
Background
With the continuous development and popularization of the internet of things technology, the sharing economy makes full use of the internet of things technology, great convenience is provided for people, and the sharing battery is used as a concrete expression form of the sharing economy and also brings great convenience for people to go out.
The electric vehicle is used as a common travel tool, the application is wide, the price of the battery on the electric vehicle is relatively high, and the battery on the electric vehicle becomes a theft target of a thief. At present, a plurality of electric vehicles are provided with a GPS (global positioning System) burglar alarm, the GPS burglar alarm needs to be connected with a battery for power supply, and once the GPS burglar alarm is damaged or removed, the GPS burglar alarm fails, and the battery cannot be located and tracked.
Therefore, in the prior art, under the condition that the GPS burglar alarm is damaged or removed, the anti-theft alarm of the battery cannot be realized.
Disclosure of Invention
In view of the above, the present invention provides a battery anti-theft method, a battery and a computer readable storage medium to solve the above technical problems.
Firstly, in order to achieve the above object, the present invention provides a battery anti-theft method, which is applied to a battery, and the method includes:
judging whether the battery meets a first preset condition or not;
if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm;
wherein the first preset condition comprises at least one of:
the battery receives a loss alarm request sent by a server;
the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
Optionally, the method further comprises:
and if the battery meets a second preset condition, controlling the alarm device to stop giving an alarm.
Optionally, the method further comprises:
and if the battery meets the first preset condition, forbidding the battery to charge and discharge.
Optionally, the method further comprises:
and if the battery meets a second preset condition, allowing the battery to be charged and discharged.
Optionally, the second preset condition comprises at least one of:
receiving an alarm releasing request sent by the server;
after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection;
the battery is in a preset area.
Optionally, before determining whether the battery meets the first preset condition, the method further includes:
and receiving the preset time length and the preset area sent by the server, and storing the received preset time length and the received preset area to the local, wherein the preset time length and the preset area are set by the server.
Optionally, the battery includes a battery management module and a communication module, and determining whether the battery is disconnected from the network includes:
if the network connection between the communication module and the server is disconnected, determining that the battery is disconnected from the network connection;
and/or determining that the battery is disconnected from the network if the network connection between the battery management module and the communication module is disconnected.
Optionally, the alarm device includes a speaker and/or an alarm lamp, and the alarm device for controlling the battery gives an alarm, including:
controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash.
Further, to achieve the above object, the present invention also provides a battery including a memory, at least one processor, and at least one program stored on the memory and executable on the at least one processor, the at least one program implementing the steps of the method of any one of the above when executed by the at least one processor.
Further, to achieve the above object, the present invention provides a computer-readable storage medium storing at least one program executable by a computer, wherein the at least one program, when executed by the computer, causes the computer to perform the steps of the method of any one of the above.
Compared with the prior art, the battery anti-theft method provided by the invention judges whether the battery meets a first preset condition; if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area. Therefore, no matter whether the GPS burglar alarm is lost or not, the battery anti-theft method provided by the invention can send out an alarm under the condition that the battery is possibly stolen, so that the probability that the battery is stolen can be effectively reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware configuration of a battery implementing various embodiments of the present invention;
fig. 2 is a communication network system architecture diagram provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a battery anti-theft method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a connection structure provided by an embodiment of the present invention;
fig. 5 is a second schematic flow chart of the battery anti-theft method according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a battery for implementing various embodiments of the present invention, the battery 100 includes a battery pack 10, a battery management module 20, a communication module 30, and an alarm device 40. The battery pack 10 is electrically connected to the battery management module 20, the communication module 30 and the alarm device 40, respectively, and the electrical connection between the battery pack 10 and the communication module 30 and the alarm device 40 may only include an electrical signal connection. The battery management module 20 is electrically connected to the communication module 30 and the alarm device 40, respectively, and the electrical connection between the battery management module 20 and the communication module 30 and the alarm device 40 may only include communication signal connection for realizing data transmission, or may further include electrical signal connection. The communication module 30 may also be electrically connected to the alarm device 40, and the connection between the communication module 30 and the alarm device 40 may include an electrical signal connection and/or a communication signal connection.
The battery pack 10 is used for supplying power to the battery management module 20, the communication module 30 and the alarm device 40, and when the battery 100 is connected with an electric vehicle, the battery pack 10 is also used for supplying power to the electric vehicle. The battery management module 20 is used for managing the battery 100, for example, controlling the communication module 30 and the alarm device 40, and/or for allowing or prohibiting the charging and discharging functions of the battery pack 10. The communication module 30 is used to implement a communication connection between the battery 100 and other devices, for example, a communication connection between the battery 100 and a server or a client. The alarm device 40 can issue an alarm or stop issuing an alarm under the control of the battery management module 20.
It is understood that the battery 100 may include a memory for storing data related to the battery 100 and a processor for implementing control of the battery 100. The memory and/or the processor may or may not be included components of the battery management module 20.
In practice, the battery 100 may further include a housing, which may be made of metal, such as iron. Two windows may be opened on the housing for placing the antenna of the communication module 30 and the alarm device 40. In some embodiments of the present invention, a plastic cover may be disposed at each window for waterproofing the battery 100. The alarm device 40 may include a horn and an alarm lamp.
Although not shown in fig. 1, the battery management apparatus may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the battery management apparatus of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the battery 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN GateWay) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above-mentioned hardware structure of the battery 100 and the communication network system, various embodiments of the method of the present invention are proposed.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a battery anti-theft method according to an embodiment of the present invention, where the method is applied to a battery, and as shown in fig. 3, the method includes:
step 301, judging whether the battery meets a first preset condition; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
In this step, the battery determines whether a first preset condition is met, where the first preset condition may include that the battery receives a loss alarm request sent by the server, or may include that a duration of disconnection of the network from the battery is longer than a preset duration, and the battery is not in a preset area.
The battery may determine whether the first preset condition is satisfied at preset time intervals, and may also detect whether the first preset condition is satisfied when the battery detects that the preset trigger condition is satisfied, for example, the preset trigger condition may include that the battery disconnects the network connection, and if the battery disconnects the network connection, the battery further determines whether a duration of disconnecting the network connection is greater than a preset duration. In this embodiment of the present invention, the preset time duration may be a time duration preconfigured for the battery by the server, for example, the preset time duration may be 12 hours or 24 hours, and this is not specifically limited in this embodiment of the present invention.
When the first preset condition includes that the battery receives a loss alarm request sent by a server, the anti-theft process may be actively triggered by a user, and assuming that in this case, the battery 100 still maintains a network connection with the server, as shown in fig. 4, the battery 100 establishes a network connection with the server 200, and the server 200 establishes a network connection with the client 300. Specifically, after the user completes the login operation through the client, if the battery is lost, the loss alarm request carrying the identification information of the battery may be sent to the server, and after receiving the loss alarm request, the server forwards the loss alarm request to the battery corresponding to the identification information.
It should be noted that, the loss alarm request may be initiated after the user completes the login operation through the client, and the battery may send a login request message carrying the identification information of the battery to the server through the communication module when the server completes the login. The user can send a login request carrying account information to the server through the client, send a correlation request carrying identification information of the battery to the server after login is successful, and the server correlates the battery and the account information according to the correlation request and returns a correlation response message to the client for indicating the successfully correlated battery information (such as battery identification information, battery model and the like). After receiving the association response message, the client may display the battery information with successful association in an interface. The client can acquire the identification information of the battery by scanning the two-dimensional code on the battery, and also can acquire the identification information of the battery by establishing data connection (such as Bluetooth, WiFi, infrared, data line connection and the like) with the battery.
In some embodiments, after the login of the battery is completed, the location information of the battery may be reported to the server, and the server stores the location information of the battery. The battery can acquire the position information thereof by any one of the following modes: WiFi network positioning, base station positioning, GPS positioning and Beidou positioning. The battery may send updated location information to the server when the location information changes, or may send location information of the battery to the server when receiving a location information acquisition request sent by the server. The server can acquire the position information of the battery and send a loss alarm response message carrying the position information of the battery to the client after receiving the loss alarm request sent by the client, so that a user can conveniently find the battery according to the position information, the client can display a map marking the position information on a user interface after receiving the position information, and the user can conveniently and quickly determine the position of the lost battery according to the map.
For the account registration of the user, the user may perform account registration through the client, specifically, the server sends a registration request carrying personal related information (e.g., a mobile phone number, a name, an account, a password, etc.) to the server, and the server completes the account registration after receiving the registration request and returns a registration success message to the client. The server may send a login success message to the client after each successful login of the client, for indicating successful login.
And the first preset condition comprises that the time length of the network connection disconnection of the battery is longer than the preset time length and the battery is not in the preset area, and the anti-theft process is actively triggered by the battery. In this case, the battery triggers detection of whether the first preset condition is satisfied when detecting that the battery itself is disconnected from the network. The battery can judge whether the battery is disconnected from the network by detecting the network connection condition between the communication module and the server and/or detecting the network connection condition between the battery management module and the communication module.
And step 302, if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm.
In this step, if the battery meets the first preset condition, the battery controls an alarm device to give an alarm. The alarm may include at least one of sound and light, the alarm device may include a horn and/or an alarm lamp, and the manner for controlling the alarm device to issue the alarm may specifically include: controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash. Therefore, the lost battery can be conveniently found by the user through the alarm sent by the alarm device, in addition, the attention of people can be attracted by controlling the alarm device to send the alarm, and the battery loss rate is reduced.
In this embodiment, the battery anti-theft method determines whether the battery meets a first preset condition; if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area. Therefore, no matter whether the GPS burglar alarm is lost or not, the battery anti-theft method provided by the invention can send out an alarm under the condition that the battery is possibly stolen, so that the probability that the battery is stolen can be effectively reduced.
Optionally, the method further comprises:
and if the battery meets a second preset condition, controlling the alarm device to stop giving an alarm.
In this embodiment, the battery further determines whether a second preset condition is met, and if the battery meets the second preset condition, it indicates that the battery may be retrieved, and controls the alarm device to stop sending an alarm. The second preset condition may include at least one of: receiving an alarm releasing request sent by the server; after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection; the battery is in a preset area.
Optionally, before determining whether the battery meets the first preset condition, the method further includes:
and receiving the preset time length and the preset area sent by the server, and storing the received preset time length and the received preset area to the local, wherein the preset time length and the preset area are set by the server.
Optionally, the preset area comprises at least one of:
battery rental locations, battery warehouses, and battery maintenance locations.
It is understood that the location of a large number of batteries at a battery rental point, battery warehouse, or battery service point may cause network congestion and that a worker may actively disconnect the network connection for the batteries. In this embodiment, the battery is not determined to be in a lost state when the network connection is disconnected when the battery is in the preset areas. Of course, the preset area may also be other preset areas, such as an area that allows the disconnection of the network connection and is preset by an administrator, and the preset area is merely an example and is not limited thereto.
Optionally, the battery includes a battery management module and a communication module, and determining whether the battery is disconnected from the network includes:
if the network connection between the communication module and the server is disconnected, determining that the battery is disconnected from the network connection;
and/or determining that the battery is disconnected from the network if the network connection between the battery management module and the communication module is disconnected.
In this embodiment, if the network connection between the communication module and the server is disconnected, it is determined that the battery is disconnected from the network connection, and/or if the network connection between the battery management module and the communication module is disconnected, it is determined that the battery is disconnected from the network connection. It is understood that when the communication module of the battery is broken or removed, the communication module is disconnected from the battery management module, and in this embodiment, in the case that the network connection between the battery management module and the communication module is disconnected, the battery is determined to be disconnected from the network.
Optionally, the alarm device includes a speaker and/or an alarm lamp, and the alarm device for controlling the battery gives an alarm, including:
controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash.
Referring to fig. 5, fig. 5 is a second schematic flow chart of a battery anti-theft method according to an embodiment of the present invention, where the battery anti-theft method is applied to a battery 5, as shown in fig. 5, the method includes:
step 501, judging whether the battery meets a first preset condition; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
This step 501 is the same as step 301 in the embodiment shown in fig. 3, and is not described here again.
Step 502, if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm and prohibiting the battery from charging and discharging.
In this step, if the battery meets the first preset condition, the battery controls the alarm device to send an alarm, and the battery is prohibited from charging and discharging, so that a thief cannot normally use the battery after stealing the battery.
The first preset condition includes that a loss alarm request sent by the server is received, and the loss alarm request may carry a charge/discharge prohibition instruction for instructing the battery to close the charge/discharge function. In some embodiments, the server may further close the charge/discharge prohibition instruction to the battery after sending the loss alarm request, so as to instruct the battery to close the charge/discharge function. For the situation that the battery actively triggers the anti-theft process, the battery can automatically forbid the self charge and discharge function under the condition that the battery is determined to meet the first preset condition.
In this embodiment, the battery anti-theft method determines whether the battery meets a first preset condition; if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm; wherein the first preset condition comprises at least one of: the battery receives a loss alarm request sent by a server; the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area. Therefore, no matter whether the GPS burglar alarm is lost or not, the battery anti-theft method provided by the invention can send out an alarm under the condition that the battery is possibly stolen, and forbids the battery to be charged and discharged, so that the stolen battery cannot be normally used, and the probability of battery theft can be effectively reduced.
Optionally, the method further comprises:
and if the battery meets a second preset condition, allowing the battery to be charged and discharged.
Optionally, the second preset condition comprises at least one of:
receiving an alarm releasing request sent by the server;
after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection;
the battery is in a preset area.
It can be understood that, for the case where the user actively triggers the anti-theft process, if the user retrieves the lost battery, the warning removal request carrying the identification information of the battery may be sent to the server through the client, and after receiving the warning removal request, the server sends the warning removal request to the battery corresponding to the identification information. After the battery receives the alarm releasing request, the battery is controlled to be allowed to be charged and discharged, so that the battery can be normally used.
Similarly, for the first preset condition that the time length for disconnecting the network connection of the battery is longer than the preset time length and the battery is not in the preset area, if the time length for disconnecting the network connection of the battery is longer than the preset time length, the network connection of the battery is recovered, or the battery is in the preset area, and the battery allows the battery to be charged and discharged.
Those skilled in the art will appreciate that all or part of the steps of the method according to the above embodiments may be implemented by hardware associated with at least one program instruction, where the at least one program may be stored in a memory (not shown) of the battery 100 shown in fig. 1 and may be executed by a processor (not shown) of the battery 100, and when executed by the processor, the at least one program implements the following steps:
judging whether the battery meets a first preset condition or not;
if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm;
wherein the first preset condition comprises at least one of:
the battery receives a loss alarm request sent by a server;
the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
Optionally, the method further comprises:
and if the battery meets a second preset condition, controlling the alarm device to stop giving an alarm.
Optionally, the method further comprises:
and if the battery meets the first preset condition, forbidding the battery to charge and discharge.
Optionally, the method further comprises:
and if the battery meets a second preset condition, allowing the battery to be charged and discharged.
Optionally, the second preset condition comprises at least one of:
receiving an alarm releasing request sent by the server;
after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection;
the battery is in a preset area.
Optionally, before determining whether the battery meets the first preset condition, the method further includes:
and receiving the preset time length and the preset area sent by the server, and storing the received preset time length and the received preset area to the local, wherein the preset time length and the preset area are set by the server.
Optionally, the preset area comprises at least one of:
battery rental locations, battery warehouses, and battery maintenance locations.
Optionally, the battery includes a battery management module and a communication module, and determining whether the battery is disconnected from the network includes:
if the network connection between the communication module and the server is disconnected, determining that the battery is disconnected from the network connection;
and/or determining that the battery is disconnected from the network if the network connection between the battery management module and the communication module is disconnected.
Optionally, the alarm device includes a speaker and/or an alarm lamp, and the alarm device for controlling the battery gives an alarm, including:
controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash.
It will be understood by those skilled in the art that all or part of the steps of the method for implementing the above embodiments may be implemented by hardware associated with at least one program instruction, the at least one program may be stored in a computer readable storage medium, and when executed, the at least one program may comprise the steps of:
judging whether the battery meets a first preset condition or not;
if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm;
wherein the first preset condition comprises at least one of:
the battery receives a loss alarm request sent by a server;
the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
Optionally, the method further comprises:
and if the battery meets a second preset condition, controlling the alarm device to stop giving an alarm.
Optionally, the method further comprises:
and if the battery meets the first preset condition, forbidding the battery to charge and discharge.
Optionally, the method further comprises:
and if the battery meets a second preset condition, allowing the battery to be charged and discharged.
Optionally, the second preset condition comprises at least one of:
receiving an alarm releasing request sent by the server;
after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection;
the battery is in a preset area.
Optionally, before determining whether the battery meets the first preset condition, the method further includes:
and receiving the preset time length and the preset area sent by the server, and storing the received preset time length and the received preset area to the local, wherein the preset time length and the preset area are set by the server.
Optionally, the preset area comprises at least one of:
battery rental locations, battery warehouses, and battery maintenance locations.
Optionally, the battery includes a battery management module and a communication module, and determining whether the battery is disconnected from the network includes:
if the network connection between the communication module and the server is disconnected, determining that the battery is disconnected from the network connection;
and/or determining that the battery is disconnected from the network if the network connection between the battery management module and the communication module is disconnected.
Optionally, the alarm device includes a speaker and/or an alarm lamp, and the alarm device for controlling the battery gives an alarm, including:
controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A battery anti-theft method is applied to a battery, and is characterized by comprising the following steps:
judging whether the battery meets a first preset condition or not;
if the battery meets the first preset condition, controlling an alarm device of the battery to give an alarm;
wherein the first preset condition comprises at least one of:
the battery receives a loss alarm request sent by a server;
the time length of the battery for disconnecting the network connection is longer than the preset time length, and the battery is not located in the preset area.
2. The battery theft prevention method as recited in claim 1, further comprising:
and if the battery meets a second preset condition, controlling the alarm device to stop giving an alarm.
3. The battery theft prevention method according to claim 1 or 2, characterized in that the method further comprises:
and if the battery meets the first preset condition, forbidding the battery to charge and discharge.
4. The battery theft prevention method as recited in claim 3, further comprising:
and if the battery meets a second preset condition, allowing the battery to be charged and discharged.
5. The battery theft prevention method according to claim 2 or 4, wherein the second preset condition includes at least one of:
receiving an alarm releasing request sent by the server;
after the time length of the battery for disconnecting the network connection is longer than the preset time length, the battery recovers the network connection;
the battery is in a preset area.
6. The method according to claim 1, wherein before said determining whether said battery satisfies a first predetermined condition, said method further comprises:
and receiving the preset time length and the preset area sent by the server, and storing the received preset time length and the received preset area to the local, wherein the preset time length and the preset area are set by the server.
7. The battery theft prevention method according to claim 1, wherein the battery includes a battery management module and a communication module, and the determining whether the battery is disconnected from the network comprises:
if the network connection between the communication module and the server is disconnected, determining that the battery is disconnected from the network connection;
and/or determining that the battery is disconnected from the network if the network connection between the battery management module and the communication module is disconnected.
8. The battery theft prevention method according to claim 1, wherein said alarm device comprises a horn and/or an alarm lamp, and said alarm device for controlling said battery issues an alarm, comprising:
controlling the horn to give out an alarm sound and/or controlling the alarm lamp to flash.
9. A battery comprising a memory, at least one processor, and at least one program stored on the memory and executable on the at least one processor, the at least one program when executed by the at least one processor implementing the steps of the method of any one of claims 1 to 8.
10. A computer-readable storage medium storing at least one program executable by a computer, the at least one program, when executed by the computer, causing the computer to perform the steps of the method of any one of claims 1 to 8.
CN201910654597.4A 2019-07-19 2019-07-19 Battery anti-theft method, battery and computer readable storage medium Active CN110254572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910654597.4A CN110254572B (en) 2019-07-19 2019-07-19 Battery anti-theft method, battery and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910654597.4A CN110254572B (en) 2019-07-19 2019-07-19 Battery anti-theft method, battery and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110254572A CN110254572A (en) 2019-09-20
CN110254572B true CN110254572B (en) 2020-08-28

Family

ID=67927116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910654597.4A Active CN110254572B (en) 2019-07-19 2019-07-19 Battery anti-theft method, battery and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110254572B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629325A (en) * 2020-04-30 2020-09-04 福建鸿兴福食品有限公司 Battery control method, control device and computer readable storage medium
CN112437422A (en) * 2020-11-24 2021-03-02 陕西疆晨信息科技有限公司 Power module anti-theft method, device and storage medium
CN113963491B (en) * 2021-10-25 2023-02-03 深圳市美恩微电子有限公司 Processing method for preventing rented charge pal from being lost

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007015567A (en) * 2005-07-08 2007-01-25 Mitsui Zosen System Research Inc Burglar notification device for power-assisted bicycle
JP2012025297A (en) * 2010-07-26 2012-02-09 Yamaha Motor Co Ltd Motorcycle, and theft reporting device installed in motorcycle
CN201951404U (en) * 2010-09-29 2011-08-31 上海天臣威讯信息技术有限公司 Vehicle antitheft system
CN105584561A (en) * 2014-10-23 2016-05-18 西安三维通信有限责任公司 Intelligent anti-theft system for storage battery of electric bicycle
CN106251528A (en) * 2015-11-06 2016-12-21 广东华泽通信设备有限公司 A kind of anti-theft tracking system and method
CN106627860A (en) * 2016-10-12 2017-05-10 南京理工大学 Antitheft alarm system and method of battery of electric bicycle

Also Published As

Publication number Publication date
CN110254572A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110254572B (en) Battery anti-theft method, battery and computer readable storage medium
CN101521871B (en) Method, device and system for updating tracking area
CN101938850B (en) Method, system and device for releasing bearer resources
CN101282511B (en) Bearing processing method
CN102271382B (en) Access control method and equipment for machine type communication (MTC) equipment
CN103814594A (en) Wireless emergency call (eCALL) devices and eCall Service subscription management
CN101203044A (en) Radio network control method and device
EP2209279B1 (en) Method and system for processing a radio bearer under the idle mode signaling reduction (isr) mechanism
US8369851B2 (en) Mobility management entity information deleting method and device
CN111612570A (en) Rental method, server, battery and computer-readable storage medium authorized to be used by others
CN102045688B (en) Detection method and device of illegal use of user equipment
CN101572862A (en) Method and equipment for supporting intercommunication between 3G system and LTE system
CN111586888B (en) Communication method, server, mobile device and computer readable storage medium
CN101330720A (en) Method for processing access user, user access system and equipment
CN102752828A (en) Method and system for realizing user equipment (UE) control
CN101860847B (en) Cloned subscriber identity module card test method and system
CN101500220B (en) Method, apparatus and system for notifying network releasing resource
CN101557610B (en) Method, system and device of load bearing processing
CN103458499A (en) Off-line processing method and equipment
CN102761980A (en) Method and system for realizing business process
CN102083172A (en) Method, device and system for limiting moving times of machine type communication (MTC) equipment by network
US11341787B2 (en) Device management
CN102833733A (en) Method and system for monitoring position shifting of low-mobility terminal
CN111629325A (en) Battery control method, control device and computer readable storage medium
CN102369782B (en) Method, device and system for learning machine-type-communication device offline

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