CN104847176A - Electronic lock controlling method and device - Google Patents

Electronic lock controlling method and device Download PDF

Info

Publication number
CN104847176A
CN104847176A CN201510199106.3A CN201510199106A CN104847176A CN 104847176 A CN104847176 A CN 104847176A CN 201510199106 A CN201510199106 A CN 201510199106A CN 104847176 A CN104847176 A CN 104847176A
Authority
CN
China
Prior art keywords
electronic lock
ambient
light intensity
brightness
ambient parameter
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
Application number
CN201510199106.3A
Other languages
Chinese (zh)
Other versions
CN104847176B (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.)
Beijing fruit plus Intelligent Technology Co., Ltd.
Original Assignee
张泽
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 张泽 filed Critical 张泽
Priority to CN201510199106.3A priority Critical patent/CN104847176B/en
Publication of CN104847176A publication Critical patent/CN104847176A/en
Priority to PCT/CN2015/089198 priority patent/WO2016169186A1/en
Priority to HK15110215.1A priority patent/HK1209807A1/en
Application granted granted Critical
Publication of CN104847176B publication Critical patent/CN104847176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means

Abstract

The invention discloses an electronic lock controlling method and device. The method comprises the steps of obtaining environmental parameters of the environment where an electronic lock is arranged, arranging an auxiliary component which is an energy consuming component on the electronic lock and adjusting the energy consuming situation of the auxiliary component according to the environmental parameters. The electronic lock controlling method solves the technical problem that the using time of a power supplying battery of the electronic lock is shortened due to the fact that the energy consumption of the auxiliary component in the electronic lock is not controllable.

Description

The control method of electronic lock and device
Technical field
The present invention relates to electronic lock field, in particular to a kind of control method and device of electronic lock.
Background technology
Existing electronic lock, powered battery is used as smart lock and electronic password lock, code keypad for inputting password on electronic lock generally adopts mechanical keyboard or capacitance touch screen formula keyboard, in order to the key number on keyboard also can be seen under dark surrounds clearly, need to use keyboard light or backlight etc., this will bring extra electric quantity consumption, shorten the use duration of battery.In addition, determine to input information when button to make user, generally be attended by prompt tone when button, particularly for adopting this power of keyboard feedback that can rely on unlike traditional mechanical keyboard of capacitance touch screen keyboard to experience the electronic lock of button situation.And by after key-press input password, no matter input correctness, electronic lock can bring extra electric quantity consumption equally when sending prompt tone, shortening battery and using duration.And if electric quantity consumption is too fast, then need often to change battery, cause using inconvenience and cost increase.
Especially in hotel's door lock, if client goes back to hotel the late into the night, then prompt tone volume when opening the door cross conference affect other people have a rest, and if client goes back to hotel daytime, and surrounding environment noisy time, then the too small meeting of prompt tone volume when opening the door causes user not hear prompt tone.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of control method and device of electronic lock, at least to solve the technical problem that the supplying cell of electronic lock that is that cause uses duration to shorten because the appurtenances power consumption in electronic lock is uncontrollable.
According to an aspect of the embodiment of the present invention, provide a kind of control method of electronic lock, comprising: the ambient parameter obtaining environment residing for electronic lock, above-mentioned electronic lock is provided with appurtenances, and above-mentioned appurtenances are energy-consuming parts; And the energy consumption condition of above-mentioned appurtenances is regulated according to above-mentioned ambient parameter.
Further, the ambient parameter obtaining environment residing for electronic lock comprises: obtain above-mentioned ambient parameter by the sensor be arranged on above-mentioned electronic lock; And/or get Date, the position of current time and above-mentioned electronic lock to be to calculate above-mentioned ambient parameter.
Further, when getting Date, the position of current time and above-mentioned electronic lock to calculate above-mentioned ambient parameter time, the ambient parameter obtaining environment residing for electronic lock comprises: obtain above-mentioned current date and above-mentioned current time; Obtain the ID of above-mentioned electronic lock; The position of above-mentioned electronic lock is determined according to the ID of above-mentioned electronic lock; And according to the above-mentioned ambient parameter of position calculation of above-mentioned current date, above-mentioned current time and above-mentioned electronic lock.
Further, above-mentioned appurtenances comprise: code keypad and keyboard light, above-mentioned ambient parameter comprises: ambient noise and ambient light intensity, wherein, the energy consumption condition of above-mentioned appurtenances is regulated to comprise according to above-mentioned ambient parameter: the volume regulating the key prompting voice of above-mentioned code keypad according to above-mentioned ambient noise; And/or the brightness of above-mentioned keyboard light is regulated according to above-mentioned ambient light intensity.
Further, when regulating the brightness of above-mentioned keyboard light according to above-mentioned ambient light intensity, before the brightness regulating above-mentioned keyboard light according to above-mentioned ambient light intensity, above-mentioned control method also comprises: according to the position acquisition Weather information of current date, current time and above-mentioned electronic lock; And according to the above-mentioned ambient light intensity of Weather information correction obtained, obtain revised ambient light intensity, wherein, regulate the brightness of above-mentioned keyboard light according to above-mentioned revised ambient light intensity.
According to another aspect of the embodiment of the present invention, providing a kind of control device of electronic lock, comprising: the first acquiring unit, for obtaining the ambient parameter of environment residing for electronic lock, above-mentioned electronic lock being provided with appurtenances, above-mentioned appurtenances are energy-consuming parts; And regulon, for regulating the energy consumption condition of above-mentioned appurtenances according to above-mentioned ambient parameter.
Further, above-mentioned first acquiring unit comprises: the first acquisition module, for obtaining above-mentioned ambient parameter by the sensor be arranged on above-mentioned electronic lock; And/or second acquisition module, for getting Date, the position of current time and above-mentioned electronic lock to be to calculate above-mentioned ambient parameter.
Further, when the position by Network Capture current date, current time and above-mentioned electronic lock calculates above-mentioned ambient parameter, above-mentioned second acquisition module comprises: first obtains submodule, for obtaining above-mentioned current date and above-mentioned current time; Second obtains submodule, for obtaining the ID of above-mentioned electronic lock; Position enquiring submodule, for determining the position of above-mentioned electronic lock according to the ID of above-mentioned electronic lock; And calculating sub module, for the above-mentioned ambient parameter of position calculation according to above-mentioned current date, above-mentioned current time and above-mentioned electronic lock.
Further, above-mentioned appurtenances comprise: code keypad and keyboard light, and above-mentioned ambient parameter comprises: ambient noise and ambient light intensity, wherein, above-mentioned regulon comprises: the first regulon, for regulating the volume of the key prompting voice of above-mentioned code keypad according to above-mentioned ambient noise; And/or second regulon, for regulating the brightness of above-mentioned keyboard light according to above-mentioned ambient light intensity.
Further, above-mentioned control device also comprises: the second regulon, for when regulating the brightness of above-mentioned keyboard light according to above-mentioned ambient light intensity, before the brightness regulating above-mentioned keyboard light according to above-mentioned ambient light intensity, according to the position acquisition Weather information of current date, current time and above-mentioned electronic lock; And amending unit, for the above-mentioned ambient light intensity of Weather information correction according to acquisition, obtain revised ambient light intensity, wherein, above-mentioned second regulon is also for regulating the brightness of above-mentioned keyboard light according to above-mentioned revised ambient light intensity.
In embodiments of the present invention, adopt the mode of the energy consumption condition regulating appurtenances in electronic lock at any time, by obtaining the ambient parameter of environment residing for electronic lock, electronic lock is provided with appurtenances, and appurtenances are energy-consuming parts; And environmentally parameter regulates the energy consumption condition of appurtenances, reach the object of less battery power consumption, thus achieve the technique effect of use duration of the supplying cell extending electronic lock, and then solve and that the cause supplying cell of electronic lock use duration shorten technical problem uncontrollable due to the appurtenances power consumption in electronic lock.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the control method of a kind of electronic lock according to prior art; And
Fig. 2 is the schematic diagram of the control device of a kind of electronic lock according to the embodiment of the present invention.
Detailed description of the invention
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in manual of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to the embodiment of the present invention, provide a kind of embodiment of the method for control method of electronic lock, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 1 is the flow chart of the control method of a kind of electronic lock according to prior art, and as shown in Figure 1, the method comprises the steps:
Step S102, obtain the ambient parameter of environment residing for electronic lock, electronic lock is provided with appurtenances, and appurtenances are energy-consuming parts; And
Step S104, environmentally parameter regulates the energy consumption condition of appurtenances.
Wherein, ambient parameter can comprise the ambient noise and ambient light intensity etc. of environment residing for electronic lock.Appurtenances can comprise background light, code keypad and keyboard light etc., and background light and keyboard light be consumed energy due to luminescence, and code keypad is consumed energy due to generation prompt tone during button.
It should be noted that, the executive agent of abovementioned steps can be electronic lock itself, also can be server.
Due in different ambient noises, the volume that user does not hear needed for key prompting voice is different, therefore, environmentally the size of noise regulating key prompt tone is with regulating cell energy consumption, key prompting voice function originally can be realized, the electricity of battery can be saved again, reach the effect of the use duration extending battery.In like manner, due under different ambient light intensities, the brightness that user sees clearly needed for the button on code keypad is different, therefore, environmentally luminous intensity regulates the brightness size of keyboard light or background light with regulating cell energy consumption, keyboard light or background light function originally can be realized, the electricity of battery can be saved again, reach the effect of the use duration extending battery.
Pass through above-mentioned steps, according to the sub-brightness of keyboard lamp of different automatic control electrics and the volume of key prompting voice of use scenes or environment for use, the user of electronic lock can be made in different use scenes or environment for use all to obtain good experience, and reduce electric quantity consumption.
Alternatively, residing for step S102 acquisition electronic lock, the ambient parameter of environment can comprise:
S2, obtains ambient parameter by the sensor be arranged on electronic lock; And/or
S4, gets Date, the position of current time and electronic lock carrys out computing environment parameter.
That is, in embodiments of the present invention, when obtaining the ambient parameter of environment residing for electronic lock, can be obtained by any one or two kinds of methods shown by S2 and S4.
For S2, because ambient parameter can comprise ambient noise and the ambient light intensity of environment residing for electronic lock, therefore, accordingly, the sensor on electronic lock can comprise light sensor and sound transducer, wherein, the former is for testing environment luminous intensity, and the latter is used for testing environment noise.When implementing, when after user's activating pin keyboard, automatically open light sensor and sound transducer, and after the current ambient noise of acquisition and ambient light intensity, automatically close the sensor.
Although electronic lock is in indoor use, but because the difference of different time indoor environment luminous intensity is also very large, if do not regulate the brightness of keyboard light according to indoor environment luminous intensity, good visual effect cannot be obtained sometimes, the waste of electricity can be caused sometimes, in order to save electricity and improve Consumer's Experience, the brightness of keyboard light can be made to carry out Automatic adjusument along with environmental light brightness by the embodiment of the present invention.
It should be noted that, when obtaining ambient parameter by the mode arranging sensor in electronic lock, owing to needing the sensor set up in electronic lock, and also need consuming cells electricity during sensor work itself, therefore, this mode adds the consumption of electricity to a certain extent on the contrary, and meanwhile, setting up sensor can increase circuit complexity.Therefore, the situation little for the power consumption of keyboard light own, lighting time is short, setting up sensor may lose more than gain.
But, for touch-screen type code keypad, particularly large-sized touch-screen type code keypad, because the power consumption of touch-screen type code keypad own is larger, and its display readability is responsive to ambient light intensity, in this case, use light sensor can more effective adjusting screen brightness, reduce energy consumption.
In addition, for Micro Energy Lose LED-backlit touch-screen type code keypad, when keyboard light does not work, whole panel is black, cannot symbol on display keyboard, and after code keypad activates, the Micro Energy Lose LED at the touch-screen back side lights, character place can appear the light that LED sends, and other parts are still black, at this moment can symbol on display keyboard.Use this code keypad, because the power consumption of keyboard light own is less, therefore set up light sensor and may bring higher extra power consumption, now, can select to carry out computing environment parameter by the position of Network Capture current date, current time and electronic lock.Such as, sun angles can be determined by longitude and latitude residing for current date, current time and electronic lock, and then approximate calculation can go out ambient light intensity according to sun angles, and latitude and longitude information residing for current date, current time and electronic lock also can approximate calculation go out at sunrise between and sunset time.For night, the length of one's sleep can be set for electronic lock, and think the length of one's sleep initial time before, ambient light intensity is approximately equal to the intensity of illumination of indoor illumination, and after the finish time of the length of one's sleep, ambient light intensity is approximately zero, can be that keyboard light (as LED) sets different brightness according to the different time like this, thus realize keyboard light brightness environmentally luminous intensity carry out the object of Automatic adjusument.
And for traditional mechanical code keyboard, ambient parameter can be obtained to carry out energy consumption condition Automatic adjusument equally according to preceding method, unlike, because daylight environment luminous intensity is strong, only rely on surround lighting just can see code keypad clearly, keyboard light now can be made to be in closed condition, and due to ambient light intensity at night weak, only rely on surround lighting to be not enough to see code keypad clearly, keyboard light now can be made to be in open mode.
For the adjustment of key prompting voice, the real noise intensity (i.e. environmental noise level) in sound transducer background extraction environment can be used equally, according to this noise intensity, preset the volume that a user clearly can hear key prompting voice.Certainly, also sound transducer can not be used, now can simply by night prompt tone sound volume setting be a less value, and by daytime prompt tone sound volume setting be a larger value, like this, for hotel's door lock, both electric quantity consumption can be reduced, can avoid again bothering other clients to have a rest, and can guarantee that user can hear key prompting voice.
In addition, for S4, can directly get Date from the clock of electronic lock on the one hand and current time and the position obtaining the electronic lock prestored from the internal memory of electronic lock.
Further alternatively, when getting Date, the position of current time and electronic lock is when carrying out computing environment parameter, and the ambient parameter obtaining environment residing for electronic lock can comprise:
S6, gets Date and current time;
S8, obtains the ID of electronic lock;
S10, determines the position of electronic lock according to the ID of electronic lock; And
S12, according to the position calculation ambient parameter of current date, current time and electronic lock.
It should be noted that, the ID of electronic lock is equivalent to the mark of electronic lock, there is electronic lock this locality, and in a network, server can be identified by the ID of electronic lock and distinguish different electronic locks.The above embodiment of the present invention can perform at server end, also can perform at electronic lock end, only when it performs at server end, just need the ID by Network Capture electronic lock.Equally, current date and current time can directly obtain from electronic lock end, or, also can obtain by server end.
During enforcement, when after user's activating pin keyboard, the ID (i.e. identify label) of self and ambient parameter can be obtained request and send to server by internet by electronic lock automatically, server determines the geographical position of this electronic lock again according to above-mentioned ID, and get Date and current time, then calculate the ambient parameters such as current ambient light intensity and ambient noise according to the current date obtained, current time and geographical position.
Wherein, calculate current ambient light intensity can comprise according to the current date obtained, current time and geographical position: determine current sun angles, according to sun angles determination ambient light intensity according to current date, current time and geographical position (as longitude and latitude).In addition, sunrise and sunset time can be calculated easily according to geographical position and current date.For the situation of post sunset, the time period between can setting from post sunset to midnight before 12 as the time before sleeping, now can determine to carry on the back environmental light brightness according to the illumination brightness of indoor illumination; Time period can setting after midnight 12 before sunrise is the length of one's sleep of client, now can think that environmental light brightness is zero substantially; For after sunrise before sunset between time period, current sun angles can be calculated according to current date, current time and longitude and latitude, and then calculate ring luminous intensity according to sun angles.
Such as, ambient light intensity can be divided into multiple different grade in advance, the strongest grade of correspondence at high noon, night corresponding the lowest class, the corresponding time inferior grade of sunrise/sunset, all the other times other grades corresponding, like this, can make the keyboard light brightness that the ambient light intensity of each grade correspondence one is different.
Again such as, ambient noise can be divided into multiple different grade in advance according to the time, night is low level of noise, daytime is strong noise grade, wherein, being low when low level of noise by the sound volume setting of key prompting voice, is high when strong noise grade by the sound volume setting of key prompting voice.
It should be noted that, when by current date, current time and the ambient parameter such as geographical position computing environment luminous intensity and ambient noise, related algorithm can be prestored in electronic lock, in order to ensure the precision of result of calculation, when mounted for electronic lock arranges correct date, time and longitude and latitude; Further, in order to still ensure the precision of result of calculation in certain hour section, electronic lock can be made automatically to run above-mentioned algorithm according to the clock (as half an hour or a hour) in electronic lock, thus reset the date and time of electronic lock, and then refresh the brightness of keyboard light and the volume of key prompting voice.
It should be noted that, corresponding data (comprising date, time, longitude and latitude etc.) can be obtained and computing environment parameter by server, like this, electronic lock can retiming at every turn (as refresh time can be 10 minutes to 1 hour not etc.) after obtain the brightness data of new keyboard light and the volume data of key prompting voice from server end, also can obtain above-mentioned data when each code keypad is activated from server.
Alternatively, above-mentioned appurtenances can comprise: code keypad and keyboard light, and above-mentioned ambient parameter can comprise: ambient noise and ambient light intensity, and wherein, environmentally parameter regulates the energy consumption condition of appurtenances to comprise:
S14, environmentally noise regulates the volume of the key prompting voice of code keypad; And/or
S16, environmentally luminous intensity regulates the brightness of keyboard light.
Particularly, can after by server, environmentally luminous intensity and ambient noise determine the brightness data of keyboard light and the volume data of case prompt tone, by wireless network, keyboard light brightness data and prompt tone volume data are sent to electronic lock, then perform above-mentioned S14 and/or S16 by electronic lock.Preferably, in order to farthest economize on electricity, S14 and S16 can be performed.
Further alternatively, when environmentally luminous intensity regulates the brightness of keyboard light, before environmentally luminous intensity regulates the brightness of keyboard light, above-mentioned control method can also comprise:
S18, according to the position acquisition Weather information of current date, current time and electronic lock; And
S20, according to the Weather information correction ambient light intensity obtained, obtains revised ambient light intensity, wherein, regulates the brightness of keyboard light according to revised ambient light intensity.
Due to overcast and rainy compared with fine day, same geographical position at one time or same time period environment luminous intensity can there is larger difference, now, according to Weather information correction ambient light intensity, and the brightness of keyboard light is regulated according to revised result, regulation scheme is optimized more.Such as, ambient light intensity can be revised in the following manner: overcast and rainy, ambient light intensity is multiplied by an attenuation factor preset; In heavy rain or strong wind sky, environmental noise level is multiplied by one and strengthens coefficient.Such as, the attenuation factor of haze weather can be 0.8-0.95, and the attenuation factor of rainy weather can be 0.6-0.85; In like manner, the Noise enhancement coefficient of light rain weather can be 1.05, the Noise enhancement coefficient of moderate rain weather can be 1.1, the Noise enhancement coefficient of heavy or torrential rain weather can be 1.2-1.3, strengthening coefficient when wind-force is 2-3 level can be 1.05, strengthening coefficient when wind-force is 4-5 level can be 1.1, and strengthening coefficient when wind-force is 6-8 level can be 1.2, and strengthening coefficient when wind-force is more than 8 grades can be 1.3 etc.It should be noted that, can determine by the actual measured value during different weather attenuation factor that presets.
It should be noted that, can by the electronic lock of the present invention in hotel, particularly access to your password and to open the door or with on the electronic lock of display keyboard.
According to the embodiment of the present invention, provide a kind of device embodiment of control device of electronic lock.The device of the control device of this electronic lock may be used for the control method of the electronic lock run in above-described embodiment.
Fig. 2 is the schematic diagram of the control device of a kind of electronic lock according to the embodiment of the present invention.As shown in Figure 2, this device comprises: the first acquiring unit 10 and regulon 20.
First acquiring unit 10, for obtaining the ambient parameter of environment residing for electronic lock, electronic lock is provided with appurtenances, and appurtenances are energy-consuming parts; And regulon 20 regulates the energy consumption condition of appurtenances for environmentally parameter.
Wherein, ambient parameter can comprise the ambient noise and ambient light intensity etc. of environment residing for electronic lock.Appurtenances can comprise background light, code keypad and keyboard light etc., and background light and keyboard light be consumed energy due to luminescence, and code keypad is consumed energy due to generation prompt tone during button.
It should be noted that, the executive agent of abovementioned steps can be electronic lock itself, also can be server.
Due in different ambient noises, the volume that user does not hear needed for key prompting voice is different, therefore, environmentally the size of noise regulating key prompt tone is with regulating cell energy consumption, key prompting voice function originally can be realized, the electricity of battery can be saved again, reach the effect of the use duration extending battery.In like manner, due under different ambient light intensities, the brightness that user sees clearly needed for the button on code keypad is different, therefore, environmentally luminous intensity regulates the brightness size of keyboard light or background light with regulating cell energy consumption, keyboard light or background light function originally can be realized, the electricity of battery can be saved again, reach the effect of the use duration extending battery.
Pass through above-mentioned steps, according to the sub-brightness of keyboard lamp of different automatic control electrics and the volume of key prompting voice of use scenes or environment for use, the user of electronic lock can be made in different use scenes or environment for use all to obtain good experience, and reduce electric quantity consumption.
Alternatively, the first acquiring unit can comprise: the first acquisition module and/or the second acquisition module.First acquisition module, for obtaining ambient parameter by the sensor be arranged on electronic lock; Second acquisition module, for carrying out computing environment parameter by the position of Network Capture current date, current time and electronic lock.
That is, in embodiments of the present invention, when obtaining the ambient parameter of environment residing for electronic lock, can be obtained by any one or two kinds of methods shown by the function of the first acquisition module and the second acquisition module.
For the first acquisition module, because ambient parameter can comprise ambient noise and the ambient light intensity of environment residing for electronic lock, therefore, accordingly, sensor on electronic lock can comprise light sensor and sound transducer, wherein, the former is for testing environment luminous intensity, and the latter is used for testing environment noise.When implementing, when after user's activating pin keyboard, automatically open light sensor and sound transducer, and after the current ambient noise of acquisition and ambient light intensity, automatically close the sensor.
Although electronic lock is in indoor use, but because the difference of different time indoor environment luminous intensity is also very large, if do not regulate the brightness of keyboard light according to indoor environment luminous intensity, good visual effect cannot be obtained sometimes, the waste of electricity can be caused sometimes, in order to save electricity and improve Consumer's Experience, the brightness of keyboard light can be made to carry out Automatic adjusument along with environmental light brightness by the embodiment of the present invention.
It should be noted that, when obtaining ambient parameter by the mode arranging sensor in electronic lock, owing to needing the sensor set up in electronic lock, and also need consuming cells electricity during sensor work itself, therefore, this mode adds the consumption of electricity to a certain extent on the contrary, and meanwhile, setting up sensor can increase circuit complexity.Therefore, the situation little for the power consumption of keyboard light own, lighting time is short, setting up sensor may lose more than gain.
But, for touch-screen type code keypad, particularly large-sized touch-screen type code keypad, because the power consumption of touch-screen type code keypad own is larger, and its display readability is responsive to ambient light intensity, in this case, use light sensor can more effective adjusting screen brightness, reduce energy consumption.
In addition, for Micro Energy Lose LED-backlit touch-screen type code keypad, when keyboard light does not work, whole panel is black, cannot symbol on display keyboard, and after code keypad activates, the Micro Energy Lose LED at the touch-screen back side lights, character place can appear the light that LED sends, and other parts are still black, at this moment can symbol on display keyboard.Use this code keypad, because the power consumption of keyboard light own is less, therefore set up light sensor and may bring higher extra power consumption, now, can select to carry out computing environment parameter by the position of Network Capture current date, current time and electronic lock.Such as, sun angles can be determined by longitude and latitude residing for current date, current time and electronic lock, and then approximate calculation can go out ambient light intensity according to sun angles, and latitude and longitude information residing for current date, current time and electronic lock also can approximate calculation go out at sunrise between and sunset time.For night, the length of one's sleep can be set for electronic lock, and think the length of one's sleep initial time before, ambient light intensity is approximately equal to the intensity of illumination of indoor illumination, and after the finish time of the length of one's sleep, ambient light intensity is approximately zero, can be that keyboard light (as LED) sets different brightness according to the different time like this, thus realize keyboard light brightness environmentally luminous intensity carry out the object of Automatic adjusument.
And for traditional mechanical code keyboard, ambient parameter can be obtained to carry out energy consumption condition Automatic adjusument equally according to preceding method, unlike, because daylight environment luminous intensity is strong, only rely on surround lighting just can see code keypad clearly, keyboard light now can be made to be in closed condition, and due to ambient light intensity at night weak, only rely on surround lighting to be not enough to see code keypad clearly, keyboard light now can be made to be in open mode.
For the adjustment of key prompting voice, the real noise intensity (i.e. environmental noise level) in sound transducer background extraction environment can be used equally, according to this noise intensity, preset the volume that a user clearly can hear key prompting voice.Certainly, also sound transducer can not be used, now can simply by night prompt tone sound volume setting be a less value, and by daytime prompt tone sound volume setting be a larger value, like this, for hotel's door lock, both electric quantity consumption can be reduced, can avoid again bothering other clients to have a rest, and can guarantee that user can hear key prompting voice.
In addition, for the second acquisition module, can directly get Date from the clock of electronic lock on the one hand and current time and the position obtaining the electronic lock prestored from the internal memory of electronic lock.
Further alternatively, when computing environment parameter is carried out in the position by Network Capture current date, current time and electronic lock, the second acquisition module comprises: first obtains submodule, for passing through Network Capture current date and current time; Second obtains submodule, for the ID by Network Capture electronic lock; Position enquiring submodule, for determining the position of electronic lock according to the ID of electronic lock; And calculating sub module, for the position calculation ambient parameter according to current date, current time and electronic lock.
It should be noted that, the ID of electronic lock is equivalent to the mark of electronic lock, there is electronic lock this locality, and in a network, server can be identified by the ID of electronic lock and distinguish different electronic locks.The above embodiment of the present invention can perform at server end, also can perform at electronic lock end, only when it performs at server end, just need the ID by Network Capture electronic lock.Equally, current date and current time can directly obtain from electronic lock end, or, also can obtain by server end.
During enforcement, when after user's activating pin keyboard, the ID (i.e. identify label) of self and ambient parameter can be obtained request and send to server by internet by electronic lock automatically, server determines the geographical position of this electronic lock again according to above-mentioned ID, and get Date and current time, then calculate the ambient parameters such as current ambient light intensity and ambient noise according to the current date obtained, current time and geographical position.
Wherein, calculate current ambient light intensity can comprise according to the current date obtained, current time and geographical position: determine current sun angles, according to sun angles determination ambient light intensity according to current date, current time and geographical position (as longitude and latitude).In addition, sunrise and sunset time can be calculated easily according to geographical position and current date.For the situation of post sunset, the time period between can setting from post sunset to midnight before 12 as the time before sleeping, now can determine to carry on the back environmental light brightness according to the illumination brightness of indoor illumination; Time period can setting after midnight 12 before sunrise is the length of one's sleep of client, now can think that environmental light brightness is zero substantially; For after sunrise before sunset between time period, current sun angles can be calculated according to current date, current time and longitude and latitude, and then calculate ring luminous intensity according to sun angles.
Such as, ambient light intensity can be divided into multiple different grade in advance, the strongest grade of correspondence at high noon, night corresponding the lowest class, the corresponding time inferior grade of sunrise/sunset, all the other times other grades corresponding, like this, can make the keyboard light brightness that the ambient light intensity of each grade correspondence one is different.
Again such as, ambient noise can be divided into multiple different grade in advance according to the time, night is low level of noise, daytime is strong noise grade, wherein, being low when low level of noise by the sound volume setting of key prompting voice, is high when strong noise grade by the sound volume setting of key prompting voice.
It should be noted that, when by current date, current time and the ambient parameter such as geographical position computing environment luminous intensity and ambient noise, related algorithm can be prestored in electronic lock, in order to ensure the precision of result of calculation, when mounted for electronic lock arranges correct date, time and longitude and latitude; Further, in order to still ensure the precision of result of calculation in certain hour section, electronic lock can be made automatically to run above-mentioned algorithm according to the clock (as half an hour or a hour) in electronic lock, thus reset the date and time of electronic lock, and then refresh the brightness of keyboard light and the volume of key prompting voice.
It should be noted that, corresponding data (comprising date, time, longitude and latitude etc.) can be obtained and computing environment parameter by server, like this, electronic lock can retiming at every turn (as refresh time can be 10 minutes to 1 hour not etc.) after obtain the brightness data of new keyboard light and the volume data of key prompting voice from server end, also can obtain above-mentioned data when each code keypad is activated from server.
Alternatively, above-mentioned appurtenances comprise: code keypad and keyboard light, and above-mentioned ambient parameter comprises: ambient noise and ambient light intensity, and wherein, regulon can comprise: the first regulon and/or the second regulon.First regulon, regulates the volume of the key prompting voice of code keypad for environmentally noise; Second regulon, regulates the brightness of keyboard light for environmentally luminous intensity.
Particularly, can after by server, environmentally luminous intensity and ambient noise determine the brightness data of keyboard light and the volume data of case prompt tone, by wireless network, keyboard light brightness data and prompt tone volume data are sent to electronic lock, then perform the first above-mentioned regulon and/or the function of the second regulon by electronic lock.Preferably, in order to farthest economize on electricity, the first regulon and the second regulon can be performed.
Further alternatively, above-mentioned control device can also comprise: the second regulon and amending unit.Second regulon, for when environmentally luminous intensity regulates the brightness of keyboard light, before environmentally luminous intensity regulates the brightness of keyboard light, according to the position acquisition Weather information of current date, current time and electronic lock; And amending unit, for according to the Weather information correction ambient light intensity obtained, obtain revised ambient light intensity, wherein, the second regulon is also for regulating the brightness of keyboard light according to revised ambient light intensity.
Due to overcast and rainy compared with fine day, same geographical position at one time or same time period environment luminous intensity can there is larger difference, now, according to Weather information correction ambient light intensity, and the brightness of keyboard light is regulated according to revised result, regulation scheme is optimized more.Such as, ambient light intensity can be revised in the following manner: overcast and rainy, ambient light intensity is multiplied by an attenuation factor preset; In heavy rain or strong wind sky, environmental noise level is multiplied by one and strengthens coefficient.Such as, the attenuation factor of haze weather can be 0.8-0.95, and the attenuation factor of rainy weather can be 0.6-0.85; In like manner, the Noise enhancement coefficient of light rain weather can be 1.05, the Noise enhancement coefficient of moderate rain weather can be 1.1, the Noise enhancement coefficient of heavy or torrential rain weather can be 1.2-1.3, strengthening coefficient when wind-force is 2-3 level can be 1.05, strengthening coefficient when wind-force is 4-5 level can be 1.1, and strengthening coefficient when wind-force is 6-8 level can be 1.2, and strengthening coefficient when wind-force is more than 8 grades can be 1.3 etc.It should be noted that, can determine by the actual measured value during different weather attenuation factor that presets.
It should be noted that, can by the electronic lock of the present invention in hotel, particularly access to your password and to open the door or with on the electronic lock of display keyboard.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the INDIRECT COUPLING of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a control method for electronic lock, is characterized in that, comprising:
Obtain the ambient parameter of environment residing for electronic lock, described electronic lock is provided with appurtenances, and described appurtenances are energy-consuming parts; And
The energy consumption condition of described appurtenances is regulated according to described ambient parameter.
2. control method according to claim 1, is characterized in that, the ambient parameter obtaining environment residing for electronic lock comprises:
Described ambient parameter is obtained by the sensor be arranged on described electronic lock; And/or
Get Date, the position of current time and described electronic lock to be to calculate described ambient parameter.
3. control method according to claim 2, is characterized in that, when getting Date, the position of current time and described electronic lock to calculate described ambient parameter time, the ambient parameter obtaining environment residing for electronic lock comprises:
Obtain described current date and described current time;
Obtain the ID of described electronic lock;
The position of described electronic lock is determined according to the ID of described electronic lock; And
Ambient parameter according to the position calculation of described current date, described current time and described electronic lock.
4. control method according to claim 1, it is characterized in that, described appurtenances comprise: code keypad and keyboard light, and described ambient parameter comprises: ambient noise and ambient light intensity, wherein, the energy consumption condition of described appurtenances is regulated to comprise according to described ambient parameter:
The volume of the key prompting voice of described code keypad is regulated according to described ambient noise; And/or
The brightness of described keyboard light is regulated according to described ambient light intensity.
5. control method according to claim 4, is characterized in that, when regulating the brightness of described keyboard light according to described ambient light intensity, before the brightness regulating described keyboard light according to described ambient light intensity, described control method also comprises:
According to the position acquisition Weather information of current date, current time and described electronic lock; And
Ambient light intensity according to the Weather information correction obtained, obtains revised ambient light intensity,
Wherein, the brightness of described keyboard light is regulated according to described revised ambient light intensity.
6. a control device for electronic lock, is characterized in that, comprising:
First acquiring unit, for obtaining the ambient parameter of environment residing for electronic lock, described electronic lock is provided with appurtenances, and described appurtenances are energy-consuming parts; And
Regulon, for regulating the energy consumption condition of described appurtenances according to described ambient parameter.
7. control device according to claim 6, is characterized in that, described first acquiring unit comprises:
First acquisition module, for obtaining described ambient parameter by the sensor be arranged on described electronic lock; And/or
Second acquisition module, for getting Date, the position of current time and described electronic lock to be to calculate described ambient parameter.
8. control device according to claim 7, is characterized in that, when the position by Network Capture current date, current time and described electronic lock calculates described ambient parameter, described second acquisition module comprises:
First obtains submodule, for obtaining described current date and described current time;
Second obtains submodule, for obtaining the ID of described electronic lock;
Position enquiring submodule, for determining the position of described electronic lock according to the ID of described electronic lock; And
Calculating sub module, for ambient parameter according to the position calculation of described current date, described current time and described electronic lock.
9. control device according to claim 6, is characterized in that, described appurtenances comprise: code keypad and keyboard light, and described ambient parameter comprises: ambient noise and ambient light intensity, and wherein, described regulon comprises:
First regulon, for regulating the volume of the key prompting voice of described code keypad according to described ambient noise; And/or
Second regulon, for regulating the brightness of described keyboard light according to described ambient light intensity.
10. control device according to claim 9, is characterized in that, described control device also comprises:
Second regulon, for when regulating the brightness of described keyboard light according to described ambient light intensity, before the brightness regulating described keyboard light according to described ambient light intensity, according to the position acquisition Weather information of current date, current time and described electronic lock; And
Amending unit, for ambient light intensity according to the Weather information correction obtained, obtains revised ambient light intensity,
Wherein, described second regulon is also for regulating the brightness of described keyboard light according to described revised ambient light intensity.
CN201510199106.3A 2015-04-23 2015-04-23 The control method and device of electronic lock Active CN104847176B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201510199106.3A CN104847176B (en) 2015-04-23 2015-04-23 The control method and device of electronic lock
PCT/CN2015/089198 WO2016169186A1 (en) 2015-04-23 2015-09-08 Method and apparatus for controlling electronic lock
HK15110215.1A HK1209807A1 (en) 2015-04-23 2015-10-19 Electronic lock control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510199106.3A CN104847176B (en) 2015-04-23 2015-04-23 The control method and device of electronic lock

Publications (2)

Publication Number Publication Date
CN104847176A true CN104847176A (en) 2015-08-19
CN104847176B CN104847176B (en) 2017-10-31

Family

ID=53847111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510199106.3A Active CN104847176B (en) 2015-04-23 2015-04-23 The control method and device of electronic lock

Country Status (3)

Country Link
CN (1) CN104847176B (en)
HK (1) HK1209807A1 (en)
WO (1) WO2016169186A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169186A1 (en) * 2015-04-23 2016-10-27 张泽 Method and apparatus for controlling electronic lock
WO2017143809A1 (en) * 2016-02-25 2017-08-31 北京果加智能科技有限公司 Control method and device for wireless networking apparatus
CN108166845A (en) * 2017-12-20 2018-06-15 美的集团股份有限公司 A kind of information prompting method of intelligent door lock, device, system and intelligent door lock
CN108811234A (en) * 2017-05-05 2018-11-13 深圳市欧瑞博电子有限公司 A kind of Password Input panel and its control method
CN109817183A (en) * 2019-03-11 2019-05-28 广东汇泰龙科技有限公司 A kind of intelligent adjusting method and system based on intelligent door lock
CN111764757A (en) * 2020-06-24 2020-10-13 广东科徕尼智能科技有限公司 Knob formula intelligence lock
CN113298982A (en) * 2021-05-18 2021-08-24 新疆爱华盈通信息技术有限公司 Bluetooth lock binding method and related control system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895415B (en) * 2017-10-31 2024-02-23 美智光电科技股份有限公司 Intelligent door lock, voice burning method, server and voice burning system
CN111954356B (en) * 2020-07-23 2023-02-24 宁夏万泰照明科技股份有限公司 Intelligent light adjusting method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005107587A (en) * 2003-09-26 2005-04-21 Toshiba Corp Face identification device and passage control device
CN101335937A (en) * 2007-06-26 2008-12-31 英华达(上海)电子有限公司 Method and apparatus for adjusting energy consumption of mobile equipment
CN102065260A (en) * 2010-11-15 2011-05-18 冠捷显示科技(厦门)有限公司 Background environment change-based television for automatically adjusting volume
CN102114825A (en) * 2009-12-30 2011-07-06 池长溪 Automobile fingerprint burglar alarm, control method and control circuit
CN102510428A (en) * 2011-12-21 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for automatically adjusting brightness of backlight
CN104540289A (en) * 2014-12-29 2015-04-22 联想(北京)有限公司 Backlight display control method and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2215790Y (en) * 1994-11-25 1995-12-20 山东省科学院海洋仪器仪表研究所 Intelligent sunshine-imitating time-control switch
US20040066647A1 (en) * 2002-10-03 2004-04-08 Brady Jovan J. Method of identifying lock key hole and advertising
JP2004339700A (en) * 2003-05-13 2004-12-02 Yazaki Corp Keyless entry device
CN201127096Y (en) * 2007-08-28 2008-10-01 希姆通信息技术(上海)有限公司 Broad screen touch pure plane music mobile phone
CN203729787U (en) * 2014-01-03 2014-07-23 杭州讯歌科技有限公司 Safety box
CN104847176B (en) * 2015-04-23 2017-10-31 托斯卡尼(上海)酒店管理有限公司 The control method and device of electronic lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005107587A (en) * 2003-09-26 2005-04-21 Toshiba Corp Face identification device and passage control device
CN101335937A (en) * 2007-06-26 2008-12-31 英华达(上海)电子有限公司 Method and apparatus for adjusting energy consumption of mobile equipment
CN102114825A (en) * 2009-12-30 2011-07-06 池长溪 Automobile fingerprint burglar alarm, control method and control circuit
CN102065260A (en) * 2010-11-15 2011-05-18 冠捷显示科技(厦门)有限公司 Background environment change-based television for automatically adjusting volume
CN102510428A (en) * 2011-12-21 2012-06-20 惠州Tcl移动通信有限公司 Mobile terminal and method for automatically adjusting brightness of backlight
CN104540289A (en) * 2014-12-29 2015-04-22 联想(北京)有限公司 Backlight display control method and electronic device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016169186A1 (en) * 2015-04-23 2016-10-27 张泽 Method and apparatus for controlling electronic lock
WO2017143809A1 (en) * 2016-02-25 2017-08-31 北京果加智能科技有限公司 Control method and device for wireless networking apparatus
CN108811234A (en) * 2017-05-05 2018-11-13 深圳市欧瑞博电子有限公司 A kind of Password Input panel and its control method
CN108166845A (en) * 2017-12-20 2018-06-15 美的集团股份有限公司 A kind of information prompting method of intelligent door lock, device, system and intelligent door lock
CN108166845B (en) * 2017-12-20 2019-10-18 美智光电科技有限公司 A kind of information prompting method of intelligent door lock, device, system and intelligent door lock
CN109817183A (en) * 2019-03-11 2019-05-28 广东汇泰龙科技有限公司 A kind of intelligent adjusting method and system based on intelligent door lock
CN111764757A (en) * 2020-06-24 2020-10-13 广东科徕尼智能科技有限公司 Knob formula intelligence lock
CN113298982A (en) * 2021-05-18 2021-08-24 新疆爱华盈通信息技术有限公司 Bluetooth lock binding method and related control system

Also Published As

Publication number Publication date
WO2016169186A1 (en) 2016-10-27
HK1209807A1 (en) 2016-04-08
CN104847176B (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN104847176A (en) Electronic lock controlling method and device
CN103135895B (en) A kind of method and device controlling display mode
CN102097056B (en) Electronic device and method for controlling backlight brightness
US10296045B2 (en) Systems and methods for automated brightness control in response to one user input
EP3223532B1 (en) Applications for controlling optically switchable devices
US20200211505A1 (en) Controlling display brightness based on image capture device data
CN107134272B (en) Screen display control method and system and computer processing equipment
CN111419067B (en) Intelligent curtain system and method for dynamically adjusting curtain opening
US20060109218A1 (en) Device and method for driving organic EL display
CN104252327A (en) Reading mode start method and device
CN103310763A (en) Method for switching display state of mobile equipment, device and equipment
CN105262900A (en) Screen brightness adjusting method and screen brightness adjusting device
CN105155941A (en) Smart lock and control method thereof
CN105374338A (en) Screen backlight brightness adjusting method and electronic equipment
CN109272944A (en) Backlight adjusting method, device, terminal device and computer-readable storage medium
CN110930945A (en) Method, device and system for adjusting brightness of display screen
CN107567153A (en) A kind of system and method for adjusting room light
CN105575364A (en) Intelligent watch and brightness adaptive adjusting system and method
CN107734174A (en) The scene matching method and mobile terminal of a kind of mobile terminal
CN112669764A (en) Display brightness uniformity adjusting method
CN201355552Y (en) Backlight control system and multimedia telephone using same
CN109165492B (en) Device control method, device, storage medium and electronic device
CN102522074B (en) Method and device for controlling screen brightness and display equipment
CN102572121A (en) Mobile phone of automatically adjusting screen brightness along with sunlight intensity and implementation method thereof
CN113993191A (en) NB-IOT signal transmission control method, NB-IOT signal transmission control device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1209807

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170515

Address after: 200000 Chinese (Shanghai) free trade zone asan Road No. 111 Building No. 4 room 108

Applicant after: Tuscany (Shanghai) Hotel Management Co. Ltd.

Address before: 200030, room 88, No. 999, Lane 903, Jia Bang Road, Xuhui District, Shanghai

Applicant before: Zhang Ze

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180119

Address after: 100080, room 20, building 8, building 1, Zhongguancun East Road, Haidian District, Beijing,

Patentee after: Beijing fruit plus Intelligent Technology Co., Ltd.

Address before: Chinese (Shanghai) free trade zone asan Road No. 111 Building No. 4 room 108

Patentee before: Tuscany (Shanghai) Hotel Management Co. Ltd.