A kind of elevator control method and system
Technical field
The present invention relates to automatic control technology fields, are specifically to be related to a kind of elevator control method and system.
Background technique
It is modern in order to realize the living require-ments of more populations in a limited space with the fast development of urbanization
Build higher and higher, elevator is at indispensable Architectural Equipment.Existing district structure elevator, some are not provided with any power
Limit, anyone can take elevator and reach the floor wanted, and bring convenience for criminal, safety is poor;Though having
So be provided with permission, need to swipe the card, but existing elevator design of swiping the card is not smart enough and humanized, for live bring it is much more very
It is inconvenient.Currently, the toll project that existing elevator uses is quite single, each floor user charging standard is consistent, and user uses elevator
Number is few also to receive same expense, therefore relative inequality of charging.Based on the above reasons, a kind of more public there is an urgent need to design
Flat more reasonable elevator control method and system.
Summary of the invention
The present invention provides a kind of elevator control method and system, solves each floor user charging standard one of existing residential elevator
It causes and the not high technical problem of cell property safety.
The present invention solves the above problems by the following technical programs:
A kind of elevator control method, includes the following steps:
Step 1: estate management module the number information of neighbours living, ID card information or phone number information into
Row is registered and is stored into server module, while typing neighbours living number information is stored into server module;
Step 2: estate management module carries out providing elevator corresponding with neighbours living according to neighbours living number information
Access card or identification code;
Step 3: when needing to take elevator, for people when entering elevator, the number in infrared induction module induction elevator is transmitted to control
Device module processed, while vision face recognition module carries out recognition of face to the people for taking elevator and identification information is transmitted to controller
Module;
Step 4: the person that takes elevator carries out induction identification for induction identification device by elevator entrance guard key, when induction identifies
After success, sensed data is transmitted to controller module by induction identification device, and controller module control elevator lights mutually in requisition for arriving
The floor button reached, when induction identification is unsuccessful, elevator does not start, and voice broadcast module passes through the voice informing person that takes elevator;
Step 5: server module, which records and counts each neighbours living, takes elevator number and authorization seating number, according to
Neighbours living takes elevator number and the elevator share the expenses that number calculates each neighbours living is taken in authorization.
Further, step 1 of the invention further include estate management module by face acquisition device to neighbours living into
The acquisition of pedestrian's face, and the data of acquisition are stored into server module.
Further, the corresponding elevator entrance guard card of one people of neighbours living or identification code, the knowledge in the step 2
Other code is that neighbours living is communicated by corresponding cell phone software with server module, and server module is believed according to the identity card of storage
Breath or phone number authorizing information feed back to the two dimensional code of cell phone software generation.
Further, in the step 3 infrared induction module induction elevator in number process are as follows: people enter elevator or
When person goes out elevator, infrared induction module sense is incuded, and the number-that number=induction in elevator enters elevator induces electricity
The number of ladder.
Further, the process that face recognition module identifies the face for entering elevator in the step 3 are as follows:
When infrared induction module senses that someone enters elevator, face recognition module carries out positive bat to the people of entrance
According to face recognition module carries out recognition of face to the picture taken pictures, and intercepts face part figure piece according to human height, then
Recognition of face, specific identification process are carried out to face part figure piece are as follows:
Gauss Decomposition is carried out to face part figure piece, obtains face part figure piece gaussian pyramid, the layer of gaussian pyramid
Number is all N+1 layers, G0Indicate the 0th layer of (bottom), as original image of gaussian pyramid, GNIndicate the most top of gaussian pyramid
Layer, G0, G1..., GNThe pyramid of composition is exactly the gaussian pyramid of image, wherein N is positive integer, GxIndicate Gauss gold word
The xth layer of tower, then gaussian pyramid xth layer GxMathematic(al) representation are as follows:
Wherein, 0 < x≤N, 0 < i≤Cx, 0 < j≤Rx, wherein GxAnd RxRespectively indicate the xth tomographic image of gaussian pyramid
Columns and line number;W (m, n) is the Gaussian convolution core of 5x5, i.e. weight function expression formula are as follows:
By the G of gaussian pyramid xth layerxInterpolation amplification, makes GxSize and GxNext layer of Gx-1Size it is identical, be denoted as Expression formula are as follows:
Wherein, 0 < x≤N, 0 < i≤Cx, 0 < j≤Rx, x, N, i and j are positive integer,
Merge pyramidal all layersThe expression formula merged are as follows:
Wherein, x, i and j are positive integer,For the G of gaussian pyramid xth layerxThe amplified image of interpolation;
To blending image FPx(i, j) extracts characteristic value, the characteristic value of extraction is transmitted to controller module, by controlling
Device module compares characteristic value by being wirelessly transmitted to the face information of server module and acquisition, obtains comparing result and returns
Return controller module.
Further, the elevator entrance guard key community user in the step 4 can license to other people and use, detailed process
It is communicated by cell phone software with server module for, community user, by using the information of community user to server module Shen
Elevator information please be license, server module returns to authorization message, and cell phone software generates authorization identification two according to authorization message
Code is tieed up, authorization identification two dimensional code is used only once or twice.
Further, everyone is taken elevator and is intended to carry out to be identified using elevator entrance guard key for induction in the step 4
Elevator can be just taken after device induction identification, i.e. number in elevator is incuded with using elevator entrance guard key for induction identification device
The number of identification is identical.
Further, in the step 5 elevator share the expenses calculating process are as follows: first calculate the due taken every time
With the fee payable taken every time=number of floor levels * expense radix, expense radix is that datum is directly proportional to floor, then basis
Neighbours living takes elevator number and the elevator that the neighbours living was done and be calculated to each expense of number is taken in authorization
Share the expenses.
A kind of elevator control system, including management end and control terminal, the management end and control terminal are wirelessly connected, the pipe
Reason end includes estate management module, networking module, server module and management wireless module, the estate management module, networking
Module and management wireless module are connect with server module, and the server module connects through management wireless module and control terminal
It connects;The estate management module is used for number information, ID card information or the phone number information of typing neighbours living, together
When acquire the face information of neighbours living, and the information of typing and the information of acquisition are transmitted to server module and stored;Institute
Networking module is stated for for server module and external cell phone internet connection communication;
The control terminal include controller module, vision face recognition module, infrared induction module, control wireless module,
Elevator entrance guard key, induction identification device, voice broadcast module and elevator control gear, it is the vision face recognition module, red
Outer induction module, control wireless module, induction identification device, voice broadcast module and elevator control gear are and controller module
Connection;The controller module is connect through control wireless module with management end;The vision face recognition module is used for entrance
The personnel of elevator carry out recognition of face, and the human face data in the data of identification and the server module of management end is carried out pair
Than infrared induction module is used to incude the number of elevator interior, and the elevator entrance guard key is used to carry out for induction identification device
Identification opens and needs the floor that goes, the voice broadcast module for carry out voice broadcast elevator entrance guard key identify successfully and
No, the elevator control gear is used to be operated according to the control signal that controller module is passed to.
Further, the elevator entrance guard key is radio-frequency card or two dimensional code, and the induction identification device is radio-frequency card
Induction module or two dimensional code identification module.
The advantages and effects of the present invention are:
1, the present invention is by being arranged an elevator entrance guard key, all use elevator persons for everyone in cell, it is necessary to
It swipes the card (card must authorize), otherwise elevator can not start, so that not being the entrance cell that personnel in cell cannot be careless
Building in, when nonnative personnel needs to enter, the householder in cell is needed to authorize, the access times of authorization only once or
Person twice, greatly improves the safety of resident's person and property in cell;And elevator access right design of the present invention is more
Add intelligent and hommization.
2, by carrying out unified record to the number and the height of floor of taking elevator, according to the number for taking elevator and
The share the expenses that the height of floor calculates elevator solves each building of existing residential elevator so that the expense shared is more fair
The layer consistent unreasonable problem of user's charging standard.
3, when identifying face by face picture carry out layered shaping, then each tomographic image after layered shaping into
Row fusion, extracts characteristic value to fused image, so that filtration outer layer light or other impurity are in people well
The identification for influencing face on the face, so that accuracy of identification is higher.
Detailed description of the invention
Fig. 1 uses elevator flow chart for of the invention.
Fig. 2, which succeeds and there is no for authorization of the invention, licenses elevator flow chart.
Fig. 3 is system authorization flow chart of the invention.
Fig. 4 is system module block diagram of the invention.
Specific embodiment
The invention will be further described with reference to embodiments.
A kind of elevator control method, as shown in Figure 1, including the following steps:
Step 1: estate management module the number information of neighbours living, ID card information or phone number information into
Row is registered and is stored into server module, while typing neighbours living number information is stored into server module.Property
Management module carries out face acquisition to neighbours living by face acquisition device, and the data of acquisition are stored into server mould
Block.Estate management module is the indoor management computer of estate management, is equipped with corresponding Message Entry System and face on computer
Acquisition system can carry out data input to the personnel of neighbours living and face acquires.
Step 2: estate management module carries out providing elevator corresponding with neighbours living according to neighbours living number information
Access card or identification code.The corresponding elevator entrance guard card of one people of neighbours living or identification code, the identification code are cell
Resident is communicated with server module by corresponding cell phone software, and server module is according to the ID card information or mobile phone of storage
Number information authorization feeds back to the two dimensional code of cell phone software generation.Estate management module is according to the neighbours living personnel of typing
One elevator entrance guard key of each human hair, or it is soft in specific mobile phone according to the phone number or ID card information of typing
It is registered on part, is then communicated with server module, an elevator entrance guard key information is returned to by server module, so
Two dimensional code is generated by cell phone software afterwards, the function of this two dimensional code is as the function of radio-frequency card.
Step 3: when needing to take elevator, for people when entering elevator, the number in infrared induction module induction elevator is transmitted to control
Device module processed, while vision face recognition module carries out recognition of face to the people for taking elevator and identification information is transmitted to controller
Module.Infrared induction module incudes the process of number in elevator are as follows: people is when entering elevator or elevator out, infrared induction module
Sense is incuded, and the number-that number=induction in elevator enters elevator induces the number of elevator.
The process that face recognition module identifies the face for entering elevator are as follows:
When infrared induction module senses that someone enters elevator, face recognition module carries out positive bat to the people of entrance
According to face recognition module carries out recognition of face to the picture taken pictures, and intercepts face part figure piece according to human height, then
Recognition of face is carried out to face part figure piece.Specific identification process are as follows:
Gauss Decomposition is carried out to face part figure piece, obtains face part figure piece gaussian pyramid, the layer of gaussian pyramid
Number is all N+1 layers, G0Indicate the 0th layer of (bottom), as original image of gaussian pyramid, GNIndicate the most top of gaussian pyramid
Layer, G0, G1..., GNThe pyramid of composition is exactly the gaussian pyramid of image, wherein N is positive integer, GxIndicate Gauss gold word
The xth layer of tower.Then gaussian pyramid xth layer GxMathematic(al) representation are as follows:
Wherein, 0 < x≤N, 0 < i≤Cx, 0 < j≤Rx, wherein GxAnd RxRespectively indicate the xth tomographic image of gaussian pyramid
Columns and line number;W (m, n) is the Gaussian convolution core of 5x5.That is weight function expression formula are as follows:
By the G of gaussian pyramid xth layerxInterpolation amplification, makes GxSize and GxNext layer of Gx-1Size it is identical, be denoted as Expression formula are as follows:
Wherein, 0 < x≤N, 0 < i≤Cx, 0 < j≤Rx, x, N, i and j are positive integer,
Merge pyramidal all layersThe expression formula merged are as follows:
Wherein, x, i and j are positive integer,For the G of gaussian pyramid xth layerxThe amplified image of interpolation.To fusion
Image FPx(i, j) extracts characteristic value, the characteristic value of extraction is transmitted to controller module, by controller module characteristic value
Face information by being wirelessly transmitted to server module and acquisition compares, and obtains comparing result and returns to controller module.
By carrying out layered shaping to face picture, then each tomographic image after layered shaping is merged, to fused image
Characteristic value is extracted, so that filtration outer layer light or other impurity influence the identification of face on face well, is made
It is higher to obtain accuracy of identification.
Step 4: the person that takes elevator carries out induction identification for induction identification device by elevator entrance guard key, when induction identifies
After success, sensed data is transmitted to controller module by induction identification device, and controller module control elevator lights mutually in requisition for arriving
The floor button reached, when induction identification is unsuccessful, elevator does not start, and voice broadcast module passes through the voice informing person that takes elevator.
Elevator entrance guard key community user can license to other people and use, and detailed process is that community user passes through cell phone software and service
The communication of device module, licenses elevator information, server module to server module application by using the information of community user
Authorization message is returned to, cell phone software generates authorization identification two dimensional code according to authorization message, and authorization identification two dimensional code can only use one
It is secondary or twice.Everyone takes elevator and is intended to carry out using elevator entrance guard key for ability after induction identification device induction identification
Elevator is taken, i.e. number in elevator is identical for the number of induction identification device induction identification as using elevator entrance guard key.
Step 5: server module, which records and counts each neighbours living, takes elevator number and authorization seating number, according to
Neighbours living takes elevator number and the elevator share the expenses that number calculates each neighbours living is taken in authorization.Elevator share the expenses
Calculating process are as follows: first calculate the fee payable taken every time, the due taken every time=number of floor levels * expense radix, expense
Radix is that datum is directly proportional to floor, then takes elevator number according to neighbours living and each expense of number is taken in authorization
Done and be calculated the elevator share the expenses of the neighbours living.
Specifically used process:
Neighbours living goes progress information at cell management to step on by number information, ID card information, phone number first
Note is registered, and in registration information meeting typing cell server, then (it is several that cell owner man has several mouthfuls of people that can provide to issued rights
The permission of mouth people).Administrative office issues elevator entrance guard card (several mouthfuls of people several cards) to resident.Access card is sent out for each resident
Row, system can recorde recording each time using elevator for resident.Resident can also be after cell phone application registers verifying identity, i.e.,
The two dimensional code barcode scanning that can be generated by APP is opened the door.Resident can also generate the two-dimension code image that authorization visitor opens the door simultaneously, and divide
It enjoys to visitor, the limitation of the enabling two dimensional code effective time and door opening times of visitor are authorized by resident.
The elevator entrance guard card permission that administrative office provides can only be that the floor from Stall (negative one building) to resident firmly is effective.If
House needs other floors, it is necessary to which other floors resident, which carries out authorization, just can be used elevator and reach the floor, and resident can also
Directly to be authorized to other floors user, (method is to log in APP search address name or doorplate, then sends request letter
Breath) for authorization principle as shown in 2, authorizing successfully and there is no will appear situation as shown in Figure 3 when licensing elevator.
Resident is using elevator entire flow figure as shown in Figure 1, everyone must swipe the card in elevator, if resident one several
Mouth is simultaneously in elevator, and the same card can be brushed several times, and how many person-times of information, which can upload onto the server, to be stored.When swiping the card
Information, which can be sent in server, carries out information matches.
Special circumstances, such as when A (A lives 5 layers) resident has swiped the card, elevator shows 5 layers after swiping the card, and control module will record
Five layers of information, if party A-subscriber wants to go to 13 layers (13 layers have been authorized A permission) at this time, party A-subscriber only needs by 13 layers.Control
Program can be automatically going the record of five layers of A resident to eliminate in molding block, and record party A-subscriber removes 13 floor cost informations.
A, elevator is swiped the card or scans successfully, and control module control elevator shows that resident goes to floor, does not need the building Zai An
Layer, if resident need to go be not oneself house floor, by wanting that the floor gone to can (premise other side have awarded after swiping the card
Power).
B, party A-subscriber authorizes B resident that can carry out the floor (the same cell difference floor of A, B), when B resident carrys out A resident's floor
When calculate A resident use elevator.Data can be sent in server and store.
Elevator, which uses, becomes safer (card authorized must be brushed into elevator personnel, the card of no authorization is invalid);Than original
Elevator to swipe the card becomes that more convenient (existing scheme is needed after swiping the card by floor, and this programme does not need;Nonnative personnel can pass through
The two dimensional code of resident's authorization directly uses elevator).It can be charged according to every using how many person-times of elevator and different floors.
A kind of elevator control system, including management end and control terminal, the management end and control terminal are wirelessly connected.Management end
It is arranged on elevator, control terminal is arranged in building's management center.
The management end includes estate management module, networking module, server module and management wireless module.The property
Management module, networking module and management wireless module are connect with server module, and the server module is through managing wireless mould
Block is connect with control terminal.Estate management module is used for number information, ID card information or the cell-phone number of typing neighbours living
Code information, while acquiring the face information of neighbours living, and the information of typing and the information of acquisition be transmitted to server module into
Row storage.Networking module is used for for server module and external cell phone internet connection communication.Estate management module is property pipe
Indoor management computer is managed, corresponding Message Entry System and face acquisition system are installed on computer, it can be to neighbours living
Personnel carry out data input and face acquisition.Networking module is Network Interface Module, so that server module has access to net,
It can be communicated with the specific software on community user mobile phone, to complete the generation of two dimensional code code key.Server module
For storing data with calculating expense etc..Managing wireless module is WIFI module or 4G module.
The control terminal include controller module, vision face recognition module, infrared induction module, control wireless module,
Elevator entrance guard key, induction identification device, voice broadcast module and elevator control gear.Vision face recognition module, infrared sense
Module, control wireless module, induction identification device, voice broadcast module and elevator control gear is answered to connect with controller module
It connects;The controller module is connect through control wireless module with management end.Vision face recognition module is used for entrance elevator
Personnel carry out recognition of face, and the human face data in the data of identification and the server module of management end is compared, infrared
Induction module is used to incude the number of elevator interior, and the elevator entrance guard key is used to be identified for induction identification device, open
The floor for needing to go is opened, the voice broadcast module is described for carrying out the identification success or not of voice broadcast elevator entrance guard key
Elevator control gear is used to be operated according to the control signal that controller module is passed to.The elevator entrance guard key is radio-frequency card
Perhaps the two dimensional code induction identification device is radio-frequency card induction module or two dimensional code identification module.Controller module uses
The singlechip chip of STM32 series carries out reception processing to data, while controlling elevator.Infrared induction module installation
On elevator doorway, detection processing is carried out to the personnel of discrepancy.
By everyone in setting cell, an elevator entrance guard key is set, prevent be not personnel in cell from
Just in the building into cell, so that the property safety in cell is higher;When nonnative personnel needs to enter simultaneously, need
Want the householder in cell to authorize, the access times of authorization only once or twice so that ensure that wealth in cell
The safety of object;Unified record is carried out by the height to the number and floor of taking elevator, according to the number for taking elevator
It is each to solve existing residential elevator so that the expense shared is more fair for the share the expenses for calculating elevator with the height of floor
The technical problem that floor user charging standard is consistent and the safety of cell property is not high.
The preferred embodiment of the present invention has been described in detail above, but the present invention is not limited to embodiment,
Those skilled in the art can also make various equivalent modifications on the premise of not violating the inventive spirit of the present invention
Or replacement, these equivalent variation or replacement are all contained in scope of the present application.