CN109830065A - A kind of bluetooth or the charging controller of password interaction - Google Patents
A kind of bluetooth or the charging controller of password interaction Download PDFInfo
- Publication number
- CN109830065A CN109830065A CN201910135083.8A CN201910135083A CN109830065A CN 109830065 A CN109830065 A CN 109830065A CN 201910135083 A CN201910135083 A CN 201910135083A CN 109830065 A CN109830065 A CN 109830065A
- Authority
- CN
- China
- Prior art keywords
- key
- module
- bluetooth
- mobile terminal
- 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
Landscapes
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a kind of bluetooth or the charging controllers of password interaction, which is characterized in that including facility registration, bluetooth latching mode and password latching mode;Facility registration can allow mobile terminal and charging controller to be associated binding, by scanning the two-dimensional code and obtaining the facility informations such as the corresponding device identification number of the two dimensional code and corresponding code key from server, and complete being associated with for charging controller and mobile device, it avoids the occurrence of more mobile terminals while being associated with a charging controller and cause control confusion phenomena, in addition can also carry out whether detection charging controller can carry out normal communication with mobile terminal in advance.Cooperate bluetooth latching mode, the process stability that bluetooth can be allowed to unlock is high, accuracy is high.Binding in password latching mode cooperating equipment registration process can be realized the unlock that accuracy is high, stability is high, the more position of Bluetooth signal interference is more applicable for, so that this charging controller is suitble to more scenes to use.
Description
Technical field
The present invention relates to charging controller technical field, the charging controller of specially a kind of bluetooth or password interaction.
Background technique
Equipment in the existing shared economy of some column can all be shared by electric lockset payment unlocking manner, existing
Shared economy in electric lockset its interference free performance for using it is poor, individually mobile terminal and electric lockset are not infused
The process of volume binding, may result in the interference between multiple mobile terminals, and then lead to electric lockset there are job insecurities
Hidden danger, which is easy to influence use the mood of user, is easy to cause customer churn, and then influence economic benefit and product sound
Reputation.For this purpose, improving the anti-interference of electric lockset in use is particularly important.
Summary of the invention
In view of the deficiencies of the prior art, the present invention intends to provide it is a kind of apply improved in shared economy it is anti-
Interference, and equipment is allowed to work more stable and accurate charging controller.
To achieve the above object, the present invention provides the following technical scheme that a kind of bluetooth or the charging control of password interaction
Device, which is characterized in that including facility registration, bluetooth latching mode and password latching mode;
Wherein, the method and step of facility registration, process are as follows:
S001, mobile scanning terminal two dimensional code obtain device identification number and root code key facility information from server;
S002, mobile terminal establish connection by bluetooth module and equipment, and are shaken hands with root code key with equipment;
S003, code key are correct, shake hands and equipment root code key facility information is arranged by rear mobile terminal, and upload to service
Device saves, and equipment is installed;
Wherein, the method and step of the bluetooth latching mode is as follows:
S101, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S102, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S103, mobile terminal establish connection by bluetooth module and equipment, and are shaken hands with root code key with equipment;
S104, code key are correct, shake hands by rear, and operation is calibrated to equipment, and to equipment in transmission unlocking command;
S105, equipment execute unlocking motion, and return result to mobile terminal;
S106, mobile terminal receive the successful information of unlock, complete payment process;Mobile terminal receives the letter of unlock failure
Breath, reimbursement is to user, and to server reporting equipment fault message;
Wherein, the method and step of password latching mode is as follows:
S201, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S202, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S203, mobile terminal obtain password from server;
S204, user are by key-press input encrypted message, and equipment is matched with unlocking pin, and successful match then executes solution
Lock movement, does not otherwise execute unlocking motion.
As a further improvement of the present invention, the charging based on facility registration, bluetooth latching mode and password latching mode
Controller includes locked component, solution lock set, Billing component, payment component;
The Billing component exports actual cost for calculating the corresponding expense of unlock duration;
The payment component is used for the interactive selection means of payment, and exports payment result;
The solution lock set is unlocked operation for receiving payment result and being confirmed after confirmation;
The locked component is controlled by solution lock set is unlocked movement;
The control assembly that the solution lock set further includes code component, connect with bluetooth module in addition to bluetooth module;It is described
Control assembly receives payment result, and controls locked component and be unlocked movement;The control assembly also connects with server communication
It connects;The code component includes the input module, encrypting module, deciphering module with key;The input module and control group
Part connection, the encrypting module and deciphering module are integrated into inside control assembly;The encrypting module include time module,
AES module, the time module output wherein one or more keys, and the key integration generation unlock with the output of AES module
Key;The input module is interacted with user generates latching mode selection information and input encrypted message, and is sent to control group
Part;The time module and AES module regularly update key and reintegrate generation Personal Unlocking Key;The deciphering module includes logical
Believe deciphering module and input deciphering module;
The bluetooth latching mode and password latching mode are incorporated into control assembly, and two kinds of latching modes pass through input mould
Block is selected, and the control assembly is in bluetooth latching mode or password latching mode, receives what external mobile terminal was sent
Unlock instruction inputs encrypted message and determines whether that controlling locked component is unlocked movement after matching with Personal Unlocking Key.
As a further improvement of the present invention, the Personal Unlocking Key includes three parts, wherein first part's correlation time mould
Block, second part are associated with AES module, and Part III association first part and second part key are generated.
As a further improvement of the present invention, six keys that the natural number that the Personal Unlocking Key is 1 to 5 forms.
As a further improvement of the present invention, first correlation time module of the Personal Unlocking Key, generating mode are
User selection unlocked time divided by 10 integer value.
As a further improvement of the present invention, the second of the Personal Unlocking Key is obtained to the 5th association AES module
Preceding 4 bytes for the key that AES encryption generates, and taken the remainder divided by 5 and add 1 cipher key values for obtaining second to the 5th.
As a further improvement of the present invention, the 6th of the Personal Unlocking Key is check bit, generating mode first
The value of preceding 4 byte for the key that position key exclusive or AES encryption generates simultaneously adds 1 divided by 5 remainders.
Beneficial effects of the present invention, facility registration can allow mobile terminal and charging controller to be associated binding, pass through
It scans the two-dimensional code and obtains the facility informations such as the corresponding device identification number of the two dimensional code and corresponding code key from server, and lead to
It crosses bluetooth module and is communicated by mobile terminal with charging controller, hereafter user sends root code key to charging by mobile terminal
Controller carries out dohandshake action with it, if successfully shaken hands, at this point, mobile terminal is according to equipment such as corresponding code keys
Information carries out configuration parameter, and is sent to server and is saved, and hereafter completes being associated with for charging controller and mobile device, by
This can allow equipment to be associated with only one mobile terminal is ensured with the charging controller, avoid the occurrence of more mobile terminals
It is associated with the phenomenon that a charging controller causes control chaotic simultaneously, whether in addition can also carry out detection charging controller in advance
Normal communication can be carried out with mobile terminal, avoid just learning communication abnormality when payment expense is unlocked.In addition cooperation is blue
Tooth latching mode, the process stability that bluetooth can be allowed to unlock is high, accuracy is high.Password latching mode cooperating equipment registration simultaneously
Binding in the process can be realized the unlock that accuracy is high, stability is high, be more applicable for the more position of Bluetooth signal interference,
Meets the needs of more users simultaneously, so that this charging controller is suitble to more scenes to use.
Detailed description of the invention
Fig. 1 is allomeric function module connection diagram of the invention;
Fig. 2 is the method and step schematic diagram of bluetooth latching mode of the invention;
Fig. 3 is the method and step schematic diagram of password latching mode of the invention.
Drawing reference numeral: 1, Billing component;2, component is paid;3, locked component;4, lock set is solved;41, bluetooth module;42,
Code component;421, input module;422, encrypting module;4221, time module;4222, AES module;423, deciphering module;
4231, deciphering module is inputted;4232, deciphering module is communicated;43, control assembly.
Specific embodiment
The present invention is described in further detail below in conjunction with embodiment given by attached drawing.
Referring to Fig.1 shown in -3, the charging controller of a kind of bluetooth or the password interaction of the present embodiment, including facility registration,
Bluetooth latching mode and password latching mode;
Wherein, the method and step of facility registration, process are as follows:
S001, mobile scanning terminal two dimensional code obtain device identification number and root code key facility information from server;
S002, mobile terminal establish connection by bluetooth module 41 and equipment, and are shaken hands with root code key with equipment;
S003, code key are correct, shake hands and equipment root code key facility information is arranged by rear mobile terminal, and upload to service
Device saves, and equipment is installed;
Wherein, the method and step of the bluetooth latching mode is as follows:
S101, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S102, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S103, mobile terminal establish connection by bluetooth module 41 and equipment, and are shaken hands with root code key with equipment;
S104, code key are correct, shake hands by rear, and operation is calibrated to equipment, and to equipment in transmission unlocking command;
S105, equipment execute unlocking motion, and return result to mobile terminal;
S106, mobile terminal receive the successful information of unlock, complete payment process;Mobile terminal receives the letter of unlock failure
Breath, reimbursement is to user, and to server reporting equipment fault message;
Wherein, the method and step of password latching mode is as follows:
S201, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S202, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S203, mobile terminal obtain password from server;
S204, user are by key-press input encrypted message, and equipment is matched with unlocking pin, and successful match then executes solution
Lock movement, does not otherwise execute unlocking motion.
Firstly, facility registration can allow mobile terminal and charging controller to be associated binding, by scanning the two-dimensional code simultaneously
The facility informations such as the corresponding device identification number of the two dimensional code and corresponding code key are obtained from server, and are allowed by bluetooth module
Mobile terminal is communicated with charging controller, hereafter user by mobile terminal send root code key to charging controller and its into
Row dohandshake action, if successfully shaken hands, at this point, mobile terminal is configured according to facility informations such as corresponding code keys
Hereafter parameter, and be sent to server and saved completes being associated with for charging controller and mobile device, thus, it is possible to allow equipment
It is associated with only one mobile terminal is ensured with the charging controller, avoids the occurrence of more mobile terminals while association one
Whether the phenomenon that charging controller causes control chaotic, in addition can also carry out detection charging controller in advance can be with movement eventually
End carries out normal communication, avoids just learning communication abnormality when payment expense is unlocked.
In addition, latching mode provides two kinds, bluetooth latching mode and password latching mode, wherein bluetooth latching mode
Under, user can obtain root code key and identifier by mobile scanning terminal two dimensional code and communicate with charging controller, hereafter
User recycles the mobile terminal selection means of payment to pay, and means of payment can be using Third-party payment in the prior art
Module, such as wechat payment, Alipay payment, Unionpay's payment etc. to mitigate exploitation pressure, and increase steady when payment acts
It is qualitative;After the completion of user-pay operation, the amount of money can pre-exist third party's account, and after the completion of actually confirmation transaction, the amount of money is
It will do it and actually submit;Hereafter user is shaken hands by bluetooth module 41 with charging controller, and is unlocked operation, wherein only
The mobile terminal for having realization to bind with charging controller could shake hands with charging controller, other mobile terminals can not match
Root code key and device identification number, thereby, it is ensured that the accuracy of connection, avoids course of payment chaotic;After unlocking motion successful execution,
Charging controller can return to the signal successfully unlocked to mobile terminal, and mobile terminal will confirm that the signal of unlock is sent at this time
Tripartite, third party's account delivers the amount of money and completes actual delivery at this time, if mobile terminal sends the signal of unlock failure to the
Tripartite, then reimbursement is to user, and reporting equipment fault message is to server, where checking problem convenient for staff, Yi Mianhou
Continuous user is inconvenient for use;The process allows mobile terminal and charging controller communicate and quickly carry out by bluetooth module 41
Unlock, the stability that the binding procedure of cooperating equipment registration unlocks the bluetooth is high, accuracy is high.
In addition, user can also be unlocked by way of through key-press input password, pass through convenient for certain customers straight
The mode for connecing input password is unlocked, and under which, user needs to incite somebody to action by way of mobile scanning terminal two dimensional code first
Be bound together mobile terminal and charging controller communicated, at this time user selection the means of payment and delivery operation it is complete
Cheng Hou, mobile terminal sends payment result to server, server in third party's account, and at this time for the payment amount unloading
Password is returned to mobile terminal, for user by the key-press input password, charging controller can be by the password of input and unlock at this time
Password is matched, and matching unanimously can then execute unlocking motion, is not otherwise unlocked, and after unlocking successfully, charging controller is sent
Successful signal is unlocked to third party, third party's account delivers the amount of money and completes actual handing over, and program cooperating equipment registered
Binding in journey can be realized the unlock that accuracy is high, stability is high, be more applicable for the more position of Bluetooth signal interference, together
When meet the needs of more users so that this charging controller is suitble to more scenes to use.
Charging controller based on facility registration, bluetooth latching mode and password latching mode includes locked component 3, unlock
Component 4, Billing component 1, payment component 2;
The Billing component 1 exports actual cost for calculating the corresponding expense of unlock duration;
The payment component 2 is used for the interactive selection means of payment, and exports payment result;
The solution lock set 4 is unlocked operation for receiving payment result and being confirmed after confirmation;
The locked component 3 is unlocked movement by the solution control of lock set 4;
The solution lock set 4 further includes code component 42, the control group connecting with bluetooth module 41 in addition to bluetooth module 41
Part 43;The control assembly 43 receives payment result, and controls locked component 3 and be unlocked movement;The control assembly 43 is also
It is connect with server communication;The code component 42 includes the input module 421 with key, encrypting module 422, deciphering module
423;The input module 421 is connect with control assembly 43, and the encrypting module 422 is integrated into control with deciphering module 423
Inside component 43;The encrypting module 422 includes time module 4221, AES module 4222, and the time module 4221 exports it
In one or more keys, and with AES module 4222 export key integration generate Personal Unlocking Key;The input module 421 with
User's interaction generates latching mode selection information and input encrypted message, and is sent to control assembly 43;The time module
4221 and AES module 4222 regularly updates key and reintegrates generation Personal Unlocking Key;The deciphering module 423 includes communication solution
Close module 4232 and input deciphering module 4231;
The bluetooth latching mode and password latching mode are incorporated into control assembly 43, and two kinds of latching modes pass through input
Module 421 is selected, and the control assembly 43 is in bluetooth latching mode or password latching mode, receives external mobile terminal
The unlock instruction of transmission or input encrypted message and to determine whether that control locked component 3 is unlocked after match with Personal Unlocking Key dynamic
Make.
It, can be with through the above technical solutions, when the shared device for having user to lock this charging controller is rented
Unlock set meal is pre-selected by mobile terminal, such as a length of 10 minutes, 20 minutes, 30 minutes etc. when the unlock;Pay component 2
The expense of target unlock duration is first calculated, and feeds back to mobile terminal, user is paid by mobile terminal, the payment component
2 can be by Third-party payment channel, which is attached with server, after the completion of user's payment, clothes
Business device receives the payment information in Third-party payment channel, and is sent to control assembly 43, and control assembly 43 can wait waiting at this time
Unlock instruction is received, starts timing in unlock post-billing component 1;Wherein, user can be unlocked by bluetooth latching mode and password
Mode is unlocked, by the way that mobile terminal and bluetooth unlocked state are interacted, using mobile terminal send unlock instruction into
Row unlock directly utilizes the friendship of mobile terminal and bluetooth module 41 since the charging controller successfully pays expense at this time
It is mutually unlocked, so that opening process is more convenient;User can also be unlocked by password latching mode, pass through movement
The communication of terminal and server carries out acquisition unlocking pin, is then inputted by input module 421, this mode is suitable for moving
Dynamic terminal does not have Bluetooth function or user is fast to use in the case where opening Bluetooth function, additionally by input module 421
It is more intuitive to carry out pattern switching, mobile terminal can be allowed for then switching compared to interacting by mobile terminal and server
On operation it is more complicated, be unsuitable for personnel's operation in annual age, some older old men to the operation of mobile terminal not
Can be too smooth, it can be selected by input module 421;In addition Personal Unlocking Key passes through AES module 4222 and time module
4221 are integrated, so that the security level of Personal Unlocking Key is higher, can be updated based on time factor, in addition AES module
4222 and time module 4221 export key can also at a fixed time in be updated so that key periodically rolls, avoid
Utilize appearance the case where long-term unattended progress Brute Force.Wherein deciphering module 423 and encrypting module 422 are software journey
Sequence is programmed in control assembly 43, which is the control circuit based on microprocessor, can be given birth to key
At, integration, update, moreover it is possible to communicated with server, communicated etc. by bluetooth module 41 with mobile terminal.
Compared to the flow and method step of above-mentioned bluetooth latching mode, as different another embodiments, the indigo plant
The method and step of tooth latching mode is as follows:
S401, mobile terminal is communicated with server;
S402, mobile scanning terminal two dimensional code are connected to bluetooth module 41;
S403, mobile terminal and the payment 2 interactive selection means of payment of component, and carry out delivery operation and output payment knot
Fruit;
S404, control assembly 43 confirm payment result and standby communication terminals are waited to send unlock instruction;
S405, mobile terminal send unlock instruction to control assembly 43 by bluetooth module 41;
S406, control assembly 43 receive unlock instruction and send the pulse signal of the corresponding unlock instruction to locked component 3;
S407, locked component 3 execute unlocking motion after receiving corresponding pulse signal.
Through the above technical solutions, server is used to provide payment channel, two dimensional code and bluetooth module 41 are associated,
User obtains 41 connectivity port of bluetooth module by scanning the two-dimensional code, and mobile terminal is accurately connected into correspondence
Bluetooth module 41, avoid the bluetooth module 41 of equipment different around from being interfered, also avoid user after searching for bluetooth
It selects corresponding bluetooth port to access, connection procedure can be allowed more convenient;The confirmation of control assembly 43 payment in this programme
As a result it being waited afterwards, after mobile terminal sends unlock instruction to control assembly 43, control assembly 43 is just unlocked movement,
Just start timing at this time, can ensure the interests of user, the rental period of user is allowed to be accurately calculated, it is unnecessary to avoid the occurrence of
Dispute.
It is described close as different another embodiments compared to the flow and method step of above-mentioned password latching mode
The method and step of code latching mode is as follows:
S501, mobile terminal is communicated with server;
S502, mobile terminal and the payment 2 interactive selection means of payment of component, and carry out delivery operation and output payment knot
Fruit;
S503, control assembly 43 confirm payment result, and server sends Personal Unlocking Key to mobile terminal;
S504, password latching mode is selected by input module 421, and generates latching mode selection information;
S505, control assembly 43 receive latching mode selection information and switch to password latching mode;
S506, password is inputted by input module 421, and generates input encrypted message;
S507, control assembly 43 receive input encrypted message and are simultaneously matched with Personal Unlocking Key, successful match then control group
Part 43 controls locked component 3 and unlocks, and does not otherwise execute unlocking motion.
It is communicated through the above technical solutions, mobile terminal is connect with server, user is facilitated to pass through mobile terminal
Payment expense is carried out, and user is facilitated to receive the Personal Unlocking Key of real-time update, input module 421 is cooperated to carry out pattern switching,
Switching mode can be allowed more intuitive and convenient.Wherein the key for being sent to mobile terminal of server is that control assembly 43 is real-time more
New and transmission Personal Unlocking Key.
As an improved specific embodiment, the Personal Unlocking Key includes three parts, wherein first part's correlation time
Module 4221, second part are associated with AES module 4222, and Part III association first part and second part key are generated.
Through the above technical solutions, by first part's correlation time module 4221, itself and 4222 phase of AES module can be allowed
It is mutually detached from, avoids allowing the Personal Unlocking Key ultimately generated to have the effect of a variety of manner of decryption integration using unified encryption mode, and
And the AES module 4222 of second part is combined, AES encryption mode is existing mature encryption mode, but due to technical application
Excessively extensively, so that very more people excessively understands the cipher mode, so that ciphering process makes us known, by cleverly small
It improves, whole cipher mode is allowed more to be difficult to crack, in addition cooperate Part III that can further strengthen the encryption intensity of key,
By allowing it to be associated with first part and second part, first part and the key of second part encryption can be passed through
Numerical value is calculated, and the cipher key values of the Part III obtained at this time are not only detached from the encryption of first part and second part
Mode, but it is interrelated with it, it is closely contacted, it is made to be separated from each other and be combined with each other, improve the intensity of encryption, enabled
Cipher mode unpredictable.
Six keys formed as an improved specific embodiment, the natural number that the Personal Unlocking Key is 1 to 5.Choosing
Human thinking is allowed traditionally to experience more comfortable with 1 to 5 natural number is more enough, and being limited in can between 1 to 5 natural number
To reduce number of keys required for input module 421, reduces the volume of taximeter or improve the aesthetic measure of taximeter, more
It is to improve user's operation to be outstanding, so that operation is more convenient, is combined by six keys of setting and implement to roll update
Effect can allow encryption intensity very high.
As an improved specific embodiment, first correlation time module 4221 of the Personal Unlocking Key is generated
Mode be user selection unlocked time divided by 10 integer value.
Through the above technical solutions, the ciphering process is simple, it is difficult to predict so that cipher round results are good and encrypt for encrypted result
Speed is fast, first associated time module 4221, which receives the solution selected when this user's rental equipment
The tens of time is locked, the as unlocked time of selection and saves the numerical value divided by 10 integer value part, when this rental
At the end of, using the numerical value as first cipher key values when first generation key, the key that then AES module 4222 is exported
Rolling setting is carried out, by combining first and the second part key of subsequent AES module 4222 output to can be realized part
Rolling portion is fixed;Obvious first also can carry out real-time update by identical roll mode.
As an improved specific embodiment, the second of the Personal Unlocking Key to the 5th association AES module 4222,
Preceding 4 bytes for the key that AES encryption generates are obtained, and is taken the remainder divided by 5 and adds 1 cipher key number for obtaining second to the 5th
Value.
Through the above technical solutions, the key that AES encryption module 422 generates when being encrypted is multiple bytes, this programme
Needed for key length be only four, take numerical value of preceding 4 bytes as key of the generation of AES module 4222, in addition lead to
It crosses the numerical value divided by divided by behind 5 and remainder plus 1 calculating, and then successively obtains the cipher key values of second to the 5th,
So the mode based on AES encryption, which has, carries out additional conversion, and key can be allowed in the enterprising traveling one of the mode based on AES encryption
Step expand, the safety of key can be allowed higher, and which convert after key into 1 to 5 natural number range, more can
Suitable in the present solution, having good combined effect.
As an improved specific embodiment, the 6th of the Personal Unlocking Key is check bit, generating mode the
The value of preceding 4 byte for the key that one key exclusive or AES encryption generates simultaneously adds 1 divided by 5 remainders.
Through the above technical solutions, the 6th of Personal Unlocking Key can be used as calibration first and AES encryption generate
The numerical value of preceding 4 bytes of key first confirms the 6th numerical value when confirming to Personal Unlocking Key, when
When six numerical value mismatches, it is meant that the numerical value of key is wrong in first five, so can be with rapid feedback Personal Unlocking Key not
With the case where, and the 6th a part as Personal Unlocking Key is associated with first five position, can further strengthen
Encryption intensity, for the generating mode in conjunction with whole Personal Unlocking Key, the encryption method for combining multiplicity of the key, and it is overall
Cryptographic calculation process it is simple, quickly, the equipment unlock speed that charging controller can be allowed to carry out charging faster, reduces control group
The computational burden of part 43.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation
Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art
Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (7)
1. a kind of bluetooth or the charging controller of password interaction, which is characterized in that including facility registration, bluetooth latching mode and close
Code latching mode;
Wherein, the method and step of facility registration, process are as follows:
S001, mobile scanning terminal two dimensional code obtain device identification number and root code key facility information from server;
S002, mobile terminal establish connection by bluetooth module (41) and equipment, and are shaken hands with root code key with equipment;
S003, code key are correct, shake hands and equipment root code key facility information, and the guarantor that uploads onto the server is arranged by rear mobile terminal
It deposits, equipment is installed;
Wherein, the method and step of the bluetooth latching mode is as follows:
S101, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S102, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S103, mobile terminal establish connection by bluetooth module (41) and equipment, and are shaken hands with root code key with equipment;
S104, code key are correct, shake hands by rear, and operation is calibrated to equipment, and to equipment in transmission unlocking command;
S105, equipment execute unlocking motion, and return result to mobile terminal;
S106, mobile terminal receive the successful information of unlock, complete payment process;Mobile terminal receives the information of unlock failure,
Reimbursement is to user, and to server reporting equipment fault message;
Wherein, the method and step of password latching mode is as follows:
S201, mobile scanning terminal two dimensional code obtain the facility information that equipment has identifier and root code key from server;
S202, user select the means of payment by mobile terminal, and carry out delivery operation and output payment result;
S203, mobile terminal obtain password from server;
By key-press input encrypted message, equipment is matched with unlocking pin by S204, user, and it is dynamic that successful match then executes unlock
Make, does not otherwise execute unlocking motion.
2. bluetooth according to claim 1 or password interaction charging controller, which is characterized in that based on facility registration,
The charging controller of bluetooth latching mode and password latching mode includes locked component (3), solution lock set (4), Billing component
(1), component (2) are paid;
The Billing component (1) exports actual cost for calculating the corresponding expense of unlock duration;
The payment component (2) is used for the interactive selection means of payment, and exports payment result;
The solution lock set (4) is unlocked operation for receiving payment result and being confirmed after confirmation;
The locked component (3) is unlocked movement by solution lock set (4) control;
The control that solution lock set (4) further includes code component (42), connect with bluetooth module (41) in addition to bluetooth module (41)
Component (43) processed;The control assembly (43) receives payment result, and controls locked component (3) and be unlocked movement;The control
Component (43) processed also connect with server communication;The code component (42) includes the input module (421) with key, encryption
Module (422), deciphering module (423);The input module (421) connect with control assembly (43), the encrypting module (422)
It is internal that control assembly (43) is integrated into deciphering module (423);The encrypting module (422) include time module (4221),
AES module (4222), the time module (4221) exports wherein one or more keys, and exports with AES module (4222)
Key integration generate Personal Unlocking Key;The input module (421) interacts with user generates latching mode selection information and input
Encrypted message, and it is sent to control assembly (43);The time module (4221) and AES module (4222) regularly update key simultaneously
Reintegrate generation Personal Unlocking Key;The deciphering module (423) includes communication deciphering module (4232) and input deciphering module
(4231);
The bluetooth latching mode and password latching mode are incorporated into control assembly (43), and two kinds of latching modes pass through input mould
Block (421) is selected, and the control assembly (43) is in bluetooth latching mode or password latching mode, is received external mobile whole
It holds the unlock instruction sent or input encrypted message and determines whether that controlling locked component (3) is solved after matching with Personal Unlocking Key
Lock movement.
3. bluetooth according to claim 1 or the charging controller of password interaction, which is characterized in that the Personal Unlocking Key packet
Three parts are included, wherein first part's correlation time module (4221), second part is associated with AES module (4222), and Part III closes
Connection first part and second part key are generated.
4. bluetooth according to claim 3 or the charging controller of password interaction, which is characterized in that the Personal Unlocking Key is
Six keys of 1 to 5 natural number composition.
5. bluetooth according to claim 4 or the charging controller of password interaction, which is characterized in that the Personal Unlocking Key
First correlation time module (4221), generating mode be user selection unlocked time divided by 10 integer value.
6. bluetooth according to claim 5 or the charging controller of password interaction, which is characterized in that the Personal Unlocking Key
Second obtains preceding 4 bytes for the key that AES encryption generates to the 5th association AES module (4222), and divided by 5 remainders
The cipher key values of number plus 1 acquisition second to the 5th.
7. bluetooth according to claim 6 or the charging controller of password interaction, which is characterized in that the Personal Unlocking Key
6th be check bit, generating mode be first key exclusive or AES encryption generate key preceding 4 byte value and divided by
5 remainders add 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910135083.8A CN109830065A (en) | 2019-02-18 | 2019-02-18 | A kind of bluetooth or the charging controller of password interaction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910135083.8A CN109830065A (en) | 2019-02-18 | 2019-02-18 | A kind of bluetooth or the charging controller of password interaction |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109830065A true CN109830065A (en) | 2019-05-31 |
Family
ID=66864216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910135083.8A Pending CN109830065A (en) | 2019-02-18 | 2019-02-18 | A kind of bluetooth or the charging controller of password interaction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109830065A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717177A (en) * | 2019-09-26 | 2020-01-21 | 北京邮电大学 | Method for safely unlocking computer in real time by using mobile terminal |
CN111080863A (en) * | 2020-01-17 | 2020-04-28 | 多点(深圳)数字科技有限公司 | Shopping cart lock unlocking method based on Bluetooth technology |
CN111740830A (en) * | 2020-08-12 | 2020-10-02 | 科大讯飞(苏州)科技有限公司 | Information encryption and decryption method and device, information processing equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106335572A (en) * | 2016-08-31 | 2017-01-18 | 武汉大学 | Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety |
CN106340087A (en) * | 2015-07-16 | 2017-01-18 | 黄月平 | Intelligent switch lock system based on intelligent mobile terminal |
CN107911441A (en) * | 2017-11-13 | 2018-04-13 | 北京骑思妙享科技有限公司 | A kind of children's electric motor vehicle system paid based on mobile client barcode scanning |
CN108111998A (en) * | 2017-12-18 | 2018-06-01 | 北京博创联动科技有限公司 | A kind of wireless method for unlocking and system |
CN108648048A (en) * | 2018-04-29 | 2018-10-12 | 王美金 | A kind of pair of offline wechat payment bluetooth digital certificate shares bicycle and method |
CN109003361A (en) * | 2018-07-02 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of control method and system of the shared bicycle switch lock based on cloud computing |
-
2019
- 2019-02-18 CN CN201910135083.8A patent/CN109830065A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106340087A (en) * | 2015-07-16 | 2017-01-18 | 黄月平 | Intelligent switch lock system based on intelligent mobile terminal |
CN106335572A (en) * | 2016-08-31 | 2017-01-18 | 武汉大学 | Low-power-consumption Bluetooth intelligent bicycle lock and public bicycle system adopting bicycle lock under Internet of things technology based on time-space safety |
CN107911441A (en) * | 2017-11-13 | 2018-04-13 | 北京骑思妙享科技有限公司 | A kind of children's electric motor vehicle system paid based on mobile client barcode scanning |
CN108111998A (en) * | 2017-12-18 | 2018-06-01 | 北京博创联动科技有限公司 | A kind of wireless method for unlocking and system |
CN108648048A (en) * | 2018-04-29 | 2018-10-12 | 王美金 | A kind of pair of offline wechat payment bluetooth digital certificate shares bicycle and method |
CN109003361A (en) * | 2018-07-02 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of control method and system of the shared bicycle switch lock based on cloud computing |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110717177A (en) * | 2019-09-26 | 2020-01-21 | 北京邮电大学 | Method for safely unlocking computer in real time by using mobile terminal |
CN111080863A (en) * | 2020-01-17 | 2020-04-28 | 多点(深圳)数字科技有限公司 | Shopping cart lock unlocking method based on Bluetooth technology |
CN111740830A (en) * | 2020-08-12 | 2020-10-02 | 科大讯飞(苏州)科技有限公司 | Information encryption and decryption method and device, information processing equipment and storage medium |
CN111740830B (en) * | 2020-08-12 | 2020-12-11 | 科大讯飞(苏州)科技有限公司 | Information encryption and decryption method and device, information processing equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109830065A (en) | A kind of bluetooth or the charging controller of password interaction | |
CN106790431A (en) | Cloud manufacturing service Transaction Information record system and method based on block chain | |
CN104794613B (en) | A kind of mobile device authentication method based on point-of-sale terminal | |
JP2013255415A (en) | Charging station for mobile electronic devices, and associated system and method | |
CN103400269A (en) | Smart community home gateway-based safety payment method | |
CN107403312A (en) | Quick payment method and apparatus | |
CN103942687A (en) | Data security interactive system | |
CN103942688A (en) | Data security interactive system | |
CN107862770A (en) | The article-storage device space lease system quickly to open the door can be realized and realize the method quickly opened the door | |
CN107135227A (en) | Verification method and equipment | |
CN103944736A (en) | Data security interactive method | |
CN103942690A (en) | Data security interactive system | |
CN106340104A (en) | Coded lock and control system and method of coded lock | |
CN108831048A (en) | A kind of intelligent receive-transmit card charging system and method based on code scaning information | |
CN107633581A (en) | Intelligent door lock control method and device, electronic equipment, storage medium | |
CN105205944A (en) | Self-service deposit and withdrawal system based on intelligent terminal | |
CN103944729A (en) | Data security interactive method | |
CN104580246B (en) | Dynamic and intelligent safe key is produced and managing and control system and method under WiFi environment | |
CN109361578A (en) | A kind of washing machine sharing method, system and and storage medium | |
CN103944734A (en) | Data security interactive method | |
CN101694710A (en) | Electronic transaction counter service system and realization method | |
WO2013060068A1 (en) | Electronic lock control management system and method based on bidirectional encryption certification technology and communication technology | |
CN109147103A (en) | dynamic password intelligent unlocking system and method | |
CN106910063A (en) | A kind of offline payment method and system | |
CN103944728A (en) | Data security interactive system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190531 |