CN107798754A - Unlocking method, mobile terminal and the charging equipment of charging equipment - Google Patents

Unlocking method, mobile terminal and the charging equipment of charging equipment Download PDF

Info

Publication number
CN107798754A
CN107798754A CN201710900119.8A CN201710900119A CN107798754A CN 107798754 A CN107798754 A CN 107798754A CN 201710900119 A CN201710900119 A CN 201710900119A CN 107798754 A CN107798754 A CN 107798754A
Authority
CN
China
Prior art keywords
unlocking pin
charging equipment
target
target unlocking
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710900119.8A
Other languages
Chinese (zh)
Inventor
邹铜
伍浩华
阮程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN VIP-TEK ELECTRONICS Co Ltd
Original Assignee
SHENZHEN VIP-TEK ELECTRONICS Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN VIP-TEK ELECTRONICS Co Ltd filed Critical SHENZHEN VIP-TEK ELECTRONICS Co Ltd
Priority to CN201710900119.8A priority Critical patent/CN107798754A/en
Publication of CN107798754A publication Critical patent/CN107798754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • G07F15/006Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity dispensed for the electrical charging of other devices than vehicles

Abstract

The invention discloses a kind of unlocking method of charging equipment, mobile terminal and charging equipment, this method includes:2 D code information on mobile scanning terminal charging equipment, 2 D code information is sent to server, in order to which server generates this target unlocking pin based on 2 D code information and default password create-rule, the target unlocking pin that mobile terminal the reception server is sent, in order to unlock charging equipment by target unlocking pin, do not need server to send unlocking pin to charging equipment by WIFI, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.

Description

Unlocking method, mobile terminal and the charging equipment of charging equipment
Technical field
The present invention relates to charging equipment field, more particularly to a kind of unlocking method of charging equipment, mobile terminal and charging Equipment.
Background technology
With the development of the communication technology, mobile terminal has become people's life, work indispensable instrument, now such as The present, the function of mobile terminal is more and more, and screen is increasing, and power consumption rate is also increasingly faster, relatively low in mobile terminal electricity And in the case that oneself does not carry with charger, it is necessary to use self-service charging equipment, existing self-service charging equipment It is required for charging equipment to be communicated by WIFI with server, for example, the Quick Response Code on mobile scanning terminal charging equipment, is moved The request instruction for containing charging equipment information and self information is sent to server by dynamic terminal, and server sends feedback command To mobile terminal, after mobile terminal payment, server sends unlock instruction to charging equipment by WIFI, puts its unblock Electricity, this method need the built-in WIFI devices in charging equipment, add the cost of manufacture of charging equipment.
The content of the invention
It is a primary object of the present invention to provide a kind of unlocking method of charging equipment, it is intended to which solution exists in the prior art The built-in WIFI devices in charging equipment, add the technical problem of the cost of manufacture of charging equipment.
To achieve the above object, first aspect present invention provides a kind of unlocking method of charging equipment, and methods described includes:
2 D code information on mobile scanning terminal charging equipment, the 2 D code information is sent to server, so as to This target unlocking pin is generated based on the 2 D code information and default password create-rule in the server;
The mobile terminal receives the target unlocking pin that the server is sent, in order to pass through the target solution Lock cipher unlocks the charging equipment.
To achieve the above object, second aspect of the present invention provides a kind of unlocking method of charging equipment, and methods described includes:
The charging equipment receives the target unlocking pin of input;
Unblock operation is performed according to the cipher code set defaulted in the charging equipment, and the target unlocking pin.
To achieve the above object, third aspect present invention provides a kind of mobile terminal, and the mobile terminal includes:
Scan module, for scanning the 2 D code information on charging equipment, the 2 D code information is sent to server, In order to which the server generates this target unlocking pin based on the 2 D code information and default password create-rule;
First receiving module, the target unlocking pin sent for receiving the server, in order to by described Target unlocking pin unlocks the charging equipment.
To achieve the above object, fourth aspect present invention provides a kind of charging equipment, and the charging equipment includes:
Second receiving module, for receiving the target unlocking pin of input;
Execution module, for being performed according to the cipher code set defaulted in the charging equipment, and the target unlocking pin Unblock operation.
The present invention provides a kind of unlocking method of charging equipment, is believed by the Quick Response Code on mobile scanning terminal charging equipment Breath, 2 D code information is sent to server, in order to which server is based on 2 D code information and the life of default password create-rule The target unlocking pin sent into this target unlocking pin, mobile terminal the reception server, in order to be unlocked by target Password unlocks charging equipment.Compared with prior art, communicated by server and mobile terminal, acquisition for mobile terminal target Unlocking pin, in order to unlock charging equipment by target unlocking pin, it is not necessary to which server sends unlocking pin by WIFI To charging equipment, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the unlocking method for charging equipment that first embodiment of the invention provides;
Fig. 2 is a kind of schematic flow sheet of the unlocking method for charging equipment that second embodiment of the invention provides;
Fig. 3 is the schematic flow sheet of the refinement step of the step S202 in embodiment illustrated in fig. 2;
Fig. 4 is a kind of structural representation for mobile terminal that third embodiment of the invention provides;
Fig. 5 is a kind of structural representation for mobile terminal that fourth embodiment of the invention provides;
Fig. 6 is a kind of structural representation for charging equipment that fifth embodiment of the invention provides;
Fig. 7 is the refinement structural representation of the execution module 602 shown in Fig. 6.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In order to illustrate technical scheme, illustrated below by specific embodiment.
In order to be better understood from the present invention, referring to Fig. 1, a kind of charging that Fig. 1, which is first embodiment of the invention, to be provided is set The schematic flow sheet of standby unlocking method, including:
Step S101, the 2 D code information on mobile scanning terminal charging equipment, 2 D code information is sent to server, In order to which server generates this target unlocking pin based on 2 D code information and default password create-rule;
In embodiments of the present invention, above-mentioned 2 D code information is set in advance on charging equipment, on each charging equipment There is a unique 2 D code information, the number range of the 2 D code information is 0~65535.
Wherein, password create-rule is preset with server, the unlocking pin of preset number can be generated, server is successively Circulate to mobile terminal and send target unlocking pin, for example, it is close can to generate 20 unblocks according to password create-rule for server Code, server have received the 2 D code information that the 1st user sends, then are sent out the 1st unlocking pin as target unlocking pin The 1st user is given, server have received the 2 D code information that the 20th user sends, then using the 20th unlocking pin as mesh Mark unlocking pin is sent to the 20th user, and server have received the 2 D code information that the 21st user sends, then again by the 1st Individual unlocking pin is sent to the 21st user as target unlocking pin.
Wherein, password generating process is shown in the following example:
20 encrypted messages are obtained according to password create-rule, the 1st encrypted message is preset for the numerical value * of 2 D code information Numerical value+1, the 2nd encrypted message are that the+2, the 3rd encrypted message of numerical value * default values of 2 D code information is 2 D code information Numerical value * default values+3, by that analogy, the 20th encrypted message are the numerical value * default values+20 of 2 D code information, according to close Code information can obtain target unlocking pin, and (encrypted message+1) * 2 if obtained numerical value is less than predetermined threshold value, continues to hold Row (encrypted message+1) * 2, until obtained numerical value is more than or equal to predetermined threshold value, take low five conducts target unlocking pin.Example Such as, the numerical value of 2 D code information is 60000, and default value 32, predetermined threshold value is OxFFFFFF (16777215), then the 1st Encrypted message is 60000*32+1=1920001, and the 2nd encrypted message is 60000*32+2=1920002, the 3rd message in cipher Cease for 60000*32+3=1920003, by that analogy, the 20th encrypted message is 60000*32+20=1920020, if the 1st 2 D code information is simultaneously sent to server by scanning input 2 D code information, and server performs (encrypted message+1) * 2= (1920001+1) * 2=3840004,3840004 are less than 16777215, then using 3840004 as new encrypted message, hold again Row (encrypted message+1) * 2, obtained numerical value be 7680010,7680010 be less than 16777215, then using 7680010 as newly Encrypted message, (encrypted message+1) * 2 is performed again, obtained numerical value is less than 16777215 for 15360022,15360022, then Using 15360022 as new encrypted message, (encrypted message+1) * 2 is performed again, obtained numerical value is 30720046, 30720046 be more than 16777215, using 20046 as the 1st user target unlocking pin, if the 20th scanning input two dimension 2 D code information is simultaneously sent to server by code information, and server performs (encrypted message+1) * 2=(1920020+1) * 2= 3840042,3840042 are less than 16777215, then using 3840042 as new encrypted message, perform (encrypted message+1) * again 2, obtained numerical value is less than 16777215 for 7680086,7680086, then using 7680086 as new encrypted message, holds again Row (encrypted message+1) * 2, obtained numerical value are less than 16777215 for 15360174,15360174, then using 15360174 as new Encrypted message, again perform (encrypted message+1) * 2, obtained numerical value be 30720350,30720350 be more than 16777215, Using 20350 as the 20th user target unlocking pin.
Step S102, the target unlocking pin that mobile terminal the reception server is sent, in order to pass through target unlocking pin Unlock charging equipment.
In embodiments of the present invention, the target unlocking pin that mobile terminal the reception server is sent, has two methods real Charging equipment is now unlocked by target unlocking pin.
The first is:The embedded with bluetooth device in charging equipment, the 2 D code information of mobile scanning terminal charging equipment should The unique identification information of charging equipment is contained in 2 D code information, mobile terminal is based on the unique identification information and corresponding shifting Dynamic terminal establishes bluetooth connection, and target unlocking pin is sent into charging equipment, is entered by charging equipment using target unlocking pin Row unblock, charging equipment is sent to by bluetooth by target unlocking pin, because bluetooth cost is relatively low, so than passing through WIFI by mesh Mark unlocking pin, which is sent to charging equipment, reduces cost, and is manually entered and compares with user, it is not easy to malfunction, and it is more convenient, Lift Consumer's Experience.
It is for second:The target unlocking pin that mobile terminal the reception server is sent, and target unlocking pin is included On interface, target unlocking pin is inputted into charging equipment by user, is unlocked by charging equipment using target unlocking pin.
Wherein, 0~9 button, in addition to a removing button are provided with charging equipment, the password of input can be deleted.
Wherein, charging equipment is provided with LED, and LED includes password indicator lamp and power supply indicator, is indicated for password Lamp:When target unlocking pin being inputted into charging equipment by user, a password, a bright LED are often inputted.For power supply instruction Lamp:If the target unlocking pin of input is correct, power supply indicator gives a green light, if the target unlocking pin mistake of input, electricity Source indicator lamp sends out a warning, and extinguishes after flashing 3 times..
Wherein, charging equipment is provided with buzzer, the sound of buzzing one when any button is effectively pressed, if the target solution of input Lock cipher mistake, then buzzer can the sound of buzzing three.
Referring to Fig. 2, Fig. 2 is a kind of flow signal of the unlocking method for charging equipment that second embodiment of the invention provides Figure, including:
Step S201, charging equipment receives the target unlocking pin of input;
Step S202, unblock operation is performed according to the cipher code set defaulted in charging equipment, and target unlocking pin.
In embodiments of the present invention, in Default Value, password create-rule is preset with charging equipment, generates preset Several unlocking pins, the generating process such as step S101 of password, these passwords form a cipher code set.
In embodiments of the present invention, charging equipment receives the target unlocking pin of input, according to defaulting in charging equipment Cipher code set, and target unlocking pin perform unblock operation, it is not necessary to server by WIFI send unlocking pin set to charging It is standby, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of the refinement step of the step S202 in embodiment illustrated in fig. 2, including:
Step S301, current workable unlocking pin in cipher code set is determined;
In embodiments of the present invention, when the charging equipment is used for the first time, because not using in cipher code set Any one unlocking pin, so current workable unlocking pin is whole unlocking pins in cipher code set, it be not just When secondary use, then all unlocking pins lock before the unlocking pin and the unlocking pin that use the last time, The unlocking pin of no locking is defined as in cipher code set current workable unlocking pin, for example, there are 20 solutions in cipher code set Lock cipher, the unlocking pin that the last time uses is the 15th password, and the 1st to the 15th unlocking pin is all locked, even if There is the unlocking pin not used in 1st to the 15th unlocking pin, also locked, determine in cipher code set when Preceding workable unlocking pin is the 16th to the 20th unlocking pin.
Step S302, the current workable unlocking pin of inquiry, it is determined that whether there is in current workable unlocking pin With target unlocking pin identical unlocking pin;
If step S303, in the presence of with target unlocking pin identical unlocking pin, unlock charging equipment;
If step S304, it is not present and target unlocking pin identical unlocking pin, refusal unblock charging equipment;
In embodiments of the present invention, as in step S301, there is 20 unlocking pins in cipher code set, what the last time used Unlocking pin is the 15th password, and the 1st to the 15th unlocking pin is all locked, and determines current workable solution in cipher code set Lock cipher is the 16th to the 20th unlocking pin, and charging equipment receives the target unlocking pin of input again, if the target solution Lock cipher is identical with any one unlocking pin in the 16th to the 20th unlocking pin, then charging equipment is unlocked, if the mesh Any one unlocking pin marked in unlocking pin and the 16th to the 20th unlocking pin is all identical, then refusal unblock charging is set It is standby.
It should be noted that even if the target unlocking pin and a unblock in the 1st to the 15th unlocking pin are close Code-phase is same, can also refuse to unlock charging equipment, because the 1st to the 15th unlocking pin is all locked out, the password of locking exists It can not all be used before resetting.
If step S305, target unlocking pin is identical with the reseting cipher in cipher code set, performs and reset operation.
In embodiments of the present invention, there is the reseting cipher of preset number in cipher code set, it is preferred that put the position of reseting cipher In the rear portion of cipher code set, for example, there is 20 passwords in cipher code set, the 17th password, the 18th password and the 19th password are multiple Position password.
In embodiments of the present invention, if in the presence of with target unlocking pin identical unlocking pin, unblock charging equipment Afterwards, judge whether target unlocking pin is identical with any one reseting cipher in cipher code set, performed if identical and reset behaviour Make, if different from reseting cipher, do not perform reset operation.
Wherein, reset and unlocked in the unlocking pin that operation represents to lock in cipher code set so that the institute in cipher code set There is unlocking pin all in workable state.
In embodiments of the present invention, 0~9 button is provided with charging equipment, in addition to one confirms that button and reset are pressed Key, it is reseting cipher to confirm that button is used to work as the target unlocking pin received, presses confirmation button, can perform and reset operation.It is multiple Position button is used to work as the reset key pressed on charging equipment, it is not necessary to inputs any password, can directly carry out reset operation.
Wherein, precharge function is additionally provided with charging equipment, detects that the output interface of mobile terminal and charging equipment connects Afterwards, it can be charged to mobile terminal, in the first preset time period, if being inputted without correct unlocking pin, output be closed, if input Unlocking pin it is correct, then unlock and charging equipment and exported, output is closed after the second preset time period.
If it should be noted that within the 3rd preset time period, 3 unlocking pins are continuously inputted, then when the 4th is preset Between in section any password of input it is all invalid.
Wherein, the first preset time period, the second preset time period, the 3rd preset time period and the 4th preset time period can roots Set according to actual demand.
It should be noted that mobile scanning terminal 2 D code information, and 2 D code information is sent to server, server Charging message is fed back to mobile terminal, and after the payment for receiving mobile terminal instructs, server sends target unlocking pin extremely Mobile terminal.
Referring to Fig. 4, Fig. 4 is a kind of structural representation for mobile terminal that third embodiment of the invention provides, including:
Scan module 401, for scanning the 2 D code information on charging equipment, 2 D code information is sent to server, In order to which server generates this target unlocking pin based on 2 D code information and default password create-rule;
In embodiments of the present invention, above-mentioned 2 D code information is set in advance on charging equipment, on each charging equipment There is a unique 2 D code information, the number range of the 2 D code information is 0~65535.
Wherein, password create-rule is preset with server, the unlocking pin of preset number can be generated, server is successively Circulate to mobile terminal and send target unlocking pin, for example, it is close can to generate 20 unblocks according to password create-rule for server Code, server have received the 2 D code information that the 1st user sends, then are sent out the 1st unlocking pin as target unlocking pin The 1st user is given, server have received the 2 D code information that the 20th user sends, then using the 20th unlocking pin as mesh Mark unlocking pin is sent to the 20th user, and server have received the 2 D code information that the 21st user sends, then again by the 1st Individual unlocking pin is sent to the 21st user as target unlocking pin.
Wherein, password generating process is shown in the following example:
20 encrypted messages are obtained according to password create-rule, the 1st encrypted message is preset for the numerical value * of 2 D code information Numerical value+1, the 2nd encrypted message are that the+2, the 3rd encrypted message of numerical value * default values of 2 D code information is 2 D code information Numerical value * default values+3, by that analogy, the 20th encrypted message are the numerical value * default values+20 of 2 D code information, according to close Code information can obtain target unlocking pin, and (encrypted message+1) * 2 if obtained numerical value is less than predetermined threshold value, continues to hold Row (encrypted message+1) * 2, until obtained numerical value is more than or equal to predetermined threshold value, take low five conducts target unlocking pin.Example Such as, the numerical value of 2 D code information is 60000, and default value 32, predetermined threshold value is OxFFFFFF (16777215), then the 1st Encrypted message is 60000*32+1=1920001, and the 2nd encrypted message is 60000*32+2=1920002, the 3rd message in cipher Cease for 60000*32+3=1920003, by that analogy, the 20th encrypted message is 60000*32+20=1920020, if the 1st The scan module 401 of user scans 2 D code information and 2 D code information is sent into server, and server performs (encrypted message + 1) * 2=(1920001+1) * 2=3840004,3840004 are less than 16777215, then using 3840004 as new message in cipher Breath, (encrypted message+1) * 2 is performed again, obtained numerical value is less than 16777215 for 7680010,7680010, then by 7680010 As new encrypted message, (encrypted message+1) * 2 is performed again, and obtained numerical value is less than for 15360022,15360022 16777215, then using 15360022 as new encrypted message, (encrypted message+1) * 2 is performed again, obtained numerical value is 30720046,30720046 be more than 16777215, using 20046 as the 1st user target unlocking pin, if the 20th user Scan module 401 scan 2 D code information and 2 D code information be sent to server, server performs (encrypted message+1) * 2=(1920020+1) * 2=3840042,3840042 are less than 16777215, then using 3840042 as new encrypted message, then It is secondary execution (encrypted message+1) * 2, obtained numerical value be 7680086,7680086 be less than 16777215, then using 7680086 as New encrypted message, performs (encrypted message+1) * 2 again, and obtained numerical value is less than for 15360174,15360174 16777215, then using 15360174 as new encrypted message, (encrypted message+1) * 2 is performed again, obtained numerical value is 30720350,30720350 be more than 16777215, using 20350 as the 20th user target unlocking pin.
First receiving module 402, the target unlocking pin sent for the reception server are close in order to be unlocked by target Code unblock charging equipment.
Wherein, 0~9 button, in addition to a removing button are provided with charging equipment, the password of input can be deleted.
Wherein, charging equipment is provided with LED, and LED includes password indicator lamp and power supply indicator, is indicated for password Lamp:When target unlocking pin being inputted into charging equipment by user, a password, a bright LED are often inputted.For power supply instruction Lamp:If the target unlocking pin of input is correct, power supply indicator gives a green light, if the target unlocking pin mistake of input, electricity Source indicator lamp sends out a warning, and extinguishes after flashing 3 times..
Wherein, charging equipment is provided with buzzer, the sound of buzzing one when any button is effectively pressed, if the target solution of input Lock cipher mistake, then buzzer can the sound of buzzing three.
In embodiments of the present invention, the 2 D code information on charging equipment is scanned by scan module 401, Quick Response Code is believed Breath is sent to server, in order to which server generates this target solution based on 2 D code information and default password create-rule Lock cipher, the target unlocking pin that the reception server of the first receiving module 402 is sent, in order to be unlocked by target unlocking pin Charging equipment.Compared with prior art, communicated by server and mobile terminal, the unblock of acquisition for mobile terminal target is close Code, in order to unlock charging equipment by target unlocking pin, it is not necessary to which server sends unlocking pin to charging by WIFI Equipment, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.
Referring to Fig. 5, Fig. 5 is a kind of structural representation for mobile terminal that fourth embodiment of the invention provides, including:
Scan module 401, for scanning the 2 D code information on charging equipment, 2 D code information is sent to server, In order to which server generates this target unlocking pin based on 2 D code information and default password create-rule;
First receiving module 402, the target unlocking pin sent for the reception server are close in order to be unlocked by target Code unblock charging equipment;
The receiving module 402 of scan module 401 and first in the embodiment of the present invention and the scan module in 3rd embodiment 401 and first receiving module 402 describe content it is consistent, here is omitted.
Sending module 501, for establishing bluetooth connection using 2 D code information and charging equipment, and by target unlocking pin Charging equipment is sent to, is unlocked by charging equipment using target unlocking pin;
In embodiments of the present invention, the embedded with bluetooth device in charging equipment, scan module 401 scan the two of charging equipment Code information is tieed up, the unique identification information of charging equipment is contained in the 2 D code information, mobile terminal is believed based on the unique mark Breath establishes bluetooth connection with corresponding mobile terminal, and target unlocking pin is sent to charging equipment by sending module 501, by charging Equipment utilization target unlocking pin is unlocked, and target unlocking pin is sent into charging equipment by bluetooth, because of bluetooth cost It is relatively low, so reducing cost than target unlocking pin is sent into charging equipment by WIFI, and it is manually entered and compares with user, Error-prone and more convenient, lifting Consumer's Experience is not allowed.
Display module 502, for display target unlocking pin, to be set the input charging of target unlocking pin by user It is standby, it is unlocked by charging equipment using target unlocking pin.
In embodiments of the present invention, the target unlocking pin that mobile terminal the reception server is sent, display module 502 is by mesh Mark unlocking pin is shown on interface, and target unlocking pin is inputted into charging equipment by user, target solution is utilized by charging equipment Lock cipher is unlocked, and compared with prior art, is communicated by server and mobile terminal, acquisition for mobile terminal target solution Lock cipher, in order to pass through target unlocking pin unlock charging equipment, it is not necessary to server by WIFI send unlocking pin to Charging equipment, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.
Referring to Fig. 6, Fig. 6 is a kind of structural representation for charging equipment that fifth embodiment of the invention provides, including:
Second receiving module 601, for receiving the target unlocking pin of input;
Execution module 602, for performing unblock behaviour according to the cipher code set defaulted in charging equipment, and target unlocking pin Make.
In embodiments of the present invention, in Default Value, password create-rule is preset with charging equipment, generates preset Several unlocking pins, the generating process such as step S101 of password, these passwords form a cipher code set.
In embodiments of the present invention, charging equipment receives the target unlocking pin of input, according to defaulting in charging equipment Cipher code set, and target unlocking pin perform unblock operation, it is not necessary to server by WIFI send unlocking pin set to charging It is standby, i.e., need not in charging equipment built-in WIFI devices, reduce the cost of manufacture of charging equipment.
Referring to Fig. 7, Fig. 7 is the refinement structural representation of the execution module 602 shown in Fig. 6, including:
Determining unit 701, for determining current workable unlocking pin in cipher code set;
In embodiments of the present invention, when the charging equipment is used for the first time, because not using in cipher code set Any one unlocking pin, so current workable unlocking pin is whole unlocking pins in cipher code set, it be not just When secondary use, then all unlocking pins lock before the unlocking pin and the unlocking pin that use the last time, The unlocking pin of no locking is defined as in cipher code set current workable unlocking pin, for example, there are 20 solutions in cipher code set Lock cipher, the unlocking pin that the last time uses is the 15th password, and the 1st to the 15th unlocking pin is all locked, even if There is the unlocking pin not used in 1st to the 15th unlocking pin, also locked, determine in cipher code set when Preceding workable unlocking pin is the 16th to the 20th unlocking pin.
Query unit 702, for inquiring about current workable unlocking pin, it is determined that being in current workable unlocking pin It is no to exist and target unlocking pin identical unlocking pin;
Unlocking unit 703, if in the presence of with target unlocking pin identical unlocking pin, unlock charging equipment;
Refuse unlocking unit 704, if for being filled in the absence of with target unlocking pin identical unlocking pin, refusal unblock Electric equipment;
In embodiments of the present invention, as in determining unit 701, there are 20 unlocking pins in cipher code set, the last time makes Unlocking pin is the 15th password, and the 1st to the 15th unlocking pin is all locked, determines currently to can be used in cipher code set Unlocking pin be the 16th to the 20th unlocking pin, charging equipment receives the target unlocking pin of input again, if the mesh It is identical with any one unlocking pin in the 16th to the 20th unlocking pin to mark unlocking pin, then unlocks charging equipment, if Any one unlocking pin in the target unlocking pin and the 16th to the 20th unlocking pin is all identical, then refuses unblock and fill Electric equipment.
It should be noted that even if the target unlocking pin and a unblock in the 1st to the 15th unlocking pin are close Code-phase is same, can also refuse to unlock charging equipment, because the 1st to the 15th unlocking pin is all locked out, the password of locking exists It can not all be used before resetting.Reset unit 705, if identical with the reseting cipher in cipher code set for target unlocking pin, Then perform and reset operation.
Query unit 701, if being reset state for reset state, preset cipher code set is inquired about, determines cipher code set In whether there is and target unlocking pin identical unlocking pin;
In embodiments of the present invention, there is the reseting cipher of preset number in cipher code set, it is preferred that put the position of reseting cipher In the rear portion of cipher code set, for example, there is 20 passwords in cipher code set, the 17th password, the 18th password and the 19th password are multiple Position password.
In embodiments of the present invention, if in the presence of with target unlocking pin identical unlocking pin, unblock charging equipment Afterwards, judge whether target unlocking pin is identical with any one reseting cipher in cipher code set, performed if identical and reset behaviour Make, if different from reseting cipher, do not perform reset operation.
Wherein, reset and unlocked in the unlocking pin that operation represents to lock in cipher code set so that the institute in cipher code set There is unlocking pin all in workable state.
In embodiments of the present invention, 0~9 button is provided with charging equipment, in addition to one confirms that button and reset are pressed Key, it is reseting cipher to confirm that button is used to work as the target unlocking pin received, presses confirmation button, can perform and reset operation.It is multiple Position button is used to work as the reset key pressed on charging equipment, it is not necessary to inputs any password, can directly carry out reset operation.
Wherein, precharge function is additionally provided with charging equipment, detects that the output interface of mobile terminal and charging equipment connects Afterwards, it can be charged to mobile terminal, in the first preset time period, if being inputted without correct unlocking pin, output be closed, if input Unlocking pin it is correct, then unlock and charging equipment and exported, output is closed after the second preset time period.
If it should be noted that within the 3rd preset time period, 3 unlocking pins are continuously inputted, then when the 4th is preset Between in section any password of input it is all invalid.
Wherein, the first preset time period, the second preset time period, the 3rd preset time period and the 4th preset time period can roots Set according to actual demand.
It should be noted that mobile scanning terminal 2 D code information, and 2 D code information is sent to server, server Charging message is fed back to mobile terminal, and after the payment for receiving mobile terminal instructs, server sends target unlocking pin extremely Mobile terminal.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the module, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or module Letter connection, can be electrical, mechanical or other forms.
The module illustrated as separating component can be or may not be physically separate, show as module The part shown can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is above unlocking method, mobile terminal and the charging equipment of a kind of charging equipment provided the embodiment of the present invention Description, for those skilled in the art, according to the thought of the embodiment of the present invention, in specific embodiments and applications There will be changes, to sum up, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of unlocking method of charging equipment, it is characterised in that methods described includes:
2 D code information on mobile scanning terminal charging equipment, the 2 D code information is sent to server, in order to institute State server and this target unlocking pin is generated based on the 2 D code information and default password create-rule;
The mobile terminal receives the target unlocking pin that the server is sent, close in order to be unlocked by the target Code unlocks the charging equipment.
2. according to the method for claim 1, it is characterised in that the mobile terminal receives the described of the server transmission Target unlocking pin, also includes afterwards:
The mobile terminal establishes bluetooth connection using the 2 D code information and the charging equipment, and the target is unlocked Password is sent to the charging equipment, is unlocked by the charging equipment using the target unlocking pin;
Or
The target unlocking pin is shown, so as to which the target unlocking pin is inputted into the charging equipment by user, by described Charging equipment is unlocked using the target unlocking pin.
3. a kind of unlocking method of charging equipment, it is characterised in that methods described includes:
The charging equipment receives the target unlocking pin of input;
Unblock operation is performed according to the cipher code set defaulted in the charging equipment, and the target unlocking pin.
4. according to the method for claim 3, it is characterised in that the password that the basis is defaulted in the charging equipment Group, and the target unlocking pin perform unblock operation, including:
Determine current workable unlocking pin in the cipher code set;
Inquire about the current workable unlocking pin, determine to whether there is in the current workable unlocking pin with it is described Target unlocking pin identical unlocking pin;
If in the presence of with the target unlocking pin identical unlocking pin, unlock the charging equipment;
If unlock the charging equipment in the absence of with the target unlocking pin identical unlocking pin, refusal.
5. according to the method for claim 4, it is characterised in that if it is described in the presence of with the target unlocking pin identical solution Lock cipher, then after unlocking the charging equipment, in addition to:
If the target unlocking pin is identical with the reseting cipher in the cipher code set, performs and reset operation.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Scan module, for scanning the 2 D code information on charging equipment, the 2 D code information is sent to server, so as to This target unlocking pin is generated based on the 2 D code information and default password create-rule in the server;
First receiving module, the target unlocking pin sent for receiving the server, in order to pass through the target Unlocking pin unlocks the charging equipment.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Sending module, for establishing bluetooth connection using the 2 D code information and the charging equipment, and by the target solution Lock cipher is sent to the charging equipment, is unlocked by the charging equipment using the target unlocking pin;
Or
Display module, for showing the target unlocking pin, so as to as user by the target unlocking pin input described in fill Electric equipment, it is unlocked by the charging equipment using the target unlocking pin.
8. a kind of charging equipment, it is characterised in that the charging equipment includes:
Second receiving module, for receiving the target unlocking pin of input;
Execution module, for performing unblock according to the cipher code set defaulted in the charging equipment, and the target unlocking pin Operation.
9. charging equipment according to claim 8, it is characterised in that the execution module includes:
Determining unit, for determining current workable unlocking pin in the cipher code set;
Query unit, for inquiring about the current workable unlocking pin, determine in the current workable unlocking pin With the presence or absence of with the target unlocking pin identical unlocking pin;
Unlocking unit, if in the presence of with the target unlocking pin identical unlocking pin, unlock the charging equipment;
Refuse unlocking unit, if in the absence of with the target unlocking pin identical unlocking pin, refusal unblock described in Charging equipment.
10. charging equipment according to claim 9, it is characterised in that the execution module also includes:
Reset unit, if identical with the reseting cipher in the cipher code set for the target unlocking pin, perform and reset behaviour Make.
CN201710900119.8A 2017-09-28 2017-09-28 Unlocking method, mobile terminal and the charging equipment of charging equipment Pending CN107798754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710900119.8A CN107798754A (en) 2017-09-28 2017-09-28 Unlocking method, mobile terminal and the charging equipment of charging equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710900119.8A CN107798754A (en) 2017-09-28 2017-09-28 Unlocking method, mobile terminal and the charging equipment of charging equipment

Publications (1)

Publication Number Publication Date
CN107798754A true CN107798754A (en) 2018-03-13

Family

ID=61533792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710900119.8A Pending CN107798754A (en) 2017-09-28 2017-09-28 Unlocking method, mobile terminal and the charging equipment of charging equipment

Country Status (1)

Country Link
CN (1) CN107798754A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147139A (en) * 2018-09-21 2019-01-04 张威 Public charging unit and its unlocking method, device, equipment and storage medium
CN110061539A (en) * 2019-04-02 2019-07-26 深圳小黄电智能科技有限公司 A kind of shared charge control method and shared charging terminal
CN111008411A (en) * 2019-09-30 2020-04-14 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Universal serial bus medium and data reading method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188031A (en) * 2007-12-12 2008-05-28 钱志湘 Alternative password login method
CN104331797A (en) * 2014-11-28 2015-02-04 山东鲁能智能技术有限公司 Payment method of offline charging equipment based on mobile terminal
CN105187421A (en) * 2015-08-28 2015-12-23 张大圣 Account password command protection method
CN105703437A (en) * 2016-03-26 2016-06-22 赵紫州 Mobile charging pile and application method thereof
CN106785146A (en) * 2017-02-09 2017-05-31 山东鲁能智能技术有限公司 The charging method and system of the electric automobile charging pile with bluetooth

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188031A (en) * 2007-12-12 2008-05-28 钱志湘 Alternative password login method
CN104331797A (en) * 2014-11-28 2015-02-04 山东鲁能智能技术有限公司 Payment method of offline charging equipment based on mobile terminal
CN105187421A (en) * 2015-08-28 2015-12-23 张大圣 Account password command protection method
CN105703437A (en) * 2016-03-26 2016-06-22 赵紫州 Mobile charging pile and application method thereof
CN106785146A (en) * 2017-02-09 2017-05-31 山东鲁能智能技术有限公司 The charging method and system of the electric automobile charging pile with bluetooth

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109147139A (en) * 2018-09-21 2019-01-04 张威 Public charging unit and its unlocking method, device, equipment and storage medium
CN110061539A (en) * 2019-04-02 2019-07-26 深圳小黄电智能科技有限公司 A kind of shared charge control method and shared charging terminal
CN111008411A (en) * 2019-09-30 2020-04-14 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Universal serial bus medium and data reading method thereof

Similar Documents

Publication Publication Date Title
US20190340348A1 (en) Security verification method and device
CN106789875B (en) A kind of block chain service unit, block chain service system and its communication means
CN105375950B (en) For configuring the method and system of multiple near field antenna systems
CN110096857A (en) Right management method, device, equipment and the medium of block catenary system
CN102332120B (en) A kind of power intelligent business hall management system
CN107798754A (en) Unlocking method, mobile terminal and the charging equipment of charging equipment
CN104603817A (en) Power bank renting method, system, and renting terminal
CN107563840A (en) Portable power source leasing method, system, electronic equipment and readable storage medium storing program for executing
CN106464694A (en) Security adjustments in mobile devices
CN107407956A (en) Method and system for coordinated manipulation state between multiple SOC in computing device
CN103684878A (en) Operating command parameter control method and device
CN108665272A (en) Block chain data processing method, device, equipment and storage medium
CN109448171A (en) A kind of method and smart lock of unlocking
CN106696749A (en) Charging method and system for electric automobile charging pile with Zigbee
CN105429660A (en) Smart wearable equipment
CN109479008B (en) Conference system
EP2881896B1 (en) Near field communication tag based data transfer
CN109712275A (en) Solve lock control device, system and method
CN105159591A (en) Unlocking method of intelligent terminal and intelligent terminal
CN202916871U (en) NFC system
CN105741444B (en) Application authentication method and device based on linux system financial self-service equipment
CN204552322U (en) Based on the Intelligent door lock control system of mobile interchange mechanics of communication
CN101471890B (en) Method and system for implementing network information matching
CN110103761A (en) The charge fault retroactive method and system, server and storage medium of new energy vehicle
CN109324843A (en) A kind of finger prints processing system, method and fingerprint equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180313