CN107756457A - Share shaver control method in hotel based on bluetooth mandate - Google Patents
Share shaver control method in hotel based on bluetooth mandate Download PDFInfo
- Publication number
- CN107756457A CN107756457A CN201710998902.2A CN201710998902A CN107756457A CN 107756457 A CN107756457 A CN 107756457A CN 201710998902 A CN201710998902 A CN 201710998902A CN 107756457 A CN107756457 A CN 107756457A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- control method
- shared
- microcontroller
- shaver
- 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.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B26—HAND CUTTING TOOLS; CUTTING; SEVERING
- B26B—HAND-HELD CUTTING TOOLS NOT OTHERWISE PROVIDED FOR
- B26B19/00—Clippers or shavers operating with a plurality of cutting edges, e.g. hair clippers, dry shavers
- B26B19/38—Details of, or accessories for, hair clippers, or dry shavers, e.g. housings, casings, grips, guards
- B26B19/3873—Electric features; Charging; Computing devices
- B26B19/388—Sensors; Control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/12—Hotels or restaurants
Abstract
The invention discloses a kind of hotel based on bluetooth mandate to share shaver control method, follows the steps below:S1:Power switch button is pressed, microcontroller enters wake-up states from resting state;S2:Whether detection cutter head connects, if it is, into step S3;Otherwise, the delay S seconds enter resting state;S3:Start bluetooth module, and search handshake request;S4:Bluetooth connection is established, and the access right of intelligent terminal transmission is obtained by bluetooth module;S5:Authority checking is by rear, feedback authorization message, into licensing status;S6:Under licensing status, the start-up and shut-down control that power switch button realizes controlled motor is pressed;S7:Bluetooth connection is disconnected, into unauthorized state, motor stops;S8:Under unauthorized state, power switch button is pressed, realizes the dormancy control of control process.Its effect is:Information exchange can be carried out with intelligent terminal, the information system management of user's access right can be realized, lift commercial application value.
Description
Technical field
The present invention relates to the device-dependent intelligent control technology of hotel article, and in particular to a kind of based on bluetooth mandate
Share shaver control method in hotel.
Background technology
Electric shaver has been favored by users deeply as the personal-care supplies that man commonly uses, but it is often
It is family expenses or private utilization.For this public place in hotel, consider for personal hygiene and product cost, hotel room
Between middle configuration shaver is most or manual simplified razor, passenger's use is extremely inconvenient, and uses electricity for habituation
For the user of dynamic shaver, once in a while using manual razor, usually easy scratch face, and the recessive risk of blade nor
Chang Gao, use electric shaver how can be economical and practical in this public place in hotel are also become in existing hotel management
A problem.
Based on current shared expanding economy, if a kind of shared shaver can be provided in hotel simply to be solved
Certainly above mentioned problem, but for combining this special daily living article of shaver, if arbitrarily configuring a shaver supplies trip
Objective free use, lacks the supervision and maintenance of system, it is difficult to ensure the sanitation and hygiene of equipment, damage of product rate is higher, adds
The operation cost in hotel.
The content of the invention
In order to solve the above problems, the present invention provides a kind of hotel based on bluetooth mandate and shares shaver control method,
Based on the popularization of current intelligent terminal, information exchange is carried out with intelligent terminal by configuring bluetooth module, so as to realize the right to use
The pipeline of limit and the monitoring of equipment state, so that it is guaranteed that service life of equipment, reduces hotel operating cost.
To achieve these goals, concrete technical scheme of the present invention is as follows:
Share shaver control method in a kind of hotel based on bluetooth mandate, it is characterised in that follow the steps below:
S1:Power switch button is pressed, microcontroller enters wake-up states from resting state;
S2:Whether detection cutter head connects, if it is, into step S3;Otherwise, the delay S seconds enter resting state;
S3:Start bluetooth module, and search handshake request;
S4:Bluetooth connection is established, and the access right of intelligent terminal transmission is obtained by bluetooth module;
S5:Authority checking is by rear, and microcontroller feeds back authorization message to intelligent terminal, into licensing status;
S6:Under licensing status, the start-up and shut-down control that power switch button realizes controlled motor is pressed;
S7:Bluetooth connection is disconnected by intelligent terminal, into unauthorized state, microprocessor control motor stops;
S8:Under unauthorized state, power switch button is pressed, realizes the dormancy control of control process.
Further, the power switch button is connected to the input of microcontroller as signal input control.
Further, the cutter head of shaver and handle of a knife are provided with gear convex under one piece using being detachably connected in cutter head
Mating plate, slot optical coupling switch is provided with handle of a knife, when cutter head is connected on handle of a knife, the light barrier stretches into the groove profile light
In the groove of coupling switch, microcontroller judges whether cutter head connects by detecting the coupled signal that the slot optical coupling switchs.
Further, the access right that intelligent terminal is sent in step S4 is one section of identifying code, and the identifying code is according to default
AES be stored in the microcontroller, intelligent terminal passes through bluetooth module after obtaining the identifying code by management platform
Send into microcontroller and carry out matching checking with default AES.
Further, in step S5, after intelligent terminal receives the authorization message of microcontroller feedback, timing, and root are started
Cost of use is determined according to using duration.
Further, microcontroller is worked by controlled motor drive module controlled motor, the motor drive module
Input is powered using rechargeable battery.
Further, microcontroller by charge-discharge circuit to rechargeable battery carry out power supply management and control, microcontroller to
The dump energy information of rechargeable battery is loaded with the authorization message of intelligent terminal feedback.
Further, LED indicating modules are connected with microcontroller, in unauthorized resting state, the LED indicating modules
Close, in unauthorized wake-up states, the LED indicating modules flicker, in licensing status, the LED light Chang Liang.
Further, the LED indicating modules and the power switch button are integrally disposed, the LED in LED indicating modules
Lamp is embedded in the keyboard of power switch button.
Further, power switch button, LED instructions template, bluetooth module, microcontroller, charge-discharge circuit and can
Rechargeable battery is arranged on handle of a knife to be used as shared equipment.
The present invention remarkable result be:
The present invention can carry out letter by setting up the control device with bluetooth module in shaver with intelligent terminal
Breath interaction, when the shaver is shared for hotel, the information system management of user's access right can be realized, lifts business application
Value, reduces the breakage rate of equipment, facilitates hotel management personnel and it is cleaned and safeguarded, it is ensured that user, which uses, to be needed
Will.
Brief description of the drawings
Fig. 1 is the system flow chart figure of the present invention;
Fig. 2 is the circuit control principle figure figure of the present invention;
Fig. 3 is the mounting structure schematic diagram of the present invention.
Embodiment
In order that the technical problem to be solved in the present invention, technical scheme and advantage are clearer, below in conjunction with accompanying drawing and
Specific embodiment is described in detail.
As shown in figure 1, the present embodiment, which provides a kind of hotel based on bluetooth mandate, shares shaver control method, according to
Lower step is carried out:
S1:Power switch button is pressed, microcontroller enters wake-up states from resting state;
S2:Whether detection cutter head connects, if it is, into step S3;Otherwise, the delay S seconds enter resting state, here
It is general to set 3~5 seconds, the malicious operation under notconnect state is avoided, damage axle is coupled structure;
S3:Start bluetooth module, and search handshake request;
S4:Bluetooth connection is established, and the access right of intelligent terminal transmission is obtained by bluetooth module;
S5:Authority checking is by rear, and microcontroller feeds back authorization message to intelligent terminal, into licensing status;
S6:Under licensing status, the start-up and shut-down control that power switch button realizes controlled motor is pressed;
S7:Bluetooth connection is disconnected by intelligent terminal, into unauthorized state, microprocessor control motor stops;
S8:Under unauthorized state, power switch button is pressed, realizes the dormancy control of control process.
It can be seen that in the present embodiment with reference to Fig. 2 and Fig. 3, shaver, including handle of a knife 1 and cutter head are shared by the hotel
2, control circuit 11 is provided with the handle of a knife 1, the control circuit 11 includes microcontroller 111 and is connected to controller 111
On bluetooth module 112, the controller 111 by the bluetooth module 112 obtain shaver access right and control drive
Blade rotation in dynamic device band dynamic cutter head 2, two blades 21 are provided with cutter head 2 in this example, two are correspondingly arranged in handle of a knife 1
Individual motor 12, cutter head 2 and handle of a knife 1 are provided with light barrier 22 convex under one piece using being detachably connected in cutter head 2,
Slot optical coupling switch 17 is provided with handle of a knife 1, when cutter head 2 is connected on handle of a knife 1, the light barrier 22 stretches into the groove profile light
In the groove of coupling switch 17, microcontroller 111 is by detecting whether the coupled signal of the slot optical coupling switch 17 judges cutter head 2
Connection.
It can also be seen that by Fig. 2 and Fig. 3 and power switch button 15 and LED instructions be also associated with microcontroller 111
Module 16, the power switch button 15 are connected to the input of microcontroller 111, LED instruction moulds as signal input control
Block 16 is connected to the output end of microcontroller 111, and in unauthorized resting state, the LED indicating modules are closed, called out in unauthorized
The state of waking up, the LED indicating modules flicker, in licensing status, the LED light Chang Liang.In the specific implementation, the LED
Indicating module 16 and the power switch button 15 are integrally disposed, the LED in LED indicating modules 16 be embedded power switch by
In the keyboard of key 15.
In the present embodiment, microcontroller 111 controls motor 12 to work by controlled motor drive module 113, institute
The input for stating motor drive module 113 is powered using rechargeable battery 13, and microcontroller 111 is right by charge-discharge circuit 114
Rechargeable battery 13 carries out power supply management and control, and microcontroller 111 is loaded with chargeable in the authorization message fed back to intelligent terminal
The dump energy information of battery.
By feeding back dump energy information in Bluetooth connection process, on the one hand it is easy to user to grasp equipment storing up electricity situation,
On the other hand also allow for hotel management personnel carries out charge maintenance in time, it is ensured that the normal use of next bit user.
Power switch button 15 can be seen that by Fig. 2-Fig. 3, LED indicates template 16, bluetooth module 112, microcontroller
111st, charge-discharge circuit 114, rechargeable battery 13, motor drive module 113 and motor 12 are arranged on handle of a knife 1 and made
Used for shared equipment, charging inlet 14 is additionally provided with the end of handle of a knife 1, by the higher control unit of hardware cost and driving
Part is integrated in handle of a knife 1 and used as public shared equipment, using the relatively low blade part of hardware cost as personal use device
Replaceable use, so as to effectively meet requirement of the personal-care supplies to sanitation and hygiene under hotel's application-specific scene, reduce
Customer consumption cost and hotel management maintenance cost.
Authorized to realize, the access right that intelligent terminal is sent in step S4 is one section of identifying code, the identifying code according to
Default AES is stored in the microcontroller, and intelligent terminal passes through bluetooth after obtaining the identifying code by management platform
Module sends into microcontroller and carries out matching checking with default AES.
In order to realize toll administration, in step S5, after intelligent terminal receives the authorization message of microcontroller feedback, start to count
When, and determine cost of use according to using duration.
In summary, the present invention shares shaver control method by designing a kind of hotel based on bluetooth mandate, can
The special scene in hotel is applied to well, by providing the private cutter head for the public handle+detachable connection that can be licensed,
It is easy to user's personal care, health safe to use, on the premise of ensuring that cutter head normally connects, passes through intelligent terminal bluetooth connection
Authorized, it is ensured that the information management and control to sharing equipment, reduce hotel operating management cost.
Finally it should be noted that foregoing description is the preferred embodiments of the present invention, one of ordinary skill in the art exists
Under the enlightenment of the present invention, on the premise of without prejudice to present inventive concept and claim, expression as multiple types can be made, this
The conversion of sample is each fallen within protection scope of the present invention.
Claims (10)
1. shaver control method is shared in a kind of hotel based on bluetooth mandate, it is characterised in that follows the steps below:
S1:Power switch button is pressed, microcontroller enters wake-up states from resting state;
S2:Whether detection cutter head connects, if it is, into step S3;Otherwise, the delay S seconds enter resting state;
S3:Start bluetooth module, and search handshake request;
S4:Bluetooth connection is established, and the access right of intelligent terminal transmission is obtained by bluetooth module;
S5:Authority checking is by rear, and microcontroller feeds back authorization message to intelligent terminal, into licensing status;
S6:Under licensing status, the start-up and shut-down control that power switch button realizes controlled motor is pressed;
S7:Bluetooth connection is disconnected by intelligent terminal, into unauthorized state, microprocessor control motor stops;
S8:Under unauthorized state, power switch button is pressed, realizes the dormancy control of control process.
2. shaver control method is shared in the hotel according to claim 1 based on bluetooth mandate, it is characterised in that:It is described
Power switch button is connected to the input of microcontroller as signal input control.
3. shaver control method is shared in the hotel according to claim 1 based on bluetooth mandate, it is characterised in that:Shave
The cutter head and handle of a knife of knife are provided with light barrier convex under one piece in cutter head, groove are provided with handle of a knife using being detachably connected
Type optical coupled switch, when cutter head is connected on handle of a knife, the light barrier is stretched into the groove of the slot optical coupling switch, microcontroller
Device judges whether cutter head connects by detecting the coupled signal that the slot optical coupling switchs.
4. shaver control method is shared in the hotel according to claim 1 based on bluetooth mandate, it is characterised in that:Step
The access right that intelligent terminal is sent in S4 is one section of identifying code, and the identifying code is stored in described micro- according to default AES
In controller, intelligent terminal sent after obtaining the identifying code by management platform by bluetooth module into microcontroller and with it is pre-
If AES carry out matching checking.
5. shaver control method is shared in the hotel based on bluetooth mandate according to claim 1 or 4, it is characterised in that:
In step S5, after intelligent terminal receives the authorization message of microcontroller feedback, start timing, and determine to use according to using duration
Expense.
6. shaver control method is shared in the hotel according to claim 5 based on bluetooth mandate, it is characterised in that:Micro-control
Device processed is worked by controlled motor drive module controlled motor, and the input of the motor drive module is supplied using rechargeable battery
Electricity.
7. shaver control method is shared in the hotel according to claim 6 based on bluetooth mandate, it is characterised in that:Micro-control
Device processed carries out power supply management and control by charge-discharge circuit to rechargeable battery, and microcontroller is in the authorization message fed back to intelligent terminal
In be loaded with the dump energy information of rechargeable battery.
8. shaver control method is shared in the hotel according to claim 7 based on bluetooth mandate, it is characterised in that:Micro-control
LED indicating modules are connected with device processed, in unauthorized resting state, the LED indicating modules are closed, and shape is waken up in unauthorized
State, the LED indicating modules flicker, in licensing status, the LED light Chang Liang.
9. shaver control method is shared in the hotel according to claim 8 based on bluetooth mandate, it is characterised in that:It is described
LED indicating modules and the power switch button are integrally disposed, and the LED in LED indicating modules is embedded in power switch button
Keyboard on.
10. shaver control method is shared in the hotel according to claim 9 based on bluetooth mandate, it is characterised in that:Electricity
Source switch button, LED instructions template, bluetooth module, microcontroller, charge-discharge circuit and rechargeable battery are arranged at handle of a knife
It is upper to be used as shared equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710998902.2A CN107756457B (en) | 2017-10-23 | 2017-10-23 | Hotel sharing shaver control method based on Bluetooth authorization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710998902.2A CN107756457B (en) | 2017-10-23 | 2017-10-23 | Hotel sharing shaver control method based on Bluetooth authorization |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107756457A true CN107756457A (en) | 2018-03-06 |
CN107756457B CN107756457B (en) | 2020-01-31 |
Family
ID=61269230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710998902.2A Active CN107756457B (en) | 2017-10-23 | 2017-10-23 | Hotel sharing shaver control method based on Bluetooth authorization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107756457B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112402043A (en) * | 2020-11-16 | 2021-02-26 | 浙江万里学院 | Star-level hotel electric toothbrush sharing method |
CN114170729A (en) * | 2021-10-30 | 2022-03-11 | 江苏东成工具科技有限公司 | Electric tool combination |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001334076A (en) * | 2000-05-26 | 2001-12-04 | Matsushita Electric Works Ltd | Electric shaver |
CN104217478A (en) * | 2014-08-13 | 2014-12-17 | 王波 | Hotel Bluetooth access control intelligent management method |
CN104723368A (en) * | 2013-12-20 | 2015-06-24 | 陕西迅腾通信科技有限公司 | Electric shaver with electric quantity detecting function and environment humidity detecting function |
CN206277424U (en) * | 2016-11-24 | 2017-06-27 | 邱云峰 | With fool proof rotary shaver |
CN106914930A (en) * | 2015-12-25 | 2017-07-04 | 江苏紫米电子技术有限公司 | A kind of intelligent shaver for abandoning cutter head assembly |
-
2017
- 2017-10-23 CN CN201710998902.2A patent/CN107756457B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001334076A (en) * | 2000-05-26 | 2001-12-04 | Matsushita Electric Works Ltd | Electric shaver |
CN104723368A (en) * | 2013-12-20 | 2015-06-24 | 陕西迅腾通信科技有限公司 | Electric shaver with electric quantity detecting function and environment humidity detecting function |
CN104217478A (en) * | 2014-08-13 | 2014-12-17 | 王波 | Hotel Bluetooth access control intelligent management method |
CN106914930A (en) * | 2015-12-25 | 2017-07-04 | 江苏紫米电子技术有限公司 | A kind of intelligent shaver for abandoning cutter head assembly |
CN206277424U (en) * | 2016-11-24 | 2017-06-27 | 邱云峰 | With fool proof rotary shaver |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112402043A (en) * | 2020-11-16 | 2021-02-26 | 浙江万里学院 | Star-level hotel electric toothbrush sharing method |
CN114170729A (en) * | 2021-10-30 | 2022-03-11 | 江苏东成工具科技有限公司 | Electric tool combination |
Also Published As
Publication number | Publication date |
---|---|
CN107756457B (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107627329A (en) | Share shaver in hotel based on Bluetooth control | |
CN101548450B (en) | Apparatus with rechargeable power supply | |
AU2003225210A8 (en) | Managing power in a line powered network element | |
CN107756457A (en) | Share shaver control method in hotel based on bluetooth mandate | |
CN206641849U (en) | A kind of U-shaped pillow of new mood regulation | |
CN105305526A (en) | Current Control Device and management device | |
TW201539919A (en) | Portable energy management device, power management module, and power management method | |
CN105708059B (en) | The deaf and dumb wake-up bracelet of intelligence | |
CN2932734Y (en) | Computer intelligent electricity-saving socket | |
CN209592272U (en) | A kind of aluminium-air cell management system based on PLC | |
CN106849282A (en) | A kind of active equalization system of electrokinetic cell | |
CN107650163A (en) | Share shaver and its control method in hotel | |
CN201988439U (en) | Safe and energy-saving circuit for paper shredder | |
CN104124766B (en) | Radio energy transmission system, receiving terminal, transmitting terminal and its awakening method | |
CN206236947U (en) | A kind of energy-saving plug | |
CN209460826U (en) | Intelligent door lock control device | |
CN202916621U (en) | Electronic controller of circuit breaker | |
CN209539602U (en) | Portable charged fan | |
CN110428519A (en) | A kind of low-power consumption multifunctional intellectual hotel lock | |
CN102445936B (en) | Method for carrying out remote management on batteries | |
CN107919700A (en) | A kind of control method of back-pack electric instrument intelligent power | |
CN207337506U (en) | A kind of smart machine | |
CN106125900B (en) | Intelligent power saving switching device and application method applied to desktop computer | |
CN205839632U (en) | A kind of locker of parking position realizing swing arm state continuous detecting | |
CN109360402A (en) | A kind of electric remote control tool control system based on bluetooth communication |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |