CN110059508A - Charge theft preventing method, device, electronic equipment and storage medium - Google Patents
Charge theft preventing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110059508A CN110059508A CN201910170414.1A CN201910170414A CN110059508A CN 110059508 A CN110059508 A CN 110059508A CN 201910170414 A CN201910170414 A CN 201910170414A CN 110059508 A CN110059508 A CN 110059508A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- charging
- voltage
- prompt information
- threshold value
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/88—Detecting or preventing theft or loss
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0047—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/00032—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
- H02J7/00034—Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
This application involves a kind of charging theft preventing method, device, electronic equipment and storage mediums.The described method includes: whether the first electronic equipment of detection is in charged state when the first electronic equipment receives safe charging open command;When the first electronic equipment is in charged state, the charging voltage of the charging interface of the first electronic equipment is detected;When charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection receives safe charging out code;When safe charging out code is not detected in the first electronic equipment, the first electronic equipment of control exports prompt information.Above-mentioned charging theft preventing method, device, electronic equipment and storage medium can be improved safety of first electronic equipment in charging.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of charging theft preventing method, device, electronic equipment and deposit
Storage media.
Background technique
With the development of computer technology and mobile terminal technology, there are various intelligent mobile terminals.In intelligence
Many very important information can often be store in mobile terminal, as contact person, important privacy, Mobile banking, Alipay,
Wechat wallet and capsule information and application etc..If intelligent mobile terminal is stolen or loses, huge loss is often resulted in.
However, in public places, when intelligent mobile terminal is charged, intelligent mobile terminal quilt frequent occurrence
The case where robber, has that safety is lower.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can be improved electronic equipment safety in charging
Charging theft preventing method, device, electronic equipment and storage medium.
A kind of charging theft preventing method, which comprises
When the first electronic equipment receives safe charging open command, detects first electronic equipment and whether be in and fill
Electricity condition;
When first electronic equipment is in charged state, the charging of the charging interface of first electronic equipment is detected
Voltage;
When the charging voltage is less than first voltage threshold value, detect whether first electronic equipment receives safe fill
It is electrically turn off instruction;
When the safe charging out code is not detected in first electronic equipment, first electronic equipment is controlled
Export prompt information.
It is described when the first electronic equipment receives safe charging open command in one of the embodiments, detect institute
State whether the first electronic equipment is in charged state, comprising:
When the first electronic equipment receives safe charging open command, the charging voltage of the first electronic equipment is obtained;
When the charging voltage is greater than or equal to second voltage threshold value, determine that first electronic equipment is in charging shape
State;
When the charging voltage is less than second voltage threshold value, determine that first electronic equipment is not in charged state.
In one of the embodiments, further include:
When the first electronic equipment receives safe charging open command, safe charging information is generated;
The mark with the second electronic equipment of first electronic equipment binding is obtained, according to second electronic equipment
The safe charging information is sent to the second electronic equipment by mark.
In one of the embodiments, further include:
When the safe charging out code is not detected in first electronic equipment, counts the charging voltage and be less than
The duration of voltage threshold;
When the duration is greater than or equal to duration threshold value, power-off data are generated;
The power-off data are sent to second electronic equipment.
It is described when the duration is greater than or equal to duration threshold value in one of the embodiments, generate power-off data it
Afterwards, further includes:
Generate camera open command;
Image data is obtained according to the camera open command;
It is described that the power-off data are sent to second electronic equipment, comprising:
The power-off data and image data are sent to second electronic equipment.
It is described when the safe charging out code is not detected in first electronic equipment in one of the embodiments,
When, control first electronic equipment exports after prompt information, further includes:
Obtain the target cipher key of input;
The target cipher key is matched with the reference key being stored in first electronic equipment;
When the target cipher key with reference to key with matching, prompt information out code is generated.
It is described when the safe charging out code is not detected in first electronic equipment in one of the embodiments,
When, it controls first electronic equipment and exports prompt information, comprising:
When the safe charging out code is not detected in first electronic equipment, first electronic equipment is obtained
Prompt information maximum intensity grade, wherein corresponding at least two strength grades of the prompt information of first electronic equipment;
Control the prompt information of the first electronic equipment output maximum intensity grade.
A kind of charging anti-theft device, is applied to the first electronic equipment, and described device includes:
Charged state detection module, for when the first electronic equipment receives safe charging open command, described in detection
Whether the first electronic equipment is in charged state;
Charging voltage detection module, for when first electronic equipment is in charged state, detecting first electricity
The charging voltage of the charging interface of sub- equipment;
Instruction detection module, when the charging voltage is less than first voltage threshold value, detecting first electronic equipment is
It is no to receive safe charging out code;
Prompt information output module, for the safe charging out code to be not detected when first electronic equipment
When, it controls first electronic equipment and exports prompt information.
A kind of electronic equipment, including memory and processor, the memory are stored with computer program, the processor
The step of above-mentioned charging theft preventing method is realized when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above-mentioned charging theft preventing method is realized when row.
Above-mentioned charging theft preventing method, device, electronic equipment and storage medium, when the first electronic equipment receives safe charging
Open command, and be in charged state when, detect the first electronic equipment charging interface charging voltage be less than first voltage threshold
Value, and safe charging out code is not detected, it is believed that the first electronic equipment is not on charged state, and has stolen
The risk walked, the first electronic equipment of control export prompt information, and prompt information can attract much attention, and prevent the first electronics
Equipment is stolen.
Detailed description of the invention
Fig. 1 is the applied environment figure of charging theft preventing method in one embodiment;
Fig. 2 is the flow diagram of charging theft preventing method in one embodiment;
Fig. 3 is the flow diagram of antitheft step of charging in one embodiment;
Fig. 4 is the flow diagram of antitheft step of charging in another embodiment;
Fig. 5 is the flow diagram of antitheft step of charging in another embodiment;
Fig. 6 is the structural block diagram of charging anti-theft device in one embodiment;
Fig. 7 is the structural block diagram of charging anti-theft device in another embodiment;
Fig. 8 is the internal structure chart of electronic equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Charging theft preventing method provided by the embodiments of the present application, can be applied in application environment as shown in Figure 1.Wherein,
First electronic equipment 102 is charged by power supply 104, can also pass through wireless charging by way of wired charging
Form, it is without being limited thereto.When the first electronic equipment 102 receives safe charging open command, whether the first electronic equipment of detection
In charged state;When the first electronic equipment is in charged state, the charging electricity of the charging interface of the first electronic equipment is detected
Pressure;When charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection receives safe charging out code;When
When safe charging out code is not detected in first electronic equipment, the first electronic equipment of control exports prompt information.Wherein, first
Electronic equipment 102 can be, but not limited to be various personal computers, laptop, smart phone, tablet computer and portable
Wearable device, power supply 104 can be mobile power source, be also possible to fixed power source, without being limited thereto.
In one embodiment, as shown in Fig. 2, providing a kind of charging theft preventing method, comprising the following steps:
Step 202, when the first electronic equipment receives safe charging open command, whether the first electronic equipment of detection is located
In charged state.
First electronic equipment can be, but not limited to be various personal computers, laptop, smart phone, intelligence POS
(point of sale, point-of-sale terminal) machine, student's learning machine, tablet computer and portable wearable device.It is set in the first electronics
In standby, the shortcut key of a safe charging mode can be pre-established, when clicking the shortcut key, then generates safe charging unlatching
Instruction.In another embodiment, the first electronic equipment can also be inputted by user and obtain safe charging open command.
When the first electronic equipment receives safe charging open command, whether the first electronic equipment of detection is in charging shape
State.In the first electronic equipment, include Power Management Unit PMU (power management unit).It is filled by PMU detection
Piezoelectric voltage can detecte whether the first electronic equipment is in charged state.
When electronic equipment receives safe charging open command, whether detection electronic equipment is in charged state, comprising:
When electronic equipment receives safe charging open command, the charging voltage of electronic equipment is obtained;When charging voltage is greater than or waits
When second voltage threshold value, determine that electronic equipment is in charged state;When charging voltage is less than second voltage threshold value, electricity is determined
Sub- equipment is not in charged state.
Step 204, when the first electronic equipment is in charged state, the charging of the charging interface of the first electronic equipment is detected
Voltage.
The charging interface of first electronic equipment can be Mini USB interface, Micro USB interface, Type-C interface,
Lighting interface etc., it is without being limited thereto.Voltage (voltage), also referred to as potential difference or potential difference are unit of measurement charges quiet
The physical quantity of the energy difference as caused by potential difference in electric field.It is understood that step detects the first electronic equipment
The charging voltage of charging interface, or the charging current of the charging interface of the first electronic equipment of detection, it is without being limited thereto.
When the first electronic equipment is in charged state, the charging voltage of the charging interface of the first electronic equipment is detected.It can
Selection of land can be spaced preset duration and be detected, can also be detected with real-time perfoming when detecting, without being limited thereto.For example, can be with
ADC (Analog-to-Digital Converter, analog-digital converter) sampling is carried out, interval 2ms (millisecond) is carried out to the first electricity
The charging voltage of the charging interface of sub- equipment sample primary.
In another embodiment, it after the charging voltage for getting the charging interface of the first electronic equipment, can detecte
Cell voltage whether more than the first electronic equipment battery protection voltage and battery whether connect correctly.Work as charging voltage
More than the battery of the first electronic equipment protection voltage or true battery malunion when, generate cutting instruction, referred to according to cutting
Charging circuit is cut off in order.
Step 206, when charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection, which receives safety, is filled
It is electrically turn off instruction.
First voltage threshold value is preset, when charging voltage is less than first voltage threshold value, indicates that charging voltage is insufficient, i.e.,
First electronic equipment is unplugged charging cable or the first electronic equipment is disconnected charging operations.
Safe charging out code is referred to the instruction of the first electronic equipment closed safe charged state.Implement at one
In example, when cancelling safe charging mode, safe charging out code is generated.In another embodiment, safe charging closes
It closes instruction and is also possible to user's input.
Step 208, when safe charging out code is not detected in the first electronic equipment, control the first electronic equipment output
Prompt information.
When the charging voltage of the first electronic equipment is less than first voltage threshold value, and safe charging out code is not detected
When, indicate that the first electronic equipment disconnects power supply in the case where being not turned off safe charging state, i.e. there are quilts for the first electronic equipment
The risk of robber.Therefore, the first electronic equipment of control exports prompt information.
Prompt information for prompt user or other people, there is stolen risk in the first electronic equipment.Specifically, prompt
Information can be the information such as alarm, the light of flash lamp, vibration.First electronic equipment can control buzzer and issue alarm
Sound, flash lamp issue light, motor shakes etc..
In the present embodiment, when the first electronic equipment receives safe charging open command, and is in charged state, inspection
The charging voltage for surveying the charging interface of the first electronic equipment is less than first voltage threshold value, and safe charging closing is not detected and refers to
It enables, it is believed that the first electronic equipment is not on charged state, and has the risk being stolen, and the first electronic equipment of control is defeated
Prompt information out, prompt information can attract much attention, and the first electronic equipment is prevented to be stolen.
In one embodiment, when the first electronic equipment receives safe charging open command, the first electronics of detection is set
It is standby whether to be in charged state, comprising:
Step 302, when the first electronic equipment receives safe charging open command, the charging of the first electronic equipment is obtained
Voltage.
Step 304, when charging voltage is greater than or equal to second voltage threshold value, determine that the first electronic equipment is in charging shape
State.
Second voltage threshold value is preset, when charging voltage is greater than or equal to second voltage threshold value, indicates the first electronics
Equipment is in charged state.Second voltage threshold value can be identical as first voltage threshold value, can also be different, without being limited thereto.
In another embodiment, when the first electronic equipment receives safe charging open command, the first electricity is obtained
The charging current of sub- equipment.When charging current is greater than or equal to current threshold, determine that the first electronic equipment is in charged state.
Step 306, when charging voltage is less than second voltage threshold value, determine that the first electronic equipment is not in charged state.
In the present embodiment, when the first electronic equipment receives safe charging open command, the first electronic equipment is obtained
Charging voltage, whether charged state, Ke Yigeng are according to charging voltage and the first electronic equipment of second voltage threshold decision
Add and accurately judges whether the first electronic equipment enters charged state.
In one embodiment, above-mentioned charging theft preventing method further include: opened when the first electronic equipment receives safe charging
When opening instruction, safe charging information is generated;The mark with the second electronic equipment of the first electronic equipment binding is obtained, according to second
Safe charging information is sent to the second electronic equipment by the mark of electronic equipment.
Safe charging information refers to that the first electronic equipment carries out the relevant information of safe charging, as safe charging is opened
Time, the geographical location of charging, the first electronic equipment the information such as electricity.The mark of second electronic equipment can be the second electronics
Title, number, IP (Internet Protocol Address, internet protocol address) address of equipment etc..
It is understood that in order to further increase the safety of the first electronic equipment in the charge state, in the first electricity
Before sub- equipment carries out safe charging, the mark of the mark of the first electronic equipment and the second electronic equipment can be tied up in advance
It is fixed.When the first electronic equipment receives safe charging open command, the safe charging information of generation is sent to the second electronics
Equipment.
In the present embodiment, when the first electronic equipment receives safe charging open command, by the safe charging of generation
Information is sent to the second electronic equipment, and the holder of the second electronic equipment can be made to know that the first electronic equipment is in safe charging
State is enhanced your vigilance to be stolen to prevent the first electronic equipment in charging, be further improved when the first electronic equipment charges
Safety.
In one embodiment, above-mentioned charging theft preventing method further include:
Step 402, when safe charging out code is not detected in the first electronic equipment, statistics charging voltage is less than voltage
The duration of threshold value.
When the first electronic equipment detection charging interface charging voltage be less than first voltage threshold value, and be not detected safety fill
When being electrically turn off instruction, statistics charging voltage be less than voltage threshold duration, that is, count the first electronic equipment disconnect power supply after when
It is long.
Step 404, when length is greater than or equal to duration threshold value at that time, power-off data are generated.
Duration threshold value is preset, generally, in order to guarantee the safety of the first electronic equipment, duration threshold value is shorter, such as
10s (second), 15s (second) etc..
Power-off data refer to that the first electronic equipment disconnects the related data after power supply, can be the first electronic equipment
At the time of charging voltage is less than first voltage threshold value, the electricity etc. of the first electronic equipment when charging voltage is less than first voltage threshold value
Data.
Step 406, power-off data are sent to the second electronic equipment.
When length is greater than or equal to duration threshold value at that time, the risk for indicating that the first electronic equipment is stolen is larger.It therefore, can be with
Power-off data are generated, and power-off data are sent to the second electronic equipment.
In the present embodiment, when safe charging out code is not detected in the first electronic equipment, statistics charging voltage is small
It is long at that time when being greater than or equal to duration threshold value in the duration of voltage threshold, it generates power-off data and power-off data is sent to the
Two electronic equipments can make the holder of the second electronic equipment know that the first electronic equipment is in and be disconnected power supply, also not detect
To safe charging out code, the first electronic equipment is prevented to be stolen, further improves the safety of the first electronic equipment.
In one embodiment, it when length is greater than or equal to duration threshold value at that time, generates after powering off data, further includes:
Step 502, camera open command is generated.
When the first electronic equipment is not detected safe charging out code, and charging voltage be less than voltage threshold when grow up
When duration threshold value, camera open command is generated.The first electronic equipment can be opened according to camera open command
Camera.The camera of first electronic equipment may include multiple cameras such as front camera and rear camera, can be with
Open at least one camera.
Step 504, image data is obtained according to camera open command.
The camera that the first electronic equipment can be opened according to camera open command obtains picture number by camera
According to.In another embodiment, video data is obtained according to camera open command.
Power-off data are sent to the second electronic equipment, comprising:
Step 506, power-off data and image data are sent to the second electronic equipment.
The image data of the power-off data of generation and acquisition is sent to the second electronic equipment by the first electronic equipment.In addition
In one embodiment, the video data of the power-off data and acquisition that can be generated is sent to the second electronic equipment.
It is understood that disconnecting power supply status when the first electronic equipment is in, and safe charging pass is for a long time not detected
Instruction is closed, indicates that a possibility that the first electronic equipment is stolen is very big.Therefore, can open camera obtain image data or
Person's video data, and image data or video data and power-off data are sent to the second electronic equipment.When the first electronics
When equipment is stolen, the position of the first electronic equipment can be obtained by image data or video data and power-off data
A possibility that information steals the information such as suspect's image of the first electronic equipment, and the first electronic equipment is given in raising for change.
In one embodiment, when safe charging out code is not detected in the first electronic equipment, the first electronics is controlled
Equipment exports after prompt information, further includes: obtains the target cipher key of input;By target cipher key and it is stored in the first electronic equipment
In reference key matched;When target cipher key with reference to key with matching, prompt information out code is generated.
Target cipher key, can be with reference to key pattern key, digital cipher, biological fingerprint, biological characteristic etc. one or
Multiple objects with unique identification being combined.
Before the first electronic equipment carries out safe charging, it can be stored in advance with reference to key.It can store with reference to key
In the first electronic equipment, in another embodiment, also can store with reference to key in other servers, third party's storage
Center etc. stores in equipment.
The target cipher key of input is obtained, and target cipher key is matched with reference to key, when target cipher key and reference are close
When key matches, indicates to disconnect the holder that power supply is the first electronic equipment, then generate prompt information out code.Wherein, it mentions
Show information out code for closing prompt information, such as closes the alarm call that the first electronic equipment issues, close electronic equipment
Flash lamp etc..
When target cipher key with reference to key with not matching that, then the first electronic equipment continues to output prompt information.
In the present embodiment, the target cipher key that will acquire is matched with reference to key, upon a match, then will be prompted to information
It closes, can accurately close the prompt information of the first electronic equipment output.
In one embodiment, when safe charging out code is not detected in the first electronic equipment, the first electronics is controlled
Equipment exports prompt information, comprising: when safe charging out code is not detected in the first electronic equipment, obtains the first electronics and sets
The maximum intensity grade of standby prompt information, wherein corresponding at least two strength grades of the prompt information of the first electronic equipment;Control
Make the prompt information of the first electronic equipment output maximum intensity grade.
It is understood that the prompt information of the first electronic equipment output can correspond to multiple strength grades.For example, prompt
It when information is alarm call, may include at least two strength grades, when strength grade is highest level, indicate that alarm call is most
Loudly, when strength grade is the lowest class, indicate that alarm call is minimum.Strength grade is higher, then the first electronic equipment exports
Prompt information intensity it is stronger.
When safe charging out code is not detected in the first electronic equipment, the prompt of available first electronic equipment is believed
The strength grade of breath obtains the maximum intensity grade of the prompt information of the first electronic equipment from strength grade.For example, passing through the
The buzzer of one electronic equipment obtains the strength grade of alarm call, and the highest of alarm call is obtained from the strength grade of alarm call
Strength grade, and export the alarm call of highest level intensity.For another example, light can be obtained from the flash lamp in the first electronic equipment
Strength grade, and obtain from the strength grade of light the maximum intensity grade of light, and export the lamp of maximum intensity grade
Light.
In the present embodiment, it when safe charging out code is not detected in the first electronic equipment, obtains the first electronics and sets
The maximum intensity grade of standby prompt information, and the prompt information of the first electronic equipment output maximum intensity grade is controlled, it can be with
The attention for more improving people, further increases the safety of the first electronic equipment.
In one embodiment, when safe charging out code is not detected in the first electronic equipment, the first electronics is controlled
Equipment exports prompt information, comprising: when safe charging out code is not detected in the first electronic equipment, obtains the first electronics and sets
The first strength grade and the second strength grade of standby prompt information, wherein the first strength grade is lower than the second strength grade;System
Count the duration that charging voltage is less than voltage threshold;When duration is less than duration threshold value, the first electronic equipment of control exports the last the first
Spend the prompt information of grade;When length is greater than or equal to duration threshold value at that time, the first electronic equipment of control exports the second strength grade
Prompt information.
Wherein, the first strength grade be lower than the second strength grade, that is to say, that the prompt information of the first strength grade it is strong
Degree is lower than the prompt information of the second strength grade.Second strength grade can be maximum intensity grade.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in fig. 6, providing a kind of charging anti-theft device 600, comprising: charged state detection
Module 602, charging voltage detection module 604, instruction detection module 606 and prompt information output module 608, in which:
Charged state detection module 602, for when the first electronic equipment receives safe charging open command, detection the
Whether one electronic equipment is in charged state.
Charging voltage detection module 604, for detecting the first electronic equipment when the first electronic equipment is in charged state
Charging interface charging voltage.
Instruction detection module 606, when charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection is received
To safe charging out code.
Prompt information output module 608, for controlling when safe charging out code is not detected in the first electronic equipment
First electronic equipment exports prompt information.
Above-mentioned charging anti-theft device when the first electronic equipment receives safe charging open command, and is in charged state
When, the charging voltage for detecting the charging interface of the first electronic equipment is less than first voltage threshold value, and safe charging pass is not detected
Close instruction, it is believed that the first electronic equipment is not on charged state, and has the risk being stolen, and the first electronics of control is set
Standby output prompt information, prompt information can attract much attention, and the first electronic equipment is prevented to be stolen.
In one embodiment, as shown in fig. 7, providing a kind of charging anti-theft device 700, comprising: charged state detection
Module 702, data transmission blocks 704, charging voltage detection module 706, instruction detection module 708, prompt information output module
710, image data acquisition module 712 and cipher key match module 714, in which:
Charged state detection module 702, for when the first electronic equipment receives safe charging open command, detection the
Whether one electronic equipment is in charged state.
Data transmission blocks 704 are filled for when the first electronic equipment receives safe charging open command, generating safety
Power information;The mark with the second electronic equipment of the first electronic equipment binding is obtained, will be pacified according to the mark of the second electronic equipment
Full charge information is sent to the second electronic equipment.
Charging voltage detection module 706, for detecting the first electronic equipment when the first electronic equipment is in charged state
Charging interface charging voltage.
Instruction detection module 708, when charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection is received
To safe charging out code.
Prompt information output module 710, for controlling when safe charging out code is not detected in the first electronic equipment
First electronic equipment exports prompt information.
Image data acquisition module 712, for generating camera open command;Image is obtained according to camera open command
Data.
Cipher key match module 714, for obtaining the target cipher key of input;By target cipher key and it is stored in the first electronic equipment
In reference key matched;When target cipher key with reference to key with matching, prompt information out code is generated.
Safety can be generated when the first electronic equipment receives safe charging open command in above-mentioned charging anti-theft device
Charge data is simultaneously in charge information and is sent to the second electronic equipment.When the charging for the charging interface for detecting the first electronic equipment
Voltage is less than first voltage threshold value, and when safe charging out code is not detected, it is believed that the first electronic equipment is not located
In charged state, and there is the risk being stolen, the first electronic equipment of control exports prompt information, and prompt information can cause people
Note that the first electronic equipment is prevented to be stolen.Image data can also be obtained by camera, to obtain the first electronics
The first electronic equipment being stolen is given in the more information of equipment, help for change.When the target cipher key and ginseng of the input of the first electronic equipment
When examining key and matching, then prompt information is closed.
Above-mentioned charged state detection module 702 is also used to receive when the first electronic equipment in one of the embodiments,
When safe charging open command, the charging voltage of the first electronic equipment is obtained;When charging voltage is greater than or equal to second voltage threshold
When value, determine that the first electronic equipment is in charged state;When charging voltage is less than second voltage threshold value, determine that the first electronics is set
It is standby to be not in charged state.
Above-mentioned data transmission blocks 704 are also used to be grown at that time more than or equal to duration threshold value in one of the embodiments,
When, generate power-off data;Power-off data are sent to the second electronic equipment.
Above-mentioned data transmission blocks 704 are also used to power off data in one of the embodiments, and image data is sent
To the second electronic equipment.
Above-mentioned prompt information output module 710 is also used to not detect when the first electronic equipment in one of the embodiments,
To when safe charging out code, the maximum intensity grade of the prompt information of the first electronic equipment is obtained, wherein the first electronics is set
Corresponding at least two strength grades of standby prompt information;Control the prompt information of the first electronic equipment output maximum intensity grade.
Specific about charging anti-theft device limits the restriction that may refer to above for charging theft preventing method, herein not
It repeats again.Modules in above-mentioned charging anti-theft device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in the form of hardware or independently of in the processor in electronic equipment, can also be stored in a software form
In memory in electronic equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of electronic equipment is provided, which can be terminal, and internal structure chart can
With as shown in Figure 8.The electronic equipment includes processor, memory, network interface, the display screen and defeated connected by system bus
Enter device.Wherein, the processor of the electronic equipment is for providing calculating and control ability.The memory of the electronic equipment includes non-
Volatile storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The interior storage
Device provides environment for the operation of operating system and computer program in non-volatile memory medium.The network of the electronic equipment connects
Mouth with external terminal by network connection for being communicated.To realize that a kind of charging is anti-when the computer program is executed by processor
Robber's method.The display screen of the electronic equipment can be liquid crystal display or electric ink display screen, the input of the electronic equipment
Device can be the touch layer covered on display screen, be also possible to the key being arranged on electronic equipment casing, trace ball or touch-control
Plate can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 8, only part relevant to application scheme is tied
The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with
Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
In one embodiment, a kind of electronic equipment, including memory and processor are provided, is stored with meter in memory
Calculation machine program, which performs the steps of when executing computer program opens when the first electronic equipment receives safe charging
When opening instruction, whether the first electronic equipment of detection is in charged state;When the first electronic equipment is in charged state, detection the
The charging voltage of the charging interface of one electronic equipment;When charging voltage is less than first voltage threshold value, the first electronic equipment is detected
Whether safe charging out code is received;When safe charging out code is not detected in the first electronic equipment, control first
Electronic equipment exports prompt information.
In one embodiment, it is also performed the steps of when processor executes computer program when the first electronic equipment connects
When receiving safe charging open command, the charging voltage of the first electronic equipment is obtained;When charging voltage is greater than or equal to the second electricity
When pressing threshold value, determine that the first electronic equipment is in charged state;When charging voltage is less than second voltage threshold value, the first electricity is determined
Sub- equipment is not in charged state.
In one embodiment, it is also performed the steps of when processor executes computer program when the first electronic equipment connects
When receiving safe charging open command, safe charging information is generated;Obtain the second electronic equipment with the binding of the first electronic equipment
Mark, safe charging information is sent to by the second electronic equipment according to the mark of the second electronic equipment.
In one embodiment, it is also performed the steps of when processor executes computer program and works as the first electronic equipment not
When detecting safe charging out code, statistics charging voltage is less than the duration of voltage threshold;It is long at that time to be greater than or equal to duration
When threshold value, power-off data are generated;Power-off data are sent to the second electronic equipment.
In one embodiment, it also performs the steps of to generate camera and open when processor executes computer program and refer to
It enables;Image data is obtained according to camera open command.Power-off data are sent to the second electronic equipment, comprising: number will be powered off
The second electronic equipment is sent to according to image data.
In one embodiment, it is close that the target for obtaining and inputting also is performed the steps of when processor executes computer program
Key;Target cipher key is matched with the reference key being stored in the first electronic equipment;When target cipher key and reference key phase
When matching, prompt information out code is generated.
In one embodiment, it is also performed the steps of when processor executes computer program and works as the first electronic equipment not
When detecting safe charging out code, the maximum intensity grade of the prompt information of the first electronic equipment is obtained, wherein the first electricity
Corresponding at least two strength grades of the prompt information of sub- equipment;Control the prompt letter of the first electronic equipment output maximum intensity grade
Breath.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program is performed the steps of when being executed by processor when the first electronic equipment receives safe charging open command, detection
Whether the first electronic equipment is in charged state;When the first electronic equipment is in charged state, the first electronic equipment of detection
The charging voltage of charging interface;When charging voltage is less than first voltage threshold value, whether the first electronic equipment of detection receives peace
Full charging out code;When safe charging out code is not detected in the first electronic equipment, control the first electronic equipment output
Prompt information.
In one embodiment, it also performs the steps of when computer program is executed by processor when the first electronic equipment
When receiving safe charging open command, the charging voltage of the first electronic equipment is obtained;When charging voltage is greater than or equal to second
When voltage threshold, determine that the first electronic equipment is in charged state;When charging voltage is less than second voltage threshold value, first is determined
Electronic equipment is not in charged state.
In one embodiment, it also performs the steps of when computer program is executed by processor when the first electronic equipment
When receiving safe charging open command, safe charging information is generated;The second electronics bound with the first electronic equipment is obtained to set
Safe charging information is sent to the second electronic equipment according to the mark of the second electronic equipment by standby mark.
In one embodiment, it also performs the steps of when computer program is executed by processor when the first electronic equipment
When safe charging out code is not detected, statistics charging voltage is less than the duration of voltage threshold;When length is greater than or equal at that time
When long threshold value, power-off data are generated;Power-off data are sent to the second electronic equipment.
In one embodiment, it is also performed the steps of when computer program is executed by processor and generates camera unlatching
Instruction;Image data is obtained according to camera open command.Power-off data are sent to the second electronic equipment, comprising: will power off
Data and image data are sent to the second electronic equipment.
In one embodiment, the target for obtaining input is also performed the steps of when computer program is executed by processor
Key;Target cipher key is matched with the reference key being stored in the first electronic equipment;When target cipher key and refer to key
When matching, prompt information out code is generated.
In one embodiment, it also performs the steps of when computer program is executed by processor when the first electronic equipment
When safe charging out code is not detected, the maximum intensity grade of the prompt information of the first electronic equipment is obtained, wherein first
Corresponding at least two strength grades of the prompt information of electronic equipment;Control the prompt of the first electronic equipment output maximum intensity grade
Information.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.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
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), 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) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of charging theft preventing method is applied to the first electronic equipment, which comprises
When the first electronic equipment receives safe charging open command, detect whether first electronic equipment is in charging shape
State;
When first electronic equipment is in charged state, the charging electricity of the charging interface of first electronic equipment is detected
Pressure;
When the charging voltage is less than first voltage threshold value, detect whether first electronic equipment receives safe charging pass
Close instruction;
When the safe charging out code is not detected in first electronic equipment, the first electronic equipment output is controlled
Prompt information.
2. the method according to claim 1, wherein described when the first electronic equipment receives safe charging unlatching
When instruction, detect whether first electronic equipment is in charged state, comprising:
When the first electronic equipment receives safe charging open command, the charging voltage of the first electronic equipment is obtained;
When the charging voltage is greater than or equal to second voltage threshold value, determine that first electronic equipment is in charged state;
When the charging voltage is less than second voltage threshold value, determine that first electronic equipment is not in charged state.
3. the method according to claim 1, wherein the method also includes:
When the first electronic equipment receives safe charging open command, safe charging information is generated;
The mark with the second electronic equipment of first electronic equipment binding is obtained, according to the mark of second electronic equipment
The safe charging information is sent to the second electronic equipment.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When the safe charging out code is not detected in first electronic equipment, the charging voltage is counted less than voltage
The duration of threshold value;
When the duration is greater than or equal to duration threshold value, power-off data are generated;
The power-off data are sent to second electronic equipment.
5. according to the method described in claim 4, it is characterized in that, it is described when the duration be greater than or equal to duration threshold value when,
It generates after powering off data, further includes:
Generate camera open command;
Image data is obtained according to the camera open command;
It is described that the power-off data are sent to second electronic equipment, comprising:
The power-off data and image data are sent to second electronic equipment.
6. the method according to claim 1, wherein described when the peace is not detected in first electronic equipment
When full charging out code, after control the first electronic equipment output prompt information, further includes:
Obtain the target cipher key of input;
The target cipher key is matched with the reference key being stored in first electronic equipment;
When the target cipher key with reference to key with matching, prompt information out code is generated.
7. the method according to claim 1, wherein described when the peace is not detected in first electronic equipment
When full charging out code, controls first electronic equipment and exports prompt information, comprising:
When the safe charging out code is not detected in first electronic equipment, mentioning for first electronic equipment is obtained
Show the maximum intensity grade of information, wherein corresponding at least two strength grades of the prompt information of first electronic equipment;
Control the prompt information of the first electronic equipment output maximum intensity grade.
8. a kind of charging anti-theft device, which is characterized in that be applied to the first electronic equipment, described device includes:
Charged state detection module, for detecting described first when the first electronic equipment receives safe charging open command
Whether electronic equipment is in charged state;
Charging voltage detection module is set for when first electronic equipment is in charged state, detecting first electronics
The charging voltage of standby charging interface;
Instruction detection module detects whether first electronic equipment connects when the charging voltage is less than first voltage threshold value
Receive safe charging out code;
Prompt information output module, for controlling when the safe charging out code is not detected in first electronic equipment
Make the first electronic equipment output prompt information.
9. a kind of electronic equipment, including memory and processor, the memory are stored with computer program, which is characterized in that
The step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910170414.1A CN110059508A (en) | 2019-03-07 | 2019-03-07 | Charge theft preventing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910170414.1A CN110059508A (en) | 2019-03-07 | 2019-03-07 | Charge theft preventing method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110059508A true CN110059508A (en) | 2019-07-26 |
Family
ID=67316062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910170414.1A Pending CN110059508A (en) | 2019-03-07 | 2019-03-07 | Charge theft preventing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110059508A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113268788A (en) * | 2021-04-29 | 2021-08-17 | 山东英信计算机技术有限公司 | Anti-theft control and management system, method and medium for high-confidentiality server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201039286Y (en) * | 2007-03-23 | 2008-03-19 | 戴鹏辉 | Mobile phone theft prevention system |
CN102638628A (en) * | 2012-03-30 | 2012-08-15 | 深圳市金立通信设备有限公司 | Mobile phone anti-theft system and method based on camera and GPS (Global Position System) of mobile phone |
CN102800167A (en) * | 2012-08-21 | 2012-11-28 | 广州市渡明信息技术有限公司 | Mobile device and anti-theft method |
CN104393650A (en) * | 2014-12-02 | 2015-03-04 | 置富存储科技(深圳)有限公司 | Charging device of portable electronic product |
CN104580573A (en) * | 2013-10-29 | 2015-04-29 | 西安景行数创信息科技有限公司 | Mobile phone active anti-theft system |
CN107403530A (en) * | 2016-05-18 | 2017-11-28 | 富泰华工业(深圳)有限公司 | Electronic equipment theft-proof system and method |
-
2019
- 2019-03-07 CN CN201910170414.1A patent/CN110059508A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201039286Y (en) * | 2007-03-23 | 2008-03-19 | 戴鹏辉 | Mobile phone theft prevention system |
CN102638628A (en) * | 2012-03-30 | 2012-08-15 | 深圳市金立通信设备有限公司 | Mobile phone anti-theft system and method based on camera and GPS (Global Position System) of mobile phone |
CN102800167A (en) * | 2012-08-21 | 2012-11-28 | 广州市渡明信息技术有限公司 | Mobile device and anti-theft method |
CN104580573A (en) * | 2013-10-29 | 2015-04-29 | 西安景行数创信息科技有限公司 | Mobile phone active anti-theft system |
CN104393650A (en) * | 2014-12-02 | 2015-03-04 | 置富存储科技(深圳)有限公司 | Charging device of portable electronic product |
CN107403530A (en) * | 2016-05-18 | 2017-11-28 | 富泰华工业(深圳)有限公司 | Electronic equipment theft-proof system and method |
Non-Patent Citations (1)
Title |
---|
张兴伟: "《手机维修技术培训教程—下册》", 30 September 2001, 广东科技出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113268788A (en) * | 2021-04-29 | 2021-08-17 | 山东英信计算机技术有限公司 | Anti-theft control and management system, method and medium for high-confidentiality server |
CN113268788B (en) * | 2021-04-29 | 2023-01-10 | 山东英信计算机技术有限公司 | Anti-theft control and management system, method and medium for high-confidentiality server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3428819A1 (en) | Mobile security countermeasures | |
CN104008348B (en) | application control method, device and terminal | |
AU2011274360B2 (en) | System and method for storing a password recovery secret | |
CN107924288A (en) | Electronic equipment and its method for carrying out perform function using speech recognition | |
CN107944332A (en) | Fingerprint recognition card and the method for operating fingerprint recognition card | |
CN106503523B (en) | A kind of method and mobile terminal of mobile terminal login | |
CN104780279A (en) | Mobile phone and method used for supporting stolen tracking and locating | |
CN103577739A (en) | Intelligent mobile terminal and setting and accessing control method thereof | |
US9373967B1 (en) | Charging station for mobile devices and its associated method of operation | |
CN106874727A (en) | Double screen terminal applies processing method, device and a kind of terminal | |
CN105892889A (en) | Fingerprint operation method and terminal device | |
EP2669835B1 (en) | Mobile information terminal and gripping-feature learning method | |
CN109325336A (en) | Unlocking method, device and computer readable storage medium | |
CN107578506A (en) | The control method and device of internet-of-things terminal | |
CN108804006A (en) | Unlocking method, device, equipment and storage medium for wearable equipment | |
CN106911852A (en) | The method and mobile terminal of a kind of automatic alarm | |
CN108551550A (en) | Image control, the filming control method of camera applications, device and electronic equipment | |
CN106778295B (en) | File storage method, file display method, file storage device, file display device and terminal | |
CN106211070B (en) | A kind of anti-theft protection method and mobile terminal of mobile terminal | |
CN107437016A (en) | Application control method and related product | |
CN109697349A (en) | Terminal unlock method, device, computer equipment and storage medium | |
CN110059508A (en) | Charge theft preventing method, device, electronic equipment and storage medium | |
CN107844338A (en) | Application program management-control method, device, medium and electronic equipment | |
CN112434268A (en) | Shared electronic equipment management method and device | |
CN214752023U (en) | Fingerprint acquisition device and fingerprint management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |
|
RJ01 | Rejection of invention patent application after publication |