CN109102666A - Battery and its method for early warning and system - Google Patents
Battery and its method for early warning and system Download PDFInfo
- Publication number
- CN109102666A CN109102666A CN201811139796.3A CN201811139796A CN109102666A CN 109102666 A CN109102666 A CN 109102666A CN 201811139796 A CN201811139796 A CN 201811139796A CN 109102666 A CN109102666 A CN 109102666A
- Authority
- CN
- China
- Prior art keywords
- battery
- location information
- user terminal
- timestamp
- warning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/02—Mechanical actuation
- G08B13/14—Mechanical actuation by lifting or attempted removal of hand-portable articles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of battery and its method for early warning and systems, first location information and its corresponding timestamp, the second location information of user terminal uploads and its corresponding timestamp including receiving battery upload respectively;According to the timestamp, the difference of the first location information and the second location information nearest apart from current time stamp is calculated;Judge whether the difference is greater than preset distance threshold, if so, issuing alarm command to the battery, and pushes warning information to the user terminal.The present invention is using server as intermediate role, on the one hand stealer can be warned, on the other hand can also inform that user's battery has left its safe distance, for reminding user's battery to have been moved off its safe distance, certain forewarning function is played, loss situation is avoided.
Description
Technical field
The present invention relates to field of communication technology, a kind of battery and its method for early warning and system are particularly related to.
Background technique
The appearance of shared battery is the providing a great convenience property of charging of user terminal, and user does not have to worry that terminal does not have again
Electricity and bring inconvenience.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
Existing shared battery after charging case lending, is not intended to lose or be taken away intentionally by people by user there are user
The phenomenon that, since battery itself does not have position tracking and warning function, when loss situation occurs, user has no to discover,
To will cause the economic loss of user.
Summary of the invention
In view of this, never having it is an object of the invention to propose a kind of battery and its method for early warning and system with solution
The problem of position tracking and warning function.
According to a first aspect of the present invention, a kind of method for early warning of battery is provided, server is applied to, comprising:
The second position of first location information and its corresponding timestamp, user terminal uploads that battery uploads is received respectively
Information and its corresponding timestamp;
According to the timestamp, the first location information nearest apart from current time stamp and the second position are calculated
The difference of information;
Judge whether the difference is greater than preset distance threshold, if so, alarm command is issued to the battery, and to
The user terminal pushes warning information.
In some embodiments of the invention, the first location information and its corresponding time that battery uploads are being received respectively
Before stamp, the second location information of user terminal uploads and its corresponding timestamp, further includes:
Receive and store user terminal uploads user identifier and with the associated battery identification of the user identifier.
In some embodiments of the invention, the first location information and its corresponding time that battery uploads are received respectively
Stamp, the second location information of user terminal uploads and its corresponding timestamp, comprising:
Receive and store battery identification, first location information and its corresponding timestamp of battery upload;
Receive and store the user identifier, second location information and its corresponding timestamp of user terminal uploads.
In some embodiments of the invention, according to the timestamp, calculate apart from current time stamp it is nearest described the
The difference of one location information and the second location information, comprising:
According to the battery identification and user identifier associated with it, multiple first location informations and multiple are found out
Two location informations;
According to the timestamp of the timestamp of each first location information and each second location information, calculate apart from it is current when
Between stab the difference of the nearest first location information and the second location information.
According to a second aspect of the present invention, a kind of prior-warning device of battery is provided, is arranged in server, comprising:
Receiving module, for receiving the first location information and its corresponding timestamp, user terminal of battery upload respectively
The second location information of upload and its corresponding timestamp;
Warning module, for calculating the first location information nearest apart from current time stamp according to the timestamp
With the difference of the second location information;Judge whether the difference is greater than preset distance threshold, if so, to the battery
Alarm command is issued, and pushes warning information to the user terminal.
In some embodiments of the invention, the receiving module is also used to:
Receive and store user terminal uploads user identifier and with the associated battery identification of the user identifier.
In some embodiments of the invention, the receiving module is also used to:
Receive and store battery identification, first location information and its corresponding timestamp of battery upload;
Receive and store the user identifier, second location information and its corresponding timestamp of user terminal uploads.
In some embodiments of the invention, according to the timestamp, calculate apart from current time stamp it is nearest described the
The difference of one location information and the second location information, comprising:
According to the battery identification and user identifier associated with it, multiple first location informations and multiple are found out
Two location informations;
According to the timestamp of the timestamp of each first location information and each second location information, calculate apart from it is current when
Between stab the difference of the nearest first location information and the second location information.
According to a third aspect of the present invention, a kind of battery, including battery body, communication control module and early warning group are provided
Part;
The battery body is used to provide electric energy to the communication control module and early warning component;
The communication control module is used for: acquiring the first location information of the battery, and by the first location information
And its corresponding timestamp is uploaded to server;The alarm command that the server issues is received, thus to the early warning component
Output control signal;
The early warning component is used to receive the control signal of the communication control module output, to generate pre-warning signal.
In some embodiments of the invention, the communication control module is also used to acquire the first position letter of the battery
Breath, and the mark of the battery, the first location information and its corresponding timestamp are uploaded to server.
According to a fourth aspect of the present invention, a kind of early warning system of battery, including user terminal, any of the above-described reality are provided
Apply battery described in example and any of the above-described prior-warning device as described in the examples;
The user terminal is used for: acquiring the second location information of the user terminal, and by the second location information
And its corresponding timestamp is uploaded to server;Receive the warning information of the server push.
According to a fifth aspect of the present invention, a kind of method for early warning of battery is provided, comprising:
Battery acquires the first location information of the battery, and will be in the first location information and its corresponding timestamp
Reach server;
User terminal acquires the second location information of the user terminal, and by the second location information and its corresponding
Timestamp is uploaded to server;
Server receive respectively battery upload first location information and its corresponding timestamp, user terminal uploads the
Two location informations and its corresponding timestamp;According to the timestamp, described first recently apart from current time stamp is calculated
The difference of confidence breath and the second location information;Judge whether the difference is greater than preset distance threshold, if so, to institute
It states battery and issues alarm command, and push warning information to the user terminal;
Alarm command described in the battery receptacle, to generate pre-warning signal;
The user terminal receives the warning information, to show warning information and/or generate pre-warning signal.
According to a sixth aspect of the present invention, a kind of electronic equipment, including processor and memory, the memory are provided
For storing computer instruction, wherein the computer instruction is executed when being run by the processor in any of the above-described embodiment
The method for early warning of the battery.
According to a seventh aspect of the present invention, a kind of storage medium is provided, the calculating for being suitable for being run by processor is stored with
Machine instruction, the computer instruction execute the method for early warning of any of the above-described battery as described in the examples when being run by processor.
The position that the embodiment of the present invention is sent using server as intermediate role, real-time reception battery and user terminal
User terminal and battery are effectively carried out position connection, judge electricity by the difference of the newest location information of the two by information
Whether pond has surmounted safe range.If difference has been more than preset distance threshold, server immediately makes early warning judgement, this
When server alarm command issued into battery, after battery receives alarm command, early warning component is immediately opened, such as buzzer and report
On the one hand warning lamp can warn stealer in this way, on the one hand can also inform that user's battery leaves if stealer is stolen at this time
Its safe distance.Server pushes warning information to user terminal immediately after having sent alarm command, and user can be driven whole
Quarter-bell starting is held, for reminding user's battery to have been moved off its safe distance, certain forewarning function is played, avoids losing feelings
Condition occurs.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for early warning of battery in one embodiment of the invention;
Fig. 2 is the flow chart of the method for early warning of battery in another embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the prior-warning device of battery in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of battery in the embodiment of the present invention;
Fig. 5 is the block schematic illustration of the early warning system of battery in the embodiment of the present invention;
Fig. 6 is the flow chart of the method for early warning of battery in further embodiment of the present invention;
Fig. 7 is the schematic diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
At least one embodiment of the present invention provides a kind of method for early warning of battery, as shown in Figure 1, the battery is pre-
Alarm method is applied to server, may comprise steps of:
Step 101, the first location information and its corresponding timestamp, user terminal uploads that battery uploads are received respectively
Second location information and its corresponding timestamp.
The location information of its own due to battery timing is reported to server and acquires the timestamp of the location information,
And user terminal also periodically reports the location information of its own to server and acquires the timestamp of the location information, because
This server can be respectively received battery upload first location information and its corresponding timestamp, user terminal uploads the
Two location informations and its corresponding timestamp.Optionally, battery can report information, user every 5 seconds, 8 seconds or 10 seconds etc.
Terminal can report information every 3 seconds, 5 seconds or 10 seconds etc., the embodiment of the present invention to this with no restriction.
As yet another embodiment of the present invention, before step 101, the method can also include: to receive and store
The user identifier of user terminal uploads and with the associated battery identification of the user identifier.In this embodiment, it needs in advance
User terminal and shared terminal are associated by user identifier and the mark of battery and (illustrate that the electricity is used in the user
Pond), then receive the location information of be mutually related battery and user terminal uploads respectively again.In general, user identifier with
Whether battery identification maps one by one, surpass so as to the distance between real-time judge user terminal and shared terminal associated with it
Cross pre-determined distance threshold value.
In yet another embodiment of the present invention, step 101 can specifically include: receive and store the battery of battery upload
Mark, first location information and its corresponding timestamp;Receive and store user identifier, the second confidence of user terminal uploads
Breath and its corresponding timestamp.In order to match corresponding battery identification by user identifier in the next steps, battery is in timing
When ground reports the location information of its own to server and acquires the timestamp of the location information, it is also necessary to carry its mark;
Similarly, the location information of its own periodically is reported to server and is being acquired the time of the location information with terminal in every family
When stamp, it is also desirable to carry its mark.Server receives and stores these information, in order to the calling of subsequent step.
It should be pointed out that in an embodiment of the present invention, the user terminal can be, but not limited to smart phone, plate
The mobile communication terminals such as computer.
Step 102, according to the timestamp, calculate the first location information nearest apart from current time stamp with it is described
The difference of second location information.
Since battery and user terminal constantly periodically report information, multiple the of battery are stored in the server
Multiple second location informations of one location information and user terminal.So in a step 102, it needs according to first location information
The timestamp of timestamp and second location information finds out the first location information and nearest apart from current time stamp respectively
Then two location informations calculate the difference of the two.
In another embodiment of the present invention, the step 102 can specifically include: according to the battery identification and
User identifier associated with it finds out multiple first location informations and multiple second location informations;According to each first position
The timestamp of the timestamp of information and each second location information calculates the first position nearest apart from current time stamp and believes
The difference of breath and the second location information.Since before receiving location information, server has stored each battery mark
Knowledge and user identifier associated with it, therefore searching distance current nearest first location information and second location information
When, also further to pass through the incidence relation of user identifier and battery identification, search corresponding first location information and second
Confidence breath, so that the difference of the first location information Yu the second location information be calculated.
Step 103, judge whether the difference is greater than preset distance threshold;If so, thening follow the steps 104;If it is not, then
Terminate.
Distance threshold, such as 10 meters, 30 meters or 50 meters etc. can be preset, the embodiment of the present invention does not limit this
System.In step 103, according to pre-set distance threshold, whether the difference being calculated in judgment step 102 is greater than described
Preset distance threshold, if it is not, illustrating battery and user terminal also within the scope of safe distance, if so, illustrating battery and using
Family terminal has left safe distance range, needs to carry out early warning.
Step 104, alarm command is issued to the battery, and pushes warning information to the user terminal.
If the difference of the first location information and the second location information is greater than preset distance threshold, service
Device issues alarm command to the battery at once, and pushes warning information to the user terminal.In this step, according to user
Mark and battery identification send warning information and alarm command to corresponding user terminal and battery, so that the use that is mutually related
Family terminal and battery can receive warning information.
As it can be seen that the embodiment of the present invention is sent using server as intermediate role, real-time reception battery and user terminal
Location information, user terminal and battery are effectively subjected to position connection, by the difference of the newest location information of the two come
Judge whether battery has surmounted safe range.If difference has been more than preset distance threshold, server immediately makes early warning
Judgement, alarm command is issued battery by server at this time, after battery receives alarm command, immediately opens early warning component, such as bee
Ring device and alarm lamp, if stealer is stolen at this time, on the one hand can warn stealer in this way, on the one hand can also inform user
Battery has left its safe distance.Server pushes warning information to user terminal immediately after having sent alarm command, can drive
Dynamic user terminal quarter-bell starting, for reminding user's battery to have been moved off its safe distance, plays certain forewarning function, keeps away
Exempt from loss situation.
It should be pointed out that the technical solution of the embodiment of the present invention can be used for shared battery, one can be played to user
Fixed forewarning function, avoids loss situation.But the technical solution of the embodiment of the present invention is not limited to shared battery
Morphological differences, can be used for unshared battery, and method is general, for example low-speed vehicle battery may need to surpass from user distance
To cross 50m just be more than safe early warning range, can reach anti-lost and early warning function at this time by adjusting early warning position range (50m)
Energy.
As yet another embodiment of the present invention, as shown in Fig. 2, the method for early warning of the battery may include:
Step 201, receive and store user terminal uploads user identifier and with the associated battery of the user identifier
Mark;
Step 202, battery identification, first location information and its corresponding time of battery upload are received and stored respectively
User identifier, second location information and its corresponding timestamp of stamp and user terminal uploads;
Step 203, according to the battery identification and user identifier associated with it, multiple first location informations are found out
With multiple second location informations;
Step 204, according to the timestamp of the timestamp of each first location information and each second location information, calculate away from
The difference of the first location information and the second location information nearest from current time stamp;
Step 205, judge whether the difference is greater than preset distance threshold;If so, thening follow the steps 206;If it is not, then
Terminate;
Step 206, alarm command is issued to the battery, and pushes warning information to the user terminal.
User terminal and battery are effectively carried out position company using server as intermediate role by the embodiment of the present invention
It connects, judges whether battery has surmounted safe range by the location information difference of the two, if surmounting safe range, trigger electricity
Pond alarm and driving user terminal alarm, to play certain forewarning function to user, avoid loss situation.
At least one embodiment of the present invention provides a kind of prior-warning device of battery, as shown in figure 3, the battery is pre-
Alarm device 300 is arranged in server, including receiving module 301 and warning module 302.Wherein, the receiving module 301 is for dividing
It Jie Shou not the first location information that uploads of battery and its corresponding timestamp, the second location information of user terminal uploads and its right
The timestamp answered;The warning module 302 is used for according to the timestamp, calculate apart from current time stamp it is nearest described first
The difference of location information and the second location information;Judge whether the difference is greater than preset distance threshold, if so, to
The battery issues alarm command, and pushes warning information to the user terminal.
In some embodiments of the invention, the receiving module 301 is also used to receive and store user terminal uploads
User identifier and with the associated battery identification of the user identifier.
In some embodiments of the invention, the receiving module 301 is also used to: receiving and storing the battery of battery upload
Mark, first location information and its corresponding timestamp;Receive and store user identifier, the second confidence of user terminal uploads
Breath and its corresponding timestamp.
In some embodiments of the invention, according to the timestamp, calculate apart from current time stamp it is nearest described the
The difference of one location information and the second location information, comprising: marked according to the battery identification and user associated with it
Know, finds out multiple first location informations and multiple second location informations;According to the timestamp of each first location information and respectively
The timestamp of a second location information calculates the first location information nearest apart from current time stamp and the second position
The difference of information.
At least one embodiment of the present invention provides a kind of battery, as shown in figure 4, the battery 400 includes battery sheet
Body 401, communication control module 402 and early warning component 403.Wherein, the battery body 401 is used for the communication control mould
Block and early warning component provide electric energy;The communication control module 402 is used for: the first location information of the battery 400 is acquired, and
The first location information and its corresponding timestamp are uploaded to server;The alarm command that the server issues is received,
To export control signal to the early warning component 403;The early warning component 403 is for receiving the communication control module 402
The control signal of output, to generate pre-warning signal.In the present embodiment, 402 timing (such as 5 seconds, 10 seconds) of communication control module
It acquires the first location information of battery, and by the first location information and acquires the timestamp of the location information and be reported to together
Server, subsequent communication control module 402 can suspend mode, to reduce power consumption.Moreover, the present invention also utilizes battery block itself can be with
Battery is carried out networking and position tracking by the characteristics of providing electric energy, the communication control module 402 by embedding low-power consumption.
Optionally, the early warning component 230 can be alarm lamp and buzzer, receive the communication control mould when receiving
When the control signal that block 402 exports, triggering alarm, for example alarm lamp is opened or buzzer starting.
When server, which determines battery, is greater than preset distance threshold at a distance from user terminal, early warning can be immediately issued
Instruction, communication control module 402 receive the signal of output control immediately after the instruction, open 403 electronic switch of early warning component, from
And early warning light and early warning buzzer are generated, warning function is generated with this.
In yet another embodiment of the present invention, the communication control module 402 is also used to acquire the first of the battery
Location information, and the mark of the battery, the first location information and its corresponding timestamp are uploaded to server.
As it can be seen that the embodiment of the present invention passes through adds communication control module 402 in the battery, and in server and user terminal
Cooperation under, when battery location and user that user is leased relative distance be more than certain limit range after, battery is opened at once
Early warning component is opened, such as flash lamp and buzzer warning, while user terminal can also receive the warning message of server push at once
(can be short message) can drive alarm of mobile phone that user's battery is reminded to be likely to be lost at this time, thus to user retrieve through
Ji loss, plays certain forewarning function.
At least one embodiment of the present invention provides a kind of early warning system of battery, including user terminal 503, above-mentioned
One battery 501 as described in the examples and any of the above-described prior-warning device as described in the examples that server 501 is set.?
In the embodiment, the user terminal 501 is used for: acquiring the second location information of the user terminal 501, and by described
Two location informations and its corresponding timestamp are uploaded to server;Receive the warning information that the server 502 pushes.The electricity
Pond 501 is used to acquire the first location information of the battery 501, and by the first location information and its corresponding timestamp
It is uploaded to server 502;Receive the alarm command that the server 502 issues.
The server 502 receives the first location information and its corresponding timestamp, user's end of the upload of battery 501 respectively
The second location information and its corresponding timestamp that end 503 uploads;According to the timestamp, calculate nearest apart from current time stamp
The first location information and the second location information difference;It is preset apart from threshold to judge whether the difference is greater than
Value if so, issuing alarm command to the battery 501, and pushes warning information to the user terminal 503.
The position that the embodiment of the present invention is sent using server as intermediate role, real-time reception battery and user terminal
User terminal and battery are effectively carried out position connection, judge electricity by the difference of the newest location information of the two by information
Whether pond has surmounted safe range.If difference has been more than preset distance threshold, server immediately makes early warning judgement, this
When server alarm command issued into battery, after battery receives alarm command, early warning component is immediately opened, such as buzzer and report
On the one hand warning lamp can warn stealer in this way if stealer is stolen at this time, another aspect can also inform user's battery from
Its safe distance is opened.Server pushes warning information to user terminal immediately after having sent alarm command, can drive user
The starting of terminal quarter-bell, for reminding user's battery to have been moved off its safe distance, plays certain forewarning function, avoids losing
It happens.
At least one embodiment of the present invention provides a kind of method for early warning of battery, as shown in Figure 6, comprising:
Battery acquires the first location information of the battery, and will be in the first location information and its corresponding timestamp
Reach server;
User terminal acquires the second location information of the user terminal, and by the second location information and its corresponding
Timestamp is uploaded to server;
Server receive respectively battery upload first location information and its corresponding timestamp, user terminal uploads the
Two location informations and its corresponding timestamp;According to the timestamp, described first recently apart from current time stamp is calculated
The difference of confidence breath and the second location information;Judge whether the difference is greater than preset distance threshold, if so, to institute
It states battery and issues alarm command, and push warning information to the user terminal;
Alarm command described in the battery receptacle, to generate pre-warning signal;
The user terminal receives the warning information, to show warning information and/or generate pre-warning signal.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step of method for early warning of battery provided by the various embodiments described above is realized when machine program is executed by processor.
The embodiment of the invention also provides a kind of computer program products.A kind of computer program product comprising instruction,
When run on a computer, so that the step of computer executes the method for early warning of battery provided by the various embodiments described above.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute the embodiment of the present invention method.
According to embodiments of the present invention, a kind of electronic equipment is additionally provided, as shown in fig. 7, the electronic equipment includes processor
71 and memory 72, which is configured to storage computer program instructions, and computer program instructions are suitable for by processor
It loads and executes and such as issue method: received in the first location information and its corresponding timestamp, user terminal that battery uploads respectively
The second location information of biography and its corresponding timestamp;According to the timestamp, calculate apart from current time stamp recently described in
The difference of first location information and the second location information;Judge whether the difference is greater than preset distance threshold, if so,
Alarm command then is issued to the battery, and pushes warning information to the user terminal.
The processor can be various applicable processors, such as be embodied as central processing unit, microprocessor, insertion processing
The forms such as device, can be using frameworks such as X86, ARM;Memory 72 can be various applicable storage devices, including but not limited to
Magnetic memory apparatus, semiconductor storage, light storage device etc., the embodiment of the present invention to these with no restriction.
Any reference used in the present invention to memory, storage, database or other media may include non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include depositing at random
Access to memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, all
Such as static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
In addition, according to one embodiment of present invention, processor can also be loaded and be executed: receive and store user terminal
The user identifier of upload and with the associated battery identification of the user identifier.
In addition, according to one embodiment of present invention, processor can also be loaded and be executed: receiving and storing battery upload
Battery identification, first location information and its corresponding timestamp;Receive and store user terminal uploads user identifier, second
Location information and its corresponding timestamp.
In addition, according to one embodiment of present invention, processor can also be loaded and be executed: according to the battery identification with
And user identifier associated with it, find out multiple first location informations and multiple second location informations;According to each first
The timestamp of confidence breath and the timestamp of each second location information, calculate the first position nearest apart from current time stamp
The difference of information and the second location information.
It can be seen that the embodiment of the present invention is using server as intermediate role, real-time reception battery and user terminal
User terminal and battery are effectively carried out position connection, pass through the difference of the newest location information of the two by the location information of transmission
Value judges whether battery has surmounted safe range.If difference has been more than preset distance threshold, server is immediately made
Early warning judgement, alarm command is issued battery by server at this time, after battery receives alarm command, immediately opens early warning component,
As on the one hand buzzer and alarm lamp can warn stealer in this way, on the other hand can also accuse if stealer is stolen at this time
Know that user's battery has left its safe distance.Server pushes warning information to user's end immediately after having sent alarm command
End can drive user terminal quarter-bell to start, for reminding user's battery to have been moved off its safe distance, play certain early warning
Effect, avoids loss situation.
It should be noted that for above-mentioned system, method and electronic equipment embodiment, for simple description, therefore by its
All it is expressed as a series of movement or block combiner, but those skilled in the art should understand that, the present invention is not by described
Sequence of movement or module connection limitation because according to the present invention, certain steps can using other sequences or simultaneously into
Row, certain module can use other connection types.
Those skilled in the art should also know that embodiment described in this description belongs to a kind of embodiment, it is above-mentioned
Embodiment sequence number is for illustration only, and related actions and modules are not necessarily necessary for the present invention.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided by the present invention, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes volatile storage medium or non-volatile memory medium, such as USB flash disk, read-only is deposited
Reservoir (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), movement are hard
The various media that can store program code such as disk, magnetic or disk.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (14)
1. a kind of method for early warning of battery, which is characterized in that be applied to server, comprising:
The second location information of first location information and its corresponding timestamp, user terminal uploads that battery uploads is received respectively
And its corresponding timestamp;
According to the timestamp, the first location information and the second location information nearest apart from current time stamp are calculated
Difference;
Judge whether the difference is greater than preset distance threshold, if so, issue alarm command to the battery, and to described
User terminal pushes warning information.
2. the method for early warning of battery according to claim 1, which is characterized in that first uploaded in reception battery respectively
Before confidence breath and its corresponding timestamp, the second location information of user terminal uploads and its corresponding timestamp, further includes:
Receive and store user terminal uploads user identifier and with the associated battery identification of the user identifier.
3. the method for early warning of battery according to claim 2, which is characterized in that receive the first position that battery uploads respectively
Information and its corresponding timestamp, the second location information of user terminal uploads and its corresponding timestamp, comprising:
Receive and store battery identification, first location information and its corresponding timestamp of battery upload;
Receive and store the user identifier, second location information and its corresponding timestamp of user terminal uploads.
4. the method for early warning of battery according to claim 3, which is characterized in that according to the timestamp, calculate distance and work as
The difference of preceding the timestamp nearest first location information and the second location information, comprising:
According to the battery identification and user identifier associated with it, multiple first location informations and multiple seconds are found out
Confidence breath;
According to the timestamp of the timestamp of each first location information and each second location information, calculate apart from current time stamp
The difference of the nearest first location information and the second location information.
5. a kind of prior-warning device of battery, which is characterized in that be arranged in server, comprising:
Receiving module, for receiving the first location information and its corresponding timestamp, user terminal uploads of battery upload respectively
Second location information and its corresponding timestamp;
Warning module, for calculating the first location information and institute nearest apart from current time stamp according to the timestamp
State the difference of second location information;Judge whether the difference is greater than preset distance threshold, if so, issuing to the battery
Alarm command, and warning information is pushed to the user terminal.
6. the prior-warning device of battery according to claim 5, which is characterized in that the receiving module is also used to:
Receive and store user terminal uploads user identifier and with the associated battery identification of the user identifier.
7. the prior-warning device of battery according to claim 6, which is characterized in that the receiving module is also used to:
Receive and store battery identification, first location information and its corresponding timestamp of battery upload;
Receive and store the user identifier, second location information and its corresponding timestamp of user terminal uploads.
8. the prior-warning device of battery according to claim 7, which is characterized in that according to the timestamp, calculate distance and work as
The difference of preceding the timestamp nearest first location information and the second location information, comprising:
According to the battery identification and user identifier associated with it, multiple first location informations and multiple seconds are found out
Confidence breath;
According to the timestamp of the timestamp of each first location information and each second location information, calculate apart from current time stamp
The difference of the nearest first location information and the second location information.
9. a kind of battery, which is characterized in that including battery body, communication control module and early warning component;
The battery body is used to provide electric energy to the communication control module and early warning component;
The communication control module is used for: acquire the first location information of the battery, and by the first location information and its
Corresponding timestamp is uploaded to server;The alarm command that the server issues is received, to export to the early warning component
Control signal;
The early warning component is used to receive the control signal of the communication control module output, to generate pre-warning signal.
10. battery according to claim 9, which is characterized in that the communication control module is also used to acquire the battery
First location information, and the mark of the battery, the first location information and its corresponding timestamp are uploaded to service
Device.
11. a kind of early warning system of battery, which is characterized in that including battery described in user terminal, claim 9 or 10 and
Any prior-warning device of claim 5-8;
The user terminal is used for: acquire the second location information of the user terminal, and by the second location information and its
Corresponding timestamp is uploaded to server;Receive the warning information of the server push.
12. a kind of method for early warning of battery characterized by comprising
Battery acquires the first location information of the battery, and the first location information and its corresponding timestamp are uploaded to
Server;
User terminal acquires the second location information of the user terminal, and by the second location information and its corresponding time
Stamp is uploaded to server;
Server receives the first location information of battery upload and its second of corresponding timestamp, user terminal uploads respectively
Confidence breath and its corresponding timestamp;According to the timestamp, calculates the first position nearest apart from current time stamp and believe
The difference of breath and the second location information;Judge whether the difference is greater than preset distance threshold, if so, to the electricity
Pond issues alarm command, and pushes warning information to the user terminal;
Alarm command described in the battery receptacle, to generate pre-warning signal;
The user terminal receives the warning information, to show warning information and/or generate pre-warning signal.
13. a kind of electronic equipment, which is characterized in that including processor and memory, the memory refers to for storing computer
It enables, wherein the pre- of battery described in any one of 1-4 claim is executed when the computer instruction is run by the processor
Alarm method.
14. a kind of storage medium is stored with the computer instruction for being suitable for being run by processor, the computer instruction is by processor
The method for early warning of battery according to claim 1 to 4 is executed when operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811139796.3A CN109102666A (en) | 2018-09-28 | 2018-09-28 | Battery and its method for early warning and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811139796.3A CN109102666A (en) | 2018-09-28 | 2018-09-28 | Battery and its method for early warning and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109102666A true CN109102666A (en) | 2018-12-28 |
Family
ID=64867640
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811139796.3A Pending CN109102666A (en) | 2018-09-28 | 2018-09-28 | Battery and its method for early warning and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109102666A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111330203A (en) * | 2020-03-16 | 2020-06-26 | 广州驿通智能科技有限公司 | Method and device for monitoring air pressure of fire extinguisher |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1244694A (en) * | 1998-08-09 | 2000-02-16 | 李斌 | Remotely controlled electronic alarm system used for preventing loss of carried article |
CN101930066A (en) * | 2009-06-18 | 2010-12-29 | 群丰科技股份有限公司 | Pet positioning device, pet monitoring device and pet tracking system |
CN203849845U (en) * | 2014-01-24 | 2014-09-24 | 西安那些年科技网络有限公司 | Anti-loss wallet |
CN104240424A (en) * | 2014-10-16 | 2014-12-24 | 成都思迈科技发展有限责任公司 | Base station alarming and monitoring system |
CN104345324A (en) * | 2013-07-24 | 2015-02-11 | 北汽福田汽车股份有限公司 | GPS vehicle positioning method and apparatus, and vehicle |
CN104508509A (en) * | 2012-07-06 | 2015-04-08 | 奈达科技瑞典有限公司 | Methods, nodes and computer program for positioning of a device |
CN105654682A (en) * | 2016-04-14 | 2016-06-08 | 成都嘉泽兴业科技有限责任公司 | Updating system of security and protection monitoring information |
CN105894721A (en) * | 2014-12-01 | 2016-08-24 | 河北炽盛电子科技有限公司 | Implementation method for companion separation alarming of two GPS components in moving state |
CN108416955A (en) * | 2018-04-28 | 2018-08-17 | 劲霸男装(上海)有限公司 | A kind of Intelligent lost-proof type anti-theft device based on leather mark |
-
2018
- 2018-09-28 CN CN201811139796.3A patent/CN109102666A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1244694A (en) * | 1998-08-09 | 2000-02-16 | 李斌 | Remotely controlled electronic alarm system used for preventing loss of carried article |
CN101930066A (en) * | 2009-06-18 | 2010-12-29 | 群丰科技股份有限公司 | Pet positioning device, pet monitoring device and pet tracking system |
CN104508509A (en) * | 2012-07-06 | 2015-04-08 | 奈达科技瑞典有限公司 | Methods, nodes and computer program for positioning of a device |
CN104345324A (en) * | 2013-07-24 | 2015-02-11 | 北汽福田汽车股份有限公司 | GPS vehicle positioning method and apparatus, and vehicle |
CN203849845U (en) * | 2014-01-24 | 2014-09-24 | 西安那些年科技网络有限公司 | Anti-loss wallet |
CN104240424A (en) * | 2014-10-16 | 2014-12-24 | 成都思迈科技发展有限责任公司 | Base station alarming and monitoring system |
CN105894721A (en) * | 2014-12-01 | 2016-08-24 | 河北炽盛电子科技有限公司 | Implementation method for companion separation alarming of two GPS components in moving state |
CN105654682A (en) * | 2016-04-14 | 2016-06-08 | 成都嘉泽兴业科技有限责任公司 | Updating system of security and protection monitoring information |
CN108416955A (en) * | 2018-04-28 | 2018-08-17 | 劲霸男装(上海)有限公司 | A kind of Intelligent lost-proof type anti-theft device based on leather mark |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111330203A (en) * | 2020-03-16 | 2020-06-26 | 广州驿通智能科技有限公司 | Method and device for monitoring air pressure of fire extinguisher |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105077592B (en) | Electronic cigarette, tobacco rod, smoke grenade and the recognition methods for smoke grenade | |
CN107133086B (en) | Task processing method, device and system based on distributed system | |
CN104200593A (en) | Door magnetic alarm system and implementation method thereof | |
CN105427653B (en) | A kind of system and method selecting parking position | |
CN107205222B (en) | Low-power-consumption positioning method, device and system | |
CN111361452B (en) | Vehicle battery management method and system | |
CN109992091A (en) | A kind of man-machine interaction method, device, robot and storage medium | |
CN110545518A (en) | Shared charge pal return reminding system and method | |
CN110758293A (en) | Power management method and device for vehicle-mounted intelligent equipment and readable storage medium | |
CN108415925A (en) | Electronic device, data call daily record generation and querying method and storage medium | |
CN107992919A (en) | The method of RFID quick countings | |
CN106297001A (en) | The theft preventing method of a kind of automatic vending machine, system and automatic vending machine | |
CN109102666A (en) | Battery and its method for early warning and system | |
CN109733239A (en) | The diagnostic control system of charging pile | |
CN108927802A (en) | Control the method, apparatus and robot of robot picking | |
CN103873691A (en) | Method, client and server prompting user to charge | |
CN106878534A (en) | Alarm method and device | |
CN108389387B (en) | Intelligent scheduling method and system for shared public bicycles | |
CN207704501U (en) | A kind of OBD monitoring devices and system | |
CN107364512B (en) | A kind of anti-lost system and method for vehicle, control device and method | |
CN108881630A (en) | reverse charging management method, device and terminal | |
CN105635436B (en) | A kind of missed call based reminding method and mobile terminal | |
CN207389151U (en) | For the follow-up mechanism and VATS Vehicle Anti-Theft System of vehicle anti-theft | |
CN110009273A (en) | Information processing method and device, storage medium, electronic device | |
CN111967831B (en) | Logistics tracking method and system based on zetag cloud label |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181228 |
|
WD01 | Invention patent application deemed withdrawn after publication |