WO2020186595A1 - 闸机设备的控制方法、终端、闸机设备及系统 - Google Patents

闸机设备的控制方法、终端、闸机设备及系统 Download PDF

Info

Publication number
WO2020186595A1
WO2020186595A1 PCT/CN2019/084151 CN2019084151W WO2020186595A1 WO 2020186595 A1 WO2020186595 A1 WO 2020186595A1 CN 2019084151 W CN2019084151 W CN 2019084151W WO 2020186595 A1 WO2020186595 A1 WO 2020186595A1
Authority
WO
WIPO (PCT)
Prior art keywords
feature value
gate device
data
gate
inbound
Prior art date
Application number
PCT/CN2019/084151
Other languages
English (en)
French (fr)
Inventor
张亮
曾毅
付强
周益龙
Original Assignee
上海华铭智能终端设备股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海华铭智能终端设备股份有限公司 filed Critical 上海华铭智能终端设备股份有限公司
Priority to US17/439,476 priority Critical patent/US20220157100A1/en
Priority to EP19920134.4A priority patent/EP3940653A4/en
Priority to SG11202109792P priority patent/SG11202109792PA/en
Publication of WO2020186595A1 publication Critical patent/WO2020186595A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/10Movable barriers with registering means
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/25Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition
    • G07C9/257Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition electronically
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/25Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition
    • G07C9/26Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition using a biometric sensor integrated in the pass
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition

Definitions

  • the present invention relates to a gate equipment, in particular to a control method, terminal, gate equipment and system of the gate equipment.
  • gate equipment Although some gate equipment currently uses face recognition to control the passage of gate equipment, based on this method, the gate equipment needs to be connected to the Internet to transmit the images collected by the camera on the gate equipment to the Internet server. And after passing the image authentication, control the passage of the gate equipment.
  • the gate equipment is prone to failures such as failure to open normally, delayed opening, etc., and when the gate equipment responds to a large passenger flow situation, the gate equipment is prone to paralysis, causing traffic The phenomenon of congestion cannot be applied on a large scale.
  • the technical problem required by the present invention is how to enable the user to conveniently and quickly open the gate device channel without having to swipe the card.
  • the purpose of the present invention is to provide a control method, a terminal, a gate device and a system for a gate device, which can enable a user to conveniently and quickly open the gate device channel without swiping a card.
  • the present invention provides a control method for gate equipment, which includes the following steps:
  • the gate device channel of the gate device is opened.
  • the step of obtaining the first facial feature value of the user sent by the terminal includes:
  • the step of acquiring the user's face image collected by the first camera module and processing to obtain the second face feature value includes: acquiring the user's face image collected by the first camera module in real time; A display module displays the face image in real time; processes the face image according to a preset image algorithm to obtain the second face feature value; when the storage capacity of the face image data collected in real time is greater than When the preset value is set, the previously cached data is cleared.
  • the step of opening the gate device channel of the gate device includes: if the matching is successful, judging whether the current entry and exit data includes entry and exit data obtained from the terminal Station information; if it is determined that the inbound and outbound data does not include the inbound information, and the current gate device channel is an inbound channel, then open the gate device channel and send the inbound information to the terminal.
  • the inbound information updates the inbound and outbound data; if it is determined that the inbound and outbound data includes the inbound information, and the current gate device channel is an outbound channel, then the gate device channel is opened and sent to the terminal Send outbound information, and update the inbound and outbound data with the outbound information.
  • the step of opening the gate device channel of the gate device includes: when accumulating the acquired data of the first face feature value and the second face feature value After the storage capacity exceeds the preset data amount, the previously stored first facial feature value and the second facial feature value are automatically deleted according to the recording time.
  • This application also provides a method for controlling gate equipment, including the following steps:
  • the step before the step of receiving the first facial feature value sent by the server side, the step includes: acquiring a user's facial image; and transmitting the facial image to the server terminal.
  • the step of sending the first facial feature value to the gate device includes: establishing a Bluetooth wireless communication connection with the gate device; and sending to the gate device through a Bluetooth wireless communication channel The first facial feature value.
  • it further includes: sending inbound and outbound data to the gate device; receiving inbound information sent by the gate device, and updating the inbound and outbound data with the inbound information; receiving the gate The outbound information sent by the device updates the inbound and outbound data with the outbound information.
  • This application also provides a gate device, including:
  • a wireless transmission device for acquiring the user's first facial feature value sent by the terminal
  • the face recognition device is used to obtain the user's face image collected by the first camera module and process it to obtain the second face feature value, and compare the first face feature value and all the facial features according to preset matching rules.
  • the second face feature value for matching
  • the control device is used for opening the gate equipment channel of the gate equipment in response to the instruction after the face recognition device is successfully matched.
  • the wireless transmission device includes: a first Bluetooth module, the Bluetooth module is used to establish a Bluetooth wireless communication connection with the terminal, and receive the first facial feature value through the Bluetooth wireless communication channel.
  • the face recognition device includes: a first camera module for real-time collection of the user's face image; a first display module for real-time display of the face image; a matching module for The face image is processed according to a preset image algorithm to obtain a second face feature value, and the first face feature value and the second face feature value are processed according to a preset matching rule Matching; a data storage module for storing the face image, and when the data of the face image collected in real time is greater than a preset value, the processor clears the previously cached data.
  • the control device includes: a data analysis module for responding to an instruction after the face recognition device is successfully matched, and determining whether the current entry and exit data is obtained from the terminal according to the entry and exit data obtained from the terminal Including inbound information; the gate device channel opening module is used to open when the data analysis module determines that the inbound and outbound data does not include the inbound information, and the current gate device channel is an inbound channel The gate equipment channel, and sends inbound information to the terminal, and updates the inbound and outbound data with the inbound information; the data analysis module determines that the inbound and outbound data includes the inbound information and is currently When the gate device channel is an outbound channel, the gate device channel is opened, and outbound information is sent to the terminal, and the inbound and outbound data is updated with the outbound information.
  • the face recognition device further includes: a data cleaning module, which is used for when the cumulatively acquired data of the first face feature value and the second face feature value exceeds a preset storage capacity After the data amount is larger, the first facial feature value and the second facial feature value stored in advance are automatically deleted according to the recording time.
  • a data cleaning module which is used for when the cumulatively acquired data of the first face feature value and the second face feature value exceeds a preset storage capacity After the data amount is larger, the first facial feature value and the second facial feature value stored in advance are automatically deleted according to the recording time.
  • the present application also provides a terminal, including: a wireless communication device, configured to receive a first facial feature value sent by the server, and send the first facial feature value to the gate device, wherein The server side processes the acquired facial image of the user according to a preset image algorithm to obtain the first facial feature value.
  • a wireless communication device configured to receive a first facial feature value sent by the server, and send the first facial feature value to the gate device, wherein The server side processes the acquired facial image of the user according to a preset image algorithm to obtain the first facial feature value.
  • the wireless communication device includes: a network transmission module for receiving the first facial feature value sent by the server; a second Bluetooth module for establishing Bluetooth wireless communication with the gate device Connect, and send the first facial feature value to the gate device through a Bluetooth wireless communication channel.
  • it further includes: an image acquisition device for acquiring the facial image of the user; wherein the network transmission module is also used for transmitting the facial image to the server.
  • the second Bluetooth module is also used to: send in and out station data to the gate device; receive inbound information sent by the gate device, and update the inbound and outbound station with the inbound information Data; receive the outbound information sent by the gate device, and update the inbound and outbound data with the outbound information.
  • the present application also provides a gate device passage control system, including: the gate device and a terminal as described above, and the terminal is used to open the gate device channel of the gate device.
  • the beneficial effects of the present invention are mainly embodied in: the present application can enable users to conveniently and quickly open the gate equipment channel without swiping a card.
  • FIG. 1 is a flowchart of a method for controlling gate equipment in an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for controlling gate equipment in a second embodiment of the present invention
  • FIG. 3 is a flowchart of step S1 in the second embodiment of the present invention.
  • step S2 is a flowchart of step S2 in the second embodiment of the present invention.
  • FIG. 5 is a flowchart of step S4 in the second embodiment of the present invention.
  • FIG. 6 is another flowchart of step S4 in the second embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for controlling gate equipment in three embodiments of the present invention.
  • FIG. 8 is a flowchart of a method for controlling gate equipment in four embodiments of the present invention.
  • step S103 is a flowchart of step S103 in the four embodiments of the present invention.
  • FIG. 10 is a flowchart of step S104 to step 106 in the three embodiments of the present invention.
  • FIG. 11 is a block diagram of circuit modules of the gate device in the five embodiments of the present invention.
  • FIG. 12 is a block diagram of circuit modules of the gate device in the six embodiments of the present invention.
  • Figure 13 is a block diagram of a circuit module of a terminal in seven embodiments of the present invention.
  • FIG. 14 is a block diagram of circuit modules of a terminal in an eight embodiment of the present invention.
  • 15 is a block diagram of circuit modules of the system in the seven embodiments of the present invention.
  • Fig. 16 is a block diagram of circuit modules of the system in the nine embodiments of the present invention.
  • gate device 6 wireless transmission device 61, first Bluetooth module 611, face recognition device 62, first camera module 621, first display module 622, matching module 623, data storage module 624, data cleaning module 625, control device 63, data analysis module 631, gate device channel opening module 632, terminal 9, wireless communication device 91, network transmission module 911, second Bluetooth module 912, image acquisition device 92, second camera module 921, first Two display module 922.
  • the technical solutions disclosed in the embodiments of the present invention are applied to gate equipment and terminals.
  • the terminal can be a mobile phone, tablet computer, smart wearable device, personal digital assistant, sales mobile device, and other electronic devices that can be held by the user, and the terminal can record the terminal's exercise data, upload the user's face image or collect the user Face images etc.
  • the smart wearable device may be a wristband-type smart wearable device, or may be a smart wearable device that can be worn on the upper limbs of a user, such as a smart wearable device that can be worn on a user's finger.
  • a method for controlling gate equipment is provided.
  • the control method is used for gate equipment and includes the following steps:
  • Step S1 Obtain the first facial feature value of the user sent by the terminal
  • Step S2 Obtain and process the user's facial image collected by the first camera module to obtain a second facial feature value
  • Step S3 Match the first facial feature value and the second facial feature value according to a preset matching rule
  • Step S4 If the matching is successful, the gate device channel of the gate device is opened.
  • the user uploads the user's face image through the terminal, such as a mobile phone or through the second camera module on the terminal, to the server on the Internet, and the server uses the preset image algorithm, such as Baidu image algorithm, The 360 image algorithm, Google image algorithm, etc., process the face image to obtain the first face feature value, and then send it to the gate device through the terminal.
  • the preset image algorithm such as Baidu image algorithm, The 360 image algorithm, Google image algorithm, etc.
  • the gate device After acquiring the user’s face image collected by the first camera module, the gate device can perform offline processing through a preset image algorithm, such as Baidu image algorithm, 360 image algorithm, etc., to obtain the second face feature value, and then obtain the second face feature value according to the preset image algorithm.
  • the matching algorithm is set to match the first face feature value and the second face feature value. If the matching is successful, the gate of the gate device for opening and closing the gate device channel can receive an opening instruction Signal to open the gate equipment channel to facilitate the passage of passengers. If the match is unsuccessful, the gate device channel will continue to remain closed.
  • the image algorithms in steps S1 and S2 preferably adopt the same algorithm, which can achieve a higher matching degree, avoid the phenomenon of unmatched recognition due to the recognition accuracy of the image algorithm itself, and improve the gate equipment and The reliability of its control method.
  • the control method of the present application eliminates the need for the gate device to transmit the collected images to the Internet, that is, obtain the real-time second facial feature value through offline processing, so that the gate device obtains the terminal
  • the first facial feature value sent, and the second facial feature value and the first facial feature value are matched, the gate device channel can be opened conveniently and quickly, thus overcoming the gate device in the prior art
  • the gate equipment may be paralyzed or delayed in opening.
  • the gate equipment does not need to pre-store the user's image, which reduces the workload of the gate equipment, simplifies the operation, shortens the image authentication time of the gate equipment, improves the work efficiency of the gate equipment, and makes the user unnecessary Carrying electronic cards facilitates the user's travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are prone to theft.
  • step S1 in this embodiment may also be after step S2 and before step S3. Therefore, in this embodiment, the order in which the gate device obtains the first face image feature and the second face image feature is not specific. Limit and explain.
  • the first camera module may be the first camera module that comes with the gate device, or it may be provided separately, which is not specifically limited and explained in this embodiment.
  • a method for controlling gate equipment is provided.
  • the control method is used for gate equipment and includes the following steps:
  • Step S1 Obtain the first facial feature value of the user sent by the terminal
  • Step S2 Obtain and process the user's facial image collected by the first camera module to obtain a second facial feature value
  • Step S3 Match the first facial feature value and the second facial feature value according to a preset matching rule
  • Step S4 If the matching is successful, the gate device channel of the gate device is opened.
  • the user uploads the user's face image through the terminal, such as a mobile phone or through the second camera module on the terminal, to the server on the Internet, and the server uses the preset image algorithm, such as Baidu image algorithm, The 360 image algorithm, Google image algorithm, etc., process the face image to obtain the first face feature value, and then send it to the gate device through the terminal.
  • the preset image algorithm such as Baidu image algorithm, The 360 image algorithm, Google image algorithm, etc.
  • the gate device After acquiring the user’s face image collected by the first camera module, the gate device can perform offline processing through a preset image algorithm, such as Baidu image algorithm, 360 image algorithm, etc., to obtain the second face feature value, and then obtain the second face feature value according to the preset image algorithm.
  • the matching algorithm is set to match the first face feature value and the second face feature value. If the matching is successful, the gate of the gate device for opening and closing the gate device channel can receive an opening instruction Signal to open the gate equipment channel to facilitate the passage of passengers. If the match is unsuccessful, the gate device channel will continue to remain closed.
  • the image algorithms in steps S1 and S2 preferably adopt the same algorithm, which can achieve a higher matching degree, avoid the phenomenon of unmatched recognition due to the recognition accuracy of the image algorithm itself, and improve the gate equipment and The reliability of its control method.
  • the control method of the present application eliminates the need for the gate device to transmit the collected images to the Internet, that is, obtain the real-time second facial feature value through offline processing, so that the gate device obtains the terminal
  • the first facial feature value sent, and the second facial feature value and the first facial feature value are matched, the gate device channel can be opened conveniently and quickly, thus overcoming the gate device in the prior art
  • the gate equipment may be paralyzed or delayed in opening.
  • the gate equipment does not need to pre-store the user's image, which reduces the workload of the gate equipment, can cope with the working environment of large passenger flow, simplifies the operation, shortens the image authentication time of the gate equipment, and improves the gate equipment.
  • the working efficiency of the machine and equipment makes it unnecessary for users to carry electronic cards, which facilitates their travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are prone to theft.
  • step S1 in this embodiment may also be after step S2 and before step S3. Therefore, in this embodiment, for the gate device to obtain the first facial image feature and the second person
  • the sequence of facial image features is not specifically limited and explained.
  • step S1 may include:
  • Step S11 Establish a Bluetooth wireless communication connection with the terminal
  • Step S12 Receive the first facial feature value through the Bluetooth wireless communication channel.
  • the gate device is connected to the terminal through Bluetooth wireless communication and receives the first facial feature value, which takes advantage of the fast transmission speed and large transmission volume of Bluetooth, which can ensure that the facial feature value, which is a large amount of data, is transmitted to the gate device at an extremely fast speed In this way, the phenomenon of delay is avoided, the subsequent steps are guaranteed to proceed smoothly, and the time for the gate equipment is shortened.
  • the gate device in this embodiment can also realize the wireless communication connection between the gate device and the terminal through other wireless communication connection methods, such as red teeth wireless communication, WIFI and other wireless communication connections.
  • step S2 may include:
  • Step S21 Obtain the user's face image collected in real time by the first camera module
  • Step S22 Display the face image in real time through the first display module
  • Step S23 Process the face image according to the preset image algorithm to obtain a second face feature value.
  • Displaying the user's face image collected in real time by the first camera module through the first display module allows the user to observe the displayed image, which is quickly located in the collection area of the first camera module, so that the first camera module can better perform the user's facial image. Collection, shorten the collection time of the gate equipment, and improve the traffic efficiency.
  • step S2 also includes:
  • Step S24 When the storage capacity of the face image data collected in real time is greater than the preset value, clear the previously buffered data.
  • step S22 may also be an unnecessary step of step S2 in this embodiment, for example, by allowing the user to stand in a designated collection area, without the first display module for displaying.
  • step S24 may also be after step S21 and before step S23. Therefore, the sequence between step S21 and step S24 is not specifically limited or elaborated.
  • step S4 may include:
  • Step S41 if the matching is successful, judge whether the current inbound and outbound data includes inbound information according to the inbound and outbound data obtained from the terminal;
  • Step S42 If it is determined that the entry and exit data does not include the entry information, the gate device channel is opened, and the entry information is sent to the terminal to update the entry and exit data with the entry information.
  • step S4 may include:
  • Step S41' If the matching is successful, judge whether the current inbound and outbound data includes inbound information according to the inbound and outbound data obtained from the terminal;
  • Step S42' If it is judged that the inbound and outbound data includes inbound information, the gate device channel is opened, and the outbound information is sent to the terminal to update the inbound and outbound data with the outbound information.
  • the gate device when the first facial feature value and the second facial feature value obtained by the gate device are successfully matched, it can be judged according to the obtained entry and exit data whether the user has entered the station or not, thus making The corresponding gate equipment can judge whether the user has entered the station according to the entry and exit data, and decide whether to open the gate equipment channel to avoid the phenomenon of opening the gate equipment channel by mistake.
  • the inbound and outbound data when the inbound and outbound data is updated with outbound information or information, the inbound and outbound data can be merged and recorded in chronological order to update, or the inbound and outbound data can be updated by replacement. , And the replaced data is included in the historical data record, but this embodiment does not make specific limitations and excessive descriptions.
  • step S41
  • the gate equipment can determine the deduction fee based on the entry and exit information recorded in the entry and exit data and the deduction rules.
  • the inbound and outbound data in this embodiment may include not only inbound information and outbound information, but also business data such as deduction rules, according to actual needs, and will not be elaborated here.
  • step S4 in this embodiment the method further includes:
  • Step S5 When the storage capacity of the accumulated data of the first facial feature value and the second facial feature value exceeds the preset data amount, automatically delete the previously stored first facial feature value and the first facial feature value according to the recording time. Two face feature values.
  • the preset amount of data in this embodiment can be determined according to factors such as the storage space of the current gate device, working environment, and daily passenger flow.
  • the storage capacity of the data of the first facial feature value and the second facial feature value accumulated in step S6 can also be transmitted to the server through the back-end transmission connected to the gate device or the terminal to realize the data of the gate. Backup.
  • a method for controlling gate equipment is provided.
  • the control method is applied to a terminal and includes the following steps:
  • Step S102 Receive the first facial feature value sent by the server, where the server processes the facial image according to a preset image algorithm to obtain the first facial feature value;
  • Step S103 Send the first facial feature value to the gate device.
  • the user controls the opening of the gate device channel of the gate device through a terminal, such as a smart watch, a mobile phone, etc., and can upload the user's face image to the server through the local database, or retrieve the The user’s face image stored on the server side, so that the server side processes the face image according to the preset image algorithm, such as Baidu image algorithm, 360 image algorithm, Google image algorithm, etc., to obtain the first facial feature value, and then sends it to the terminal on.
  • a terminal such as a smart watch, a mobile phone, etc.
  • the first facial feature value can be sent to the gate device through the terminal for opening the gate device channel of the gate device.
  • the control method of the present application allows the user to use a terminal that can receive the first facial feature value, and then send the first facial feature value to the gate device through it, so as to conveniently and quickly open the gate device channel, thereby overcoming
  • the phenomenon that the gate device may be paralyzed or delayed in opening due to the network delay during the face image correction process is not need to pre-store the user's image, which reduces the workload of the gate equipment, can cope with the working environment of large passenger flow, simplifies the operation, shortens the image authentication time of the gate equipment, and improves the gate
  • the working efficiency of the machine and equipment makes it unnecessary for users to carry electronic cards, which facilitates their travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • the user can be registered through the APP in the terminal, and then the first facial feature value corresponding to the registered user's facial image can be obtained from the server, where the first facial feature value can be the user's Other terminals, such as mobile phones, computers, etc., collect the user's face image, and upload the user's face image to the server through the local database, or retrieve the user's face image that has been stored on the server side, and perform image processing on the server side Then get the first facial feature value.
  • the first facial feature value can be the user's Other terminals, such as mobile phones, computers, etc.
  • a method for controlling gate equipment is provided.
  • the control method is applied to a terminal and includes the following steps:
  • Step S102 Receive the first facial feature value sent by the server, where the server processes the facial image according to a preset image algorithm to obtain the first facial feature value;
  • Step S103 Send the first facial feature value to the gate device.
  • the user controls the opening of the gate device channel of the gate device through a terminal, such as a smart watch, a mobile phone, etc., and can upload the user's face image to the server through the local database, or retrieve the The user’s face image stored on the server side, so that the server side processes the face image according to the preset image algorithm, such as Baidu image algorithm, 360 image algorithm, Google image algorithm, etc., to obtain the first facial feature value, and then sends it to the terminal on.
  • a terminal such as a smart watch, a mobile phone, etc.
  • the first facial feature value can be sent to the gate device through the terminal for opening the gate device channel of the gate device.
  • the control method of the present application allows the user to use a terminal that can receive the first facial feature value, and then send the first facial feature value to the gate device through it, so as to conveniently and quickly open the gate device channel, thereby overcoming
  • the phenomenon that the gate equipment may be paralyzed or delayed in opening due to the network delay during the face image correction process is not need to pre-store the user's image, which reduces the workload of the gate equipment, can cope with the working environment of large passenger flow, simplifies the operation, shortens the image authentication time of the gate equipment, and improves the gate equipment.
  • the working efficiency of the machine and equipment makes it unnecessary for users to carry electronic cards, which facilitates their travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • the method includes:
  • Step S100 Obtain a user's face image
  • Step S101 Transmit the face image to the server.
  • the user’s face image can also be obtained through the terminal, such as through the second camera module, or from the terminal’s local database, and the face image is transmitted to the server to facilitate the user’s
  • the control of the terminal simplifies the process.
  • the user can register a user account on the terminal’s APP, and then upload the local user’s facial image to the server through the APP, or obtain the user’s facial image through the second camera module of the terminal and upload it to the server.
  • the user can check the uploaded face image or the photographed face image through the second display module, so that the uploaded image meets the specification requirements for feature extraction and is close to a standard face image.
  • multiple user accounts can be registered on the APP of the terminal in this embodiment, and the face images of the corresponding users can be uploaded, so that after the user account is switched, different users can use the same terminal to scan their faces. brake.
  • step S103 includes:
  • Step S1031 Establish a Bluetooth wireless communication connection with the gate device
  • Step S1032 Send the first facial feature value to the gate device through the Bluetooth wireless communication channel.
  • the terminal of this application can connect to the gate device through Bluetooth wireless communication and send the first facial feature value, which takes advantage of the fast transmission speed and large transmission volume of Bluetooth to ensure that the data volume of the facial feature value is large.
  • the data is transmitted to the gate equipment at an extremely fast speed, avoiding the phenomenon of delay, ensuring the smooth progress of the subsequent steps, and shortening the time of the gate equipment.
  • control method in this embodiment further includes:
  • Step 104 Send entry and exit data to the gate device
  • Step 105 Receive the inbound information sent by the gate equipment, and update the inbound and outbound data with the inbound information;
  • Step 106 Receive the outbound information sent by the gate equipment, and update the inbound and outbound data with the outbound information;
  • the inbound and outbound data when the inbound and outbound data is updated with outbound information or information, the inbound and outbound data can be merged and recorded in chronological order to update, or the inbound and outbound data can be updated by replacement. , And the replaced data is included in the historical data record, but this embodiment does not make specific limitations and excessive descriptions.
  • steps S104 to S106 may be performed before step S101 or after step S103, or performed synchronously, and this embodiment does not specifically limit or describe the sequence between the above steps S104 to S106 and steps S101 to S103. .
  • This embodiment provides a gate device, please refer to Figure 11, including:
  • the wireless transmission device 61 is configured to obtain the user's first facial feature value sent by the terminal 9;
  • the face recognition device 62 is configured to obtain and process the user's face image collected by the first camera module 621 to obtain the second face feature value, and compare the first face feature value and the first face feature value according to a preset matching rule. Two face feature values are matched;
  • the control device 63 is used for opening the gate device channel of the gate device 6 in response to the instruction after the face recognition device 62 is successfully matched.
  • the gate device 6 of the present application does not need to transmit the collected images to the Internet through the network, that is, obtain the real-time second facial feature value through offline processing, so that the gate device 6 obtains the terminal 9
  • the first facial feature value sent, and the second facial feature value and the first facial feature value are matched, the gate device channel can be opened conveniently and quickly, thus overcoming the gate device in the prior art 6
  • the gate device 6 may be paralyzed or delayed in opening.
  • the gate device 6 does not need to pre-store the user's image, which reduces the workload of the gate device 6, simplifies the operation, shortens the image authentication time of the gate device 6, and improves the work efficiency of the gate device 6 , So that users do not need to carry electronic cards, which facilitates the user's travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • This embodiment provides a gate device, please refer to Figure 12, including:
  • the wireless transmission device 61 is configured to obtain the user's first facial feature value sent by the terminal 9;
  • the face recognition device 62 is configured to obtain and process the user's face image collected by the first camera module 621 to obtain the second face feature value, and compare the first face feature value and the first face feature value according to a preset matching rule. Two face feature values are matched;
  • the control device 63 is used for opening the gate device channel of the gate device 6 in response to the instruction after the face recognition device 62 is successfully matched.
  • the gate device 6 of the present application does not need to transmit the collected images to the Internet through the network, that is, obtain the real-time second facial feature value through offline processing, so that the gate device 6 obtains the terminal 9
  • the first facial feature value sent, and the second facial feature value and the first facial feature value are matched, the gate device channel can be opened conveniently and quickly, thus overcoming the gate device in the prior art 6
  • the gate device 6 may be paralyzed or delayed in opening.
  • the gate device 6 does not need to pre-store the user's image, which reduces the workload of the gate device 6, simplifies the operation, shortens the image authentication time of the gate device 6, and improves the work efficiency of the gate device 6 , So that users do not need to carry electronic cards, which facilitates the user's travel. In addition, it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • the wireless transmission device 61 in this embodiment includes: a first Bluetooth module 611, which is used to establish a Bluetooth wireless communication connection with the terminal 9 and receive the first facial feature value through the Bluetooth wireless communication channel.
  • the gate device 6 connects to the terminal 9 through Bluetooth wireless communication and receives the first facial feature value, which takes advantage of the fast transmission speed and large transmission volume of Bluetooth, which can guarantee the facial feature value, which has a large amount of data.
  • the extremely fast transmission to the gate device 6 avoids the phenomenon of delay, ensures the smooth progress of the subsequent steps, and shortens the time for the gate device 6 to pass.
  • the wireless transmission device 61 in this embodiment may also be other wireless communication devices, such as a red tooth wireless communication module, a WIFI module, and other wireless communication modules to realize the wireless communication connection between the gate device 6 and the terminal 9.
  • the face recognition device 62 in this embodiment includes: a first camera module 621 for real-time collection of user's face images; a first display module 622 for real-time display of face images; matching module 623. Used to process the face image according to a preset image algorithm to obtain a second face feature value, and match the first face feature value with the second face feature value according to a preset matching rule.
  • Displaying the user’s face image collected by the first camera module 621 in real time through the first display module 622 allows the user to observe the displayed image.
  • the facial image of the user is collected, which shortens the collection time of the gate device 6 and improves the traffic efficiency.
  • the face recognition device 62 in this embodiment further includes: a data storage module 624, configured to store a face image, and when the face image data collected in real time is greater than a preset value, it is cleared by the processor
  • the previously cached data can reduce the storage space occupied by the face images collected in real time, reduce the manufacturing cost of the gate device 6 and its workload, and can better cope with the situation of large passenger flow.
  • the data storage module 624 in this embodiment is also used to store the first facial feature value and the second facial feature value.
  • the matching module 623 When the matching module 623 is working, the data storage module 624 stores the first facial feature value. The data of one facial feature value and the second facial feature value are matched, and if the matching is successful, an instruction signal is sent to the control device 63.
  • control device 63 includes:
  • the data analysis module 631 is configured to determine whether the current entry and exit data includes entry information according to the entry and exit data obtained from the terminal 9 after responding to an instruction after the face recognition device 62 is successfully matched;
  • the gate device channel opening module 632 is used to open the gate device channel and send to the terminal 9 when the data analysis module 631 determines that the in and out data does not include inbound information, and the current gate device channel is the inbound channel Inbound information, update the inbound and outbound data with the inbound information.
  • control device 63 includes:
  • the data analysis module 631 is configured to determine whether the current entry and exit data includes entry information according to the entry and exit data obtained from the terminal 9 after responding to an instruction after the face recognition device 62 is successfully matched;
  • the gate device channel opening module 632 is used to open the gate device channel and send it to the terminal 9 when the data analysis module 631 determines that the inbound and outbound data includes inbound information, and the current gate device channel is the outbound channel Station information, update inbound and outbound data with outbound information.
  • control device 63 in this embodiment is an industrial computer. After receiving the instruction signal sent by the face recognition device 62, the user's entry and exit data is obtained through the wireless transmission device 61, and the entry and exit data is obtained through the data analysis module 631. Perform judgment analysis.
  • the gate device 6 after the gate device 6 successfully matches the acquired first facial feature value and the second facial feature value, it can judge whether the user has entered the station or has not entered the station according to the obtained entry and exit data.
  • the corresponding gate device 6 can judge whether the user has entered the station according to the entry and exit data, and decide whether to open the gate device channel, so as to avoid the phenomenon of opening the gate device channel by mistake.
  • the inbound and outbound data when the inbound and outbound data is updated with outbound information or information, the inbound and outbound data can be merged and recorded in chronological order to update, or the inbound and outbound data can be updated by replacement. , And the replaced data is included in the historical data record, but this embodiment does not make specific limitations and excessive descriptions.
  • the data analysis module 631 is also used to determine the deduction fee based on the entry and exit data.
  • the gate device 6 can determine the deduction fee based on the entry and exit information recorded in the entry and exit data and the deduction rules.
  • the inbound and outbound data in this embodiment may include not only inbound information and outbound information, but also business data such as deduction rules, according to actual needs, and will not be elaborated here.
  • the face recognition device 62 in this embodiment further includes: a data cleaning module 625, which is used for when the accumulated storage capacity of the data of the first face feature value and the second face feature value exceeds a preset value.
  • the first face feature value and the second face feature value stored in advance are automatically deleted according to the recording time after the amount of data.
  • the storage space of the gate device 6 can be effectively used, and there is no need to worry about the difference between the first facial feature value and the second facial feature value left by the user when passing through the gate device 6.
  • the data storage capacity is too large, so that the gate device 6 cannot be used normally, so as to meet the gate passing demand of a large passenger flow.
  • the preset amount of data in this embodiment can be determined according to factors such as the current storage space of the gate device 6, the working environment, and the daily passenger flow.
  • the data cleaning module 625 can also be used to transfer the accumulated data storage capacity of the first facial feature value and the second facial feature value data to the server through the back-end transmission connected to the gate device 6 or the terminal 9 10. Realize the backup of the passing data.
  • This embodiment provides a terminal, please refer to FIG. 13, including:
  • the wireless communication device 91 is configured to receive the first facial feature value sent by the server 10, and send the first facial feature value to the gate device 6, wherein the server 10 is based on a preset image algorithm
  • the first face feature value is obtained by processing the face image.
  • the terminal 9 of the present application can receive the first facial feature value, the user can use the terminal 9 to send the first facial feature value to the gate device 6 for convenient and fast call
  • the gate opening device channel therefore overcomes the phenomenon that the gate device 6 in the prior art may be paralyzed or delayed in opening due to the network delay during the face image correction process.
  • the gate device 6 does not need to pre-store the user's image, which reduces the workload of the gate device 6, can cope with the working environment of large passenger flow, simplifies the operation, and shortens the image authentication time of the gate device 6.
  • the working efficiency of the gate device 6 is improved, so that the user does not need to carry an electronic card, which facilitates the user's travel.
  • the user can be registered through the APP in the terminal 9, and then the first facial feature value corresponding to the registered user's facial image can be obtained from the server side 10.
  • the first facial feature value can be The user collects the user’s face image through other terminals 9, such as mobile phones, computers, etc., and uploads the user’s face image to the server side 10 through a local database, or retrieves the user’s face image that has been stored on the server side 10.
  • the first facial feature value is obtained after image processing is performed on the server side 10.
  • multiple user accounts can be registered on the APP of the terminal in this embodiment, and the face images of the corresponding users can be uploaded, so that after the user account is switched, different users can use the same terminal to scan their faces. brake.
  • This embodiment provides a terminal, please refer to Figure 14, including:
  • the wireless communication device 91 is configured to receive the first facial feature value sent by the server 10, where the server 10 processes the facial image according to a preset image algorithm to obtain the first facial feature value, so as to convert the first facial feature value.
  • the characteristic value is sent to the gate device 6.
  • the gate opening device channel therefore overcomes the phenomenon that the gate device 6 in the prior art may be paralyzed or delayed in opening due to the network delay during the face image correction process.
  • the gate device 6 does not need to pre-store the user's image, which reduces the workload of the gate device 6, can cope with the working environment of large passenger flow, simplifies the operation, and shortens the image authentication time of the gate device 6.
  • the working efficiency of the gate device 6 is improved, so that the user does not need to carry an electronic card, which facilitates the user's travel.
  • it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • the wireless transmission device 61 includes: a network transmission module 911, configured to receive the first facial feature value sent by the server 10; a second Bluetooth module 912, configured to establish Bluetooth wireless communication with the gate device 6 Connect, and send the first facial feature value to the gate device 6 through the Bluetooth wireless communication channel.
  • the gate device 6 is connected through Bluetooth wireless communication, and the first facial feature acquired from the server 10 through the network transmission module 911 is sent to the gate device 6.
  • the advantages of Bluetooth transmission speed and large transmission volume can be used to ensure that people The facial feature value, which has a large amount of data, is transmitted to the gate device 6 at an extremely fast speed, avoiding the phenomenon of delay, ensuring the smooth progress of the subsequent steps, and shortening the gate passing time of the gate device 6.
  • the terminal 9 in this embodiment further includes: an image acquisition device 92, configured to acquire the facial image of the user; wherein, the network transmission module 911 is also configured to transmit the facial image to The server side 10.
  • the user can also obtain the user's face image through the terminal 9, such as through the second camera module 921, or from the local database of the terminal 9, and transmit the face image to the server 10 to facilitate the user to access the terminal 9. Control and simplify the process.
  • the user can register a user account on the APP of the terminal 9, and then upload the facial image of the local user to the server 10 through the APP, or obtain the facial image of the user through the second camera module of the terminal 9 and upload it to On the server side 10, the user can check the uploaded face image or the photographed face image through the second display module, so that the uploaded image meets the specification requirements for feature extraction and is close to a standard face image.
  • the aforementioned network transmission module 911 may be a 4G module, a wifi module, or the like.
  • multiple user accounts can be registered on the APP of the terminal in this embodiment, and the face images of the corresponding users can be uploaded, so that after the user account is switched, different users can use the same terminal to scan their faces. brake.
  • the second Bluetooth module 912 is also used for:
  • the terminal 9 of this application can also be used to send in and out station data to the gate device 6, and receive inbound information and outbound information to update the in and out station data, that is, through the terminal 9 data between the gate device 6 Transmission and data update can better facilitate the gate equipment 6 to determine whether the user has entered the station or not according to the entry and exit data obtained from the terminal 9, so that the corresponding gate equipment 6 can enter and exit the station according to The data determines whether the user has entered the station and decides whether to open the gate device channel to avoid the phenomenon of opening the gate device channel by mistake.
  • the inbound and outbound data when the inbound and outbound data is updated with outbound information or information, the inbound and outbound data can be merged and recorded in chronological order to update, or the inbound and outbound data can be updated by replacement. , And the replaced data is included in the historical data record, but this embodiment does not make specific limitations and excessive descriptions.
  • This application also provides a gate equipment access control system. Please refer to Figures 15 and 16, which includes the gate equipment in any of the above embodiments and the terminal in any embodiment.
  • the terminal is used to open the gate equipment The gate equipment channel.
  • the system of the present application eliminates the need for the gate device 6 to transmit the collected images to the Internet through the network, that is, obtain the real-time second facial feature value through offline processing, thereby acting as the gate.
  • the device 6 obtains the first face feature value sent by the terminal 9, and through the matching of the second face feature value and the first face feature value, the gate device channel can be opened conveniently and quickly, thus overcoming the existing In the technology, the gate device 6 may be paralyzed or delayed in opening due to network delays during the face image correction process.
  • the gate device 6 does not need to pre-store the user's image, which reduces the workload of the gate device 6, can cope with the working environment of large passenger flow, simplifies the operation, and shortens the image authentication time of the gate device 6.
  • the working efficiency of the gate device 6 is improved, so that the user does not need to carry an electronic card, which facilitates the user's travel.
  • it can also prevent the loss of users due to the loss of bus cards and other cards that are likely to be stolen.
  • the gate device 6 in the system of this embodiment includes:
  • the wireless transmission device 61 is configured to obtain the user's first facial feature value sent by the terminal 9;
  • the face recognition device 62 is configured to obtain and process the user's face image collected by the first camera module 621 to obtain the second face feature value, and compare the first face feature value and the first face feature value according to a preset matching rule. Two face feature values are matched;
  • the control device 63 is used for opening the gate device channel of the gate device 6 in response to the instruction after the face recognition device 62 is successfully matched.
  • the terminal 9 in the system of this embodiment includes:
  • the wireless communication device 91 is configured to receive the first facial feature value sent by the server 10, where the server 10 processes the user's facial image according to a preset image algorithm to obtain the first facial feature value, so as to obtain the first facial feature value.
  • the facial feature value is sent to the gate device 6.
  • the terminal 9 of the present application can receive the first facial feature value sent by the server 10 through the wireless communication device 91, and the gate device 6 can receive the terminal 9 through the data transmission between the wireless transmission device 61 and the wireless communication device 91
  • the first facial feature value is sent, and the facial image of the user collected by the first camera module 621 is processed by the facial recognition device 62 to obtain the second facial feature value, so that the second facial feature value and the first facial feature value After the facial feature values are matched, an instruction can be sent to the control device 63 to conveniently and quickly open the gate equipment channel.
  • the wireless transmission device 61 of the gate device 6 includes: a first Bluetooth module 611, which is used to establish a Bluetooth wireless communication connection with the terminal 9 and receive the first facial feature value through the Bluetooth wireless communication channel.
  • the wireless communication device of the terminal 9 includes: a network transmission module 911 for receiving the first facial feature value sent by the server 10; a second Bluetooth module 912 for communicating with the gate device 6
  • the first Bluetooth module 611 establishes a Bluetooth wireless communication connection, and sends data information such as the first facial feature value and entry and exit data to the gate device 6 through the Bluetooth wireless communication channel.
  • the gate device 6 and the terminal 9 of this system can be connected through Bluetooth wireless communication to transmit the first facial feature value, which can ensure that the facial feature value, which has a large amount of data, is transmitted to the gate device 6 at an extremely fast speed. , To avoid delays, ensure the smooth progress of subsequent steps, and shorten the gate-passing time of the gate device 6.
  • the wireless transmission device 61 in this embodiment can also be other wireless communication devices, such as a red tooth wireless communication module, a WIFI module, and other wireless communication modules, and is not limited to a Bluetooth module to realize the communication between the gate device 6 and the terminal 9. Wireless communication connection.
  • the face recognition device 62 of the gate device 6 includes: a first camera module 621 for real-time collection of the user's face image; a first display module 622 for real-time display of the face image; a matching module 623, configured to process the face image according to a preset image algorithm to obtain a second face feature value, and match the first face feature value with the second face feature value according to a preset matching rule;
  • Displaying the user's face image collected in real time by the first camera module 621 through the first display module 622 allows the user to quickly locate the collection area of the first camera module 621 by observing the displayed image, which is convenient for the first camera module 621 to better compare The user's facial image is collected, which shortens the collection time of the gate device 6 and improves the traffic efficiency.
  • the face recognition device 62 in this embodiment further includes: a data storage module 624, configured to store a face image, and when the face image data collected in real time is greater than a preset value, it is cleared by the processor
  • the previously cached data can reduce the storage space occupied by the face images collected in real time, reduce the manufacturing cost of the gate device 6 and its workload, and can better cope with the situation of large passenger flow.
  • the data storage module 624 in this embodiment is also used to store the first facial feature value and the second facial feature value.
  • the matching module 623 When the matching module 623 is working, the data storage module 624 stores the first facial feature value. The data of one facial feature value and the second facial feature value are matched, and if the matching is successful, an instruction signal is sent to the control device 63.
  • control device 63 includes:
  • the data analysis module 631 is configured to determine whether the current entry and exit data includes entry information according to the entry and exit data obtained from the terminal 9 after responding to an instruction after the face recognition device 62 is successfully matched;
  • the gate device channel opening module 632 is used to open the gate device channel and send to the terminal 9 when the data analysis module 631 determines that the in and out data does not include inbound information, and the current gate device channel is the inbound channel Inbound information, update the inbound and outbound data with the inbound information.
  • control device 63 includes:
  • the data analysis module 631 is configured to respond to the instruction after the face recognition device 62 is successfully matched, and determine whether the current entry and exit data includes entry information according to the entry and exit data obtained from the terminal 9, for example, through the first
  • the Bluetooth module 611 obtains the station entry and exit data transmitted by the terminal 9 and analyzes the entry and exit data to determine whether the current entry and exit data includes the station entry information.
  • the gate device channel opening module 632 is used to open the gate device channel and send it to the terminal 9 when the data analysis module 631 determines that the inbound and outbound data includes inbound information, and the current gate device channel is the outbound channel Station information, update inbound and outbound data with outbound information.
  • control device 63 in this embodiment may be an industrial computer.
  • the user's entry and exit data is obtained through the first Bluetooth module 611 in the wireless transmission device 61, and the data
  • the analysis module 631 judges and analyzes the entry and exit data.
  • the gate device 6 after the gate device 6 successfully matches the acquired first facial feature value and the second facial feature value, it can judge whether the user has entered the station or has not entered the station according to the obtained entry and exit data.
  • the corresponding gate device 6 can judge whether the user has entered the station according to the entry and exit data, and decide whether to open the gate device channel, so as to avoid the phenomenon of opening the gate device channel by mistake.
  • the inbound and outbound data when the inbound and outbound data is updated with outbound information or information, the inbound and outbound data can be merged and recorded in chronological order to update, or the inbound and outbound data can be updated by replacement. , And the replaced data is included in the historical data record, but this embodiment does not make specific limitations and excessive descriptions.
  • the data analysis module 631 is also used to determine the deduction fee based on the entry and exit data.
  • the gate device 6 can determine the deduction fee based on the entry and exit information recorded in the entry and exit data and the deduction rules.
  • the inbound and outbound data in this embodiment may include not only inbound information and outbound information, but also business data such as deduction rules, according to actual needs, and will not be elaborated here.
  • the face recognition device 62 in this embodiment further includes: a data cleaning module 625, which is used for when the accumulated storage capacity of the data of the first face feature value and the second face feature value exceeds a preset value. According to the recording time, the first face feature value and the second face feature value stored in advance are automatically deleted according to the recording time.
  • the data cleaning module 625 detects the first face feature accumulated and stored in the data storage module 624 After the storage capacity of the data of the second face feature value and the second face feature value exceeds the preset data amount, the first face feature value and the second face feature value stored in advance are automatically deleted according to the recording time.
  • the storage space of the gate device 6 can be effectively used, and there is no need to worry about the difference between the first facial feature value and the second facial feature value left by the user when passing through the gate device 6.
  • the data storage capacity is too large, so that the gate device 6 cannot be used normally, so as to meet the gate passing demand of a large passenger flow.
  • the preset amount of data in this embodiment can be determined according to factors such as the current storage space of the gate device 6, the working environment, and daily passenger flow.
  • the data cleaning module 625 can also be used to transfer the accumulated data storage capacity of the first facial feature value and the second facial feature value data to the server through the back-end transmission connected to the gate device 6 or the terminal 9 10. Realize the backup of the passing data.
  • the terminal 9 in this embodiment further includes: an image acquisition device 92, configured to acquire the facial image of the user; wherein, the network transmission module 911 is also configured to transmit the facial image to The server side 10.
  • the user can also obtain the user's face image through the terminal 9, such as through the second camera module 921, or from the local database of the terminal 9, and transmit the face image to the server 10 to facilitate the user to access the terminal 9. Control and simplify the process.
  • the user can register a user account on the APP of the terminal 9, and then obtain the user’s face image through the second camera module of the terminal 9 and upload it to the server 10, and the user can view the uploaded image through the second display module
  • the face image or the captured face image is checked, so that the uploaded image meets the specification requirements for feature extraction and is close to the standard face image.
  • the aforementioned network transmission module 911 may be a 4G module, a wifi module, or the like.
  • the user first uses the terminal 9 to perform the following steps S100 to S102:
  • Step S100 Obtain a user's face image
  • Step S101 Transmit the face image to the server 10;
  • Step S102 Receive the first facial feature value sent by the server 10, where the server 10 processes the facial image according to a preset image algorithm to obtain the first facial feature value;
  • step S103 When the user uses the terminal 9 to approach the gate device 6, the operation of the following step S103 is entered:
  • Step S103 Send the first facial feature value to the gate device 6.
  • the gate device 6 On the side of the gate device, the gate device 6 performs the following steps S1 to S5 in the process of mutual data interaction with the terminal 9:
  • Step S1 Obtain the first facial feature value of the user sent by the terminal 9;
  • Step S2 Obtain and process the user's facial image collected by the first camera module 621 to obtain a second facial feature value
  • Step S3 Match the first facial feature value and the second facial feature value according to a preset matching rule
  • Step S4 If the matching is successful, the gate device channel of the gate device 6 is opened.
  • the gate device channel continues to remain closed.
  • step 104 operations Before the gate device 6 performs the above step S4, the terminal 9 performs the following step 104 operations:
  • Step 104 Send entry and exit data to the gate device 6;
  • step S4 After the gate device 6 performs the following step 104 at the terminal 9, the operation of step S4 is performed:
  • the current gate device 6 is an inbound gate, that is, when the gate device channel is an inbound channel, the specific process of the gate device 6 performing step S4 is as follows:
  • Step S41 If the matching is successful, judge whether the current inbound and outbound data includes inbound information according to the inbound and outbound data obtained from the terminal 9;
  • Step S42 If it is determined that the entry and exit data does not include entry information, the gate device channel is opened, and the entry information is sent to the terminal 9 to update the entry and exit data with the entry information.
  • the step S4 performed by the gate device 6 is as follows:
  • Step S41' if the matching is successful, judge whether the current inbound and outbound data includes inbound information according to the inbound and outbound data obtained from the terminal 9;
  • Step S42' If it is judged that the entry and exit data includes entry information, the gate device channel is opened, and the exit information is sent to the terminal 9 to update the entry and exit data with the exit information.
  • the terminal 9 When the terminal 9 is carried by the user and passes through the gate device channel of the inbound gate, it performs the following operations after step 105:
  • Step 105 Receive the inbound information sent by the gate device 6, and update the inbound and outbound data with the inbound information;
  • the terminal 9 When the terminal 9 is carried by the user and passes through the gate device channel of the outbound gate, it performs the following operations after step 106:
  • Step 106 Receive the outbound information sent by the gate device 6, and update the inbound and outbound data with the outbound information.
  • the gate device 6 of the system of this embodiment can also refer to the foregoing Embodiments 1 to 2 and Embodiments 5 to 6, and the terminal 9 of the system of this embodiment can also refer to the foregoing Embodiments 3 to 4 and Embodiments 7 to 6. 8. Its specific structure and working principle will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Collating Specific Patterns (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种闸机设备的控制方法、终端、闸机设备及系统,可方便且快速地打开闸机设备通道。该控制方法包括以下步骤:获取终端发送的用户的第一人脸特征值(S1);获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值(S2);根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配(S3);若匹配成功,则打开闸机设备的闸机设备通道(S4)。

Description

闸机设备的控制方法、终端、闸机设备及系统 技术领域
本发明涉及一种闸机设备,尤其涉及一种闸机设备的控制方法、终端、闸机设备及系统。
背景技术
目前,在地铁、铁路客运站或写字楼等公共场所,通常需要通过闸机设备进行身份验证才能通行。
现有的闸机设备大都是基于刷卡操作来实现对用户的身份验证,然而,在如地铁、高铁等客流量较大的场所,用户采用刷卡操作通过闸机设备的闸机设备通道时仍然易出现丢卡的现象,并且用户也时常忘记带卡,以致于无法及时的刷卡进站或出站,造成了用户的不便。
尽管目前已有部分闸机设备采用了人脸识别的方式控制闸机设备的通行,然而基于此方式,需要闸机设备联网,以通过闸机设备上的摄像头采集的图像传输至互联网服务器上,并通过图像认证后控制闸机设备的通行。
而由于网络易出现延迟打开的现象,因此造成闸机设备易出现无法正常开启、延迟打开等故障,并且,该闸机设备在应对大客流量的情形时,闸机设备易出现瘫痪,造成交通拥堵的现象,因此无法大规模应用。
发明内容
本发明所要的技术问题是如何使得用户在无须刷卡的情况下,方便且快速的打开闸机设备通道。
本发明的目的在于提供一种闸机设备的控制方法、终端、闸机设备及系统,可以使得用户在无须刷卡的情况下,方便且快速的打开闸机设备通道。
为了实现上述目的,本发明提出了一种闸机设备的控制方法,包括以下步骤:
获取终端发送的用户的第一人脸特征值;
获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值;
根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;
若匹配成功,则打开闸机设备的闸机设备通道。
进一步,作为优选地,获取终端发送的用户的第一人脸特征值的步骤包括:
与终端建立蓝牙无线通信连接;通过蓝牙无线通信信道接收第一人脸特征值。
进一步,作为优选地,获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值的步骤包括:获取第一摄像模块实时采集的用户的人脸图像;通过第一显示模块实时显示所述人脸图像;根据预设的图像算法对所述人脸图像进行处理,以得到第二人脸特征值;当实时采集的所述人脸图像的数据的存储容量大于预设值时,清空在先缓存的数据。
进一步,作为优选地,若匹配成功,则打开闸机设备的闸机设备通道的步骤包括:若匹配成功,则根据从所述终端获取的进出站数据判断当前所述进出站数据是否包括进站信息;若判断出所述进出站数据未包括所述进站信息,且当前闸机设备通道为进站通道,则打开闸机设备通道,并向所述终端发送进站信息,以所述进站信息更新所述进出站数据;若判断出所述进出站数据包括所 述进站信息,且当前闸机设备通道为出站通道,则打开闸机设备通道,并向所述终端发送出站信息,以所述出站信息更新所述进出站数据。
进一步,作为优选地,若匹配成功,则打开闸机设备的闸机设备通道的步骤后包括:当累计获取的所述第一人脸特征值和所述第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的所述第一人脸特征值和所述第二人脸特征值。
本申请还提供了一种闸机设备的控制方法,包括以下步骤:
接收服务器端发送的第一人脸特征值,其中,所述服务器端根据预设的图像算法对用户的人脸图像处理得到所述第一人脸特征值;
将所述第一人脸特征值发送给所述闸机设备。
进一步,作为优选地,接收所述服务器端发送的第一人脸特征值的步骤前包括:获取用户的人脸图像;将所述人脸图像传输至服务器端。
进一步,作为优选地,将所述第一人脸特征值发送给所述闸机设备的步骤包括:与所述闸机设备建立蓝牙无线通信连接;通过蓝牙无线通信信道向所述闸机设备发送所述第一人脸特征值。
进一步,作为优选地,还包括:向所述闸机设备发送进出站数据;接收所述闸机设备发送的进站信息,以所述进站信息更新所述进出站数据;接收所述闸机设备发送的出站信息,以所述出站信息更新所述进出站数据。
本申请还提供了一种闸机设备,包括:
无线传输装置,用于获取终端发送的用户的第一人脸特征值;
人脸识别装置,用于获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值,并根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;
控制装置,用于响应所述人脸识别装置匹配成功后的指示,打开闸机设备的闸机设备通道。
进一步,作为优选地,所述无线传输装置包括:第一蓝牙模块,所述蓝牙模块用于与终端建立蓝牙无线通信连接,并通过蓝牙无线通信信道接收第一人脸特征值。
进一步,作为优选地,所述人脸识别装置包括:第一摄像模块,用于实时采集的用户的人脸图像;第一显示模块,用于实时显示所述人脸图像;匹配模块,用于根据预设的图像算法对所述人脸图像进行处理,以得到第二人脸特征值,并根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;数据存储模块,用于存储所述人脸图像,并当所述实时采集的人脸图像的数据大于预设值时,通过所述处理器清空在先缓存的数据。
进一步,作为优选地,所述控制装置包括:数据分析模块,用于响应所述人脸识别装置匹配成功后的指示后,根据从所述终端获取的进出站数据判断当前所述进出站数据是否包括进站信息;闸机设备通道开启模块,用于:在所述数据分析模块判断出所述进出站数据未包括所述进站信息,且当前闸机设备通道为进站通道时,打开闸机设备通道,并向所述终端发送进站信息,以所述进站信息更新所述进出站数据;在所述数据分析模块判断出所述进出站数据包括所述进站信息,且当前闸机设备通道为出站通道时,打开闸机设备通道,并向所述终端发送出站信息,以所述出站信息更新所述进出站数据。
进一步,作为优选地,所述人脸识别装置还包括:数据清理模块,用于当累计获取的所述第一人脸特征值和所述第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的所述第一人脸特征值和所述第二人脸特征值。
本申请还提供了一种终端,包括:无线通讯装置,用于接收所述服务器端发送的第一人脸特征值,以及将所述第一人脸特征值发送给所述闸机设备,其中,服务器端根据预设的图像算法对获取的用户的人脸图像处理得到所述第一人脸特征值。
进一步,作为优选地,所述无线通讯装置包括:网络传输模块,用于接收所述服务器端发送的第一人脸特征值;第二蓝牙模块,用于与所述闸机设备建立蓝牙无线通信连接,并通过蓝牙无线通信信道向所述闸机设备发送所述第一人脸特征值。
进一步,作为优选地,还包括:图像采集装置,用于获取用户的所述人脸图像;其中,所述网络传输模块还用于将所述人脸图像传输至所述服务器端。
进一步,作为优选地,所述第二蓝牙模块还用于:向所述闸机设备发送进出站数据;接收所述闸机设备发送的进站信息,以所述进站信息更新所述进出站数据;接收所述闸机设备发送的出站信息,以所述出站信息更新所述进出站数据。
本申请还提供了一种闸机设备通行控制系统,包括:如上述闸机设备和终端,所述终端用于打开所述闸机设备的闸机设备通道。
与现有技术相比,本发明的有益效果主要体现在:本申请可以使得用户在无须刷卡的情况下,方便且快速的打开闸机设备通道。
附图说明
图1为本发明一实施例中的闸机设备的控制方法的流程图;
图2为本发明二实施例中闸机设备的控制方法的流程图;
图3为本发明二实施例中步骤S1的流程图;
图4为本发明二实施例中步骤S2的流程图;
图5为本发明二实施例中步骤S4的流程图;
图6为本发明二实施例中步骤S4的又一流程图;
图7为本发明三实施例中闸机设备的控制方法的流程图;
图8为本发明四实施例中闸机设备的控制方法的流程图;
图9为本发明四实施例中步骤S103的流程图;
图10为本发明三实施例中步骤S104~步骤106的流程图;
图11为本发明五实施例中闸机设备的电路模块框图;
图12为本发明六实施例中闸机设备的电路模块框图;
图13为本发明七实施例中终端的电路模块框图;
图14为本发明八实施例中终端的电路模块框图;
图15为本发明七实施例中系统的电路模块框图;
图16为本发明九实施例中系统的电路模块框图。
附图标记:闸机设备6、无线传输装置61、第一蓝牙模块611、人脸识别装置62、第一摄像模块621、第一显示模块622、匹配模块623、数据存储模块624、数据清理模块625、控制装置63、数据分析模块631、闸机设备通道开启模块632、终端9、无线通讯装置91、网络传输模块911、第二蓝牙模块912、图像采集装置92、第二摄像模块921、第二显示模块922。
具体实施方式
下面将结合示意图对本发明的闸机设备的控制方法及系统进行更详细的描述,其中表示了本发明的优选实施例,应该理解本领域技术人员可以修改在此 描述的本发明,而仍然实现本发明的有利效果。因此,下列描述应当被理解为对于本领域技术人员的广泛知道,而并不作为对本发明的限制。
本发明实施例公开的技术方案应用于闸机设备和终端。该终端可以为手机、平板电脑、智能穿戴设备、个人数字助理、销售移动设备以及其他能够被用户握持的电子设备,并且该终端能够记录终端的运动数据,上传用户的人脸图像或采集用户的人脸图像等。智能穿戴设备可以为腕带式智能穿戴设备,也可以为能够佩戴于用户的上肢的智能穿戴设备,例如能够佩戴在用户手指的智能穿戴设备。
实施例1
请参考图1,在本实施例中,提供了一种闸机设备的控制方法,控制方法用于闸机设备,其包括以下步骤:
步骤S1:获取终端发送的用户的第一人脸特征值;
步骤S2:获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值;
步骤S3:根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
步骤S4:若匹配成功,则打开闸机设备的闸机设备通道。
具体地说,用户通过终端,例如手机上传或通过终端上的第二摄像模块获取的用户人脸图像上传至互联网上的服务器端,通过上述服务器端根据预设的图像算法,例如百度图像算法,360图像算法,谷歌图像算法等对人脸图像处理得到第一人脸特征值,然后,通过终端发送至闸机设备。
闸机设备可以在获取第一摄像模块采集的用户的人脸图像后,通过预设的图像算法,如百度图像算法,360图像算法等进行线下处理得到第二人脸特征值, 然后根据预设的匹配算法,对第一人脸特征值和第二人脸特征值进行匹配,若匹配成功,则闸机设备中用于开启和关闭闸机设备通道的闸机门可收到开启的指示信号,以打开闸机设备通道,便于乘客的通行。若匹配不成功,闸机设备通道则继续保持关闭状态。其中,步骤S1和S2中的图像算法优选采用相同的算法,可以实现较高的匹配度,规避了因图像算法自身的识别精度问题造成无法匹配识别的现象,提升了本申请中闸机设备及其控制方法的可靠性。
通过上述步骤可知,本申请的控制方法使得闸机设备无需将采集的图像通过网络传输到互联网,即通过线下的脱机处理获取实时的第二人脸特征值,从而当闸机设备获取终端发送的第一人脸特征值,并通过第二人脸特征值和第一人脸特征值的匹配,即可方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备在人脸图像校对过程中,因网络延时可能导致闸机设备瘫痪或延迟打开的现象。并且在使用过程中,闸机设备无需预存用户的图像,降低了闸机设备的工作负荷,简化了操作,缩短了闸机设备的图像认证时间,提高了闸机设备的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
详细地,本实施例中的步骤S1也可是在步骤S2后,步骤S3之前,因此,本实施例对于闸机设备获取第一人脸图像特征和第二人脸图像特征的先后顺序不作具体的限定和说明。
此外,值得一提的是,第一摄像模块可以是闸机设备自带的第一摄像模块,也可以是单独设置的,本实施例对此就不作具体的限定和阐述。
实施例2
请参考图2,在本实施例中,提供了一种闸机设备的控制方法,控制方法用 于闸机设备,其包括以下步骤:
步骤S1:获取终端发送的用户的第一人脸特征值;
步骤S2:获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值;
步骤S3:根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
步骤S4:若匹配成功,则打开闸机设备的闸机设备通道。
具体地说,用户通过终端,例如手机上传或通过终端上的第二摄像模块获取的用户人脸图像上传至互联网上的服务器端,通过上述服务器端根据预设的图像算法,例如百度图像算法,360图像算法,谷歌图像算法等对人脸图像处理得到第一人脸特征值,然后,通过终端发送至闸机设备。
闸机设备可以在获取第一摄像模块采集的用户的人脸图像后,通过预设的图像算法,如百度图像算法,360图像算法等进行线下处理得到第二人脸特征值,然后根据预设的匹配算法,对第一人脸特征值和第二人脸特征值进行匹配,若匹配成功,则闸机设备中用于开启和关闭闸机设备通道的闸机门可收到开启的指示信号,以打开闸机设备通道,便于乘客的通行。若匹配不成功,闸机设备通道则继续保持关闭状态。其中,步骤S1和S2中的图像算法优选采用相同的算法,可以实现较高的匹配度,规避了因图像算法自身的识别精度问题造成无法匹配识别的现象,提升了本申请中闸机设备及其控制方法的可靠性。
通过上述步骤可知,本申请的控制方法使得闸机设备无需将采集的图像通过网络传输到互联网,即通过线下的脱机处理获取实时的第二人脸特征值,从而当闸机设备获取终端发送的第一人脸特征值,并通过第二人脸特征值和第一人脸特征值的匹配,即可方便且快速的打开闸机设备通道,因此克服了现有技 术中闸机设备在人脸图像校对过程中,因网络延时可能导致闸机设备瘫痪或延迟打开的现象。并且在使用过程中,闸机设备无需预存用户的图像,降低了闸机设备的工作负荷,能够应对大客流量的工作环境,简化了操作,缩短了闸机设备的图像认证时间,提高了闸机设备的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
详细地,如图3和图4所示,本实施例中的步骤S1也可是在步骤S2后,步骤S3之前,因此,本实施例对于闸机设备获取第一人脸图像特征和第二人脸图像特征的先后顺序不作具体的限定和说明。
具体地,上述步骤S1可以包括:
步骤S11:与终端建立蓝牙无线通信连接;
步骤S12:通过蓝牙无线通信信道接收第一人脸特征值。
闸机设备通过蓝牙无线通信连接终端并接收第一人脸特征值,利用了蓝牙传输速度快且传输量大的优势,可保证人脸特征值这种数据量较大的数据极速传输至闸机设备中,避免了延时的现象,保证后续步骤的顺利进行,缩短闸机设备的过闸时间。
显然,本实施例中闸机设备还可以通过其他无线通信连接方式,如红牙无线通信、WIFI等无线通信连接实现闸机设备与终端之间的无线通信连接。
进一步地,作为优选地,如图4所示,上述步骤S2中可以包括:
步骤S21:获取第一摄像模块实时采集的用户的人脸图像;
步骤S22:通过第一显示模块实时显示人脸图像;
步骤S23:根据预设的图像算法对人脸图像进行处理,以得到第二人脸特征值。
通过第一显示模块显示第一摄像模块实时采集的用户人脸图像可以让用户观察显示的图像,快速的位于第一摄像模块的采集区域,便于第一摄像模块较好的对用户的面部图像进行采集,缩短闸机设备的采集时间,提高通行效率。
进一步地,上述步骤S2还包括:
步骤S24:当实时采集的人脸图像的数据的存储容量大于预设值时,清空在先缓存的数据。
由上可知,通过上述步骤可降低实时采集的人脸图像所占据的存储空间,降低闸机设备的制造成本及其工作负荷,可以较好的应对大客流量的情形。
此外,需要说明的,上述步骤S22也可以是本实施例的步骤S2的非必要步骤,例如通过让用户站于指定的采集区域,无须通过第一显示模块进行显示。
上述步骤S24也可以是步骤S21后,步骤S23之前,因此对于步骤S21~步骤S24之间的顺序不作具体的限定和过多的阐述。
进一步作为优选地,如图5所示,当前闸机设备通道为进站通道时,上述步骤S4可以包括:
步骤S41:若匹配成功,则根据从终端获取的进出站数据判断当前进出站数据是否包括进站信息;
步骤S42:若判断出进出站数据未包括进站信息,则打开闸机设备通道,并向终端发送进站信息,以进站信息更新进出站数据。
进一步作为优选地,如图6所示,当前闸机设备通道为出站通道时,上述步骤S4可以包括:
步骤S41’:若匹配成功,则根据从终端获取的进出站数据判断当前进出站数据是否包括进站信息;
步骤S42’:若判断出进出站数据包括进站信息,则打开闸机设备通道,并 向终端发送出站信息,以出站信息更新进出站数据。
综上可知:当闸机设备在获取的第一人脸特征值和第二人脸特征值匹配成功后,可以根据获取的进出站数据来判断,用户是否已进站或未进站,因而使得相应的闸机设备可根据进出站数据判断用户是否已进站,决定是否打开闸机设备通道,以避免错误打开闸机设备通道的现象产生。
在此,值得一提的是,当以出站信息或进行信息更新进出站数据的过程中,可以是以时间顺序合并记录入进出站数据进行更新,也可以是替换的方式进行更新进出站数据,并在替换的数据例入历史数据记录中,而本实施例对此不作具体的限定和过多的说明。
此外,需要说明的是,在步骤S41后还包括以下步骤:
根据进出站数据,确定扣款费用。
由此可知,闸机设备可以通过进出站数据中记录的进站和出站信息及扣款规则来确定扣款费用。在此,需要说明的是,本实施例中的进出站数据可以根据实际需要不仅可包括进站信息、出站信息,还可包括扣款规则等业务数据,在此就不作过多的阐述。
进一步地,本实施例的步骤S4后还包括:
步骤S5:当累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的第一人脸特征值和第二人脸特征值。
由此可知,通过该步骤可以使得闸机设备的存储空间得到有效利用,无须担心用户在过闸机设备时,产生的数据的存储容量过大而使得闸机设备无法正常运用,以满足大客流量的过闸需求。
其中,本实施例中的预设的数据量,例如存储的数据条数等可以根据当前闸 机设备的存储空间、工作环境、以及日客流量等因素来决定。
此外,步骤S6中累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量还可以通过与闸机设备连接的后端传输或终端传输至服务器端,实现过闸数据的备份。
实施例3
请参考图7,在本实施例中,提供了一种闸机设备的控制方法,控制方法用于终端,其包括以下步骤:
步骤S102:接收服务器端发送的第一人脸特征值,其中,服务器端根据预设的图像算法对人脸图像处理得到第一人脸特征值;
步骤S103:将第一人脸特征值发送给闸机设备。
具体地说,在本申请中,用户通过终端,例如智能腕表、手机等控制闸机设备的闸机设备通道的打开,可以通过本地数据库上传用户的人脸图像至服务器端,或调取已存储在服务器端的用户的人脸图像,使得服务器端根据预设的图像算法,例如百度图像算法,360图像算法,谷歌图像算法等对人脸图像处理得到第一人脸特征值,然后发送至终端上。
当用户在需要通过闸机设备时,可通过终端将第一人脸特征值发送至闸机设备中,以用于打开闸机设备的闸机设备通道。
本申请的控制方法使得用户使用可接收第一人脸特征值的终端,即可通过其将第一人脸特征值发送给闸机设备,以方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备在人脸图像校对过程中,因网络延时可能导致闸机设备瘫痪或延迟打开的现象。并且在使用过程中,闸机设备无需预存用户的图像,降低了闸机设备的工作负荷,能够应对大客流量的工作环境,简化了操 作,缩短了闸机设备的图像认证时间,提高了闸机设备的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
需要说明的是,本实施例可通过终端中的APP注册用户,然后通过从服务器端获取注册用户人脸图像对应的第一人脸特征值,其中,该第一人脸特征值可以是用户通过其他的终端,例如手机,电脑等采集的用户人脸图像,并通过本地数据库上传用户的人脸图像至服务器端,或者调取已存储在服务器端的用户的人脸图像,经由服务器端进行图像处理后得到第一人脸特征值。
实施例4
请参考图8,在本实施例中,提供了一种闸机设备的控制方法,控制方法用于终端,其包括以下步骤:
步骤S102:接收服务器端发送的第一人脸特征值,其中,服务器端根据预设的图像算法对人脸图像处理得到第一人脸特征值;
步骤S103:将第一人脸特征值发送给闸机设备。
具体地说,在本申请中,用户通过终端,例如智能腕表、手机等控制闸机设备的闸机设备通道的打开,可以通过本地数据库上传用户的人脸图像至服务器端,或调取已存储在服务器端的用户的人脸图像,使得服务器端根据预设的图像算法,例如百度图像算法,360图像算法,谷歌图像算法等对人脸图像处理得到第一人脸特征值,然后发送至终端上。
当用户在需要通过闸机设备时,可通过终端将第一人脸特征值发送至闸机设备中,以用于打开闸机设备的闸机设备通道。
本申请的控制方法使得用户使用可接收第一人脸特征值的终端,即可通过 其将第一人脸特征值发送给闸机设备,以方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备在人脸图像校对过程中,因网络延时可能导致闸机设备瘫痪或延迟打开的现象。并且在使用过程中,闸机设备无需预存用户的图像,降低了闸机设备的工作负荷,能够应对大客流量的工作环境,简化了操作,缩短了闸机设备的图像认证时间,提高了闸机设备的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
进一步作为优选地,本实施例中的,请参考图8,在步骤S102前包括:
步骤S100:获取用户的人脸图像;
步骤S101:将所述人脸图像传输至服务器端。
由上可知,在本申请中,也可通过终端获取用户的人脸图像,如通过第二摄像模块获取,或从终端的本地数据库获取,并将人脸图像传输至服务器端,以方便用户对终端的操控,简化流程。
具体地说,用户可通过在终端的APP上注册用户账号,然后通过APP上传本地用户的人脸图像至服务器端,或通过终端的第二摄像头模块获取用户的人脸图像进行上传至服务器端,并且用户可通过第二显示模块对上传的人脸图像或拍摄的人脸图像进行查验,以使得上传的图像符合特征提取的规格要求,接近标准人脸图像。在此,需要说明的是,本实施例中的终端的APP上可注册多个用户账户,并上传对应用户的人脸图像,以在切换用户账号后,通过同一终端实现不同用户的刷脸过闸。
具体地,请参考图9,上述步骤S103包括:
步骤S1031:与闸机设备建立蓝牙无线通信连接;
步骤S1032:通过蓝牙无线通信信道向闸机设备发送第一人脸特征值。
通过上述方式使得本申请的终端可通过蓝牙无线通信连接闸机设备,发送第一人脸特征值,利用了蓝牙传输速度快且传输量大的优势,可保证人脸特征值这种数据量较大的数据极速传输至闸机设备中,避免了延时的现象,保证后续步骤的顺利进行,缩短闸机设备的过闸时间。
进一步地,请参考图10,本实施例中的控制方法还包括:
步骤104:向闸机设备发送进出站数据;
步骤105:接收闸机设备发送的进站信息,以进站信息更新进出站数据;
步骤106:接收闸机设备发送的出站信息,以出站信息更新进出站数据;
由此可知:当通过终端向闸机设备发送进出站数据,以及接收进站信息和出站信息来更新进出站数据,即通过终端闸机设备之间的数据传输,及数据的更新,可以较好的便于闸机设备根据从终端获取的进出站数据来判断,用户是否已进站或未进站,因而使得相应的闸机设备可根据进出站数据判断用户是否已进站,决定是否打开闸机设备通道,以避免错误打开闸机设备通道的现象产生。
在此,值得一提的是,当以出站信息或进行信息更新进出站数据的过程中,可以是以时间顺序合并记录入进出站数据进行更新,也可以是替换的方式进行更新进出站数据,并在替换的数据例入历史数据记录中,而本实施例对此不作具体的限定和过多的说明。
需要说明的是,上述步骤S104~S106可以是在步骤S101之前或步骤S103之后,或同步进行,而本实施例对于上述步骤S104~S106与步骤S101~S103之间的顺序不作具体的限定和说明。
实施例5
本实施例提供了一种闸机设备,请参考图11,包括:
无线传输装置61,用于获取终端9发送的用户的第一人脸特征值;
人脸识别装置62,用于获取第一摄像模块621采集的用户的人脸图像并进行处理,以得到第二人脸特征值,并根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
控制装置63,用于响应人脸识别装置62匹配成功后的指示,打开闸机设备6的闸机设备通道。
通过上述内容可知,本申请的闸机设备6无需将采集的图像通过网络传输到互联网,即通过线下的脱机处理获取实时的第二人脸特征值,从而当闸机设备6获取终端9发送的第一人脸特征值,并通过第二人脸特征值和第一人脸特征值的匹配,即可方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备6在人脸图像校对过程中,因网络延时可能导致闸机设备6瘫痪或延迟打开的现象。并且在使用过程中,闸机设备6无需预存用户的图像,降低了闸机设备6的工作负荷,简化了操作,缩短了闸机设备6的图像认证时间,提高了闸机设备6的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
实施例6
本实施例提供了一种闸机设备,请参考图12,包括:
无线传输装置61,用于获取终端9发送的用户的第一人脸特征值;
人脸识别装置62,用于获取第一摄像模块621采集的用户的人脸图像并进行处理,以得到第二人脸特征值,并根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
控制装置63,用于响应人脸识别装置62匹配成功后的指示,打开闸机设备6的闸机设备通道。
通过上述内容可知,本申请的闸机设备6无需将采集的图像通过网络传输到互联网,即通过线下的脱机处理获取实时的第二人脸特征值,从而当闸机设备6获取终端9发送的第一人脸特征值,并通过第二人脸特征值和第一人脸特征值的匹配,即可方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备6在人脸图像校对过程中,因网络延时可能导致闸机设备6瘫痪或延迟打开的现象。并且在使用过程中,闸机设备6无需预存用户的图像,降低了闸机设备6的工作负荷,简化了操作,缩短了闸机设备6的图像认证时间,提高了闸机设备6的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
具体地,本实施例中的无线传输装置61包括:第一蓝牙模块611,蓝牙模块用于与终端9建立蓝牙无线通信连接,并通过蓝牙无线通信信道接收第一人脸特征值。
由此可知,闸机设备6通过蓝牙无线通信连接终端9并接收第一人脸特征值,利用了蓝牙传输速度快且传输量大的优势,可保证人脸特征值这种数据量较大的数据极速传输至闸机设备6中,避免了延时的现象,保证后续步骤的顺利进行,缩短闸机设备6的过闸时间。
显然,本实施例中无线传输装置61还可以为其他的无线通信装置,如红牙无线通信模块、WIFI模块等无线通信模块,以实现闸机设备6与终端9之间的无线通信连接。
进一步作为优选地,本实施例中的人脸识别装置62包括:第一摄像模块621,用于实时采集的用户的人脸图像;第一显示模块622,用于实时显示人脸图像; 匹配模块623,用于根据预设的图像算法对人脸图像进行处理,以得到第二人脸特征值,并根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配。
通过第一显示模块622显示第一摄像模块621实时采集的用户人脸图像可以让用户观察显示的图像,快速的位于第一摄像模块621的采集区域,便于第一摄像模块621较好的对用户的面部图像进行采集,缩短闸机设备6的采集时间,提高通行效率。
进一步作为优选地,本实施例中的人脸识别装置62还包括:数据存储模块624,用于存储人脸图像,并当实时采集的人脸图像的数据大于预设值时,通过处理器清空在先缓存的数据,以降低实时采集的人脸图像所占据的存储空间,降低闸机设备6的制造成本及其工作负荷,可以较好的应对大客流量的情形。
其中,需要说明的是,本实施例中的数据存储模块624还用于存储第一人脸特征值和第二人脸特征值,当匹配模块623工作时,调取数据存储模块624存储的第一人脸特征值和第二人脸特征值的数据,并进行匹配,若匹配成功,则向控制装置63发送指示信号。
进一步作为优选地,当闸机设备6为进站闸机设备6时,控制装置63包括:
数据分析模块631,用于响应人脸识别装置62匹配成功后的指示后,根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息;
闸机设备通道开启模块632,用于在数据分析模块631判断出进出站数据未包括进站信息,且当前闸机设备通道为进站通道时,打开闸机设备通道,并向终端9发送进站信息,以进站信息更新进出站数据。
当闸机设备6为出站闸机设备6时,控制装置63包括:
数据分析模块631,用于响应人脸识别装置62匹配成功后的指示后,根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息;
闸机设备通道开启模块632,用于在数据分析模块631判断出进出站数据包括进站信息,且当前闸机设备通道为出站通道时,打开闸机设备通道,并向终端9发送出站信息,以出站信息更新进出站数据。
例如,本实施例中的控制装置63为工控机,在接收到人脸识别装置62发送的指示信号后,通过无线传输装置61获取用户的进出站数据,并通过数据分析模块631对进出站数据进行判断分析。
综上可知:当闸机设备6在获取的第一人脸特征值和第二人脸特征值匹配成功后,可以根据获取的进出站数据来判断,用户是否已进站或未进站,因而使得相应的闸机设备6可根据进出站数据判断用户是否已进站,决定是否打开闸机设备通道,以避免错误打开闸机设备通道的现象产生。
在此,值得一提的是,当以出站信息或进行信息更新进出站数据的过程中,可以是以时间顺序合并记录入进出站数据进行更新,也可以是替换的方式进行更新进出站数据,并在替换的数据例入历史数据记录中,而本实施例对此不作具体的限定和过多的说明。
此外,需要说明的是,数据分析模块631还用于根据进出站数据,确定扣款费用。
由此可知,闸机设备6可以通过进出站数据中记录的进站和出站信息及扣款规则来确定扣款费用。在此,需要说明的是,本实施例中的进出站数据可以根据实际需要不仅可包括进站信息、出站信息,还可包括扣款规则等业务数据,在此就不作过多的阐述。
进一步作为优选地,本实施例中的人脸识别装置62还包括:数据清理模块625,用于当累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的第一人脸特征值和第二 人脸特征值。
由此可知,通过该数据清理模块625可以使得闸机设备6的存储空间得到有效利用,无须担心用户在过闸机设备6时留下的第一人脸特征值和第二人脸特征值的数据的存储容量过大而使得闸机设备6无法正常运用,以满足大客流量的过闸需求。
其中,本实施例中的预设的数据量,例如存储的数据条数等可以根据当前闸机设备6的存储空间、工作环境、以及日客流量等因素来决定。
此外,该数据清理模块625还可用于将累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量通过与闸机设备6连接的后端传输或终端9传输至服务器端10,实现过闸数据的备份。
实施例7
本实施例提供了一种终端,请参考图13,包括:
无线通讯装置91,用于接收服务器端10发送的第一人脸特征值,以及将所述第一人脸特征值发送给所述闸机设备6,其中,服务器端10根据预设的图像算法对人脸图像处理得到第一人脸特征值。
由上可知,由于本申请的终端9可接收第一人脸特征值,从而使得用户使用该终端9即可通过其将第一人脸特征值发送给闸机设备6,以方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备6在人脸图像校对过程中,因网络延时可能导致闸机设备6瘫痪或延迟打开的现象。并且在使用过程中,闸机设备6无需预存用户的图像,降低了闸机设备6的工作负荷,能够应对大客流量的工作环境,简化了操作,缩短了闸机设备6的图像认证时间,提高了闸机设备6的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外, 还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
需要说明的是,本实施例可通过终端9中的APP注册用户,然后通过从服务器端10获取注册用户人脸图像对应的第一人脸特征值,其中,该第一人脸特征值可以是用户通过其他的终端9,例如手机,电脑等采集的用户人脸图像,并通过本地数据库上传用户的人脸图像至服务器端10,或者调取已存储在服务器端10的用户的人脸图像,经由服务器端10进行图像处理后得到第一人脸特征值。在此,需要说明的是,本实施例中的终端的APP上可注册多个用户账户,并上传对应用户的人脸图像,以在切换用户账号后,通过同一终端实现不同用户的刷脸过闸。
实施例8
本实施例提供了一种终端,请参考图14,包括:
无线通讯装置91,用于接收服务器端10发送的第一人脸特征值,其中,服务器端10根据预设的图像算法对人脸图像处理得到第一人脸特征值,以将第一人脸特征值发送给闸机设备6。
由上可知,由于本申请的终端9可接收第一人脸特征值,从而使得用户使用该终端9即可通过其将第一人脸特征值发送给闸机设备6,以方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备6在人脸图像校对过程中,因网络延时可能导致闸机设备6瘫痪或延迟打开的现象。并且在使用过程中,闸机设备6无需预存用户的图像,降低了闸机设备6的工作负荷,能够应对大客流量的工作环境,简化了操作,缩短了闸机设备6的图像认证时间,提高了闸机设备6的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
进一步作为优选地,无线传输装置61包括:网络传输模块911,用于接收所述服务器端10发送的第一人脸特征值;第二蓝牙模块912,用于与闸机设备6建立蓝牙无线通信连接,并通过蓝牙无线通信信道向闸机设备6发送第一人脸特征值。以通过蓝牙无线通信连接闸机设备6,通过网络传输模块911从服务器端10获取的第一人脸特征发送至闸机设备6中,利用了蓝牙传输速度快且传输量大的优势,可保证人脸特征值这种数据量较大的数据极速传输至闸机设备6中,避免了延时的现象,保证后续步骤的顺利进行,缩短闸机设备6的过闸时间。
进一步作为优选地,本实施例中的终端9还包括:图像采集装置92,用于获取用户的所述人脸图像;其中,所述网络传输模块911还用于将所述人脸图像传输至所述服务器端10。以使得用户也可通过终端9获取用户的人脸图像,如通过第二摄像模块921获取,或从终端9的本地数据库获取,并将人脸图像传输至服务器端10,以方便用户对终端9的操控,简化流程。
具体地说,用户可通过在终端9的APP上注册用户账号,然后通过APP上传本地用户的人脸图像至服务器端10,或通过终端9的第二摄像头模块获取用户的人脸图像进行上传至服务器端10,并且用户可通过第二显示模块对上传的人脸图像或拍摄的人脸图像进行查验,以使得上传的图像符合特征提取的规格要求,接近标准人脸图像。并且,上述网络传输模块911可以是4G模块、wifi模块等。在此,需要说明的是,本实施例中的终端的APP上可注册多个用户账户,并上传对应用户的人脸图像,以在切换用户账号后,通过同一终端实现不同用户的刷脸过闸。
进一步作为优选地,第二蓝牙模块912还用于:
向闸机设备6发送进出站数据;
接收闸机设备6发送的进站信息,以进站信息更新进出站数据;
接收闸机设备6发送的出站信息,以出站信息更新进出站数据。
由此可知:本申请的终端9还可以用于向闸机设备6发送进出站数据,以及接收进站信息和出站信息来更新进出站数据,即通过终端9闸机设备6之间的数据传输,及数据的更新,可以较好的便于闸机设备6根据从终端9获取的进出站数据来判断,用户是否已进站或未进站,因而使得相应的闸机设备6可根据进出站数据判断用户是否已进站,决定是否打开闸机设备通道,以避免错误打开闸机设备通道的现象产生。
在此,值得一提的是,当以出站信息或进行信息更新进出站数据的过程中,可以是以时间顺序合并记录入进出站数据进行更新,也可以是替换的方式进行更新进出站数据,并在替换的数据例入历史数据记录中,而本实施例对此不作具体的限定和过多的说明。
实施例9
本申请还提供了一种闸机设备通行控制系统,请参考图15和图16,其包括上述任意一实施例中的闸机设备和任意实施例中的终端,终端用于打开闸机设备的闸机设备通道。
通过上述实施例的内容可知,本申请的系统使得闸机设备6无需将采集的图像通过网络传输到互联网,即通过线下的脱机处理获取实时的第二人脸特征值,从而当闸机设备6获取终端9发送的第一人脸特征值,并通过第二人脸特征值和第一人脸特征值的匹配,即可方便且快速的打开闸机设备通道,因此克服了现有技术中闸机设备6在人脸图像校对过程中,因网络延时可能导致闸机设备6瘫痪或延迟打开的现象。并且在使用过程中,闸机设备6无需预存用户 的图像,降低了闸机设备6的工作负荷,能够应对大客流量的工作环境,简化了操作,缩短了闸机设备6的图像认证时间,提高了闸机设备6的工作效率,使得用户无须携带电子卡,方便了用户的出行。此外,还可杜绝因公交卡等卡片丢失后易产生盗刷而造成用户的损失的现象。
具体地说,请参考图15,本实施例的系统中的闸机设备6,包括:
无线传输装置61,用于获取终端9发送的用户的第一人脸特征值;
人脸识别装置62,用于获取第一摄像模块621采集的用户的人脸图像并进行处理,以得到第二人脸特征值,并根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
控制装置63,用于响应人脸识别装置62匹配成功后的指示,打开闸机设备6的闸机设备通道。
本实施例系统中的终端9包括:
无线通讯装置91,用于接收服务器端10发送的第一人脸特征值,其中,服务器端10根据预设的图像算法对用户的人脸图像处理得到第一人脸特征值,以将第一人脸特征值发送给闸机设备6。
本申请的终端9可通过无线通讯装置91接收服务器端10发送的第一人脸特征值,而闸机设备6则可通过无线传输装置61和无线通讯装置91之间的数据传输,接收终端9发送的第一人脸特征值,并通过人脸识别装置62对第一摄像模块621采集的用户的人脸图像进行处理得到第二人脸特征值,以在第二人脸特征值和第一人脸特征值匹配后,即可向控制装置63发送指示,以方便且快速的打开闸机设备通道。
进一步作为优选地,闸机设备6的无线传输装置61包括:第一蓝牙模块611,蓝牙模块用于与终端9建立蓝牙无线通信连接,并通过蓝牙无线通信信道接收 第一人脸特征值。
如图15所示,终端9的无线通信装置包括:网络传输模块911,用于接收所述服务器端10发送的第一人脸特征值;第二蓝牙模块912,用于与闸机设备6的第一蓝牙模块611建立蓝牙无线通信连接,并通过蓝牙无线通信信道向闸机设备6发送第一人脸特征值和进出站数据等数据信息。
由此可知,本系统的闸机设备6和终端9可通过蓝牙无线通信连接,传输第一人脸特征值,可保证人脸特征值这种数据量较大的数据极速传输至闸机设备6中,避免了延时,保证后续步骤的顺利进行,缩短闸机设备6的过闸时间。显然,本实施例中无线传输装置61还可以为其他的无线通信装置,如红牙无线通信模块、WIFI模块等无线通信模块,不限于蓝牙模块,以实现闸机设备6与终端9之间的无线通信连接。
进一步作为优选地,闸机设备6的人脸识别装置62包括:第一摄像模块621,用于实时采集的用户的人脸图像;第一显示模块622,用于实时显示人脸图像;匹配模块623,用于根据预设的图像算法对人脸图像进行处理,以得到第二人脸特征值,并根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
通过第一显示模块622显示第一摄像模块621实时采集的用户人脸图像可以让用户通过观察显示的图像,快速的位于第一摄像模块621的采集区域,便于第一摄像模块621较好的对用户的面部图像进行采集,缩短闸机设备6的采集时间,提高通行效率。
进一步作为优选地,本实施例中的人脸识别装置62还包括:数据存储模块624,用于存储人脸图像,并当实时采集的人脸图像的数据大于预设值时,通过处理器清空在先缓存的数据,以降低实时采集的人脸图像所占据的存储空间,降低闸机设备6的制造成本及其工作负荷,可以较好的应对大客流量的情形。
其中,需要说明的是,本实施例中的数据存储模块624还用于存储第一人脸特征值和第二人脸特征值,当匹配模块623工作时,调取数据存储模块624存储的第一人脸特征值和第二人脸特征值的数据,并进行匹配,若匹配成功,则向控制装置63发送指示信号。
进一步作为优选地,当闸机设备6为进站闸机设备6时,控制装置63包括:
数据分析模块631,用于响应人脸识别装置62匹配成功后的指示后,根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息;
闸机设备通道开启模块632,用于在数据分析模块631判断出进出站数据未包括进站信息,且当前闸机设备通道为进站通道时,打开闸机设备通道,并向终端9发送进站信息,以进站信息更新进出站数据。
当闸机设备6为出站闸机设备6时,控制装置63包括:
数据分析模块631,用于响应人脸识别装置62匹配成功后的指示后,根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息,例如通过图14中所示的第一蓝牙模块611获取终端9传送的进出站数据,并对进出站数据进行分析,以判断当前进出站数据是否包括进站信息。
闸机设备通道开启模块632,用于在数据分析模块631判断出进出站数据包括进站信息,且当前闸机设备通道为出站通道时,打开闸机设备通道,并向终端9发送出站信息,以出站信息更新进出站数据。
例如,本实施例的控制装置63可以为工控机,在接收到人脸识别装置62发送的指示信号后,通过无线传输装置61中的第一蓝牙模块611获取用户的进出站数据,并通过数据分析模块631对进出站数据进行判断分析。
综上可知:当闸机设备6在获取的第一人脸特征值和第二人脸特征值匹配成功后,可以根据获取的进出站数据来判断,用户是否已进站或未进站,因而 使得相应的闸机设备6可根据进出站数据判断用户是否已进站,决定是否打开闸机设备通道,以避免错误打开闸机设备通道的现象产生。
在此,值得一提的是,当以出站信息或进行信息更新进出站数据的过程中,可以是以时间顺序合并记录入进出站数据进行更新,也可以是替换的方式进行更新进出站数据,并在替换的数据例入历史数据记录中,而本实施例对此不作具体的限定和过多的说明。
此外,需要说明的是,数据分析模块631还用于根据进出站数据,确定扣款费用。
由此可知,闸机设备6可以通过进出站数据中记录的进站和出站信息及扣款规则来确定扣款费用。在此,需要说明的是,本实施例中的进出站数据可以根据实际需要不仅可包括进站信息、出站信息,还可包括扣款规则等业务数据,在此就不作过多的阐述。
进一步作为优选地,本实施例中的人脸识别装置62还包括:数据清理模块625,用于当累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的第一人脸特征值和第二人脸特征值,例如:数据清理模块625在检测到数据存储模块624中累计存储的第一人脸特征值和第二人脸特征值的数据的存储容量超过预设的数据量后,则根据记录时间自动删除在先存储的第一人脸特征值和第二人脸特征值。
由此可知,通过该数据清理模块625可以使得闸机设备6的存储空间得到有效利用,无须担心用户在过闸机设备6时留下的第一人脸特征值和第二人脸特征值的数据的存储容量过大而使得闸机设备6无法正常运用,以满足大客流量的过闸需求。
其中,本实施例中的预设的数据量,例如存储的数据条数等可以根据当前 闸机设备6的存储空间、工作环境、以及日客流量等因素来决定。
此外,该数据清理模块625还可用于将累计获取的第一人脸特征值和第二人脸特征值的数据的存储容量通过与闸机设备6连接的后端传输或终端9传输至服务器端10,实现过闸数据的备份。
进一步作为优选地,本实施例中的终端9还包括:图像采集装置92,用于获取用户的所述人脸图像;其中,所述网络传输模块911还用于将所述人脸图像传输至所述服务器端10。以使得用户也可通过终端9获取用户的人脸图像,如通过第二摄像模块921获取,或从终端9的本地数据库获取,并将人脸图像传输至服务器端10,以方便用户对终端9的操控,简化流程。
具体地说,用户可通过在终端9的APP上注册用户账号,然后通过终端9的第二摄像头模块获取用户的人脸图像进行上传至服务器端10,并且用户可通过第二显示模块对上传的人脸图像或拍摄的人脸图像进行查验,以使得上传的图像符合特征提取的规格要求,接近标准人脸图像。并且,上述网络传输模块911可以是4G模块、wifi模块等。
为了简要说明本系统的工作原理,如图16所示,其终端9与闸机设备6的交互过程如下:
在终端侧,用户首先使用终端9进行如下步骤S100~S102的操作:
步骤S100:获取用户的人脸图像;
步骤S101:将人脸图像传输至服务器端10;
步骤S102:接收服务器端10发送的第一人脸特征值,其中,服务器端10根据预设的图像算法对人脸图像处理得到第一人脸特征值;
当用户使用终端9靠近闸机设备6后,进入如下步骤S103的操作:
步骤S103:将第一人脸特征值发送给闸机设备6。
在闸机设备侧,闸机设备6在与终端9进行数据的相互交互的过程中,进行如下步骤S1~S5的操作:
步骤S1:获取终端9发送的用户的第一人脸特征值;
步骤S2:获取第一摄像模块621采集的用户的人脸图像并进行处理,以得到第二人脸特征值;
步骤S3:根据预设的匹配规则对第一人脸特征值和第二人脸特征值进行匹配;
步骤S4:若匹配成功,则打开闸机设备6的闸机设备通道。
其中,闸机设备6的匹配模块623若不匹配成功,则闸机设备通道继续保持关闭状态。
闸机设备6在进行上述步骤S4之前,终端9执行如下步骤104的操作:
步骤104:向闸机设备6发送进出站数据;
闸机设备6在终端9执行如下步骤104后,执行步骤S4操作:
其中,当前闸机设备6为进站闸机,即闸机设备通道为进站通道时,闸机设备6执行步骤S4的具体过程如下所示:
步骤S41:若匹配成功,则根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息;
步骤S42:若判断出进出站数据未包括进站信息,则打开闸机设备通道,并向终端9发送进站信息,以进站信息更新进出站数据。
当前闸机设备6为出站闸机,即闸机设备通道为出站通道时,闸机设备6执行的步骤S4如下所示:
步骤S41’:若匹配成功,则根据从终端9获取的进出站数据判断当前进出站数据是否包括进站信息;
步骤S42’:若判断出进出站数据包括进站信息,则打开闸机设备通道,并向终端9发送出站信息,以出站信息更新进出站数据。
终端9在用户的携带下,通过进站闸机的闸机设备通道时,执行如下步骤105后的操作:
步骤105:接收闸机设备6发送的进站信息,以进站信息更新进出站数据;
终端9在用户的携带下,通过出站闸机的闸机设备通道时,执行如下步骤106后的操作:
步骤106:接收闸机设备6发送的出站信息,以出站信息更新进出站数据。
此外,本实施例的系统的闸机设备6还可参考上述实施例1至2以及实施例5至6,本实施例的系统的终端9还可参考上述实施例3至4以及实施例7至8,其具体结构和工作原理在此不作赘述。
上述仅为本发明的优选实施例而已,并不对本发明起到任何限制作用。任何所属技术领域的技术人员,在不脱离本发明的技术方案的范围内,对本发明揭露的技术方案和技术内容做任何形式的等同替换或修改等变动,均属未脱离本发明的技术方案的内容,仍属于本发明的保护范围之内。

Claims (19)

  1. 一种闸机设备的控制方法,其特征在于,包括以下步骤:
    获取终端发送的用户的第一人脸特征值;
    获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值;
    根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;
    若匹配成功,则打开闸机设备的闸机设备通道。
  2. 如权利要求1所述的闸机设备的控制方法,其特征在于,获取终端发送的用户的第一人脸特征值的步骤包括:
    与终端建立蓝牙无线通信连接;
    通过蓝牙无线通信信道接收第一人脸特征值。
  3. 如权利要求1所述的闸机设备的控制方法,其特征在于,获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值的步骤包括:
    获取第一摄像模块实时采集的用户的人脸图像;
    通过第一显示模块实时显示所述人脸图像;
    根据预设的图像算法对所述人脸图像进行处理,以得到第二人脸特征值;
    当实时采集的所述人脸图像的数据的存储容量大于预设值时,清空在先缓存的数据。
  4. 如权利要求1所述的闸机设备的控制方法,其特征在于,若匹配成功,则打开闸机设备的闸机设备通道的步骤包括:
    若匹配成功,则根据从所述终端获取的进出站数据判断当前所述进出站数据是否包括进站信息;
    若判断出所述进出站数据未包括所述进站信息,且当前闸机设备通道为进 站通道,则打开闸机设备通道,并向所述终端发送进站信息,以所述进站信息更新所述进出站数据;
    若判断出所述进出站数据包括所述进站信息,且当前闸机设备通道为出站通道,则打开闸机设备通道,并向所述终端发送出站信息,以所述出站信息更新所述进出站数据。
  5. 如权利要求1所述的闸机设备的控制方法,其特征在于,若匹配成功,则打开闸机设备的闸机设备通道的步骤后包括:
    当累计获取的所述第一人脸特征值和所述第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的所述第一人脸特征值和所述第二人脸特征值。
  6. 一种闸机设备的控制方法,其特征在于,包括以下步骤:
    接收服务器端发送的第一人脸特征值,其中,所述服务器端根据预设的图像算法对用户的人脸图像处理得到所述第一人脸特征值;
    将所述第一人脸特征值发送给所述闸机设备。
  7. 根据权利要求6所述的闸机设备的控制方法,其特征在于,接收所述服务器端发送的第一人脸特征值的步骤前包括:
    获取用户的人脸图像;
    将所述人脸图像传输至服务器端。
  8. 根据权利要求6所述的闸机设备的控制方法,其特征在于,将所述第一人脸特征值发送给所述闸机设备的步骤包括:
    与所述闸机设备建立蓝牙无线通信连接;
    通过蓝牙无线通信信道向所述闸机设备发送所述第一人脸特征值。
  9. 根据权利要求6所述的终端的控制方法,其特征在于,还包括:
    向所述闸机设备发送进出站数据;
    接收所述闸机设备发送的进站信息,以所述进站信息更新所述进出站数据;
    接收所述闸机设备发送的出站信息,以所述出站信息更新所述进出站数据。
  10. 一种闸机设备,其特征在于,包括:
    无线传输装置,用于获取终端发送的用户的第一人脸特征值;
    人脸识别装置,用于获取第一摄像模块采集的用户的人脸图像并进行处理,以得到第二人脸特征值,并根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;
    控制装置,用于响应所述人脸识别装置匹配成功后的指示,打开闸机设备的闸机设备通道。
  11. 根据权利要求10所述的一种闸机设备,其特征在于,所述无线传输装置包括:
    第一蓝牙模块,所述蓝牙模块用于与终端建立蓝牙无线通信连接,并通过蓝牙无线通信信道接收第一人脸特征值。
  12. 根据权利要求10所述的一种闸机设备,其特征在于,所述人脸识别装置包括:
    第一摄像模块,用于实时采集的用户的人脸图像;
    第一显示模块,用于实时显示所述人脸图像;
    匹配模块,用于根据预设的图像算法对所述人脸图像进行处理,以得到第二人脸特征值,并根据预设的匹配规则对所述第一人脸特征值和所述第二人脸特征值进行匹配;
    数据存储模块,用于存储所述人脸图像,并当所述实时采集的人脸图像的数据大于预设值时,通过所述处理器清空在先缓存的数据。
  13. 根据权利要求10所述的一种闸机设备,其特征在于,所述控制装置包括:
    数据分析模块,用于响应所述人脸识别装置匹配成功后的指示后,根据从所述终端获取的进出站数据判断当前所述进出站数据是否包括进站信息;
    闸机设备通道开启模块,用于:
    在所述数据分析模块判断出所述进出站数据未包括所述进站信息,且当前闸机设备通道为进站通道时,打开闸机设备通道,并向所述终端发送进站信息,以所述进站信息更新所述进出站数据;
    在所述数据分析模块判断出所述进出站数据包括所述进站信息,且当前闸机设备通道为出站通道时,打开闸机设备通道,并向所述终端发送出站信息,以所述出站信息更新所述进出站数据。
  14. 根据权利要求10所述的一种闸机设备,其特征在于,所述人脸识别装置还包括:
    数据清理模块,用于当累计获取的所述第一人脸特征值和所述第二人脸特征值的数据的存储容量超过预设的数据量后,根据记录时间自动删除在先存储的所述第一人脸特征值和所述第二人脸特征值。
  15. 一种终端,其特征在于,包括:
    无线通讯装置,用于接收服务器端发送的第一人脸特征值,以及将所述第一人脸特征值发送给所述闸机设备,其中,服务器端根据预设的图像算法对获取的用户的人脸图像处理得到所述第一人脸特征值。
  16. 根据权利要求15所述的终端,其特征在于,所述无线通讯装置包括:
    网络传输模块,用于接收所述服务器端发送的第一人脸特征值;
    第二蓝牙模块,用于与所述闸机设备建立蓝牙无线通信连接,并通过蓝牙 无线通信信道向所述闸机设备发送所述第一人脸特征值。
  17. 根据权利要求16所述的终端,其特征在于,还包括:
    图像采集装置,用于获取用户的所述人脸图像;
    其中,所述网络传输模块还用于将所述人脸图像传输至所述服务器端。
  18. 根据权利要求16所述的终端,其特征在于,所述第二蓝牙模块还用于:
    向所述闸机设备发送进出站数据;
    接收所述闸机设备发送的进站信息,以所述进站信息更新所述进出站数据;
    接收所述闸机设备发送的出站信息,以所述出站信息更新所述进出站数据。
  19. 一种闸机设备通行控制系统,其特征在于,包括:如权利要求10至14中任意一项所述的闸机设备和权利要求15至18中任意一项所述的终端,所述终端用于打开所述闸机设备的闸机设备通道。
PCT/CN2019/084151 2019-03-15 2019-04-24 闸机设备的控制方法、终端、闸机设备及系统 WO2020186595A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/439,476 US20220157100A1 (en) 2019-03-15 2019-04-24 Control Method for a Gate Device, Terminal, Gate Device and System
EP19920134.4A EP3940653A4 (en) 2019-03-15 2019-04-24 DOOR DEVICE CONTROL METHOD, TERMINAL, DOOR DEVICE AND SYSTEM
SG11202109792P SG11202109792PA (en) 2019-03-15 2019-04-24 Control method for gate device, terminal, gate device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910198823.2 2019-03-15
CN201910198823.2A CN109934978B (zh) 2019-03-15 2019-03-15 闸机设备的控制方法、终端、闸机设备及系统

Publications (1)

Publication Number Publication Date
WO2020186595A1 true WO2020186595A1 (zh) 2020-09-24

Family

ID=66987396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084151 WO2020186595A1 (zh) 2019-03-15 2019-04-24 闸机设备的控制方法、终端、闸机设备及系统

Country Status (5)

Country Link
US (1) US20220157100A1 (zh)
EP (1) EP3940653A4 (zh)
CN (1) CN109934978B (zh)
SG (1) SG11202109792PA (zh)
WO (1) WO2020186595A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532416A (zh) * 2019-08-30 2019-12-03 成都智元汇信息技术股份有限公司 一种提高人脸识别效率和精度的方法
CN111429636A (zh) * 2020-02-27 2020-07-17 广州羊城通有限公司 基于蓝牙标识的优先人脸识别数据库的构建方法及装置
CN111341002A (zh) * 2020-02-27 2020-06-26 广州羊城通有限公司 基于蓝牙功能的刷脸认证方法及装置
CN112288937A (zh) * 2020-11-18 2021-01-29 重庆赛丰基业科技有限公司 一种虚拟闸机以及控制方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0991027A2 (en) * 1998-09-30 2000-04-05 Ncr International Inc. Self-service checkout terminal having a biometric sensing device for verifying identity of a user and associated method
CN104299305A (zh) * 2014-10-16 2015-01-21 易程(苏州)电子科技股份有限公司 具备人脸识别功能的闸机
CN107248128A (zh) * 2017-05-17 2017-10-13 上海斐讯数据通信技术有限公司 一种智能验票的方法及系统
CN107665536A (zh) * 2017-11-30 2018-02-06 成都长宇老司机网络科技有限公司 一种基于人脸识别的快速检票系统
CN208172865U (zh) * 2017-04-18 2018-11-30 北京中科奥森科技有限公司 人证核验快速通关闸机

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010287124A (ja) * 2009-06-12 2010-12-24 Glory Ltd 生体照合システムおよび生体照合方法
CN102103770B (zh) * 2009-12-21 2013-01-09 中国移动通信集团公司 电子钱包应用中交易异常的处理方法及其装置和系统
US9519769B2 (en) * 2012-01-09 2016-12-13 Sensible Vision, Inc. System and method for disabling secure access to an electronic device using detection of a predetermined device orientation
CN104619943A (zh) * 2012-09-12 2015-05-13 日产自动车株式会社 车辆开闭体的控制装置
US9148416B2 (en) * 2013-03-15 2015-09-29 Airwatch Llc Controlling physical access to secure areas via client devices in a networked environment
JPWO2015136938A1 (ja) * 2014-03-14 2017-04-06 株式会社東芝 情報処理方法および情報処理システム
CN104599387A (zh) * 2015-02-05 2015-05-06 曹学文 一种规避高铁客运进出站闸机自动检票系统逃票的方法
CN104820675B (zh) * 2015-04-08 2018-11-06 小米科技有限责任公司 相册显示方法及装置
CN205328387U (zh) * 2015-12-16 2016-06-22 苏州大学 一种基于人脸识别和智能推荐的电梯控制系统
CN105913500B (zh) * 2016-03-31 2018-07-27 宇龙计算机通信科技(深圳)有限公司 进出站检票方法和检票系统
CN106447860B (zh) * 2016-09-27 2019-01-18 广州极酷物联智能科技有限公司 一种无线识别门禁系统及门禁开启装置
WO2018181968A1 (ja) * 2017-03-31 2018-10-04 日本電気株式会社 顔認証システム、装置、方法、プログラム
CN207650897U (zh) * 2017-11-30 2018-07-24 成都长宇老司机网络科技有限公司 一种基于人脸识别的快速检票系统
CN107833337A (zh) * 2017-11-30 2018-03-23 成都长宇老司机网络科技有限公司 一种基于nfc的移动终端闸机控制系统
CN108116951B (zh) * 2017-12-18 2020-01-17 珠海华发城市运营投资控股有限公司 用于写字楼的出入口控制系统
CN113327359A (zh) * 2017-12-29 2021-08-31 创新先进技术有限公司 通行检测方法、装置以及系统
CN207883000U (zh) * 2018-01-18 2018-09-18 南京熊猫电子股份有限公司 一种基于手机支付装置的交通闸机通行系统
CN108230465B (zh) * 2018-01-26 2020-05-15 深圳一卡通新技术有限公司 基于移动终端的闸机快速通行控制方法
CN109087425B (zh) * 2018-08-09 2021-07-30 顾宏超 出入设备的通行控制方法、及其装置和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0991027A2 (en) * 1998-09-30 2000-04-05 Ncr International Inc. Self-service checkout terminal having a biometric sensing device for verifying identity of a user and associated method
CN104299305A (zh) * 2014-10-16 2015-01-21 易程(苏州)电子科技股份有限公司 具备人脸识别功能的闸机
CN208172865U (zh) * 2017-04-18 2018-11-30 北京中科奥森科技有限公司 人证核验快速通关闸机
CN107248128A (zh) * 2017-05-17 2017-10-13 上海斐讯数据通信技术有限公司 一种智能验票的方法及系统
CN107665536A (zh) * 2017-11-30 2018-02-06 成都长宇老司机网络科技有限公司 一种基于人脸识别的快速检票系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3940653A4 *

Also Published As

Publication number Publication date
CN109934978B (zh) 2020-12-11
EP3940653A1 (en) 2022-01-19
SG11202109792PA (en) 2021-10-28
EP3940653A4 (en) 2023-04-05
US20220157100A1 (en) 2022-05-19
CN109934978A (zh) 2019-06-25

Similar Documents

Publication Publication Date Title
WO2020186595A1 (zh) 闸机设备的控制方法、终端、闸机设备及系统
WO2020168468A1 (zh) 基于表情识别的呼救方法、装置、电子设备及存储介质
CN108830062B (zh) 人脸识别方法、移动终端及计算机可读存储介质
US9530067B2 (en) Method and apparatus for storing and retrieving personal contact information
WO2016180323A1 (zh) 客流量的统计方法及装置
JP2002229955A (ja) 情報端末装置及び認証システム
WO2019062620A1 (zh) 考勤方法、装置以及考勤设备
KR101916356B1 (ko) 병원에 적용되는 방문환자인식확률향상부가 구비된 환자 인식 진료대기 시스템
CN107692997A (zh) 心率检测方法及装置
JP2013097760A (ja) 認証システム、端末装置、認証プログラム、認証方法
CN110533440B (zh) 一种基于视频摄像头的互联网广告信息投放应用方法
US11172162B1 (en) Systems and methods for integrating and conducting video sessions
CN112766978A (zh) 地铁刷脸支付方法及装置
CN110414376A (zh) 更新人脸识别模型的方法、人脸识别相机及服务器
CN112785351A (zh) 金融网点监控方法及装置
US11615177B2 (en) Information processing system, information processing device, control method, and storage medium
CN105072478A (zh) 一种基于可穿戴设备的人生记录系统及其方法
WO2016088021A1 (en) Mobile queue tracking system for existing queuing systems
CN110874582A (zh) 电信诈骗的确定方法及装置、存储介质、电子装置
JP2019074938A (ja) 通信中継装置、システム、方法及びプログラム
KR101984519B1 (ko) 등록고객인식확률향상부가 구비된 고객 인식 방문확인 시스템
WO2021259033A1 (zh) 人脸识别方法、电子设备以及存储介质
CN104023079A (zh) 用于企业的云服务平台和服务方法
CN107301404A (zh) 指纹录入方法及装置
US20190130358A1 (en) Screen sharing system, method, and program for remote medical care

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19920134

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2019920134

Country of ref document: EP