CN107756457B - Hotel sharing shaver control method based on Bluetooth authorization - Google Patents

Hotel sharing shaver control method based on Bluetooth authorization Download PDF

Info

Publication number
CN107756457B
CN107756457B CN201710998902.2A CN201710998902A CN107756457B CN 107756457 B CN107756457 B CN 107756457B CN 201710998902 A CN201710998902 A CN 201710998902A CN 107756457 B CN107756457 B CN 107756457B
Authority
CN
China
Prior art keywords
microcontroller
state
shaver
bluetooth
authorization
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.)
Active
Application number
CN201710998902.2A
Other languages
Chinese (zh)
Other versions
CN107756457A (en
Inventor
周俊岭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangzhou City Ecological Science And Technology Park Set Sme Service Center Co Ltd
Original Assignee
Yangzhou City Ecological Science And Technology Park Set Sme Service Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yangzhou City Ecological Science And Technology Park Set Sme Service Center Co Ltd filed Critical Yangzhou City Ecological Science And Technology Park Set Sme Service Center Co Ltd
Priority to CN201710998902.2A priority Critical patent/CN107756457B/en
Publication of CN107756457A publication Critical patent/CN107756457A/en
Application granted granted Critical
Publication of CN107756457B publication Critical patent/CN107756457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B26HAND CUTTING TOOLS; CUTTING; SEVERING
    • B26BHAND-HELD CUTTING TOOLS NOT OTHERWISE PROVIDED FOR
    • B26B19/00Clippers or shavers operating with a plurality of cutting edges, e.g. hair clippers, dry shavers
    • B26B19/38Details of, or accessories for, hair clippers, or dry shavers, e.g. housings, casings, grips, guards
    • B26B19/3873Electric features; Charging; Computing devices
    • B26B19/388Sensors; Control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Abstract

The invention discloses a hotel sharing shaver control method based on Bluetooth authorization, which comprises the following steps of S1 pressing a power switch key to enable a microcontroller to enter an awakening state from a dormant state, S2 detecting whether a cutter head is connected or not, if so, entering S3, otherwise, delaying S seconds to enter the dormant state, S3 starting a Bluetooth module and searching a handshake request, S4 establishing Bluetooth connection and obtaining use permission sent by an intelligent terminal through the Bluetooth module, S5 feeding back authorized information after authorization verification is passed and entering the authorized state, S6 pressing the power switch key to achieve start and stop control of a motor in the authorized state, S7 disconnecting the Bluetooth connection and entering the unauthorized state and stopping the motor, and S8 pressing the power switch key in the unauthorized state to achieve dormant control of a process.

Description

Hotel sharing shaver control method based on Bluetooth authorization
Technical Field
The invention relates to an intelligent control technology related to hotel product equipment, in particular to hotel sharing shaver control methods based on Bluetooth authorization.
Background
In public places such as hotels, due to the personal hygiene and product cost performance, most of the electric shavers arranged in hotel rooms are simple manual shavers, travelers are very inconvenient to use, and users who use the electric shavers habitually often scratch faces easily by using the manual shavers occasionally, the recessive risk of blades is very high, and how to use the electric shavers economically and practically in the public places such as hotels also becomes a problem in the existing hotel management.
Based on the development of the current shared economy, the problems can be simply solved if types of shared shavers can be provided in a hotel, however, in combination with a special daily living article such as a shaver, if types of shavers are freely configured for free use by passengers, systematic supervision and maintenance are lacked, cleanness and sanitation of equipment are difficult to guarantee, the product damage rate is high, and the operation cost of the hotel is increased.
Disclosure of Invention
In order to solve the problems, the invention provides hotel sharing shaver control methods based on Bluetooth authorization, and based on popularization of the current intelligent terminal, information interaction is carried out between the intelligent terminal and a Bluetooth module, so that monitoring of a pipeline of a use permission and a device state is realized, the service life of the device is ensured, and the operation cost of a hotel is reduced.
In order to achieve the purpose, the invention adopts the following specific technical scheme:
Hotel sharing shaver control method based on Bluetooth authorization is characterized by comprising the following steps:
s1: pressing a power switch key, and enabling the microcontroller to enter a wake-up state from a sleep state;
s2: detecting whether the cutter head is connected, and if so, entering the step S3; otherwise, delaying S seconds to enter a dormant state;
s3: starting a Bluetooth module and searching for a handshake request;
s4: establishing Bluetooth connection, and acquiring the use permission sent by the intelligent terminal through a Bluetooth module;
s5: after the authorization verification is passed, the microcontroller feeds back authorized information to the intelligent terminal and enters an authorization state;
s6: under the authorized state, a power switch key is pressed to realize the start-stop control of the control motor;
s7: the Bluetooth connection is disconnected through the intelligent terminal, an unauthorized state is entered, and the microcontroller controls the motor to stop;
s8: and in an unauthorized state, a power switch key is pressed to realize the sleep control of the control process.
, the power switch button is connected as a signal input control to the input of the microcontroller.
step, the razor head and the handle adopt detachable connection, light barrier pieces protruding downwards are arranged in the razor head, a groove-shaped optical coupling switch is arranged in the handle, when the razor head is connected to the handle, the light barrier pieces stretch into a groove of the groove-shaped optical coupling switch, and a microcontroller judges whether the razor head is connected or not through detecting a coupling signal of the groove-shaped optical coupling switch.
, the permission sent by the intelligent terminal in step S4 is verification codes, the verification codes are stored in the microcontroller according to a preset encryption algorithm, and the intelligent terminal obtains the verification codes through the management platform, sends the verification codes to the microcontroller through the bluetooth module, and performs matching verification with the preset encryption algorithm.
, in step S5, the intelligent terminal starts timing after receiving the authorization information fed back by the microcontroller, and determines the usage cost according to the usage duration.
And , the microcontroller controls the motor to work by controlling a motor driving module, and the input end of the motor driving module is powered by a rechargeable battery.
, the microcontroller controls the power supply of the rechargeable battery through the charging and discharging circuit, and the microcontroller loads the remaining capacity information of the rechargeable battery in the authorization information fed back to the intelligent terminal.
, an LED indicating module is connected to the microcontroller, and when the microcontroller is in an unauthorized sleep state, the LED indicating module is turned off, and when the microcontroller is in an unauthorized wake-up state, the LED indicating module flashes, and when the microcontroller is in an authorized state, the LED indicating module is normally on.
, the LED indicating module is integrated with the power switch key, and the LED lamp in the LED indicating module is embedded on the key surface of the power switch key.
, the power switch button, the LED indication module, the Bluetooth module, the microcontroller, the charge and discharge circuit and the rechargeable battery are all arranged on the knife handle to be used as a sharing device.
The invention has the following remarkable effects:
according to the invention, the control equipment with the Bluetooth module is additionally arranged in the shaver, so that the control equipment can perform information interaction with the intelligent terminal, when the shaver is used for hotel sharing, the information management of the use permission of a user can be realized, the commercial application value is improved, the damage rate of the equipment is reduced, the hotel manager can clean and maintain the equipment conveniently, and the use requirement of the user is ensured.
Drawings
FIG. 1 is a flow chart of the system of the present invention;
FIG. 2 is a schematic diagram of the circuit control of the present invention;
fig. 3 is a schematic view of the mounting structure of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following detailed description is made with reference to the accompanying drawings and specific embodiments.
As shown in fig. 1, the present embodiment provides methods for controlling a hotel sharing shaver based on bluetooth authorization, which are performed according to the following steps:
s1: pressing a power switch key, and enabling the microcontroller to enter a wake-up state from a sleep state;
s2, detecting whether the cutter head is connected or not, if so, entering the step S3, otherwise, delaying S seconds to enter a dormant state, wherein 3-5 seconds are set as , so that the shaft coupling structure is prevented from being damaged by malicious operation in a non-connected state;
s3: starting a Bluetooth module and searching for a handshake request;
s4: establishing Bluetooth connection, and acquiring the use permission sent by the intelligent terminal through a Bluetooth module;
s5: after the authorization verification is passed, the microcontroller feeds back authorized information to the intelligent terminal and enters an authorization state;
s6: under the authorized state, a power switch key is pressed to realize the start-stop control of the control motor;
s7: the Bluetooth connection is disconnected through the intelligent terminal, an unauthorized state is entered, and the microcontroller controls the motor to stop;
s8: and in an unauthorized state, a power switch key is pressed to realize the sleep control of the control process.
As can be seen from fig. 2 and fig. 3, in this embodiment, the hotel sharing razor includes a handle 1 and a head 2, a control circuit 11 is disposed in the handle 1, the control circuit 11 includes a microcontroller 111 and a bluetooth module 112 connected to the microcontroller 111, the microcontroller 111 obtains the use permission of the razor through the bluetooth module 112 and controls a driving device to drive a blade in the head 2 to rotate, in this example, two blades 21 are disposed in the head 2, two driving motors 12 are correspondingly disposed in the handle 1, the head 2 and the handle 1 are detachably connected, light blocking pieces 22 protruding downward are disposed in the head 2, a groove-shaped optical coupling switch 17 is disposed in the handle 1, when the handle 2 is connected to the handle 1, the light blocking pieces 22 extend into a groove of the groove-shaped optical coupling switch 17, and the microcontroller 111 determines whether the head 2 is connected through detecting a coupling signal of the groove-shaped optical coupling switch 17.
As can also be seen from fig. 2 and fig. 3, the microcontroller 111 is further connected with a power switch key 15 and an LED indication module 16, the power switch key 15 is connected to an input end of the microcontroller 111 as a signal input control, the LED indication module 16 is connected to an output end of the microcontroller 111, the LED indication module is turned off in an unauthorized sleep state, the LED indication module flashes in an unauthorized wake-up state, and the LED indication module is normally on in an authorized state. In specific implementation, the LED indication module 16 and the power switch key 15 are integrated, and an LED lamp in the LED indication module 16 is embedded on a key surface of the power switch key 15.
In this embodiment, the microcontroller 111 controls the driving motor 12 to operate by controlling the motor driving module 113, the input end of the motor driving module 113 is powered by the rechargeable battery 13, the microcontroller 111 performs power management and control on the rechargeable battery 13 through the charging and discharging circuit 114, and the microcontroller 111 loads the remaining power information of the rechargeable battery in the authorization information fed back to the intelligent terminal.
Through feedback residual capacity information in the bluetooth connection process, the aspect of being convenient for the user master the equipment power storage condition, the aspect of also being convenient for in time charge the maintenance of hotel management personnel in addition, ensure users' normal use down.
As can be seen from fig. 2 to fig. 3, the power switch key 15, the LED indication module 16, the bluetooth module 112, the microcontroller 111, the charge/discharge circuit 114, the rechargeable battery 13, the motor drive module 113, and the drive motor 12 are all disposed on the handle 1 and used as a shared device, the end of the handle 1 is further provided with the charging interface 14, the control component and the drive component with higher hardware cost are integrated in the handle 1 and used as a shared device, and the head component with lower hardware cost is used as a private device in an alternative manner, so as to effectively meet the requirement of personal care products on sanitation and hygiene in the specific application scene of the hotel, and reduce the user consumption cost and the hotel management and maintenance cost.
In order to realize authorization, the usage right sent by the intelligent terminal in step S4 is sections of verification codes, the verification codes are stored in the microcontroller according to a preset encryption algorithm, and the intelligent terminal obtains the verification codes through the management platform, sends the verification codes to the microcontroller through the bluetooth module, and performs matching verification with the preset encryption algorithm.
In order to implement charging management, in step S5, after receiving the authorization information fed back by the microcontroller, the intelligent terminal starts timing, and determines the usage cost according to the usage duration.
In conclusion, the hotel sharing shaver control method based on Bluetooth authorization is designed , the hotel sharing shaver control method can be well applied to hotel special scenes, private nursing of users is facilitated by providing the public handle capable of being authorized and the private cutter head detachably connected, use is safe and sanitary, authorization is performed through Bluetooth connection of the intelligent terminal on the premise that normal connection of the cutter head is guaranteed, information management and control of sharing equipment are guaranteed, and hotel operation management cost is reduced.
Finally, while the foregoing is directed to the preferred embodiment of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (5)

1, hotel sharing shaver control method based on Bluetooth authorization, which is characterized by comprising the following steps:
s1: pressing a power switch key, and enabling the microcontroller to enter a wake-up state from a sleep state;
s2: detecting whether the cutter head is connected, and if so, entering the step S3; otherwise, delaying S seconds to enter a dormant state;
the shaver comprises a shaver head, a shaver handle, a micro-controller and a groove-shaped optical coupling switch, wherein the shaver head and the shaver handle are detachably connected, light blocking sheets protruding downwards are arranged in the shaver head, the groove-shaped optical coupling switch is arranged in the shaver handle, when the shaver head is connected to the shaver handle, the light blocking sheets extend into a groove of the groove-shaped optical coupling switch, and the micro-controller judges whether the shaver head is connected or not by detecting a coupling signal of the groove-shaped optical coupling;
s3: starting a Bluetooth module and searching for a handshake request;
s4: establishing Bluetooth connection, and acquiring the use permission sent by the intelligent terminal through a Bluetooth module;
s5: after the authorization verification is passed, the microcontroller feeds back authorized information to the intelligent terminal and enters an authorization state;
s6: under the authorized state, a power switch key is pressed to realize the start-stop control of the control motor;
s7: the Bluetooth connection is disconnected through the intelligent terminal, an unauthorized state is entered, and the microcontroller controls the motor to stop;
s8: in an unauthorized state, a power switch key is pressed to realize the sleep control of a control process;
in the step S4, the intelligent terminal sends a verification code with usage permission of segments, the verification code is stored in the microcontroller according to a preset encryption algorithm, and the intelligent terminal obtains the verification code through the management platform, sends the verification code to the microcontroller through the Bluetooth module and performs matching verification with the preset encryption algorithm;
in step S5, the intelligent terminal starts timing after receiving the authorization information fed back by the microcontroller, and determines the use cost according to the use duration;
the microcontroller controls the motor to work by controlling the motor driving module, and the input end of the motor driving module adopts a rechargeable battery for supplying power;
the microcontroller controls the power supply of the rechargeable battery through the charging and discharging circuit, and the microcontroller loads the residual electric quantity information of the rechargeable battery in the authorization information fed back to the intelligent terminal.
2. The hotel sharing shaver control method based on bluetooth authorization as claimed in claim 1, wherein: and the power switch key is connected to the input end of the microcontroller as a signal input control.
3. The hotel sharing shaver control method based on bluetooth authorization as claimed in claim 1, wherein: the microcontroller is connected with an LED indicating module, the LED indicating module is closed in an unauthorized sleeping state, the LED indicating module flickers in an unauthorized awakening state, and the LED indicating module is normally on in an authorized state.
4. The hotel sharing shaver control method based on Bluetooth authorization as claimed in claim 3, wherein: the LED indicating module and the power switch key are arranged in an integrated mode, and an LED lamp in the LED indicating module is embedded on the key surface of the power switch key.
5. The hotel sharing shaver control method based on Bluetooth authorization as claimed in claim 4, wherein: the power switch key, the LED indicating module, the Bluetooth module, the microcontroller, the charging and discharging circuit and the rechargeable battery are all arranged on the knife handle to be used as shared equipment.
CN201710998902.2A 2017-10-23 2017-10-23 Hotel sharing shaver control method based on Bluetooth authorization Active CN107756457B (en)

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 CN107756457A (en) 2018-03-06
CN107756457B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4496606B2 (en) * 2000-05-26 2010-07-07 パナソニック電工株式会社 Electric razor
CN104723368A (en) * 2013-12-20 2015-06-24 陕西迅腾通信科技有限公司 Electric shaver with electric quantity detecting function and environment humidity detecting function
CN104217478B (en) * 2014-08-13 2016-06-08 重庆特斯联智慧科技股份有限公司 Hotel's control of bluetooth access intelligent management
CN106914930B (en) * 2015-12-25 2020-09-01 江苏紫米电子技术有限公司 Can abandon intelligent razor of tool bit subassembly
CN206277424U (en) * 2016-11-24 2017-06-27 邱云峰 With fool proof rotary shaver

Also Published As

Publication number Publication date
CN107756457A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
JP5478256B2 (en) Equipment with rechargeable power supply
EP2442428A1 (en) Electric vehicle
CN107756457B (en) Hotel sharing shaver control method based on Bluetooth authorization
CN110504720A (en) Portable power
WO2011032355A1 (en) Charging method and power supplying method for terminal and terminal
CN203925013U (en) Fingerprint lock
CN107627329A (en) Share shaver in hotel based on Bluetooth control
CN105305526A (en) current detection and management device
CN109669441A (en) One kind automatically powering off control method, system and equipment
CN106684652A (en) Smart socket system controlled based on wireless router
CN105576605B (en) A kind of dormitory powerful device management method and controller
CN107893581A (en) A kind of intelligent door lock and antitheft door
CN201988439U (en) Safe and energy-saving circuit for paper shredder
CN103700170A (en) Key for passive key-free-entry start system
CN201924691U (en) Multiple safeguard safe case
CN206312272U (en) A kind of finger-print cipher electronic lock
CN204809974U (en) Infrared photo -electric control's wireless access control ware
CN107650163A (en) Share shaver and its control method in hotel
CN109891701A (en) Electrical equipment, power supply device, electric equipment system and managing device
CN106684966A (en) Charging control method and system for personal electronic nursing product
CN205351788U (en) Water heater remote controller based on infrared perception
CN209460826U (en) Intelligent door lock control device
CN206363969U (en) A kind of remote controlled air switch
CN207337506U (en) A kind of smart machine
CN201170901Y (en) Wireless remote controller for ATX power supply

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