CN114455405A - Off-line elevator control system and method based on face recognition - Google Patents

Off-line elevator control system and method based on face recognition Download PDF

Info

Publication number
CN114455405A
CN114455405A CN202111624529.7A CN202111624529A CN114455405A CN 114455405 A CN114455405 A CN 114455405A CN 202111624529 A CN202111624529 A CN 202111624529A CN 114455405 A CN114455405 A CN 114455405A
Authority
CN
China
Prior art keywords
reader
card
elevator control
face
control device
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
CN202111624529.7A
Other languages
Chinese (zh)
Other versions
CN114455405B (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.)
Shenzhen Tiehu Access Control Intelligent Technology Co ltd
Original Assignee
Shenzhen Tiehu Access Control Intelligent Technology 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 Shenzhen Tiehu Access Control Intelligent Technology Co ltd filed Critical Shenzhen Tiehu Access Control Intelligent Technology Co ltd
Publication of CN114455405A publication Critical patent/CN114455405A/en
Application granted granted Critical
Publication of CN114455405B publication Critical patent/CN114455405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B1/00Control systems of elevators in general
    • B66B1/02Control systems without regulation, i.e. without retroactive action
    • B66B1/06Control systems without regulation, i.e. without retroactive action electric
    • B66B1/14Control systems without regulation, i.e. without retroactive action electric with devices, e.g. push-buttons, for indirect control of movements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B1/00Control systems of elevators in general
    • B66B1/34Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B1/00Control systems of elevators in general
    • B66B1/34Details, e.g. call counting devices, data transmission from car to control system, devices giving information to the control system
    • B66B1/46Adaptations of switches or switchgear
    • B66B1/468Call registering systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66BELEVATORS; ESCALATORS OR MOVING WALKWAYS
    • B66B2201/00Aspects of control systems of elevators
    • B66B2201/40Details of the change of control mode
    • B66B2201/46Switches or switchgear
    • B66B2201/4607Call registering systems
    • B66B2201/4676Call registering systems for checking authorization of the passengers

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Elevator Control (AREA)
  • Indicating And Signalling Devices For Elevators (AREA)

Abstract

The invention discloses an off-line elevator control system and method based on face recognition, wherein a CPU card is used as a carrier of face information data, the face information data required by the face recognition can be input into an elevator control system through the CPU card in an off-line environment, wiring and networking for an elevator are not needed, and the technical problem of high cost of wiring and networking for the elevator is solved. Meanwhile, because the face information data comprises the face photo data and the data volume is larger, the invention adopts a CPU card with larger storage capacity instead of an IC card as a carrier, thereby ensuring that the invention can be suitable for face recognition schemes with different recognition rates when the face information data is input by using a card mode. In addition, the CPU card contains a microprocessor, the function of the CPU card is equivalent to that of a microcomputer, the CPU card has data processing capacity, information interaction with an elevator control device can be realized when human face information data are input through a card reader/reader, and more refined data processing under an offline environment is realized.

Description

Off-line elevator control system and method based on face recognition
Technical Field
The invention relates to the technical field of elevator control, in particular to an off-line elevator control system and method based on face recognition.
Background
With the continuous progress of science and technology, people also put forward higher and higher requirements on the automation level of work and life, and the elevator is widely applied to buildings and becomes a main riding tool for middle and high-rise owners to go out and get home and go up and down. At present, most of elevators in use nationwide have no too many measures in the aspects of safety management and intellectualization, and a blank exists for the management of personnel access and elevator use authority. In fact, a significant portion of a building, a portion of a floor of a building, or the building may not want anyone to have any access to the elevator for some period of time.
The traditional elevator control system generally controls floor authority by swiping a card, but the embarrassing situation that the elevator reaches a specified floor cannot be controlled by carrying the card with a person or forgetting to take the card occasionally. With the continuous development of the biometric technology and the continuous reduction of the cost, people rely on the biometric technology more and prove the identity of the people by using characteristics which cannot be replaced by others, so the biometric technology represented by face recognition is produced and developed rapidly. The face recognition technology is applied to the elevator, so that the elevator control system is convenient and fast and safe, the recognition efficiency is improved, and the requirements of modern people are met.
For the networking type elevator control, a face recognition scheme is easily deployed for the networking type elevator control, and the networking type elevator control is also available in the market, but most of the networking type elevator control needs to be wired for an elevator, so that the wiring cost, the labor cost and the equipment cost are increased. Especially, the elevators of some old buildings (cells or buildings, etc.) cannot change their wiring structures, so that there is inconvenience in deploying a face recognition scheme for the elevators of the old buildings (cells or buildings, etc.).
Disclosure of Invention
The invention aims to solve at least one of the technical problems in the prior art, and provides an offline elevator control system and method based on face recognition, which can input face information data required by the face recognition into an elevator control system through a CPU card in an offline environment, deploy a face recognition scheme for an elevator in the offline environment of the elevator, do not need to wire and network the elevator, and solve the technical problem of high wiring and networking cost for the elevator.
In a first aspect, the invention provides an offline elevator control method based on face recognition, which is applied to an offline elevator control system based on face recognition, wherein the elevator control system comprises an elevator control device, a card reader/reader and a CPU card, and the elevator control device is electrically connected with the card reader/reader;
the elevator control method includes:
and the elevator control device receives the face information data sent by the card reader/reader, and the face information data is read from the CPU card by the card reader/reader.
In a second aspect, the invention provides an offline elevator control system based on face recognition, which comprises an elevator control device, a card reader/reader and a CPU card, wherein the elevator control device is electrically connected with the card reader/reader;
the elevator control device is used for receiving the face information data sent by the card reader/reader, and the face information data is read from the CPU card by the card reader/reader.
Compared with the prior art that the face information data needs to be input into the elevator control system in a networking mode, the face information data required by the face recognition can be input into the elevator control system through the CPU card in an offline environment by using the CPU card as a carrier of the face information data, wiring and networking for the elevator are not needed, and the technical problem that wiring and networking for the elevator are high in cost is solved. Meanwhile, because the face information data comprises face photo data and the data volume is large, the invention adopts a CPU card with larger storage capacity instead of an IC card as a carrier, thereby ensuring that the invention can be suitable for face recognition schemes with different recognition rates when the face information data is input by using a card mode (the face recognition models with different recognition rates have different requirements on the face information data, and the more elaborate the face information data, the more complex the face information data, the larger the data volume is). In addition, the CPU card contains a microprocessor, the function of the CPU card is equivalent to that of a microcomputer, the CPU card has data processing capacity, information interaction with an elevator control device can be realized when human face information data is input through a card reader/reader, and more refined data processing under an off-line environment is realized.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The invention is further described below with reference to the accompanying drawings and examples;
fig. 1 is a block diagram showing the construction of an elevator control system in one embodiment.
Fig. 2 is a block diagram of the structure of an elevator control system in one embodiment.
FIG. 3 is a hardware architecture diagram of a control motherboard according to one embodiment.
Fig. 4 is a flow chart of an elevator control method according to an embodiment.
Fig. 5 is a flow chart of an elevator control method according to an embodiment.
FIG. 6 is a flowchart illustrating the process of reading CPU card data by the card reader according to one embodiment.
Fig. 7 is a schematic flow chart of a management operation performed by the elevator control apparatus in one embodiment.
FIG. 8 is a schematic diagram of the Haar classifier algorithm.
FIG. 9 is a schematic diagram of a circular structure of a doubly linked list.
Reference numerals:
110. a control main board; 121. a card reader; 122. a reader/writer; 130. a voice output module; 140. a face machine; 150. a CPU card.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
As shown in fig. 1 and 2, the present invention provides two kinds of off-line elevator control systems based on human face recognition, the elevator control system includes an elevator control device, a card reader 121/reader/writer 122 and a CPU card 150, and the elevator control device is electrically connected with the card reader 121 or the reader/writer 122. In the elevator control system, a human face machine 140 is further arranged, the human face machine 140 is a terminal device integrated with a camera and a human face recognition module, and the human face machine 140 is electrically connected with an elevator control device. The face recognition module in this embodiment is a program module implemented by a programming technique, and how to implement the face recognition module by the programming technique belongs to the prior art, is not the invention of the present invention, and is not described herein again. In this embodiment, the elevator control device, the card reader 121, and the reader/writer 122 are all computer devices capable of data transmission and processing.
Specifically, as shown in fig. 3, the elevator control device in this embodiment is a main chip in the control main board 110, and the control main board 110 provides a plurality of interfaces connected with the main chip, so as to conveniently extend corresponding functions for the elevator control system.
Specifically, the main chip is used as an elevator control device, is used as all data processing control and analysis centers, and comprises:
(1) the card reader 121 interfaces with the reader to receive and transmit card related data.
(2) And the two-dimension code interface is connected with the two-dimension code module and receives the information sent by the module.
(3) Fire control and manual detection, the outside connects the switch, just opens all floors after trigger switch, does not to elevator button management and control, can remove the fire control state through manual.
(4) Crystal oscillator and clock source.
(5) RTC, date timing, do not receive the outage influence, ensure the time accuracy.
(6) FLASH storage, personnel information storage, equipment application parameters, card swiping records, loss report and the like.
(7) ETH ethernet communication.
(8)485 communication, convenient and fast connects, and is with low costs, can receive outside remote control floor instruction with this interface, also can upgrade the firmware program.
(9) And voice output is carried out to prompt the operation state of card swiping or face information or error prompt.
(10) And (5) floor output, namely sending the floor to a floor control chip through 485, and executing the action of the relay.
(11) And (4) Wiegand input, when the human face machine 140 or other Wiegand card readers 121 output Wiegand signals, the internal execution searches for relevant card numbers, and the information of the bound personnel of the card numbers is output as floor information.
As shown in fig. 6, the working principle of card reading is as follows:
(a) the card reading flow chart is shown in the right picture
(b) The inquiry card, if read, will proceed to the anti-crash mechanism and read the card ID.
(c) When the card is read, whether the card is an IC card or a CPU card 150 is further analyzed, an RTAS command is sent first to see whether the card responds, if the card responds to the CPU card 150, the card does not respond to the CPU card, and the information of the card, including information such as a transmission mode, a numbering mode, a manufacturer code, a COS version number and the like, can be inquired from the returned information. If the IC card is used, the IC card will be quitted because the IC card can not store a large amount of human face data.
(d) Reading the card data, because the CPU card 150 sequentially performs three kinds of authentication of external authentication, internal authentication and PIN code, each authentication has different safety levels, the sequential authentication sequence exists, if only one authentication fails, the card can be completely quitted, the number of times of error authentication is counted, and when the number of times of error exceeds a set value, the card can be locked. If the card is authenticated, the DF file can be opened to read the basic information of the card personnel.
(d) Data decryption, because the data in the card is guaranteed to be absolutely secure, the data content adopts a company-independent encryption algorithm. At this time, decryption and data restoration are required.
(e) Judging the correctness of the data, if the illegal card or data is tampered, prompting an alarm and returning.
(f) If the data is correct, the card data is packaged and sent to the host.
In one embodiment, an offline elevator control method based on face recognition is further provided, and is applied to the offline elevator control system based on face recognition. As shown in fig. 4, the elevator control method includes:
step 200: the elevator control device receives the face information data sent by the card reader 121/reader 122, and the face information data is read from the CPU card 150 by the card reader 121/reader 122.
It is understood that when the method is applied to the elevator control system shown in fig. 1, the face information data is read from the CPU card 150 using the card reader 121, and when the method is applied to the elevator control system shown in fig. 2, the face information data is read from the CPU card using the reader/writer 122.
Compared with the prior art that the face information data needs to be input into the elevator control system in a networking mode, the face information data required by the face recognition can be input into the elevator control system through the CPU card 150 in an offline environment by taking the CPU card 150 as a carrier of the face information data, wiring and networking for the elevator are not needed, and the technical problem that wiring and networking for the elevator are high in cost is solved. Meanwhile, because the face information data comprises face photo data and the data volume is large, the invention adopts the CPU card 150 with larger storage capacity instead of an IC card as a carrier, thereby ensuring that the invention can be suitable for face recognition schemes with different recognition rates when the face information data is input by using a card mode (the face recognition models with different recognition rates have different requirements on the face information data, and the more elaborate the face information data, the more complex the face information data, the larger the data volume). In addition, the CPU card 150 includes a microprocessor, functions as a microcomputer, has data processing capability, and can realize information interaction with the elevator control device when face information data is entered through the card reader 121/reader/writer 122, thereby realizing more refined data processing in an offline environment.
As shown in fig. 5, in an embodiment, the face information data includes N +1 packets of face photograph data, where N is a positive integer;
the elevator control device receives the face information data sent by the card reader 121/reader/writer 122, and includes:
step 210: after receiving the photo reading instruction, the card reader 121/reader-writer 122 reads the 1 st packet of face photo data from the CPU card 150 into the local cache of the card reader 121/reader-writer 122;
step 220: after the card reader 121/reader-writer 122 stores the 1 st packet of face photograph data in the local cache of the card reader 121/reader-writer 122, continuously reading the 2 nd packet of face photograph data from the CPU card 150 into the local cache of the card reader 121/reader-writer 122;
step 230: while the card reader 121/reader-writer 122 reads the 2 nd packet of facial picture data from the CPU card 150 into the local cache, the elevator control apparatus transmits the 1 st packet of facial picture data from the local cache of the card reader 121/reader-writer 122 into the local cache of the elevator control apparatus by using DMA;
step 240: by analogy, while the card reader 121/reader-writer 122 reads the (N + 1) th packet of face photo data from the CPU card 150 into the local cache of the card reader 121/reader-writer 122, the elevator control device transmits the (N) th packet of face photo data from the local cache of the card reader 121/reader-writer 122 into the local cache of the elevator control device by using DMA; until the elevator control device transmits the (N + 1) th packet of face photo data from the local cache of the card reader 121/reader-writer 122 to the local cache of the elevator control device by using the DMA, the elevator control device receives the face information data sent by the card reader 121/reader-writer 122.
Because the capacity occupied by the face information data is large, the face photo data is transmitted to the face recognition module on the elevator control device or the face recognition module in the face machine 140 in a card reading mode, the transmission process needs to occupy a long time, the waiting time process of a card swiping user is caused, and the use experience is influenced. The inventor researches and discovers that the problem is caused because in the prior art, after the card reader 121/reader-writer 122 needs to read complete face information data to the local cache of the card reader 121/reader-writer 122, the card reader 121/reader-writer 122 sends the complete face information data in the local cache of the card reader 121/reader-writer 122 to the elevator control device, then the elevator control device sends the complete face information data to the face recognition model, and only after the face recognition model calls the camera to successfully recognize the face of the card swiping user, the flow of inputting the face information data in the card swiping mode is determined to be finished. Therefore, once a face recognition error occurs due to card reading failure (for example, data loss in the data transmission process), the card reader 121/reader 122 is required to read the face information data in the CPU card 150 again, which results in a long time for entering the face information data. For example, in the prior art, the size of the complete face information data is 10K, the total time taken for the card reader 121/reader-writer 122 to read the complete face information data is 3 seconds, the complete face information data is transmitted from the local cache of the card reader 121/reader-writer 122 to the total time taken for the local cache of the elevator control device by DMA 2s, the elevator control device independently transmits the complete face information data to the face recognition module for the total time taken for 2s, and the face recognition module calls the camera to obtain the picture of the card swiping user and recognizes the time taken for 3s, which is 10s in total time taken.
In the embodiment, the time consumption for inputting the face information data can be greatly shortened. Specifically, in this embodiment, the size of the complete face information data is 10K, including 10 packets of face photograph data, the total time consumed for the card reader 121/reader/writer 122 to read the complete face information data is still 3 seconds, but the time consumed for the card reader 121/reader/writer 122 to read each packet of face photograph data is 0.3 seconds; the total time consumption for transmitting the complete face information data from the local cache of the card reader 121/reader-writer 122 to the local cache of the elevator control device through the DMA is still 2s, but when the card reader 121/reader-writer 122 reads the 2 nd packet of face photo data, the DMA can start to transmit the 1 st packet of face photo data, and the time consumption for transmitting the 1 st packet of face photo data is 0.2 s; the total time consumed for the elevator control device to independently transmit complete face information data to the face recognition module is still 2s, but after the elevator control device receives the 1 st packet of face photo data, the 1 st packet of face photo data can be transmitted to the face recognition module, and the time consumed for transmitting the 1 st packet of face photo data is 0.2 s; the decoupling is realized in the data transmission processes of the three processes, so the total time consumption of the first three processes is 3s +0.2s +0.2s, the face recognition module in the last process calls the camera to obtain the user picture of the card swiping card and recognizes the time consumption of 3s, in the embodiment, the total time consumption of inputting the face information data is 6.4s, 3.6s is saved, and the time approaching 1/3 is saved. In some examples, the process of entering the face information data may not include invoking a camera to identify the face of the card swipe user. At this time, the time consumed by the prior art is 7s, the time consumed by the embodiment is 3.4s, the time saving is 3.6s, and more than half of the time is saved. Therefore, the speed of transmitting the photos is greatly improved through pre-reading and DMA sending, the delay is reduced, and the maximization of the transmission rate is realized.
Further, in an embodiment, it is considered that, since the CPU card 150 is in wireless contact with the card reader 121/reader/writer 122, compared with the data transmission in a wired manner, once the action range of the hand holding the CPU card 150 during the card swiping process is too large, the CPU card 150 is far away from the card reader 121/reader/writer 122, thereby causing the data transmission to be interrupted. In this embodiment, each time the card reader 121/reader 122 reads a packet of data, the packet of data is transmitted to the elevator control device, so even if the CPU card 150 interrupts transmission during the card swiping process, the content of the previous packet is also transmitted to the memory of the elevator control device, so that when the card swiping is resumed, only unread data packets (i.e., face photograph data) can be read, and the data reading time is further shortened. In one example, the size of the complete face information data is 10K, which includes 10 packets of face photograph data, when the card reader 121/reader/writer 122 reads the 5 th packet of face photograph data, the user interrupts reading of the 5 th packet of face photograph data from the CPU card 150 by the card reader 121/reader/writer 122 due to an excessively large action amplitude, and at this time, the elevator control device has stored the 4 th packet of face photograph data in the local cache. When the card reader 121/reader-writer 122 determines that the 5 th packet of face photo data is interrupted, the serial number of the incomplete face photo data read from the CPU card 150 during interruption and the identifier of the CPU card 150 are obtained, it can be understood that when the face photo data is written into the CPU card 150 in a packet-by-packet manner, each packet of face photo data carries a serial number, and when the card is swiped, the card reader 121/reader-writer 122 currently outputs each packet of face photo data from the CPU card 150 according to the sequence of the serial numbers and records the serial number corresponding to the current face photo data packet. Therefore, when the user corrects the interrupted CPU card 150 again to enable the card reader 121/reader/writer 122 to read the CPU card 150, if the card reader 121/reader/writer 122 does not read another CPU card 150 after the interruption, the card reader 121/reader/writer 122 may determine whether the CPU card 150 is the interrupted CPU card 150 according to the identifier of the CPU card 150, if so, determine the serial number of the facial photograph data packet that is not completely transmitted when the CPU card is interrupted, and start to resume reading from the 5 th packet of facial photograph data corresponding to the serial number, thereby implementing a resume function and further speeding up data reading time. It can be understood that, assuming that after the CPU card 150 identified as a reads the 5 th packet of face photo data and the CPU card 150 identified as B approaches the card reader 121/reader/writer 122 and wants to enter the face photo data, another user may determine that the CPU card 150 is not an interrupted card, so that the CPU card will start reading from the face photo data packet with the top sequence number and send an authentication object change signal to the elevator control device, and after receiving the authentication object change signal, the elevator control device will reset the address of the DMA transfer data, that is, control the DMA to transfer the newly received face photo data of the CPU card 150 identified as B to a new local buffer, so as to avoid confusion with the face photo data of the CPU card 150 identified as a. After the card reading of the CPU card 150 identified as a is interrupted, if the card reader 121/reader/writer 122 reads the CPU card 150 identified as B, if the card reader 121/reader/writer 122 reads the CPU card 150 identified as a again within a set time (for example, within 24 hours) after the interruption, an interruption recovery signal is sent to the elevator control device, and after receiving the interruption recovery signal, the elevator control device resets an address of DMA transmission data, that is, controls the DMA to transmit the 5 th packet of face photograph data of the CPU card 150 identified as a, which is newly received, to a local buffer corresponding to the 1 st packet to the 4 th packet of face photograph data of the CPU card 150 identified as a by the elevator control device before, so as to store the 1 st packet to the 4 th packet of face photograph data of the CPU card 150 identified as a. If the card reader 121/reader/writer 122 does not read the CPU card 150 identified as a again within a set time (for example, within 24 hours) after the interruption, a deletion signal is sent to the elevator control device, where the deletion signal is used to instruct the elevator control device to delete the stored face photo data of the CPU card 150 identified as a, release the corresponding memory, and avoid occupying too much memory.
In one embodiment, before the elevator control device receives the face information data sent by the card reader 121/reader 122, the elevator control method further includes:
the elevator control device receives user management information sent by the card reader 121/reader 122, and the user management information is read from the CPU card 150 by the card reader 121/reader 122; the user management information comprises a card number, an elevator taking authority, a deletion mark, a face information input mark and an expiration date mark of the CPU card 150; the elevator taking permission comprises a time period for allowing the elevator to take, allowing the elevator to take to go up and down floors, allowing the elevator to take, and the like.
And the elevator control device executes corresponding management operation according to the user management information.
The management operation comprises:
the elevator control device detects the face information entry mark, and when it is detected that the face information entry mark identifies that the current user is a newly added person, the elevator control device executes the step of receiving the face information data sent by the card reader 121/reader/writer 122 (i.e., step 210 to step 240).
The elevator control device detects the deletion flag, and deletes the user management information from the database when detecting that the deletion flag identifies that the current CPU card 150 is in the deleted state.
In this embodiment, the deletion flag may be written into the CPU card 150 by a reader/writer of the management center, and the user may continue to use the elevator through the CPU card 150 for the last time, and after the last card swiping, the elevator control device may delete the user management information corresponding to the user from the database and delete the corresponding face information data from the face recognition model, thereby realizing timely updating of data in an offline environment, ensuring security, and saving storage space.
The elevator control device detects the validity period mark, and cancels the elevator taking authority corresponding to the current CPU card 150 when detecting that the validity period mark identifies that the current CPU card 150 is in a state exceeding the validity period. The property can limit owner personnel to pay property cost, and overdue personnel do not have elevator taking authority.
And the elevator control device detects the card number of the CPU, and cancels the elevator taking authority corresponding to the current CPU card 150 when detecting that the card number of the CPU card 150 belongs to the reported card number.
In one example, the loss report card number is written into the common storage area of the CPU card 150 by the reader/writer of the management center when the user collects the face information data from the management center, and the elevator control device reads the data of the common storage area of each CPU card 150 by the reader/writer 122 when the user swipes the elevator.
Further, after the elevator control device finishes deleting the user management information corresponding to the user, or when the elevator control device records the time point that the loss report card is swiped by the elevator, the data is also recorded as log data and the log data is written into the public storage area of the CPU card 150 when the user swipes the card next time. Preferably, some CPU cards 150 may be defined as preferred cards, for example, the CPU card 150 of the user who needs to re-acquire a face or the CPU card 150 whose validity period has passed is selected as a preferred card, and such preferred cards can largely ensure that the data written thereon is read by the management center reader/writer. Specifically, the elevator control device deletes the log data from the external storage device (i.e., FLASH memory in fig. 3) of the elevator control device only after writing the log data into the common storage area in the preference card; in order to further ensure that the log data can be sent to the management center, the log data can be deleted after three preference cards are written.
Specifically, as shown in fig. 7, in one embodiment, a plurality of management operation items of the specific elevator control device are provided, including the following:
(a) receiving card data, and performing card (i.e., CPU card 150) type determination, mainly for user cards and some function cards, and mainly for user cards.
(b) Inquiring whether the card personnel information exists, if the elevator control equipment has the personnel ID, marking whether the personnel delete the card, if so, deleting the personnel and returning. The function is that the manager needs to delete the owner without recovering the card, and can also automatically delete the card, thereby solving the difficulty of card recovery.
(c) Inquiring whether the card is lost or not, and after the owner loses the card, preventing other people from picking up and using the card, so that the lost card is locked in a card loss reporting mode until the loss is relieved.
(d) Inquiring whether the card has passed the validity period or not, so as to limit owner personnel to pay property cost, and the overdue personnel have no ladder layer opening authority.
(e) Whether the item ID is correct, each cell item has a separate item ID, and different items are not passable.
(f) Whether the building ID is correct or not, each building in the community also has an independent building ID, and only people who have the authority of the building can access the building, otherwise, the access is not allowed.
(g) Judging whether a photo exists or not if the photo is a newly added person, if so, sending an instruction to the card reader 121 to read photo information (namely face information data), and immediately packaging and sending the photo data to the face machine 140 equipment when the photo is received till the face machine 140 finishes receiving. Then, the face information (such as name, personnel ID, validity period, card number, floor and the like) is stored so as to open the authority through the Wiegand code in the following. If some step fails, the card reading function is quitted, and error items are prompted by voice.
(h) If the person is not newly added, next, judging whether the picture is updated, the effective date is updated or other information is updated, if the picture is updated, the flow is as the above (g), and if the effective date is updated or other information is updated, directly storing the person information.
(i) And acquiring floor information, searching the ID of the local building from the card content, acquiring the floor information from the building matched with the ID, and acquiring the open public floor information at the same time.
(j) Querying the remaining days of expiration of the user card, and if the number of days is less than the number of days of the device, sending a reminder expiration language.
(k) And outputting the floor information, outputting the floor information to a floor control module, and executing manual selection or automatic floor action.
(l) Save the swipe record for later extraction of the swipe information via networking and 485.
In some embodiments, after the elevator control device receives the face information data sent by the card reader 121/reader/writer 122, the elevator control method further includes:
the elevator control device receives user management information sent by the card reader 121/reader 122, and the user management information is read from the CPU card 150 by the card reader 121/reader 122; the user management information comprises a face information input mark;
the elevator control device executes corresponding management operation according to the user management information;
the management operation comprises:
and detecting the face information input mark, and when detecting that the face information input mark identifies that the current user is in a state of updating face information, receiving face information data sent by the card reader 121/reader-writer 122 by the elevator control device, and updating the previous face information data of the current user by using the face information data.
Specifically, the elevator control system further comprises an illumination sensor which is arranged in the elevator and electrically connected with the elevator control device, under the condition that face recognition fails in the process of inputting face information data, the illumination intensity in the current elevator is collected through the illumination sensor, the illumination intensity data in the current elevator is written into a public storage area of the CPU card 150 through the reader-writer 122, the voice output module 130 is controlled to play voice, and the user is reminded that the face information data is required to be re-collected by the management center when the face information data is input in failure. When a user acquires face information data again from the management center, the illumination intensity parameter and other parameters in the elevator when the face of the user fails are acquired from the public storage area of the CPU card 150 of the user through the reader-writer of the management center, so that the illumination intensity parameter of the acquisition area can be set to be consistent with that in the elevator when the management center acquires the face information data of the user, and the face recognition success rate is improved. In the embodiment, the reason of the failure of face recognition can be timely and accurately fed back in the off-line environment of the elevator by writing the current illumination intensity data in the elevator into the public storage area of the CPU card 150.
User management information needs to be reliably stored, the user management information changes frequently, an operation method of addition, repair and deletion needs to be used, how to quickly and accurately find the user management information is very important, and the user management information is disordered or loses data if the control is not good. As shown in fig. 9, in one embodiment, the elevator control method further includes: the elevator control device constructs a two-way linked list circulating structure, user management information is stored on corresponding nodes in the two-way linked list circulating structure respectively, and the elevator control device stores the two-way linked list circulating structure in a database for subsequent management.
The data structure of the user management information adopts a bidirectional linked list circulation structure, each data node has two address directions which are respectively forward and backward precursor, thus, the bidirectional linked list can conveniently access the precursor and backward drive nodes at any node, the dichotomy idea is adopted, the nodes (namely the user management information) can be very conveniently searched, inserted and deleted, and the safety and the accuracy of the data can be ensured because the data can be accurately positioned without sequencing disorder.
The capacity of the pictures stored by the modern shooting equipment is large, at least 100KB to several MB, the space for storing the cards is limited, only pictures below 10KB can be stored, and the compression processing of the pictures with a large ratio is needed. Firstly, the compressed photo needs to accurately intercept face information, if no picture with the face information is detected, the picture cannot be used as identity input, an open-source Opencv built-in Adaboost algorithm is used, two features (namely two methods) are mainly used for face detection, and a Haar feature and an LBP feature are mainly used, and the Haar feature is described in detail below. As shown in fig. 8, the key points of the Haar classifier algorithm are as follows:
(1) and detecting by using a Haar-like characteristic.
(2) The Haar-like feature evaluation is accelerated using an Integral Image.
(3) A strong classifier that distinguishes between human faces and non-human faces is trained using the AdaBoost algorithm.
(4) And the strong classifiers are cascaded together by using screening type cascade, so that the accuracy is improved.
Each feature consists of 2-3 rectangles, and in these wavelet diagrams, the light areas represent "accumulated data" and the dark areas represent "data subtracted from this area". Boundary, line and center features are respectively detected, and the features can be expressed as:
Figure BDA0003437608970000121
where wi is the weight of the rectangle, RectSum (ri) is the gray scale integral of the image surrounded by the rectangle ri, and N is the number of rectangles composing the featurej.
Adaboost is a learning algorithm based on statistics, the weight of each positive example and each negative example is continuously adjusted according to the effect of the characteristics defined in advance in the learning process, and finally a judgment criterion is given according to the performance of the characteristics.
After the face information is detected, effective face is made, pictures are cut, picture compression is carried out, and the compression ratio is reduced to the specified pixel size. The code for opencv implementation is as follows:
new_image=cv.resize(image,None,fx,fy)
where fx, fy denote the compression ratio of the picture in the width and height directions.
In some embodiments, an offline elevator control system based on human face recognition is provided, the elevator control system comprises an elevator control device, a card reader 121/reader-writer 122 and a CPU card 150, the elevator control device is electrically connected with the card reader 121/reader-writer 122;
the elevator control device is configured to receive the face information data sent by the card reader 121/reader 122, where the face information data is read from the CPU card 150 by the card reader 121/reader 122.
In one embodiment, the face information data includes N +1 packets of face photograph data, where N is a positive integer;
the card reader 121/reader/writer 122 is configured to:
after receiving the photo reading instruction, reading the 1 st packet of face photo data from the CPU card 150 into the local cache of the card reader 121/reader 122;
after the card reader 121/reader-writer 122 stores the 1 st packet of face photograph data in the local cache of the card reader 121/reader-writer 122, continuously reading the 2 nd packet of face photograph data from the CPU card 150 into the local cache of the card reader 121/reader-writer 122;
the elevator control apparatus is further configured to:
while the card reader 121/reader-writer 122 reads the 2 nd packet of facial picture data from the CPU card 150 into the local cache, the 1 st packet of facial picture data is transmitted from the local cache of the card reader 121/reader-writer 122 into the local cache of the elevator control device by using DMA;
in analogy, while the card reader 121/reader-writer 122 reads the (N + 1) th packet of face photo data from the CPU card 150 into the local cache of the card reader 121/reader-writer 122, the elevator control device transmits the N-th packet of face photo data from the local cache of the card reader 121/reader-writer 122 into the local cache of the elevator control device by using DMA; until the elevator control device transmits the (N + 1) th packet of face photo data from the local cache of the card reader 121/reader-writer 122 to the local cache of the elevator control device by using the DMA, the elevator control device receives the face information data sent by the card reader 121/reader-writer 122.
In one embodiment, the elevator control apparatus is further configured to:
receiving user management information sent by the card reader 121/reader-writer 122, where the user management information is read from the CPU card 150 by the card reader 121/reader-writer 122; the user management information comprises a card number, an elevator taking authority, a deletion mark, a face information input mark and an expiration date mark of the CPU card 150;
executing corresponding management operation according to the user management information;
the management operation comprises:
detecting the face information input mark, and executing the step that the elevator control device receives the face information data sent by the card reader 121/reader-writer 122 when detecting that the face information input mark identifies that the current user is a newly added person;
detecting the deletion marker, and deleting the user management information from the database when detecting that the deletion marker identifies that the current CPU card 150 is in a deleted state;
detecting the validity period mark, and canceling the elevator taking authority corresponding to the current CPU card 150 when detecting that the validity period mark identifies that the current CPU card 150 is in a state exceeding the validity period;
and detecting the card number of the CPU, and canceling the elevator taking authority corresponding to the current CPU card 150 when detecting that the card number of the CPU card 150 belongs to the reported card number.
In one embodiment, the elevator control apparatus is further configured to:
receiving user management information sent by the card reader 121/reader-writer 122, where the user management information is read from the CPU card 150 by the card reader 121/reader-writer 122; the user management information comprises a face information input mark;
executing corresponding management operation according to the user management information;
the management operation comprises:
and detecting the face information input mark, and when detecting that the face information input mark identifies that the current user is in a state of updating face information, receiving face information data sent by the card reader 121/reader-writer 122 by the elevator control device, and updating the previous face information data of the current user by using the face information data.
In one embodiment, the elevator control device is further configured to construct a doubly linked list circular structure, and each user management information is stored on a corresponding node in the doubly linked list circular structure.
It is understood that the system embodiment and the method embodiment of the present invention are based on the same inventive concept and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRA), Rambus Direct RAM (RDRA), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

Claims (10)

1. An off-line elevator control method based on face recognition is applied to an off-line elevator control system based on face recognition and is characterized in that the elevator control system comprises an elevator control device, a card reader/reader and a CPU card, and the elevator control device is electrically connected with the card reader/reader;
the elevator control method includes:
and the elevator control device receives the face information data sent by the card reader/reader, and the face information data is read from the CPU card by the card reader/reader.
2. The offline elevator control method based on face recognition is characterized in that the face information data comprises N +1 packets of face photo data, wherein N is a positive integer;
the elevator control device receives the face information data sent by the card reader/reader-writer, and comprises:
after receiving the photo reading instruction, the card reader/reader reads the 1 st packet of face photo data from the CPU card to the local cache of the card reader/reader;
after the card reader/reader-writer stores the 1 st packet of face photo data into the local cache of the card reader/reader-writer, continuously reading the 2 nd packet of face photo data from the CPU card into the local cache of the card reader/reader-writer;
when the card reader/reader reads the 2 nd packet of face photo data from the CPU card to the local cache, the elevator control device transmits the 1 st packet of face photo data from the local cache of the card reader/reader to the local cache of the elevator control device by using DMA;
by parity of reasoning, when the card reader/reader reads the (N + 1) th packet of human face photo data from the CPU card to the local cache of the card reader/reader, the elevator control device transmits the (N) th packet of human face photo data to the local cache of the elevator control device from the local cache of the card reader/reader by using the DMA; and transmitting the (N + 1) th packet of human face photo data from the local cache of the card reader/reader-writer to the local cache of the elevator control device by using the DMA (direct memory access), and finishing the receiving of the human face information data sent by the card reader/reader-writer by the elevator control device.
3. The method of claim 1, wherein before the elevator control device receives the face information data sent by the card reader/writer, the method further comprises:
the elevator control device receives user management information sent by the card reader/reader, and the user management information is read from the CPU card by the card reader/reader; the user management information comprises a card number of a CPU card, an elevator taking authority, a deletion mark, a face information input mark and an expiration date mark;
the elevator control device executes corresponding management operation according to the user management information;
the management operation comprises:
detecting the face information input mark, and executing the step that the elevator control device receives the face information data sent by the card reader/reader when the face information input mark identifies that the current user is a newly added person;
detecting the deletion mark, and deleting the user management information from the database when detecting that the deletion mark identifies that the current CPU card is in a deletion state;
detecting the validity period mark, and canceling the elevator taking authority corresponding to the current CPU card when detecting that the validity period mark identifies that the current CPU card is in a state exceeding the validity period;
and detecting the card number of the CPU, and canceling the elevator taking authority corresponding to the current CPU card when detecting that the card number of the CPU card belongs to the reported card number.
4. The method of claim 1, wherein after the elevator control device receives the face information data sent by the card reader/writer, the method further comprises:
the elevator control device receives user management information sent by the card reader/reader, and the user management information is read from the CPU card by the card reader/reader; the user management information comprises a face information input mark;
the elevator control device executes corresponding management operation according to the user management information;
the management operation comprises:
and detecting the face information input mark, and when detecting that the face information input mark identifies that the current user is in a state of updating face information, receiving face information data sent by the card reader/reader by the elevator control device, and updating the previous face information data of the current user by using the face information data.
5. The method for controlling the elevator according to claim 3 or 4, wherein the method for controlling the elevator comprises the following steps:
the elevator control device constructs a double linked list circulating structure, and user management information is stored on corresponding nodes in the double linked list circulating structure respectively.
6. An off-line elevator control system based on face recognition is characterized by comprising an elevator control device, a card reader/reader and a CPU card, wherein the elevator control device is electrically connected with the card reader/reader;
the elevator control device is used for receiving the face information data sent by the card reader/reader, and the face information data is read from the CPU card by the card reader/reader.
7. The offline elevator control system based on face recognition according to claim 6, wherein the face information data comprises N +1 packets of face photo data, N being a positive integer;
the card reader/writer is configured to:
after receiving a photo reading instruction, reading the 1 st packet of human face photo data from the CPU card to a local cache of a card reader/reader;
after the card reader/reader-writer stores the 1 st packet of face photo data into the local cache of the card reader/reader-writer, continuously reading the 2 nd packet of face photo data from the CPU card into the local cache of the card reader/reader-writer;
the elevator control apparatus is further configured to:
when the card reader/reader reads the 2 nd packet of human face photo data from the CPU card to the local cache, the 1 st packet of human face photo data is transmitted to the local cache of the elevator control device from the local cache of the card reader/reader by using DMA;
by parity of reasoning, when the card reader/reader reads the (N + 1) th packet of human face photo data from the CPU card to the local cache of the card reader/reader, the elevator control device transmits the (N) th packet of human face photo data to the local cache of the elevator control device from the local cache of the card reader/reader by using the DMA; and transmitting the (N + 1) th packet of human face photo data from the local cache of the card reader/reader-writer to the local cache of the elevator control device by using the DMA (direct memory access), and finishing the receiving of the human face information data sent by the card reader/reader-writer by the elevator control device.
8. The system of claim 6, wherein the system is configured to perform the following steps:
the elevator control apparatus is further configured to:
receiving user management information sent by the card reader/reader, wherein the user management information is read from the CPU card by the card reader/reader; the user management information comprises a card number of a CPU card, an elevator taking authority, a deletion mark, a face information input mark and an expiration date mark;
executing corresponding management operation according to the user management information;
the management operation comprises:
detecting the face information input mark, and executing the step that the elevator control device receives the face information data sent by the card reader/reader when the face information input mark identifies that the current user is a newly added person;
detecting the deletion mark, and deleting the user management information from the database when detecting that the deletion mark identifies that the current CPU card is in a deletion state;
detecting the validity period mark, and canceling the elevator taking authority corresponding to the current CPU card when detecting that the validity period mark identifies that the current CPU card is in a state exceeding the validity period;
and detecting the card number of the CPU, and canceling the elevator taking authority corresponding to the current CPU card when detecting that the card number of the CPU card belongs to the reported card number.
9. The system of claim 6, wherein the system is configured to perform the following steps:
the elevator control apparatus is further configured to:
receiving user management information sent by the card reader/reader, wherein the user management information is read from the CPU card by the card reader/reader; the user management information comprises a face information input mark;
executing corresponding management operation according to the user management information;
the management operation comprises:
and detecting the face information input mark, and when detecting that the face information input mark identifies that the current user is in a state of updating face information, receiving face information data sent by the card reader/reader by the elevator control device, and updating the previous face information data of the current user by using the face information data.
10. The system of claim 8 or 9, wherein the elevator control device is further configured to construct a doubly linked list circular structure, and the user management information is stored at the corresponding node in the doubly linked list circular structure.
CN202111624529.7A 2021-12-02 2021-12-23 Off-line elevator control system and method based on face recognition Active CN114455405B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2021114619892 2021-12-02
CN202111461989 2021-12-02

Publications (2)

Publication Number Publication Date
CN114455405A true CN114455405A (en) 2022-05-10
CN114455405B CN114455405B (en) 2023-11-24

Family

ID=81407252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111624529.7A Active CN114455405B (en) 2021-12-02 2021-12-23 Off-line elevator control system and method based on face recognition

Country Status (1)

Country Link
CN (1) CN114455405B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2853728Y (en) * 2005-11-25 2007-01-03 上海新时达电气有限公司 Elevator intelligent management device using IC card
CN102799821A (en) * 2012-07-11 2012-11-28 深圳市飞瑞斯科技有限公司 Method for checking intelligent card and identity of card holder, and face identification identity checking device
CN106698118A (en) * 2016-12-09 2017-05-24 成都焦点合安物联网有限公司 Elevator control method and system based on face recognition
CN107934704A (en) * 2017-11-30 2018-04-20 常熟安智生物识别技术有限公司 A kind of terraced control system using recognition of face
CN108074303A (en) * 2016-11-16 2018-05-25 常熟安智生物识别技术有限公司 A kind of scheme that can expand recognition of face number of users
CN109118621A (en) * 2018-07-24 2019-01-01 石数字技术成都有限公司 The face registration system of recognition of face gate inhibition a kind of and application in access control
CN213338863U (en) * 2020-11-17 2021-06-01 广州科升信息科技有限公司 Offline authorization system of dynamic face access control
WO2021184203A1 (en) * 2020-03-17 2021-09-23 江苏威尔曼科技有限公司 Facial recognition-based smart elevator calling system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2853728Y (en) * 2005-11-25 2007-01-03 上海新时达电气有限公司 Elevator intelligent management device using IC card
CN102799821A (en) * 2012-07-11 2012-11-28 深圳市飞瑞斯科技有限公司 Method for checking intelligent card and identity of card holder, and face identification identity checking device
CN108074303A (en) * 2016-11-16 2018-05-25 常熟安智生物识别技术有限公司 A kind of scheme that can expand recognition of face number of users
CN106698118A (en) * 2016-12-09 2017-05-24 成都焦点合安物联网有限公司 Elevator control method and system based on face recognition
CN107934704A (en) * 2017-11-30 2018-04-20 常熟安智生物识别技术有限公司 A kind of terraced control system using recognition of face
CN109118621A (en) * 2018-07-24 2019-01-01 石数字技术成都有限公司 The face registration system of recognition of face gate inhibition a kind of and application in access control
WO2021184203A1 (en) * 2020-03-17 2021-09-23 江苏威尔曼科技有限公司 Facial recognition-based smart elevator calling system
CN213338863U (en) * 2020-11-17 2021-06-01 广州科升信息科技有限公司 Offline authorization system of dynamic face access control

Also Published As

Publication number Publication date
CN114455405B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US7330570B2 (en) Face collation apparatus and biometrics data collation apparatus
CN102708606B (en) System for monitoring person entering and exiting presence area of prison by recognizing faces of person
EP1291807B1 (en) Person recognition apparatus and method
CN107945321A (en) Safety inspection method, application server and computer-readable recording medium based on recognition of face
CN101140620A (en) Human face recognition system
US20090258667A1 (en) Function unlocking system, function unlocking method, and function unlocking program
US20110231909A1 (en) Terminal device authentication method, terminal device and program
CA2496669A1 (en) Biometric factor augmentation method for identification systems
CN105261105A (en) Safety access control method
GB2467127A (en) A system for monitoring users' time and attendance
JP6848301B2 (en) Authentication system, authentication data management device, gate management device and authentication method
JP2009527804A (en) Distributed standoff ID verification compatible with multiple face recognition systems (FRS)
WO2020093612A1 (en) Clock-in/out method and system based on smart wristband, and computer device
CN108734092A (en) Personage's authentication device
JP2012067458A (en) Passage management system and passage management method
CN111368721B (en) Identity recognition processing method and device, electronic equipment and storage medium
CN115240262A (en) Face recognition method, system, computer device and medium based on end-side cooperation
CN106780864A (en) Gate control system based on skeleton identification technology
JP6855266B2 (en) Face recognition system, face recognition method, and face recognition program
WO2018185574A1 (en) Apparatus and method for documents and/or personal identities recognition and validation
CN114455405B (en) Off-line elevator control system and method based on face recognition
JP2003331323A (en) Automatic gate system
CN204303055U (en) Embedded intelligence door-lock controller
JP5745790B2 (en) Entrance / exit management system
JP2003242464A (en) Ic card and management device using it

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