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 PDFInfo
- 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
- password
- unlocking
- charging equipment
- target
- unlocking password
- 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
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004519 manufacturing process Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00817—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F15/00—Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
- G07F15/003—Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
- G07F15/006—Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity dispensed for the electrical charging of other devices than vehicles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Lock And Its Accessories (AREA)
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
Technical Field
The invention relates to the field of charging equipment, in particular to an unlocking method of the charging equipment, a mobile terminal and the charging equipment.
Background
With the development of communication technology, mobile terminals have become indispensable tools for people's life and work, and nowadays, mobile terminals have more and more functions, larger and larger screens, and faster power consumption, under the condition that the mobile terminal has low electric quantity and does not carry a charger with the mobile terminal, self-service charging equipment is needed, the existing self-service charging equipment needs the charging equipment to communicate with a server through WIFI, for example, the mobile terminal scans the two-dimensional code on the charging device, the mobile terminal sends a request instruction containing the information of the charging device and the information of the mobile terminal to the server, the server sends a feedback instruction to the mobile terminal, after the mobile terminal pays the fee, the server sends an unlocking instruction to the charging equipment through the WIFI to unlock and discharge the charging equipment, according to the method, the WIFI device needs to be arranged in the charging equipment, so that the manufacturing cost of the charging equipment is increased.
Disclosure of Invention
The invention mainly aims to provide an unlocking method of charging equipment, and aims to solve the technical problem that in the prior art, a WIFI device is arranged in the charging equipment, so that the manufacturing cost of the charging equipment is increased.
To achieve the above object, a first aspect of the present invention provides an unlocking method of a charging device, the method including:
the mobile terminal scans two-dimensional code information on the charging equipment and sends the two-dimensional code information to the server, so that the server can generate a target unlocking password at this time based on the two-dimensional code information and a preset password generation rule;
and the mobile terminal receives the target unlocking password sent by the server so as to unlock the charging equipment through the target unlocking password.
To achieve the above object, a second aspect of the present invention provides an unlocking method of a charging device, the method including:
the charging equipment receives an input target unlocking password;
and executing unlocking operation according to the password group preset in the charging equipment and the target unlocking password.
To achieve the above object, a third aspect of the present invention provides a mobile terminal, including:
the system comprises a scanning module, a password generation module and a password generation module, wherein the scanning module is used for scanning two-dimensional code information on charging equipment and sending the two-dimensional code information to a server so that the server can generate a target unlocking password at this time based on the two-dimensional code information and a preset password generation rule;
the first receiving module is used for receiving the target unlocking password sent by the server so as to unlock the charging equipment through the target unlocking password.
To achieve the above object, a fourth aspect of the present invention provides a charging apparatus comprising:
the second receiving module is used for receiving the input target unlocking password;
and the execution module is used for executing unlocking operation according to the preset password group in the charging equipment and the target unlocking password.
The invention provides an unlocking method of charging equipment, which comprises the steps of scanning two-dimensional code information on the charging equipment through a mobile terminal, sending the two-dimensional code information to a server, so that the server can generate a target unlocking password at this time based on the two-dimensional code information and a preset password generation rule, and receiving the target unlocking password sent by the server through the mobile terminal, so that the charging equipment can be unlocked through the target unlocking password. Compared with the prior art, the server is communicated with the mobile terminal, the mobile terminal acquires the target unlocking password, so that the charging equipment is unlocked through the target unlocking password, the server is not required to send the unlocking password to the charging equipment through WIFI, a WIFI device is not required to be arranged in the charging equipment, and the manufacturing cost of the charging equipment is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an unlocking method for a charging device according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of an unlocking method for a charging device according to a second embodiment of the present invention;
FIG. 3 is a schematic flow chart of the refinement step of step S202 in the embodiment shown in FIG. 2;
fig. 4 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a charging device according to a fifth embodiment of the present invention;
fig. 7 is a detailed structural diagram of the executing module 602 shown in fig. 6.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
For better understanding of the present invention, please refer to fig. 1, where fig. 1 is a schematic flowchart of an unlocking method of a charging device according to a first embodiment of the present invention, including:
step S101, the mobile terminal scans two-dimensional code information on the charging equipment and sends the two-dimensional code information to the server, so that the server can generate the target unlocking password based on the two-dimensional code information and a preset password generation rule;
in the embodiment of the invention, the two-dimensional code information is preset on the charging equipment, each charging equipment has unique two-dimensional code information, and the numerical range of the two-dimensional code information is 0-65535.
For example, the server can generate 20 unlocking passwords according to the password generation rule, the server receives two-dimensional code information sent by a 1 st user, the 1 st unlocking password is used as a target unlocking password and sent to the 1 st user, the server receives the two-dimensional code information sent by the 20 th user, the 20 th unlocking password is used as a target unlocking password and sent to the 20 th user, the server receives the two-dimensional code information sent by the 21 st user, and the 1 st unlocking password is used as a target unlocking password and sent to the 21 st user again.
The password generation process is shown as the following example:
obtaining 20 pieces of password information according to a password generation rule, wherein the 1 st password information is a numerical value of the two-dimensional code information +1, the 2 nd password information is a numerical value of the two-dimensional code information +2, the 3 rd password information is a numerical value of the two-dimensional code information +3, and so on, the 20 th password information is a numerical value of the two-dimensional code information +20, obtaining a target unlocking password according to the password information, continuing to execute the (password information +1) × 2 if the obtained numerical value is smaller than a preset threshold value, and taking the lower five bits as the target unlocking password until the obtained numerical value is larger than or equal to the preset threshold value. For example, when the value of the two-dimensional code information is 60000, the preset value is 32, the preset threshold value is OxFFFFFF (16777215), the 1 st password information is 60000 + 32+1 — 1920001, the 2 nd password information is 60000 + 32+2 — 1920002, the 3 rd password information is 60000 + 32+3 — 1920003, and so on, the 20 th password information is 60000 + 32+20, if the 1 st user scans the two-dimensional code information and sends the two-dimensional code information to the server, the server executes (password information +1) (1920001+1) (+) 2) (+) 3840004), if 3840004 is smaller than 16777215, executes (password information +1) ((password information + 2) again, the obtained value is 7610, and the value is smaller than 16776215, the value of the new password information is 7680010, the new password information is obtained as 6007664, the new password information is obtained as 6007722, the new password information is obtained as 600771531, the obtained numerical value is 30720046, 30720046 is larger than 16777215, 20046 is used as the target unlocking password of the 1 st user, if the 20 th user scans the two-dimensional code information and sends the two-dimensional code information to the server, the server executes (password information +1) × 2 ═ 1920020+1) × 2 ═ 3840042, 3840042 is smaller than 16777215, then 3840042 is used as new password information, next (password information +1) × 2 is executed, the obtained numerical value is 7680086, 7680086 is smaller than 16777215, 7680086 is used as new password information, next (password information +1) × 2 is executed, the obtained numerical value is 15360174, 15374 is smaller than 16777215, 15360174 is used as new password information, next (password information +1) × 2 is executed, the obtained numerical value is 30720350, 30720350 is larger than 16777215, and 20350 is used as the target unlocking password of the 20 th user.
And S102, the mobile terminal receives the target unlocking password sent by the server so as to unlock the charging equipment through the target unlocking password.
In the embodiment of the invention, the mobile terminal receives the target unlocking password sent by the server, and two methods are adopted to realize the unlocking of the charging equipment through the target unlocking password.
The first one is: the Bluetooth device is arranged in the charging equipment, the mobile terminal scans the two-dimensional code information of the charging equipment, the unique identification information of the charging equipment is contained in the two-dimensional code information, the mobile terminal establishes Bluetooth connection with the corresponding mobile terminal based on the unique identification information, the target unlocking password is sent to the charging equipment, the charging equipment is unlocked by the target unlocking password, the target unlocking password is sent to the charging equipment through Bluetooth, the cost is lower due to Bluetooth, the cost is reduced compared with the cost for sending the target unlocking password to the charging equipment through WIFI, compared with manual input of a user, errors are not easy to occur, and the method is more convenient, and the user experience is improved.
The second method is as follows: the mobile terminal receives the target unlocking password sent by the server, displays the target unlocking password on an interface, and inputs the target unlocking password into the charging equipment by a user, and the charging equipment unlocks by using the target unlocking password.
The charging equipment is provided with 0-9 keys and further comprises a clearing key, and the input password can be deleted.
Wherein, be equipped with the LED lamp on the battery charging outfit, the LED lamp includes password pilot lamp and power indicator, to password pilot lamp: when a user inputs a target unlocking password into the charging equipment, one LED lamp is turned on when one password is input. For the power indicator: if the input target unlocking password is correct, the power indicator lamp is turned on in green, and if the input target unlocking password is wrong, the power indicator lamp is turned on in red, flickers for 3 times and then is turned off. .
The charging equipment is provided with a buzzer, any key is effectively pressed to buzz one time, and if the input target unlocking password is wrong, the buzzer buzzes three times.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an unlocking method of a charging device according to a second embodiment of the present invention, including:
step S201, the charging equipment receives an input target unlocking password;
step S202, an unlocking operation is performed according to a password set preset in the charging device and the target unlocking password.
In the embodiment of the present invention, during factory setting, a password generation rule is preset in the charging device, and a preset number of unlocking passwords are generated, where the password generation process is as in step S101, and the passwords form a password group.
In the embodiment of the invention, the charging equipment receives the input target unlocking password, executes the unlocking operation according to the password group preset in the charging equipment and the target unlocking password, and does not need the server to send the unlocking password to the charging equipment through WIFI (wireless fidelity), namely, a WIFI device is not required to be built in the charging equipment, so that the manufacturing cost of the charging equipment is reduced.
Referring to fig. 3, fig. 3 is a flow chart illustrating a refinement step of step S202 in the embodiment shown in fig. 2, which includes:
step S301, determining a currently available unlocking password in the password group;
in the embodiment of the present invention, when the charging device is used for the first time, because any one unlocking password in the password group is not used, the currently usable unlocking password is all unlocking passwords in the password group, when the charging device is not used for the first time, the last-used unlocking password and all unlocking passwords before the unlocking password are locked, the unlocking password which is not locked is determined as the currently usable unlocking password in the password group, for example, 20 unlocking passwords are in the password group, the last-used unlocking password is the 15 th password, the 1 st to 15 th unlocking passwords are all locked, even if the unused unlocking passwords exist in the 1 st to 15 th unlocking passwords, the unlocking passwords are locked, and the currently usable unlocking passwords in the password group are determined as the 16 th to 20 th unlocking passwords.
Step S302, inquiring the currently available unlocking passwords, and determining whether the unlocking passwords which are the same as the target unlocking password exist in the currently available unlocking passwords;
step S303, if an unlocking password identical to the target unlocking password exists, unlocking the charging equipment;
step S304, if the unlocking password which is the same as the target unlocking password does not exist, the charging equipment is refused to be unlocked;
in this embodiment of the present invention, as in step S301, there are 20 unlocking passwords in the password group, the last unlocking password used is the 15 th password, all the 1 st to 15 th unlocking passwords are locked, it is determined that the currently usable unlocking passwords in the password group are the 16 th to 20 th unlocking passwords, the charging device receives the input target unlocking password again, if the target unlocking password is the same as any one of the 16 th to 20 th unlocking passwords, the charging device is unlocked, and if the target unlocking password is the same as any one of the 16 th to 20 th unlocking passwords, the charging device is denied to be unlocked.
It should be noted that even if the target unlocking password is the same as one of the 1 st to 15 th unlocking passwords, unlocking the charging device is denied because the 1 st to 15 th unlocking passwords are all locked and the locked password cannot be used until reset.
Step S305, if the target unlocking password is the same as the reset password in the password group, a reset operation is performed.
In the embodiment of the present invention, there are a preset number of reset passwords in the password group, and preferably, the position of the reset password is located at the rear of the password group, for example, there are 20 passwords in the password group, and the 17 th password, the 18 th password and the 19 th password are reset passwords.
In the embodiment of the invention, if the unlocking password identical to the target unlocking password exists, after the charging equipment is unlocked, whether the target unlocking password is identical to any reset password in the password group is judged, if so, the reset operation is executed, and if not, the reset operation is not executed.
Wherein, the reset operation means unlocking the locked unlocking code in the code group, so that all the unlocking codes in the code group are in a usable state.
In the embodiment of the invention, 0-9 keys are arranged on the charging equipment, and the charging equipment further comprises a confirmation key and a reset key, wherein the confirmation key is used for executing reset operation by pressing the confirmation key when the received target unlocking password is the reset password. The reset key is used for directly carrying out reset operation without inputting any password when the reset key on the charging equipment is pressed.
The charging equipment is further provided with a pre-charging function, the mobile terminal can be charged after the connection of the mobile terminal and an output interface of the charging equipment is detected, the output is closed if no correct unlocking password is input in a first preset time period, the charging equipment is unlocked and output is carried out if the input unlocking password is correct, and the output is closed after a second preset time period.
It should be noted that if the unlock password is continuously input 3 times in the third preset time period, any password input in the fourth preset time period is invalid.
The first preset time period, the second preset time period, the third preset time period and the fourth preset time period can be set according to actual requirements.
It should be noted that the mobile terminal scans the two-dimensional code information and sends the two-dimensional code information to the server, the server feeds back a charging message to the mobile terminal, and after receiving a payment instruction of the mobile terminal, the server sends a target unlocking password to the mobile terminal.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention, including:
the scanning module 401 is configured to scan two-dimensional code information on the charging device, and send the two-dimensional code information to the server, so that the server generates the target unlocking password based on the two-dimensional code information and a preset password generation rule;
in the embodiment of the invention, the two-dimensional code information is preset on the charging equipment, each charging equipment has unique two-dimensional code information, and the numerical range of the two-dimensional code information is 0-65535.
For example, the server can generate 20 unlocking passwords according to the password generation rule, the server receives two-dimensional code information sent by a 1 st user, the 1 st unlocking password is used as a target unlocking password and sent to the 1 st user, the server receives the two-dimensional code information sent by the 20 th user, the 20 th unlocking password is used as a target unlocking password and sent to the 20 th user, the server receives the two-dimensional code information sent by the 21 st user, and the 1 st unlocking password is used as a target unlocking password and sent to the 21 st user again.
The password generation process is shown as the following example:
obtaining 20 pieces of password information according to a password generation rule, wherein the 1 st password information is a numerical value of the two-dimensional code information +1, the 2 nd password information is a numerical value of the two-dimensional code information +2, the 3 rd password information is a numerical value of the two-dimensional code information +3, and so on, the 20 th password information is a numerical value of the two-dimensional code information +20, obtaining a target unlocking password according to the password information, continuing to execute the (password information +1) × 2 if the obtained numerical value is smaller than a preset threshold value, and taking the lower five bits as the target unlocking password until the obtained numerical value is larger than or equal to the preset threshold value. For example, if the value of the two-dimensional code information is 60000, the preset value is 32, the preset threshold is OxFFFFFF (16777215), the 1 st password information is 60000 × 32+1 — 1920001, the 2 nd password information is 60000 × 32+2 — 1920002, the 3 rd password information is 60000 × 32+3 — 1920003, and so on, the 20 th password information is 60000 × 32+20 — 1920020, if the scanning module 401 of the 1 st user scans the two-dimensional code information and sends the two-dimensional code information to the server, the server executes (password information +1) × 2 (1920001+1) × 3840004, the 3840004 is smaller than 16777215, the scanning module executes (password information +1) × 2 again as the new password information, the obtained value is 8007610, the 8007610 is smaller than 16777215, the obtained value is used as the new password information, and the obtained value is 6007764, the obtained as the new password information which is smaller than 600771535, and the obtained value is smaller than 6007722, executing (password information +1) × 2 again, the obtained numerical value is 30720046, 30720046 is larger than 16777215, taking 20046 as a target unlocking password of the 1 st user, if the scanning module 401 of the 20 th user scans the two-dimensional code information and sends the two-dimensional code information to the server, the server executes (password information +1) × 2 (1920020+1) × 2 (3840042), and 3840042 is smaller than 16777215, then the server executes (password information +1) × 2 again, the obtained numerical value is 7680086, and 7680086 is smaller than 77215, then 7680086 is used as new password information, the (password information +1) × 2 is executed again, the obtained numerical value is 15360174, and 15360174 is smaller than 16777215, then the server takes 15360174 as new password information, and executes (password information +1) × 2 again, the obtained numerical value is 300350, 30727277215, and the obtained numerical value is larger than 16777 20350, and the obtained numerical value is used as the target unlocking password of the 1 st user.
The first receiving module 402 is configured to receive a target unlocking password sent by a server, so as to unlock the charging device through the target unlocking password.
The charging equipment is provided with 0-9 keys and further comprises a clearing key, and the input password can be deleted.
Wherein, be equipped with the LED lamp on the battery charging outfit, the LED lamp includes password pilot lamp and power indicator, to password pilot lamp: when a user inputs a target unlocking password into the charging equipment, one LED lamp is turned on when one password is input. For the power indicator: if the input target unlocking password is correct, the power indicator lamp is turned on in green, and if the input target unlocking password is wrong, the power indicator lamp is turned on in red, flickers for 3 times and then is turned off. .
The charging equipment is provided with a buzzer, any key is effectively pressed to buzz one time, and if the input target unlocking password is wrong, the buzzer buzzes three times.
In the embodiment of the invention, the scanning module 401 scans the two-dimensional code information on the charging device and sends the two-dimensional code information to the server, so that the server can generate the target unlocking password based on the two-dimensional code information and a preset password generation rule, and the first receiving module 402 receives the target unlocking password sent by the server, so that the charging device can be unlocked through the target unlocking password. Compared with the prior art, the server is communicated with the mobile terminal, the mobile terminal acquires the target unlocking password, so that the charging equipment is unlocked through the target unlocking password, the server is not required to send the unlocking password to the charging equipment through WIFI, a WIFI device is not required to be arranged in the charging equipment, and the manufacturing cost of the charging equipment is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention, including:
the scanning module 401 is configured to scan two-dimensional code information on the charging device, and send the two-dimensional code information to the server, so that the server generates the target unlocking password based on the two-dimensional code information and a preset password generation rule;
a first receiving module 402, configured to receive a target unlocking password sent by a server, so as to unlock the charging device through the target unlocking password;
the scanning module 401 and the first receiving module 402 in the embodiment of the present invention are the same as the scanning module 401 and the first receiving module 402 in the third embodiment, and are not described herein again.
The sending module 501 is configured to establish a bluetooth connection with the charging device by using the two-dimensional code information, send the target unlocking password to the charging device, and unlock the charging device by using the target unlocking password;
in the embodiment of the invention, a Bluetooth device is arranged in the charging equipment, the scanning module 401 scans two-dimensional code information of the charging equipment, the two-dimensional code information contains unique identification information of the charging equipment, the mobile terminal establishes Bluetooth connection with a corresponding mobile terminal based on the unique identification information, the sending module 501 sends a target unlocking password to the charging equipment, the charging equipment unlocks by using the target unlocking password, and sends the target unlocking password to the charging equipment through Bluetooth.
The display module 502 is configured to display the target unlocking password, so that the user inputs the target unlocking password into the charging device, and the charging device unlocks with the target unlocking password.
In the embodiment of the invention, the mobile terminal receives the target unlocking password sent by the server, the display module 502 displays the target unlocking password on the interface, the user inputs the target unlocking password into the charging equipment, and the charging equipment performs unlocking by using the target unlocking password.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a charging apparatus according to a fifth embodiment of the present invention, including:
a second receiving module 601, configured to receive an input target unlocking password;
the executing module 602 is configured to execute an unlocking operation according to a password set preset in the charging device and a target unlocking password.
In the embodiment of the present invention, during factory setting, a password generation rule is preset in the charging device, and a preset number of unlocking passwords are generated, where the password generation process is as in step S101, and the passwords form a password group.
In the embodiment of the invention, the charging equipment receives the input target unlocking password, executes the unlocking operation according to the password group preset in the charging equipment and the target unlocking password, and does not need the server to send the unlocking password to the charging equipment through WIFI (wireless fidelity), namely, a WIFI device is not required to be built in the charging equipment, so that the manufacturing cost of the charging equipment is reduced.
Referring to fig. 7, fig. 7 is a schematic diagram illustrating a detailed structure of the executing module 602 shown in fig. 6, including:
a determining unit 701, configured to determine a currently available unlocking password in the password group;
in the embodiment of the present invention, when the charging device is used for the first time, because any one unlocking password in the password group is not used, the currently usable unlocking password is all unlocking passwords in the password group, when the charging device is not used for the first time, the last-used unlocking password and all unlocking passwords before the unlocking password are locked, the unlocking password which is not locked is determined as the currently usable unlocking password in the password group, for example, 20 unlocking passwords are in the password group, the last-used unlocking password is the 15 th password, the 1 st to 15 th unlocking passwords are all locked, even if the unused unlocking passwords exist in the 1 st to 15 th unlocking passwords, the unlocking passwords are locked, and the currently usable unlocking passwords in the password group are determined as the 16 th to 20 th unlocking passwords.
A query unit 702, configured to query currently available unlocking passwords and determine whether an unlocking password that is the same as the target unlocking password exists in the currently available unlocking passwords;
the unlocking unit 703 is configured to unlock the charging device if an unlocking password identical to the target unlocking password exists;
a refusing unlocking unit 704, configured to refuse to unlock the charging device if there is no unlocking password that is the same as the target unlocking password;
in this embodiment of the present invention, if in determining unit 701, there are 20 unlocking passwords in the password group, the last unlocking password used is the 15 th password, all the 1 st to 15 th unlocking passwords are locked, it is determined that the currently usable unlocking passwords in the password group are the 16 th to 20 th unlocking passwords, the charging device receives the input target unlocking password again, if the target unlocking password is the same as any one of the 16 th to 20 th unlocking passwords, the charging device is unlocked, and if the target unlocking password is the same as any one of the 16 th to 20 th unlocking passwords, the charging device is denied to be unlocked.
It should be noted that even if the target unlocking password is the same as one of the 1 st to 15 th unlocking passwords, unlocking the charging device is denied because the 1 st to 15 th unlocking passwords are all locked and the locked password cannot be used until reset. A resetting unit 705, configured to perform a resetting operation if the target unlocking password is the same as the resetting password in the password group.
A querying unit 701, configured to query a preset password group if the reset state is the reset state, and determine whether an unlocking password identical to the target unlocking password exists in the password group;
in the embodiment of the present invention, there are a preset number of reset passwords in the password group, and preferably, the position of the reset password is located at the rear of the password group, for example, there are 20 passwords in the password group, and the 17 th password, the 18 th password and the 19 th password are reset passwords.
In the embodiment of the invention, if the unlocking password identical to the target unlocking password exists, after the charging equipment is unlocked, whether the target unlocking password is identical to any reset password in the password group is judged, if so, the reset operation is executed, and if not, the reset operation is not executed.
Wherein, the reset operation means unlocking the locked unlocking code in the code group, so that all the unlocking codes in the code group are in a usable state.
In the embodiment of the invention, 0-9 keys are arranged on the charging equipment, and the charging equipment further comprises a confirmation key and a reset key, wherein the confirmation key is used for executing reset operation by pressing the confirmation key when the received target unlocking password is the reset password. The reset key is used for directly carrying out reset operation without inputting any password when the reset key on the charging equipment is pressed.
The charging equipment is further provided with a pre-charging function, the mobile terminal can be charged after the connection of the mobile terminal and an output interface of the charging equipment is detected, the output is closed if no correct unlocking password is input in a first preset time period, the charging equipment is unlocked and output is carried out if the input unlocking password is correct, and the output is closed after a second preset time period.
It should be noted that if the unlock password is continuously input 3 times in the third preset time period, any password input in the fourth preset time period is invalid.
The first preset time period, the second preset time period, the third preset time period and the fourth preset time period can be set according to actual requirements.
It should be noted that the mobile terminal scans the two-dimensional code information and sends the two-dimensional code information to the server, the server feeds back a charging message to the mobile terminal, and after receiving a payment instruction of the mobile terminal, the server sends a target unlocking password to the mobile terminal.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description, for a person skilled in the art, according to the idea of the embodiment of the present invention, there are changes in the specific implementation and application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method of unlocking a charging device, the method comprising:
the mobile terminal scans two-dimensional code information on the charging equipment and sends the two-dimensional code information to the server, so that the server can generate a target unlocking password at this time based on the two-dimensional code information and a preset password generation rule;
and the mobile terminal receives the target unlocking password sent by the server so as to unlock the charging equipment through the target unlocking password.
2. The method of claim 1, wherein the mobile terminal receives the target unlock password sent by the server, and thereafter further comprises:
the mobile terminal establishes Bluetooth connection with the charging equipment by using the two-dimension code information, sends the target unlocking password to the charging equipment, and the charging equipment performs unlocking by using the target unlocking password;
or,
and displaying the target unlocking password so that a user can input the target unlocking password into the charging equipment, and the charging equipment can unlock by using the target unlocking password.
3. A method of unlocking a charging device, the method comprising:
the charging equipment receives an input target unlocking password;
and executing unlocking operation according to the password group preset in the charging equipment and the target unlocking password.
4. The method of claim 3, wherein the performing an unlocking operation according to the preset password set in the charging device and the target unlocking password comprises:
determining a currently usable unlocking password in the password group;
inquiring the currently usable unlocking passwords, and determining whether the unlocking passwords which are the same as the target unlocking password exist in the currently usable unlocking passwords;
if the unlocking password identical to the target unlocking password exists, unlocking the charging equipment;
and if the unlocking password which is the same as the target unlocking password does not exist, refusing to unlock the charging equipment.
5. The method of claim 4, wherein after unlocking the charging device if there is an unlocking password that is the same as the target unlocking password, further comprising:
and if the target unlocking password is the same as the reset password in the password group, executing reset operation.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the system comprises a scanning module, a password generation module and a password generation module, wherein the scanning module is used for scanning two-dimensional code information on charging equipment and sending the two-dimensional code information to a server so that the server can generate a target unlocking password at this time based on the two-dimensional code information and a preset password generation rule;
the first receiving module is used for receiving the target unlocking password sent by the server so as to unlock the charging equipment through the target unlocking password.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises:
the sending module is used for establishing Bluetooth connection with the charging equipment by using the two-dimension code information, sending the target unlocking password to the charging equipment, and unlocking by the charging equipment by using the target unlocking password;
or,
the display module is used for displaying the target unlocking password so that a user can input the target unlocking password into the charging equipment, and the charging equipment can unlock by using the target unlocking password.
8. A charging apparatus, characterized in that the charging apparatus comprises:
the second receiving module is used for receiving the input target unlocking password;
and the execution module is used for executing unlocking operation according to the preset password group in the charging equipment and the target unlocking password.
9. The charging device of claim 8, wherein the execution module comprises:
a determining unit, configured to determine a currently usable unlocking password in the password group;
the inquiring unit is used for inquiring the currently available unlocking passwords and determining whether the unlocking passwords which are the same as the target unlocking password exist in the currently available unlocking passwords;
the unlocking unit is used for unlocking the charging equipment if an unlocking password identical to the target unlocking password exists;
and the unlocking refusing unit is used for refusing to unlock the charging equipment if the unlocking password identical to the target unlocking password does not exist.
10. The charging device of claim 9, wherein the execution module further comprises:
and the resetting unit is used for executing resetting operation if the target unlocking password is the same as the resetting password in the password group.
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)
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)
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 |
-
2017
- 2017-09-28 CN CN201710900119.8A patent/CN107798754A/en active Pending
Patent Citations (5)
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)
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 |
---|---|---|
CN108777033B (en) | Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof | |
CN107609375B (en) | Unlocking control method and related product | |
WO2015058709A1 (en) | Secured payment method and relevant device and system | |
CN106961711B (en) | Method and device for controlling mobile terminal to register network and mobile terminal | |
CN113595961A (en) | Protocol conversion method and system, and gateway device | |
CN109067582B (en) | Data management system, method and device | |
CN103490466B (en) | Battery electric quantity shares method, device and server | |
CN103428671A (en) | Application hosting method and system, mobile terminals and server | |
CN107798754A (en) | Unlocking method, mobile terminal and the charging equipment of charging equipment | |
CN107342607A (en) | A kind of control method of charging equipment, device and charging equipment control system | |
CN110492575B (en) | Quick charging system and method for handheld device and handheld device | |
KR20160113226A (en) | Method for establishing communication connection and medium device | |
CN106330681B (en) | Method, system and related equipment for sharing film watching information | |
US10848006B2 (en) | Conferencing system | |
CN106507447A (en) | A kind of Wi Fi hotspot connection methods and mobile terminal | |
CN104184652A (en) | Method and system for information interaction between terminals | |
CN103249118A (en) | Wireless access point selection method and electronic terminals | |
CN108874553B (en) | Message pushing method, device and system, storage medium and processor | |
CN113395345A (en) | Network distribution method and device of Internet of things equipment and storage medium | |
CN108181981A (en) | It goes out and shields processing method, device and terminal | |
CN106507268B (en) | Method and device for dynamic verification in mobile phone carriers | |
CN108521394B (en) | Identification code generation method and device with storage function | |
CN104572193A (en) | Control method among multiple apparatuses and electronic apparatus thereof | |
CN113619435A (en) | Cross-platform charging method, terminal and storage device | |
CN113991764A (en) | Charger charging control method and device and charger |
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 |