CN110097368A - Recognition methods, server, terminal and the service equipment of facial image - Google Patents

Recognition methods, server, terminal and the service equipment of facial image Download PDF

Info

Publication number
CN110097368A
CN110097368A CN201810091126.2A CN201810091126A CN110097368A CN 110097368 A CN110097368 A CN 110097368A CN 201810091126 A CN201810091126 A CN 201810091126A CN 110097368 A CN110097368 A CN 110097368A
Authority
CN
China
Prior art keywords
facial image
server
identified
service equipment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810091126.2A
Other languages
Chinese (zh)
Inventor
何畅
袁巍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN201810091126.2A priority Critical patent/CN110097368A/en
Publication of CN110097368A publication Critical patent/CN110097368A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions
    • G06Q20/40145Biometric identity checks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The invention discloses a kind of recognition methods of facial image, server, terminal and service equipments, belong to Internet technical field.It include: that acquisition user identifier is corresponding with reference to facial image, user identifier decrypts to obtain by the encryption information for sending the terminal for receiving broadcast message;It will be added in facial image list with reference to facial image, facial image list be stored with the terminal for receiving broadcast message at least one is to be matched with reference to facial image;By the way that facial image to be identified is matched with the facial image to be matched that refers in facial image list, the determining facial image to match with facial image to be identified.The present invention identifies facial image by the way that the reference facial image for each terminal for receiving broadcast message to be added in facial image list, and then based on facial image list.Due to matching it is not necessary that facial image to be identified is referred to facial image with every in face database, thus greatly reduce calculation amount when recognition of face.

Description

Recognition methods, server, terminal and the service equipment of facial image
Technical field
The present invention relates to Internet technical field, in particular to a kind of recognition methods of facial image, server, terminal and Service equipment.
Background technique
In the modern life, in order to facilitate customer consumption, the public places such as market, supermarket, dining room are standing to be equipped with some clothes Equipment of being engaged in inputs payment cipher without user in payment process, carries out facial image knowledge to user based on these service equipments Not, quick payment service can be provided for user.
The relevant technologies are when identifying facial image, mainly with the following method: service equipment shows Self-Service The page, when detecting user on the Self-Service page to the clicking operation of service confirmation option, service equipment is acquired wait know Others' face image, and facial image to be identified is sent to server;When receiving facial image to be identified, server will be to The magnanimity stored in identification facial image and face database is matched one by one with reference to facial image, if face to be identified Image and any matching degree with reference between facial image are higher than preset threshold, it is determined that facial image to be identified and the reference man Face image matches, and then provides quick payment service with reference to the corresponding user account of facial image based on this for user.
However, the identification process of above-mentioned facial image, need by facial image to be identified and magnanimity with reference to facial image by One is matched, and recognition time is longer, calculation amount is larger.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of recognition methods of facial image, service Device, terminal and service equipment.The technical solution is as follows:
On the one hand, a kind of recognition methods of facial image is provided, which comprises
The encryption information that terminal is sent is received, and the encryption information is decrypted using predetermined encryption algorithm, is obtained User identifier and service device identification, the encryption information are terminal hair in the broadcast message for receiving service equipment It send, the broadcast message includes that the service equipment identifies;
From face database, it is corresponding with reference to facial image to obtain the user identifier, deposits in the face database Contain user identifier and with reference to the corresponding relationship between facial image;
It is added to described in the corresponding facial image list of the service equipment mark with reference to facial image, the face At least one that the terminal for receiving the broadcast message is stored in image list is to be matched with reference to facial image;
The facial image to be identified that the service equipment is sent is received, by the facial image to be identified and the face figure As the facial image to be matched that refers in list is matched;
When the facial image to be identified and any matching degree to be matched with reference between facial image are greater than default threshold Value determines that the facial image to be identified matches with the facial image to be matched that refers to.
On the other hand, a kind of recognition methods of facial image is provided, which comprises
The broadcast message that service equipment is sent is received, the broadcast message includes that service equipment identifies;
Encryption information is sent to server, the encryption information is solved using predetermined encryption algorithm by the server It is close, user identifier and service equipment mark are obtained, the user identifier is obtained from face database for the server It takes corresponding with reference to facial image, and is added to the service equipment by described with reference to facial image and identifies corresponding facial image In list, the face database is stored with user identifier and with reference to the corresponding relationship between facial image, the facial image Be stored in list at least one of the terminal for receiving the broadcast message it is to be matched with reference to facial image, described at least one It is to be matched that the facial image to be identified that the service equipment is sent is identified for the server with reference to facial image.
On the other hand, a kind of recognition methods of facial image is provided, which comprises
Broadcast message is sent, the broadcast message includes that service equipment identifies, and the broadcast message is received for triggering The terminal to server of the broadcast message sends encryption information, and the encryption message obtains user after being decrypted by the server It identifies and the service equipment identifies, the user identifier is corresponding with reference to facial image for server acquisition, and will It is described to be added in the corresponding facial image list of the service equipment mark with reference to facial image, in the facial image list At least one for being stored with the terminal for receiving the broadcast message is to be matched with reference to facial image;
When the acquisition for detecting facial image operates, facial image to be identified is obtained, and by the face figure to be identified As being sent to the server, by the server at least one reference facial image to be matched according to described wait know Others identifies face image.
On the other hand, a kind of identification server for facial image is provided, the server includes:
Receiving module, for receiving the encryption information of terminal transmission;
Information deciphering module obtains user identifier for the encryption information to be decrypted using predetermined encryption algorithm With service device identification, the encryption information is terminal transmission in the broadcast message for receiving service equipment, described wide Broadcasting message includes the service equipment mark;
Image collection module, it is corresponding with reference to facial image, institute for from face database, obtaining the user identifier It states and is stored with user identifier in face database and with reference to the corresponding relationship between facial image;
Module is added in image, for being added to the corresponding face figure of the service equipment mark with reference to facial image for described As being stored with an at least reference to be matched for the terminal for receiving the broadcast message in the facial image list in list Facial image;
The receiving module, the facial image to be identified sent for receiving the service equipment;
Images match module, for by the reference to be matched in the facial image to be identified and the facial image list Facial image is matched;
Determining module, for working as the facial image to be identified and any matching to be matched with reference between facial image Degree is greater than preset threshold, determines that the facial image to be identified matches with the facial image to be matched that refers to.
On the other hand, a kind of identification terminal for facial image is provided, the terminal includes:
Message reception module, for receiving the broadcast message of service equipment transmission, the broadcast message includes service equipment Mark;
Information sending module uses predetermined encryption algorithm pair by the server for sending encryption information to server The encryption information is decrypted, and obtains user identifier and service equipment mark, and the user identifier is used for the service Device obtains corresponding with reference to facial image from face database, and is added to the service equipment with reference to facial image for described It identifies in corresponding facial image list, the face database is stored with corresponding between user identifier and reference facial image Relationship, at least one that the terminal for receiving the broadcast message is stored in the facial image list are to be matched with reference to face Image, described at least one people to be identified to be matched that the service equipment is sent for the server with reference to facial image Face image is identified.
On the other hand, a kind of identification service equipment for facial image is provided, the service equipment includes:
Message transmission module, for sending broadcast message, the broadcast message includes that service equipment identifies, and the broadcast disappears Breath receives the terminal to server transmission encryption information of the broadcast message for triggering, and the encryption message is by the service User identifier and service equipment mark are obtained after device decryption, the user identifier obtains corresponding ginseng for the server Facial image is examined, and is added to described in the corresponding facial image list of the service equipment mark with reference to facial image, institute State be stored in facial image list at least one of the terminal for receiving broadcast message it is to be matched with reference to facial image;
Image collection module, for obtaining facial image to be identified when the acquisition for detecting facial image operates;
Image sending module, for the facial image to be identified to be sent to the server, by the server root The facial image to be identified is identified according to described at least one facial image to be matched that refers to.
On the other hand, a kind of identification device of facial image is provided, described device is that server or terminal or service are set Standby, described device includes processor and memory, and at least one instruction, at least a Duan Chengxu, generation are stored in the memory Code collection or instruction set;
When described device is server, at least one instruction, an at least Duan Chengxu, the code set or institute Instruction set is stated to be loaded as the processor and execute the recognition methods to realize facial image described in first aspect;
When described device is terminal, at least one instruction, an at least Duan Chengxu, the code set or described Instruction set is loaded as the processor and is executed the recognition methods to realize the facial image as described in another aspect;
When described device be service equipment when, at least one instruction, an at least Duan Chengxu, the code set or Described instruction collection is loaded as the processor and is executed the recognition methods to realize the facial image as described in another aspect.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or Described instruction collection is loaded as processor and is executed the recognition methods to realize the facial image as described in one side, alternatively, realizing The recognition methods of facial image as described in another aspect, or, realizing the recognition methods of the facial image as described in another aspect.
Technical solution provided in an embodiment of the present invention has the benefit that
By the way that the reference facial image for receiving each terminal of broadcast message to be added in facial image list, in turn Facial image is identified based on facial image list.Due to without by facial image to be identified with it is every in face database It opens and is matched with reference to facial image, thus greatly reduce calculation amount when recognition of face, and input identity without user and recognize Information is demonstrate,proved, identification method is more convenient, can preferably protect the privacy of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is implementation environment involved in a kind of recognition methods of facial image provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the recognition methods of facial image provided in an embodiment of the present invention;
Fig. 3 is a kind of terminal interface schematic diagram provided in an embodiment of the present invention;
Fig. 4 is register flow path figure provided in an embodiment of the present invention;
Fig. 5 is the interface schematic diagram of service equipment provided in an embodiment of the present invention;
Fig. 6 is the interface schematic diagram of service equipment provided in an embodiment of the present invention;
Fig. 7 is the interface schematic diagram of service equipment provided in an embodiment of the present invention;
Fig. 8 is the identification process of facial image provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the identification server provided in an embodiment of the present invention for facial image;
Figure 10 is the structural schematic diagram of the terminal provided in an embodiment of the present invention for facial image identification;
Figure 11 is the structural schematic diagram of the service equipment provided in an embodiment of the present invention for facial image identification;
Figure 12 shows the structural block diagram of the terminal of an illustrative embodiment of the invention offer;
Figure 13 is a kind of identification server for facial image shown according to an exemplary embodiment.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Before executing the embodiment of the present invention, first noun of the present invention is explained:
BLE (Bluetooth Low Energy, Bluetooth Low Energy technology) refers to low cost, short distance, interoperable Robustness wireless technology.
IBeacon refers to a set of agreement that can be used for indoor locating system, which can allow hand-hold electronic equipments nearby The low-power consumption that detects, low cost signal.The working principle of iBeacon are as follows: equipped with the iBeacon equipment of BLE communication function Using BLE technology to surrounding send carry self identification broadcast message, receive broadcast message smart phone or other Device executes corresponding order in the induction range of iBeacon equipment.
NFC (Near Field Communication, the short distance wireless communication technology) refers to two electronic equipments (wherein One is usually mobile device, such as smart phone) a kind of (usually several centimetres) are communicated in short distance communication protocols View.
Facial image 1:1 refers to whether one facial image of comparison is the same person.
Facial image 1:N, which refers to, provides a facial image, filters out and give facial image phase in N facial images Matched facial image.
The matching technique of facial image 1:N at present, after the value of N is greater than 10000, with the increase of N value, calculation amount is non- Often big and recognition result accuracy gradually lowers.In order to improve the accuracy identified to facial image, the present invention is implemented Example provides a kind of recognition methods of facial image, and this method is entered by monitoring in the terminal in the broadcasting area of service equipment The information of report enables the server to obtain the user group entered in service equipment broadcasting area, and then by collected wait know Others is compared face image with the user group entered in broadcasting area.It is greatly reduced using this kind of mode and needs to match Facial image quantity (can often be reduced to 100 or so), the matched accuracy rate of facial image 1:N is improved, even if user The quantity of group reaches tens, still available to arrive more accurate recognition result.
Referring to Fig. 1, it illustrates implementation environment involved in the recognition methods of facial image provided in an embodiment of the present invention, Referring to Fig. 1, which includes: service equipment 101, terminal 102 and server 103.
Wherein, service equipment 101 is generally disposed at the public places such as market, supermarket, dining room, can for self-help meal ordering machine, The equipment such as automatic machine.Service equipment 101 has the function of BLE, and can send into ambient enviroment includes service equipment mark Broadcast message.
Terminal 101 can be the mobile devices such as smart phone, tablet computer.At least one payment is installed in terminal 101 Class application, and at least one payment class application opened quick payment function, can to the broadcast message transmitted by service equipment into Row is monitored, and then executes operation relevant to quick payment.
Server 103 is the background server for paying class application.Server 103 is based on payment class application can be to terminal 101 Quick payment service is provided.
Above-mentioned service equipment 101 is communicated with terminal 102 using BLE technology, and terminal 102 can be used with server 103 Network is communicated.
The embodiment of the invention provides a kind of recognition methods of facial image, referring to fig. 2, side provided in an embodiment of the present invention Method process includes:
201, terminal obtains the registration information of user, and registration information is sent to server.
In order to preferably provide service for user, payment class application provides quick payment function, and user is fast by clicking Option is opened in victory payment, and triggerable terminal opens quick payment function.In opening process, user needs to shoot or upload one It opens and refers to facial image, this is with reference to facial image for verifying during subsequent quick payment to the identity of user.Ginseng See Fig. 3, it illustrates payment class application quick payment open interface, the quick payment open shown on interface take pictures/on Option is passed, terminal, to the clicking operation of the option of taking pictures/upload, can obtain the reference facial image of user by detection user, And then the reference facial image of user is sent to server.Pipe is carried out for the ease of the reference facial image to different user Reason, server also specify the specification with reference to facial image, and when the reference facial image for receiving terminal transmission, server will be right The specification for referring to facial image is verified.If the off-gauge with reference to as defined in facial image and server, services Device can send miscue information to terminal, to prompt user to re-shoot one up to specification with reference to facial image or again Newly upload a reference facial image up to specification;If this is consistent with reference to facial image with specification as defined in server, Server can send to terminal and upload successful information, jump to user basic information input circle with the display interface of triggering terminal Face inputs name, identification card number, cell-phone number, the authentication informations such as mailbox in the essential information input interface by user, when connecing When receiving uploading instructions, terminal obtains the identity information that user inputs on essential information input interface, and is answered by paying class Server is sent to by acquired information.
It should be noted that the reference facial image of user is inputted in this step essential information or upload is mainly used for Quick payment function is opened, these information are referred to as registration information by the embodiment of the present invention.
202, when receiving registration information, server establishes face database.
When receiving registration information, server is that terminal opens quick payment function, and generates a user for terminal Mark, and then the notification message including the user identifier is sent to terminal, to notify the terminal to open quick payment function, and Triggering terminal starts monitor function, to monitor the broadcast message for each service equipment that server is managed.Herein It should be noted that server is that the user identifier that terminal generates can be different from registration account of the user in payment class application Number, the terminal of quick payment function is opened for unique identification.
In order to preferably be managed to the service equipment with quick service function of businessman's deployment, server will also be deposited Store up the attribute information, including service equipment mark, deployed with devices position, deployed with devices time, device name etc. of service equipment.With Service equipment is identified as the iBeacon ID of equipment, and table 1 shows the attribute information of different service equipments in the server Storage form.
Table 1
Equipment iBeacon ID Deployed with devices position The deployed with devices time Device name
MA123D*** The mansion * 2017-01-01 Ai Mage machine for ordering dishes
MD99121KS** Startbuck 2016-09-21 Startbuck's machine for ordering dishes
For the opening process of quick payment function, it is illustrated by taking Fig. 4 as an example below.
Referring to fig. 4, in the opening process of quick payment function, terminal obtains the reference face figure of user's shooting or upload Accessed reference facial image is sent to server by picture, carries out school to the reference facial image received by server It tests, if the reference facial image received is consistent with specification as defined in server, is sent to terminal and upload successful information, with Triggering terminal jumps to user basic information input interface, inputs relevant information on the surface by user, terminal obtains user The information inputted, and then the information that will acquire is sent to server, when receiving the information of terminal transmission, server is Terminal opens quick payment function, and triggering terminal starts the prison of the broadcast message of each service equipment managed server Auditory function.
In order to provide a user more selections, terminal is also by aobvious quick payment the off option, if user wants to cancel The quick payment function of being opened, user can click quick payment the off option, and terminal detects that user closes the quick payment It when closing the clicking operation of option, is sent to server and closes message, opened quick payment function is closed with trigger the server.
In embodiments of the present invention, server is by storage user identifier, authentication information, with reference to facial image and open Corresponding relationship between logical state, can establish a face image database.The face image database can be in quick payment scene Under the identity of user is verified, and provide quick payment service by server after verification passes through for user.Table 2 is shown The storage form of data in face image database.
Table 2
203, service equipment sends broadcast message.
In practical applications, service equipment sends broadcast message into ambient enviroment in real time.The broadcast message is one kind Wireless near field communication signal can be iBeacon signal, or WiFi signal.The broadcast message includes service equipment Mark, can the unique identification service equipment.When broadcast message is iBeacon signal, service equipment mark can be iBeacon ID;When broadcast message is WiFi signal, service equipment mark can be WiFi title etc..
204, when receiving broadcast message, terminal to server sends encryption information.
Broadcast message transmitted by usual service equipment has certain range of receiving, when terminal is located at connecing for service equipment When receiving in range, terminal can receive the broadcast message of service equipment.Under the triggering of broadcast message, terminal can obtain service The user identifier that device identification and local terminal are stored.To avoid information leakage, terminal will also be using predetermined encryption algorithm to service Device identification and user identifier are encrypted, and obtain encryption information, and then encryption information is sent to server.Wherein, it presets Encryption Algorithm can be held consultation determination by terminal and server.Optionally, terminal can also obtain between terminal and service equipment Distance, and service equipment mark, user identifier and the distance between terminal and service equipment are carried out using predetermined encryption algorithm Encryption, obtains encryption information, and then encryption information is sent to server.Terminal can also obtain the signal strength of broadcast message, And encrypted using signal strength of the predetermined encryption algorithm to service equipment mark, user identifier and broadcast message, added Confidential information, and then encryption information is sent to server.
It, can herein it should be noted that since the short distance wireless communication technology used in the embodiment of the present invention energy consumption is lower With long-play, thus when user exits, payment class is applied or payment class is applied in running background, can also be realized to clothes The monitor function for equipment of being engaged in receives the broadcast message of service equipment transmission.
205, when receiving encryption information, server is decrypted encryption information using predetermined encryption algorithm, obtains User identifier and service device identification.
For the difference of information included by encryption information, encryption information is decrypted in server, and obtained information is also Different.If encryption information is that terminal identifies service equipment and user identifier encrypts to obtain, server uses predetermined encryption Encryption information is decrypted in algorithm, and service equipment mark and user identifier can be obtained;If encryption information is terminal to service Device identification, user identifier and the encryption of the distance between terminal and service equipment obtain, and server uses predetermined encryption algorithm pair Encryption information is decrypted, and service equipment mark, user identifier and the distance between terminal and service equipment can be obtained;If plus Confidential information is that terminal encrypts to obtain to the signal strength of service equipment mark, user identifier and broadcast message, and server is using pre- If encryption information is decrypted in Encryption Algorithm, the signal strength of service equipment mark, user identifier and broadcast message can be obtained.
206, it is corresponding with reference to facial image to obtain user identifier from face database for server.
The corresponding pass between user identifier and reference facial image is stored in face database in the embodiment of the present invention System, based on the user identifier that decryption obtains, it is corresponding with reference to facial image that server can get user identifier.
207, server will be added to service equipment with reference to facial image and identify in corresponding facial image list.
Wherein, at least one to be matched with reference to facial image, every reference man to be matched is stored in facial image list Face image be receive broadcast message terminal corresponding to reference facial image.The establishment process of facial image list is as follows:
The first step, when service equipment is in running order, it includes service equipment that service equipment can be sent to ambient enviroment The broadcast message of mark.
Second step, can when it is located in the broadcasting area of service equipment for any terminal for opening quick payment function The broadcast message of service equipment transmission is received, and server will be sent to after service equipment mark and user identifier encryption.
Third step, server obtain user identifier and corresponding service by the way that the encryption information received is decrypted Device identification, and acquisition user identifier is corresponding with reference to facial image from face database, and then the same service of correspondence is set The multiple of standby mark identify corresponding facial image list with reference to facial image composition service equipment.It is stored in facial image list There is at least one with reference to facial image, at least one needs to be matched in next step with reference to facial image.
Due to the broadcasting area of service equipment be it is determining, the terminal that can receive broadcast message is generally positioned in service Equipment is neighbouring, needs to obtain the terminal of service from service equipment, and under actual service scenarios, it is attached to be located at service equipment Closely, it needs the terminal quantity for obtaining service from service equipment to be limited, does not exceed 100 generally.Due to facial image List is formed by terminal that these receive broadcast message is corresponding with reference to facial image, thus institute in facial image list Including reference facial image quantity it is also relatively fewer.When carrying out facial image identification, and needed in the prior art by face Magnanimity is matched one by one with reference to facial image and is compared in image data base, the negligible amounts to be matched with reference to facial image, it will be apparent that It shortens recognition time and reduces calculation amount.
In one embodiment of the invention, terminal will can be added at random in facial image list with reference to facial image, It can will be also added in facial image list with reference to facial image according to the receiving time sequence of reference facial image, certainly, also Other modes can be used, the embodiment of the present invention no longer limits one by one.
In another implementation of the invention, if the information after decryption includes the distance between terminal and service equipment, Then terminal will also determine according to the distance between terminal and service equipment and refer to position of the facial image in facial image list It sets, and then according to identified position, will be added in facial image list with reference to facial image.
In another embodiment of the present invention, if the information after decryption further includes the signal strength of broadcast message, Terminal can also determine according to the signal strength of broadcast message and refer to position of the facial image in facial image list, Jin Ergen According to identified position, will be added in facial image list with reference to facial image.
For the ease of being managed to the facial image to be matched that refers in facial image list, server will also be recorded eventually Timestamp information and terminal into the range of receiving of service equipment is held to leave the timestamp of the range of receiving of the service equipment Information.
Above-mentioned to correspond to a facial image list with each service equipment, server safeguards at least one facial image list For, in fact, in order to reduce the memory space of server, server also can be only one facial image list of maintenance, the people It is stored with the relevant information that each service equipment identifies corresponding terminal in face image list, is also stored with each service equipment Service equipment mark.For example, being stored with the facial image of the service equipment mark of at least two service equipments shown in table 3 List.
Table 3
208, when the acquisition for detecting facial image operates, service equipment obtains facial image to be identified, and will be wait know Others is sent to server at face image.
In actual application, when the acquisition operation for detecting facial image on service interface, such as to service circle The clicking operation etc. in face, service equipment will open camera and acquire the facial image to be identified for being located at user in front of service equipment, And then acquired facial image to be identified is sent to by server by network.
209, when receiving the facial image to be identified of service equipment transmission, server is by facial image to be identified and people The facial image to be matched that refers in face image list is matched.Server can be by facial image to be identified and facial image Every facial image to be matched that refers in list is matched;It is also possible to facial image to be identified and facial image list In part it is to be matched matched with reference to facial image, after obtaining the result of successful match, no longer with remainder to It is matched with reference facial image.
In order to reduce calculation amount when facial image matching, when the facial image to be identified for receiving service equipment transmission When, server also matches facial image to be identified with the facial image to be matched that refers in facial image list.Specifically Step 2091~2093 can be used when matching:
2091, server extracts the sex character and age characteristics of facial image to be identified, and according to face figure to be identified The sex character and age characteristics of picture obtain an at least object reference facial image to screening in facial image list.
Server extracts the gal Bai Tezheng of facial image to be identified, and carries out dimension-reduction treatment to the gal cypress feature of extraction, obtains Gal Bai Tezheng after to dimensionality reduction, so in the face gender model that pre-establishes of gal cypress feature input after dimensionality reduction, will obtain to The sex character for identifying facial image, in the face age models that pre-establish of gal cypress feature input after dimensionality reduction, will obtain to Identify the age characteristics of facial image.
Based on extracted sex character and age characteristics, server is to every kind of reference to be matched in facial image list Facial image is screened, if the gender of any sex character to be matched with reference to facial image and facial image to be identified is special Sign matches, and the age characteristics to be matched with reference to facial image and the age characteristics of facial image to be identified match, then Using the reference facial image to be matched as object reference facial image.Facial image list is sieved by the above method An at least object reference facial image can be obtained in choosing.
2092, server extracts the five features of facial image to be identified, and extracts every object reference facial image Five features.
Server extracts the gal Bai Tezheng of facial image to be identified, and carries out dimension-reduction treatment to the gal cypress feature of extraction, obtains Gal Bai Tezheng after to dimensionality reduction, and then in the human face five-sense-organ model that the gal cypress feature input after dimensionality reduction is pre-established, it can be obtained The five features of facial image to be identified.
For any object reference facial image, server extracts the gal Bai Tezheng of object reference facial image, and right The gal cypress feature of extraction carries out dimension-reduction treatment, the gal Bai Tezheng after obtaining dimensionality reduction, and then the gal cypress feature after dimensionality reduction is inputted in advance In the human face five-sense-organ model first established, the five features of object reference facial image can be obtained.
2093, server is by the five features of the five features of facial image to be identified and every object reference facial image It is matched.
210, when facial image to be identified and any matching degree to be matched with reference between facial image are greater than default threshold Value, server determine that facial image to be identified matches with to be matched with reference to facial image.
Wherein, preset threshold can be able to be 98%, 99% etc. according to the recognition capability of server, the preset threshold.When to It is default to identify that the matching degree between the five features of facial image and the five features of any object reference facial image is greater than Threshold value, server can determine that facial image to be identified matches with object reference facial image.
Reference facial image in another implementation of invention, in server Dynamic Maintenance facial image list.When connecing When receiving the leave group message of terminal transmission, server can will be deleted from facial image list with reference to facial image.When detecting When reaching preset time with reference to storage time of the facial image in facial image list, server can will also refer to facial image It is deleted from facial image list.Wherein, preset time is determined by the storage capacity of server, can be 20 minutes, 30 minutes Deng.Server, which passes through, carries out Dynamic Maintenance to facial image list, it is ensured that the reference facial image in facial image list is Authentic and valid reference facial image, to reduce the calculation amount of facial image identification.
In another embodiment of the present invention, when lost terminal or user's replacement terminal, for the letter for guaranteeing user Breath safety, the phone number or mailbox that user is inputted when can be by opening quick payment function carry out login authentication, into And send to monitor to server and release message, terminal is released to the monitor function of broadcast message with trigger the server.Certainly, if User wants the monitor function of the terminal after activation replacement, the phone number inputted when can also be by opening quick payment function Or mailbox carries out login authentication, and then sends to server and monitor activate message, with terminal after trigger the server activation replacement To the monitor function of broadcast message.
So far, 201~step 210 realizes the identification in the case where paying scene to user's facial image through the above steps, The embodiment of the invention also provides subsequent quick payment service processes on this basis.Detailed process is as follows:
The first step, after server identifies reference facial image matched with facial image to be identified, server should It is sent to service equipment with reference to facial image, shows this with reference to facial image on service interface by service equipment.For example, Fig. 5 Shown in order interface, the reference facial image identified is shown on the interface of ordering, it is " joyous also to show welcome words of ordering * * is met, please start to order " etc..
Second step, service equipment show services selection interface, which has at least one service option, Every kind of service option includes the title, unit price and quantity of every kind of commodity, based on service option shown by services selection interface, is used Commodity required for family selects and quantity, when detecting the confirmation operation of user, the commodity for obtaining commodity selected by user are bright Carefully, including every kind of product name, quantity, the total value of unit price and all commodity, and then commodity detail is sent to server.Example Such as, drink selection interface shown in fig. 6 shows the classification of the various drinks of trade company's offer on the interface, and user is according to itself Demand selects at least one drink, and when detecting clicking operation of the user to " choosing " option, service equipment obtains user The commodity detail of selected commodity, and then commodity detail is sent to server.
Third step, server receive the commodity detail that service equipment is sent, the total value indicated by commodity detail, The total value is deducted from the corresponding account of reference facial image, and sends payment success message to service equipment, by servicing Equipment is shown.When service equipment also receives payment success message, service prompts information can also be shown, such as " please take One flying disc, getting meal ready will vibration reminding " etc..For example, payment interface shown in Fig. 7, the payment interface show payment at Function message " place an order success, we have started to prepare for a meal for you ", " flying disc please be take, getting meal ready will vibration reminding " etc..
For the identification process and service providing process of facial image, it is illustrated by taking Fig. 8 as an example below.
The first step, machine for ordering dishes is in running order, and iBeacon broadcast message can be sent to ambient enviroment.It is opened for any The terminal of logical quick payment function, when the terminal enters the signal area iBeacon of machine for ordering dishes, terminal receives machine for ordering dishes hair The iBeacon broadcast message sent, obtains user identifier and iBeacon ID, and using encrypted certificate to user identifier and IBeacon ID is encrypted, and obtains encryption information, and then encryption information is sent to server.
Second step, when user holds the signal area iBeacon of terminal entry point meal machine, terminal receives machine for ordering dishes and sends IBeacon broadcast message, and using certificate to being sent to server after the encryption of the user identifier and iBeacon ID of acquisition.Clothes Business device is decrypted the encryption information received using encrypted certificate, obtains user identifier and iBeacon ID, and obtaining should User identifier is corresponding to refer to facial image, and then the reference facial image that will acquire is added in facial image list.
When receiving encryption information, server is decrypted encryption information using encrypted certificate, obtains user identifier With iBeacon ID.For server according to user identifier, acquisition is corresponding to refer to facial image, and then will corresponding same service equipment Mark it is multiple with reference to facial images form facial image lists, the facial image list include service equipment provide service when into It is corresponding with reference to facial image to enter the user identifier that multiple terminals in the signal area iBeacon of the service equipment obtain.
Third step, user go in face of machine for ordering dishes to begin preparing and order, and machine for ordering dishes obtains the facial image to be identified of user, And then facial image to be identified is sent to server.
4th step, server will be to be matched with reference to facial image progress in facial image to be identified and facial image list Matching, and the reference facial image to match is sent to machine for ordering dishes.
5th step, machine for ordering dishes receives the reference facial image that server is sent, and detects the operation of ordering of user, and obtains and uses The information of ordering at family, and then the information that will order is sent to server.
6th step, server receive the information of ordering that machine for ordering dishes is sent, and execute corresponding flow of payments according to the information of ordering Journey, and return to payment result.
Method provided in an embodiment of the present invention, by adding the reference facial image for receiving each terminal of broadcast message Enter into facial image list, and then facial image is identified based on facial image list.Due to being not necessarily to people to be identified Face image is matched with every in face database with reference to facial image, thus greatly reduces calculating when recognition of face Amount, and authentication information is inputted without user, identification method is more convenient, can preferably protect the privacy of user.
Referring to Fig. 9, the embodiment of the invention provides a kind of identification server for facial image, which includes:
Receiving module 901, for receiving the encryption information of terminal transmission;
Information deciphering module 902, for encryption information being decrypted using predetermined encryption algorithm, obtain user identifier and Service equipment mark, the encryption information are terminal transmission in the broadcast message for receiving service equipment, which includes Service equipment mark;
Image collection module 903, it is corresponding with reference to facial image for from face database, obtaining user identifier, it should User identifier is stored in face database and with reference to the corresponding relationship between facial image;
Module 904 is added in image, is added to the corresponding facial image column of service equipment mark for that will refer to facial image In table, at least one that the terminal for receiving broadcast message is stored in the facial image list is to be matched with reference to facial image;
Receiving module 901, for receiving the facial image to be identified of service equipment transmission;
Images match module 905, for be matched in facial image to be identified and facial image list to be referred to face Image is matched;
Determining module 906, for working as facial image to be identified and any matching to be matched with reference between facial image Degree is greater than preset threshold, determines that facial image to be identified matches with to be matched with reference to facial image.
In another embodiment of the present invention, the information after decryption further includes the distance between terminal and service equipment, Module 904 is added in image, arranges with reference to facial image in facial image for determining according to the distance between terminal and service equipment Position in table;According to identified position, will be added in facial image list with reference to facial image.
In another embodiment of the present invention, the information after decryption further includes the signal strength of broadcast message, and image adds Enter module 904, for the signal strength according to broadcast message, determines and refer to position of the facial image in facial image list; According to identified position, will be added in facial image list with reference to facial image.
In another embodiment of the present invention, images match module 905, for extracting the gender of facial image to be identified Feature and age characteristics;According to the sex character and age characteristics of facial image to be identified, facial image list is screened, Obtain an at least object reference facial image;The five features of facial image to be identified is extracted, and extracts every object reference The five features of facial image;By the five features of the five features of facial image to be identified and every object reference facial image It is matched;
Determining module 906, if five features and any object reference facial image for facial image to be identified Five features between match degree is greater than the preset threshold, it is determined that facial image to be identified and object reference facial image phase Match.
In another embodiment of the present invention, the server further include:
Removing module, for that will be arranged with reference to facial image from facial image when receiving the leave group message of terminal transmission It is deleted in table;Alternatively,
Removing module, for when detecting that referring to storage time of the facial image in facial image list reaches default Between when, will be deleted from facial image list with reference to facial image.
In another embodiment of the present invention, the server further include:
Function releases module, for releasing terminal to the monitor function of broadcast message when receiving monitoring releasing message.
To sum up, server provided in an embodiment of the present invention, the reference man of each terminal by the way that broadcast message will be received Face image is added in facial image list, and then is identified based on facial image list to facial image.Due to without inciting somebody to action Facial image to be identified is matched with every in face database with reference to facial image, thus greatly reduces recognition of face When calculation amount, and input authentication information without user, identification method is more convenient, can preferably protect that user's is hidden It is private.
Referring to Figure 10, the embodiment of the invention provides a kind of identification terminal for facial image, which includes:
Message reception module 1001, for receiving the broadcast message of service equipment transmission, which includes that service is set Standby mark;
Information sending module 1002 uses predetermined encryption algorithm pair by server for sending encryption information to server Encryption information is decrypted, and obtains user identifier and service device identification, which is used for server from face database Middle acquisition is corresponding to refer to facial image, and will be added to service equipment with reference to facial image and identify corresponding facial image list In, which has the corresponding relationship between user identifier and reference facial image, deposits in the facial image list At least one for containing the terminal for receiving broadcast message is to be matched with reference to facial image, this at least one to be matched with reference to face Image identifies the facial image to be identified that service equipment is sent for server.
In another embodiment of the present invention, the terminal further include:
Data obtaining module, for obtaining the registration information of user, which includes referring to facial image;
The information sending module, for registration information to be sent to server, which generates for server User identifier, and according to user identifier and with reference to the corresponding relationship between facial image, establish face database.
Terminal provided in an embodiment of the present invention, by sending encryption information to server, so that server is by each terminal Reference facial image be added in facial image list, and then facial image is identified based on facial image list.By It matches, thus greatly reduces in it is not necessary that facial image to be identified is referred to facial image with every in face database Calculation amount when recognition of face, and authentication information is inputted without user, identification method is more convenient, can preferably protect use The privacy at family.
Referring to Figure 11, the embodiment of the invention provides a kind of identification service equipment for facial image, the service equipments Include:
Message transmission module 1101, for sending broadcast message, which includes service equipment mark, which disappears Breath receives the terminal to server transmission encryption information of broadcast message for triggering, which obtains after being decrypted by server To user identifier and service device identification, the user identifier is corresponding with reference to facial image for server acquisition, and will refer to Facial image is added to service equipment and identifies in corresponding facial image list, is stored in facial image list and receives broadcast At least one of the terminal of message is to be matched to refer to facial image;
Image collection module 1102, for obtaining facial image to be identified when the acquisition for detecting facial image operates;
Image sending module 1103, for facial image to be identified to be sent to server, by server according at least one It opens to be matched treat with reference to facial image and identifies that facial image is identified.
Service equipment provided in an embodiment of the present invention is broadcast the message by sending, so that receiving the terminal of broadcast message Encryption information is sent to server, so that trigger the server adds the reference facial image for receiving each terminal of broadcast message Enter into facial image list, and then facial image is identified based on facial image list.Due to being not necessarily to people to be identified Face image is matched with every in face database with reference to facial image, thus greatly reduces calculating when recognition of face Amount, and authentication information is inputted without user, identification method is more convenient, can preferably protect the privacy of user.
Figure 12 shows the structural block diagram of the terminal 1200 of an illustrative embodiment of the invention offer.The terminal 1200 can To be: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 1200 is also Other titles such as user equipment, portable terminal, laptop terminal, terminal console may be referred to as.
In general, terminal 1200 includes: processor 1201 and memory 1202.
Processor 1201 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1201 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1201 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1201 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1201 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1202 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1202 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1202 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1201 for realizing this Shen Please in embodiment of the method provide facial image recognition methods.
In some embodiments, terminal 1200 is also optional includes: peripheral device interface 1203 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1201, memory 1202 and peripheral device interface 1203.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1203.Specifically, peripheral equipment includes: In radio circuit 1204, touch display screen 1205, camera 1206, voicefrequency circuit 1207, positioning component 1208 and power supply 1209 At least one.
Peripheral device interface 1203 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1201 and memory 1202.In some embodiments, processor 1201, memory 1202 and periphery Equipment interface 1203 is integrated on same chip or circuit board;In some other embodiments, processor 1201, memory 1202 and peripheral device interface 1203 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1204 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1204 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1204 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1204 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1204 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1204 can also include that NFC (Near FieldCommunication, wireless near field communication) is related Circuit, the application are not limited this.
Display screen 1205 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1205 is touch display screen, display screen 1205 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1205.The touch signal can be used as control signal and be input to place Reason device 1201 is handled.At this point, display screen 1205 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1205 can be one, and the front panel of terminal 1200 is arranged;Another In a little embodiments, display screen 1205 can be at least two, be separately positioned on the different surfaces of terminal 1200 or in foldover design; In still other embodiments, display screen 1205 can be flexible display screen, is arranged on the curved surface of terminal 1200 or folds On face.Even, display screen 1205 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1205 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1206 is for acquiring image or video.Optionally, CCD camera assembly 1206 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1206 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 1207 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1201 and handled, or be input to radio circuit 1204 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1200 to be multiple. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1201 or radio frequency will to be come from The electric signal of circuit 1204 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1207 may be used also To include earphone jack.
Positioning component 1208 is used for the current geographic position of positioning terminal 1200, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1208 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1209 is used to be powered for the various components in terminal 1200.Power supply 1209 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1209 includes rechargeable battery, which can be line charge Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1200 further includes having one or more sensors 1210.One or more sensing Device 1210 includes but is not limited to: acceleration transducer 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensing Device 1214, optical sensor 1215 and proximity sensor 1216.
Acceleration transducer 1211 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1200 Size.For example, acceleration transducer 1211 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1201 acceleration of gravity signals that can be acquired according to acceleration transducer 1211, control touch display screen 1205 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1211 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1212 can detecte body direction and the rotational angle of terminal 1200, gyro sensor 1212 Acquisition user can be cooperateed with to act the 3D of terminal 1200 with acceleration transducer 1211.Processor 1201 is according to gyro sensors The data that device 1212 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1205 in terminal 1200 can be set in pressure sensor 1213.When When the side frame of terminal 1200 is arranged in pressure sensor 1213, user can detecte to the gripping signal of terminal 1200, by Reason device 1201 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1213 acquires.Work as pressure sensor 1213 when being arranged in the lower layer of touch display screen 1205, is grasped by processor 1201 according to pressure of the user to touch display screen 1205 Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1214 is used to acquire the fingerprint of user, is collected by processor 1201 according to fingerprint sensor 1214 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1214 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1201, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1214 can be set Set the front, the back side or side of terminal 1200.When being provided with physical button or manufacturer Logo in terminal 1200, fingerprint sensor 1214 can integrate with physical button or manufacturer Logo.
Optical sensor 1215 is for acquiring ambient light intensity.In one embodiment, processor 1201 can be according to light The ambient light intensity that sensor 1215 acquires is learned, the display brightness of touch display screen 1205 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1205 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1205 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1201 can also be acquired according to optical sensor 1215, is moved The acquisition parameters of state adjustment CCD camera assembly 1206.
Proximity sensor 1216, also referred to as range sensor are generally arranged at the front panel of terminal 1200.Proximity sensor 1216 for acquiring the distance between the front of user Yu terminal 1200.In one embodiment, when proximity sensor 1216 is examined When measuring the distance between the front of user and terminal 1200 and gradually becoming smaller, by processor 1201 control touch display screen 1205 from Bright screen state is switched to breath screen state;When proximity sensor 1216 detect the distance between front of user and terminal 1200 by When gradual change is big, touch display screen 1205 is controlled by processor 1201 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1200 of structure shown in Figure 12 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The embodiment of the invention also provides a kind of computer readable storage medium, stored in the computer readable storage medium There are at least one instruction, at least a Duan Chengxu, code set or described instruction collection, described at least one instructs, is at least one section described Program, the code set or described instruction collection are loaded by processor and are executed the identification side to realize facial image shown in Fig. 2 Method.
Computer readable storage medium provided in an embodiment of the present invention, by each terminal that will receive broadcast message It is added in facial image list with reference to facial image, and then facial image is identified based on facial image list.Due to Without matching facial image to be identified with reference to facial image with every in face database, thus greatly reduce people Calculation amount when face identifies, and authentication information is inputted without user, identification method is more convenient, can preferably protect user Privacy.
Figure 13 is a kind of identification server for facial image shown according to an exemplary embodiment.Referring to Fig.1 3, Server 1300 includes processing component 1322, further comprises one or more processors, and by 1332 generations of memory The memory resource of table, can be by the instruction of the execution of processing component 1322, such as application program for storing.In memory 1332 The application program of storage may include it is one or more each correspond to one group of instruction module.In addition, processing group Part 1322 is configured as executing instruction, function performed by server in the recognition methods to execute above-mentioned facial image.
Server 1300 can also include the power management that a power supply module 1326 is configured as execute server 1300, One wired or wireless network interface 1350 is configured as server 1300 being connected to network and an input and output (I/O) Interface 1358.Server 1300 can be operated based on the operating system for being stored in memory 1332, such as Windows ServerTM, Mac OS XTM, UnixTM,LinuxTM, FreeBSDTMOr it is similar.
Server provided in an embodiment of the present invention, the reference facial image of each terminal by the way that broadcast message will be received It is added in facial image list, and then facial image is identified based on facial image list.Due to without will be to be identified Facial image is matched with every in face database with reference to facial image, thus greatly reduces meter when recognition of face Calculation amount, and authentication information is inputted without user, identification method is more convenient, can preferably protect the privacy of user.
It should be understood that server provided by the above embodiment, terminal and service equipment are known to facial image When other, only the example of the division of the above functional modules, in practical application, it can according to need and by above-mentioned function Distribution is completed by different functional modules, i.e., the internal structure of server, terminal and service equipment is divided into different functions Module, to complete all or part of the functions described above.In addition, server provided by the above embodiment, terminal and service Apparatus embodiments and the recognition methods embodiment of facial image belong to same design, and specific implementation process is detailed in method implementation Example, which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of recognition methods of facial image, which is characterized in that the described method includes:
The encryption information that terminal is sent is received, and the encryption information is decrypted using predetermined encryption algorithm, obtains user Mark and service device identification, the encryption information are terminal transmission in the broadcast message for receiving service equipment, institute Stating broadcast message includes that the service equipment identifies;
From face database, it is corresponding with reference to facial image to obtain the user identifier, is stored in the face database Corresponding relationship between user identifier and reference facial image;
It is added to described in the corresponding facial image list of the service equipment mark with reference to facial image, the facial image At least one that the terminal for receiving the broadcast message is stored in list is to be matched with reference to facial image;
The facial image to be identified that the service equipment is sent is received, the facial image to be identified and the facial image are arranged The facial image to be matched that refers in table is matched;
When the facial image to be identified and any it is to be matched with reference between facial image, match degree is greater than the preset threshold, really The fixed facial image to be identified matches with the facial image to be matched that refers to.
2. the method according to claim 1, wherein the information after decryption further includes the terminal and the service The distance between equipment, it is described to be added to the corresponding facial image list of the service equipment mark with reference to facial image for described In, comprising:
According to the distance between the terminal and the service equipment, determine that the facial image that refers to is arranged in the facial image Position in table;
According to identified position, it is added to described in the facial image list with reference to facial image.
3. the method according to claim 1, wherein the information after decryption further includes the signal of the broadcast message Intensity, it is described to be added to described in the corresponding facial image list of the service equipment mark with reference to facial image, comprising:
According to the signal strength of the broadcast message, the position with reference to facial image in the facial image list is determined It sets;
According to identified position, it is added to described in the facial image list with reference to facial image.
4. according to the method in any one of claims 1 to 3, which is characterized in that described by the facial image to be identified It is matched with the facial image to be matched that refers in the facial image list, comprising:
Extract the sex character and age characteristics of the facial image to be identified;
According to the sex character and age characteristics of the facial image to be identified, the facial image list is screened, is obtained To an at least object reference facial image;
The five features of the facial image to be identified is extracted, and extracts the five features of every object reference facial image;
The five features of the facial image to be identified is matched with the five features of every object reference facial image;
The facial image to be identified and any matching degree to be matched with reference between facial image worked as is greater than default threshold Value determines that the facial image to be identified matches with the facial image to be matched that refers to, comprising:
If between the five features of the facial image to be identified and the five features of any object reference facial image Matching degree is greater than the preset threshold, it is determined that the facial image to be identified matches with the object reference facial image.
5. according to the method in any one of claims 1 to 3, which is characterized in that the method also includes:
When receiving the leave group message that the terminal is sent, deleted described from the facial image list with reference to facial image It removes;Alternatively,
When detect it is described reach preset time with reference to storage time of the facial image in the facial image list when, by institute It states and is deleted from the facial image list with reference to facial image.
6. the method according to claim 1, wherein the method also includes:
When receiving monitoring releasing message, the terminal is released to the monitor function of the broadcast message.
7. a kind of recognition methods of facial image, which is characterized in that the described method includes:
The broadcast message that service equipment is sent is received, the broadcast message includes that service equipment identifies;
Encryption information is sent to server, the encryption information is decrypted using predetermined encryption algorithm by the server, User identifier and service equipment mark are obtained, the user identifier obtains pair for the server from face database The reference facial image answered, and the corresponding facial image list of the service equipment mark is added to reference to facial image by described In, the face database is stored with user identifier and with reference to the corresponding relationship between facial image, the facial image list In be stored at least one of the terminal for receiving the broadcast message it is to be matched with reference to facial image, described at least one to The facial image to be identified that the service equipment is sent is identified for the server with reference facial image.
8. the method according to the description of claim 7 is characterized in that the method also includes:
The registration information of user is obtained, the registration information includes described with reference to facial image;
The registration information is sent to the server, the registration information generates user's mark for the server Know, and according to the user identifier and the corresponding relationship with reference between facial image, establishes the face database.
9. a kind of recognition methods of facial image, which is characterized in that the described method includes:
Broadcast message is sent, described broadcast the message includes that service equipment identifies, and the broadcast message receives described for triggering The terminal to server of broadcast message sends encryption information, and the encryption message obtains user identifier after being decrypted by the server It is identified with the service equipment, the user identifier is corresponding with reference to facial image for server acquisition, and will be described The service equipment is added to reference to facial image to identify in corresponding facial image list, is stored in the facial image list Have at least one of the terminal for receiving the broadcast message it is to be matched with reference to facial image;
When the acquisition for detecting facial image operates, facial image to be identified is obtained, and the facial image to be identified is sent out It send to the server, by the server according to described at least one reference facial image to be matched to the face to be identified Image is identified.
10. a kind of identification server for facial image, which is characterized in that the server includes:
Receiving module, for receiving the encryption information of terminal transmission;
Information deciphering module obtains user identifier kimonos for the encryption information to be decrypted using predetermined encryption algorithm Business device identification, the encryption information are terminal transmission in the broadcast message for receiving service equipment, and the broadcast disappears Breath includes that the service equipment identifies;
Image collection module, it is corresponding with reference to facial image, the people for from face database, obtaining the user identifier User identifier is stored in face database and with reference to the corresponding relationship between facial image;
Module is added in image, for being added to the corresponding facial image column of the service equipment mark with reference to facial image for described In table, at least one that the terminal for receiving the broadcast message is stored in the facial image list is to be matched with reference to face Image;
The receiving module, the facial image to be identified sent for receiving the service equipment;
Images match module, for be matched in the facial image to be identified and the facial image list to be referred to face Image is matched;
Determining module, for when the facial image to be identified and any to be matched big with reference to the matching degree between facial image In preset threshold, determine that the facial image to be identified matches with the facial image to be matched that refers to.
11. a kind of identification terminal for facial image, which is characterized in that the terminal includes:
Message reception module, for receiving the broadcast message of service equipment transmission, the broadcast message includes that service equipment identifies;
Information sending module, for sending encryption information to server, by the server using predetermined encryption algorithm to described Encryption information is decrypted, obtain user identifier and the service equipment mark, the user identifier for the server from It obtains corresponding with reference to facial image in face database, and is added to the service equipment by described with reference to facial image and identifies In corresponding facial image list, the face database is stored with the corresponding pass between user identifier and reference facial image It is at least one reference face figure to be matched that the terminal for receiving the broadcast message is stored in the facial image list Picture, described at least one face to be identified to be matched that the service equipment is sent for the server with reference to facial image Image is identified.
12. a kind of identification service equipment for facial image, which is characterized in that the service equipment includes:
Message transmission module, for sending broadcast message, the broadcast message includes that service equipment identifies, and the broadcast message is used Encryption information is sent in the terminal to server that triggering receives the broadcast message, the encryption message is by the server solution User identifier and service equipment mark are obtained after close, the user identifier obtains corresponding reference man for the server Face image, and be added to described in the corresponding facial image list of the service equipment mark with reference to facial image, the people At least one that the terminal for receiving the broadcast message is stored in face image list is to be matched with reference to facial image;
Image collection module, for obtaining facial image to be identified when the acquisition for detecting facial image operates;
Image sending module, for the facial image to be identified to be sent to the server, by the server according to institute At least one facial image to be matched that refers to is stated to identify the facial image to be identified.
13. a kind of identification device of facial image, which is characterized in that described device is server or terminal or service equipment, institute Stating device includes processor and memory, be stored in the memory at least one instruction, an at least Duan Chengxu, code set or Instruction set;
When described device is server, at least one instruction, an at least Duan Chengxu, the code set or the finger Collection is enabled to be loaded by the processor and executed to realize the identification side such as facial image described in any one of claims 1 to 6 Method;
When described device is terminal, at least one instruction, an at least Duan Chengxu, the code set or described instruction Collection is loaded by the processor and is executed the recognition methods to realize facial image as claimed in claim 7 or 8;
When described device is service equipment, at least one instruction, an at least Duan Chengxu, the code set or described Instruction set is loaded by the processor and is executed the recognition methods to realize facial image as claimed in claim 9.
14. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or described Instruction set is loaded by processor and is executed to realize the recognition methods such as facial image described in any one of claims 1 to 6, Alternatively, the recognition methods of facial image as claimed in claim 7 or 8 is realized, or, realizing face as claimed in claim 9 The recognition methods of image.
CN201810091126.2A 2018-01-30 2018-01-30 Recognition methods, server, terminal and the service equipment of facial image Pending CN110097368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810091126.2A CN110097368A (en) 2018-01-30 2018-01-30 Recognition methods, server, terminal and the service equipment of facial image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810091126.2A CN110097368A (en) 2018-01-30 2018-01-30 Recognition methods, server, terminal and the service equipment of facial image

Publications (1)

Publication Number Publication Date
CN110097368A true CN110097368A (en) 2019-08-06

Family

ID=67442326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810091126.2A Pending CN110097368A (en) 2018-01-30 2018-01-30 Recognition methods, server, terminal and the service equipment of facial image

Country Status (1)

Country Link
CN (1) CN110097368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688974A (en) * 2019-09-30 2020-01-14 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN110852193A (en) * 2019-10-23 2020-02-28 中国建设银行股份有限公司 Face recognition method and device
CN114140837A (en) * 2020-08-12 2022-03-04 腾讯科技(深圳)有限公司 Face recognition method, template configuration method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616149A (en) * 2015-02-06 2015-05-13 清华大学 Bluetooth technology and biometric feature recognition based payment method and system
US20170308739A1 (en) * 2015-06-11 2017-10-26 Tencent Technology (Shenzhen) Company Limited Human face recognition method and recognition system
CN107609508A (en) * 2017-09-08 2018-01-19 深圳市金立通信设备有限公司 A kind of face identification method, terminal and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616149A (en) * 2015-02-06 2015-05-13 清华大学 Bluetooth technology and biometric feature recognition based payment method and system
US20170308739A1 (en) * 2015-06-11 2017-10-26 Tencent Technology (Shenzhen) Company Limited Human face recognition method and recognition system
CN107609508A (en) * 2017-09-08 2018-01-19 深圳市金立通信设备有限公司 A kind of face identification method, terminal and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688974A (en) * 2019-09-30 2020-01-14 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN110688974B (en) * 2019-09-30 2022-10-25 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN110852193A (en) * 2019-10-23 2020-02-28 中国建设银行股份有限公司 Face recognition method and device
CN114140837A (en) * 2020-08-12 2022-03-04 腾讯科技(深圳)有限公司 Face recognition method, template configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111147881B (en) Electronic resource distribution method and device in live broadcast, storage medium and equipment
CN108900858A (en) A kind of method and apparatus for giving virtual present
CN110139142A (en) Virtual objects display methods, device, terminal and storage medium
CN109729378A (en) Information processing method, the method and device that welfare is got in live streaming platform
CN110290421A (en) Frame per second method of adjustment, device, computer equipment and storage medium
CN108848394A (en) Net cast method, apparatus, terminal and storage medium
CN109711832A (en) The methods, devices and systems paid
CN108897597A (en) The method and apparatus of guidance configuration live streaming template
CN107959893A (en) The method and apparatus for showing account head portrait
CN110491358A (en) Carry out method, apparatus, equipment, system and the storage medium of audio recording
CN111083516A (en) Live broadcast processing method and device
CN108965922A (en) Video cover generation method, device and storage medium
CN109948586A (en) Method, apparatus, equipment and the storage medium of face verification
CN108900925A (en) The method and apparatus of live streaming template are set
CN110418152A (en) It is broadcast live the method and device of prompt
CN110032417A (en) Session entry mask method, apparatus, equipment and storage medium
CN110533585A (en) A kind of method, apparatus that image is changed face, system, equipment and storage medium
CN110097368A (en) Recognition methods, server, terminal and the service equipment of facial image
CN111031391A (en) Video dubbing method, device, server, terminal and storage medium
CN110147503A (en) Information issuing method, device, computer equipment and storage medium
CN109771955A (en) Invite request processing method, device, terminal and storage medium
CN108804180A (en) Display methods, device, terminal and the storage medium of user interface
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN110659895A (en) Payment method, payment device, electronic equipment and medium
CN109544117A (en) Meeting room information display method, device, terminal, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination