WO2022121635A1 - 基于人脸识别的信息处理方法、装置、存储介质及终端 - Google Patents
基于人脸识别的信息处理方法、装置、存储介质及终端 Download PDFInfo
- Publication number
- WO2022121635A1 WO2022121635A1 PCT/CN2021/131051 CN2021131051W WO2022121635A1 WO 2022121635 A1 WO2022121635 A1 WO 2022121635A1 CN 2021131051 W CN2021131051 W CN 2021131051W WO 2022121635 A1 WO2022121635 A1 WO 2022121635A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- interface
- face recognition
- recognition device
- information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000010365 information processing Effects 0.000 title claims abstract description 48
- 230000001815 facial effect Effects 0.000 title abstract description 8
- 238000004891 communication Methods 0.000 claims abstract description 64
- 238000012795 verification Methods 0.000 claims description 105
- 238000012545 processing Methods 0.000 claims description 27
- 238000003672 processing method Methods 0.000 claims description 24
- 230000001960 triggered effect Effects 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 10
- 230000003862 health status Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 27
- 230000008569 process Effects 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000004438 eyesight Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 208000001491 myopia Diseases 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000010079 rubber tapping Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 208000006992 Color Vision Defects Diseases 0.000 description 1
- 241000699666 Mus <mouse, genus> Species 0.000 description 1
- 241000699670 Mus sp. Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004397 blinking Effects 0.000 description 1
- 201000007254 color blindness Diseases 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 238000001727 in vivo Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0861—Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/068—Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present application relates to the field of communication technologies, and in particular, to an information processing method, device, storage medium and terminal based on face recognition.
- the embodiments of the present application provide an information processing method, device, storage medium and terminal based on face recognition, which realizes the targeted generation of a user interface (ie, a target logical interface) based on user characteristics, and effectively improves the use process of face recognition equipment.
- a user interface ie, a target logical interface
- the fluency and diversity of its functions make the authentication results more reliable.
- the embodiment of the present application provides an information processing method based on face recognition, which is executed by a face recognition device, and the method includes:
- a user instruction sent by the user equipment is obtained;
- the user instruction includes an interface feature for setting the target logic interface on the face recognition device. At least one preset parameter, the target logic interface is used to verify the identity of the user;
- the embodiment of the present application also provides an information processing method based on face recognition, which is executed by the user equipment, and the method includes:
- the face recognition device After detecting that the user equipment has established a communication connection with the face recognition device, send a user instruction to the face recognition device based on the pre-saved configuration information, where the user instruction includes a setting for setting the settings on the face recognition device.
- the user instruction includes a setting for setting the settings on the face recognition device.
- at least one preset parameter of the interface feature of the target logic interface, the target logic interface is used to verify the identity of the user;
- the face recognition device sets the interface feature on the face recognition device according to the user instruction, and generates the target logic interface; obtains the user's verification information, and collects the current user through the target logic interface
- the face image is obtained, and the verification result used to verify the identity of the current user based on the face image and the verification information is obtained.
- the embodiment of the present application also provides an information processing device based on face recognition, including:
- an instruction acquisition unit configured to acquire a user instruction sent by the user equipment after detecting that the face recognition device establishes a communication connection with the user equipment;
- the user instruction includes a target logic interface for setting the face recognition equipment at least one preset parameter of the interface feature, the target logic interface is used to verify the identity of the user;
- a presentation unit configured to set the interface feature on the face recognition device according to the user instruction, and generate the target logic interface
- an information acquisition unit used to acquire the authentication information of the user
- a collection unit configured to collect the face image of the current user through the target logic interface
- a verification unit configured to obtain a verification result of verifying the identity of the current user based on the face image and the verification information.
- the embodiment of the present application also provides another information processing apparatus based on face recognition, including:
- a receiving unit configured to receive a logic interface setting instruction triggered by the user through the user operation page displayed by the application
- a display unit configured to display a logic interface setting page according to the logic interface setting instruction
- a content acquisition unit configured to acquire the target content input by the user through the logical interface setting page
- a generating unit configured to generate configuration information based on the target content
- a processing unit configured to send a user instruction to the face recognition device based on the configuration information after detecting that the user equipment has established a communication connection with the face recognition device, where the user instruction includes settings for setting the face recognition device At least one preset parameter of the interface feature of the target logic interface on the target logic interface, the target logic interface is used to verify the identity of the user;
- the face recognition device sets the interface feature on the face recognition device according to the user instruction, and generates the target logic interface; obtains the user's verification information, and collects the current user through the target logic interface
- the face image is obtained, and the verification result used to verify the identity of the current user based on the face image and the verification information is obtained.
- an embodiment of the present application also provides a computer-readable storage medium, where the storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor to execute the above-mentioned information based on face recognition Approach.
- an embodiment of the present application also provides a terminal, including a memory, a processor, and a computer program stored in the memory and running on the processor, when the processor executes the program, the above-mentioned based Information processing method for face recognition.
- FIG. 1 is a schematic flowchart of an information processing method based on face recognition provided by an embodiment of the present application.
- FIG. 2 is another schematic flowchart of the information processing method based on face recognition provided by an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of an information processing system frame based on face recognition provided by an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an information processing apparatus based on face recognition provided by an embodiment of the present application.
- FIG. 5 is another schematic structural diagram of an information processing apparatus based on face recognition provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- the current face recognition-related applications all have inherent interface display logic, but the inherent interface logic may have a certain impact on the use of devices by different users. For example, for users with poor eyesight (such as the elderly and short-sighted people), it is easy to see the content of the interface clearly due to the small user interface; The display logic is simple and affects the security of user information.
- the embodiments of the present application provide an information processing method, device, storage medium and terminal based on face recognition.
- the information processing device based on face recognition can be specifically integrated in a terminal device with a camera and a storage unit, such as a tablet PC (Personal Computer), a mobile phone, and a microprocessor with computing capability.
- a terminal device with a camera and a storage unit, such as a tablet PC (Personal Computer), a mobile phone, and a microprocessor with computing capability.
- a storage unit such as a tablet PC (Personal Computer), a mobile phone, and a microprocessor with computing capability.
- AI Artificial Intelligence
- Computer vision technology (Computer Vision, CV) is a science that studies how to make machines "see”. Further, it refers to the use of cameras and computers instead of human eyes to identify, track, and measure targets, and further. Do graphics processing to make computer processing become images more suitable for human eye observation or transmission to instruments for detection.
- Computer vision technology usually includes image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content/behavior recognition, 3D object reconstruction, 3D technology, virtual reality, augmented reality, simultaneous localization and mapping It also includes common biometric identification technologies such as face recognition and fingerprint recognition.
- face recognition technology is used to recognize the collected face images, and the user identity is authenticated based on the face recognition results, so as to provide a judgment standard for a series of subsequent information processing operations based on face recognition. , so as to achieve the purpose of intelligent processing of information.
- FIG. 1 is a schematic flowchart of a method for processing information based on face recognition provided by an embodiment of the present application.
- the information processing method based on face recognition can be applied to face recognition equipment, and the specific process can be as follows:
- the face recognition device After detecting that the face recognition device establishes a communication connection with the user equipment, obtain a user instruction sent by the user equipment, and the user instruction includes an interface feature for setting the target logic interface on the face recognition device. At least one preset parameter, the target logic interface is used to verify the identity of the user.
- the face recognition device detects that a communication connection is established with the user equipment, it acquires the user instruction sent by the user equipment.
- the face recognition device may be a device that can provide users with services related to face-swiping together with the background, such as a vending machine, a POS machine, a cash machine, and the like with face-swiping function.
- the user equipment may be a mobile smart terminal device such as a smart phone and a tablet computer.
- the face recognition device can establish a communication connection with the user equipment through short-range communication, such as BT (Bluetooth, Bluetooth), Wi-Fi (Wireless Fidelity, wireless high fidelity), ZigBee technology, IrDA technology, NFC ( Near Field Communication, short-range wireless transmission), ultra-wideband technology UWB (Ultra Wideband), etc.
- short-range communication such as BT (Bluetooth, Bluetooth), Wi-Fi (Wireless Fidelity, wireless high fidelity), ZigBee technology, IrDA technology, NFC ( Near Field Communication, short-range wireless transmission), ultra-wideband technology UWB (Ultra Wideband), etc.
- the target logic interface may be a UI interface on a face recognition device.
- the UI interface displayed on the face recognition device may include: Face recognition controls, verification information input controls, etc., so that the user can complete the identity verification through the UI interface.
- the user instruction may include a control instruction for controlling a function item of the generated target logic interface, for example, may be a control instruction triggered by a user through an application client installed in the user equipment.
- the control instruction can specifically control a display instruction displayed on the target logic interface, or a payment instruction for submitting an order for a certain commodity.
- the face recognition device can obtain user instructions sent by the user equipment through the wireless link with the user equipment.
- shopping and transaction applications can be installed in the face recognition device, and the user can make payment through the face recognition function of the face recognition device after purchasing the product. For example, when a user uses a shopping application installed in the terminal to add a product and submits an order for purchase, a payment instruction can be triggered.
- the user equipment can send a user command to the face recognition device based on the pre-defined setting information, so that the face recognition device can respond to the user command after receiving it.
- the preset parameters contained in the user instruction corresponding to at least one interface feature (such as interface style and operation logic) of the logic interface, instruct to generate the target logic interface. Therefore, compared with the prior art, a targeted generation of a user interface (ie, a target logical interface) based on user characteristics is realized, which effectively improves the diversity of the functions of the face recognition device and the fluency of the device use process, so that the authentication results can be improved. more reliable.
- the at least one preset parameter includes: an interface identification parameter, an interface attribute parameter, and a security setting parameter of the interface to be displayed.
- Step 102 may include the following process:
- the initial logic interface is adjusted to obtain the target logic interface.
- the face recognition device After the face recognition device receives the user instruction, it will transfer the user instruction to the parsing layer for parsing, and parse to obtain the interface identification parameters, interface attribute parameters and security setting parameters of the interface to be displayed. Then pass the parsed information to the UI control layer.
- the UI control layer determines the interface component activity to be used (that is, the specified interface component) according to the interface identification parameters of the interface to be displayed, and then builds the corresponding initial logical interface based on the specified interface component, and then based on the interface attribute parameters obtained by parsing the user instructions and Set parameters safely, and adjust the currently constructed initial logic interface to obtain the target logic interface.
- the target logic interface is a logic interface precisely set according to user characteristics.
- the security setting parameter may be a security level.
- the higher the security level the higher the requirements for the security and privacy of the interface, and the more complex the operation logic of the required logic interface. Since the interface layout and operation logic are closely related, the interface layout of the current logic interface can be adjusted based on the security setting parameters, and the corresponding operation logic can be associated with the adjusted initial logic interface. For example, the currently generated logical interface only has a face verification area, and the security level corresponding to the parsed security setting parameters requires secondary password verification. Therefore, a secondary password verification area can be added to the current logical interface for the user Enter a password through the secondary password verification area to perform secondary identity verification.
- the present invention realizes multiple verification of the user's identity, effectively solves the problem of low security of user data processing in the prior art, prevents the improper use or theft of the user's identity, and makes the verification result Safer and more reliable.
- the interface attribute parameters may be interface attribute parameters such as text size, interface color, and interface style.
- the face recognition device will adjust the interface attributes of the logical interface after adjusting the interface layout and running the logic according to the interface attribute parameters, so as to obtain a logical interface that fully considers user characteristics. For example, if the font size in the current logical interface is 12, the overall color style of the interface is black, and the font size indicated in the interface attribute parameter is 24, and the color is red, the font size of the current logical interface can be changed from 12 based on the interface parameter to 12 Adjust it to 24, and adjust the color from black to red, so as to adjust the interface properties.
- the interface attribute parameters are automatically set by the user equipment according to information such as age, health status and the like input by the user in the user equipment.
- the user device can automatically set the font size, and according to the user's health status (such as color blindness, etc.), the interface color can be automatically set, and so on.
- the user's age and health status can also be provided to the face recognition device, and the face recognition device can automatically adjust the display of the interface based on the user's age and health status and other characteristics.
- the present invention realizes the real-time adaptation of the face recognition equipment and the user equipment, and effectively improves the reliability of the face recognition and user identity verification results.
- an image recognition algorithm can be used to recognize the face image.
- an offline recognition algorithm can be deployed in the face recognition device, and a local database containing sample face images can be set up to realize offline recognition of the face image on the local side of the face recognition device.
- an identification instruction may be sent to the server to realize online identification of the face image on the server side.
- the user's verification information (such as a mobile phone number) can be transparently transmitted to the face recognition device directly through a connection such as Bluetooth, and the user does not need to input the input on the face recognition device. verify message.
- the face recognition device may obtain the verification information input by the user through the target logic interface.
- the target logic interface includes: input controls.
- the input control can be displayed on the target logic interface in the form of an input box.
- the user is prompted to re-enter the verification information.
- the input control includes: a first sub-control and a second sub-control.
- the communication identifier eg, mobile phone number
- the password information input by the user can be obtained through the second sub-control.
- the internal operation logic of the input control may require the input of validation information in a specific format.
- the input control may require the input of a 13-digit valid mobile phone number or a 4-digit tail number. If a 5-digit string is input, the user will be prompted to re-enter the verification information.
- the face image is a real face image collected in real time in the current scene.
- a camera preferably a front camera in this embodiment
- the face recognition device can be used to detect the current scene image to obtain a face image that meets the requirements.
- face images that can be screened through local optimization and in vivo processes can be collected.
- liveness detection can be performed through combined actions such as blinking, opening mouth, shaking head, and nodding, and using technologies such as facial key point location and face tracking to verify whether the user is a real living body.
- an offline recognition algorithm can be deployed in the face recognition device, and a local database containing sample face images can be set up to realize offline recognition of the face image on the local side of the face recognition device.
- the face image and the verification information can be sent to the server, so as to realize the online verification of the face image and the verification information on the server side.
- the verification information may include communication identification and password information.
- the preset face database includes face data of multiple users, and each face data is pre-associated with corresponding sample identification and sample password information (which may be provided by the user when entering face data).
- the preset database can be set locally in the device or stored in a server corresponding to the device system.
- the face image is first preprocessed.
- the preprocessing process mainly includes light compensation, grayscale transformation, histogram equalization, normalization, geometric correction, filtering and sharpening of the face image. Wait. Then, extract the features of the face image, which is the process of modeling the features of the face, and can use the knowledge-based characterization method, the algebraic feature or statistical learning-based characterization method to extract the face features.
- the knowledge-based representation method mainly obtains the feature data that is helpful for face classification according to the shape description of the face organs and the distance between them.
- the feature components usually include the Euclidean distance, curvature and distance between feature points. angle etc.
- the human face is composed of parts such as eyes, nose, mouth, chin, etc. The geometric description of these parts and the structural relationship between them can be used as an important feature to identify the face, and these features are called geometric features.
- the knowledge-based face representation mainly includes geometric feature-based methods and template matching methods.
- face image matching and recognition will be performed. Specifically, the extractable feature data of the face image is compared with the face feature template in the local database, and the identity information of the face is judged according to the degree of similarity.
- the sample communication identifier and the sample password information associated with the target sample face image can be obtained as a verification reference. Then, the communication identification is verified based on the sample communication identification, and the password information is verified based on the sample password information, so as to determine whether the current user identity is true and valid by means of secondary verification.
- the verification of the communication identifier is passed and the verification of the password information is passed, it is determined that the identity verification of the current user is passed, and relevant business operations can be performed at this time. For example, if the target logical interface is a payment interface, a corresponding payment operation can be performed.
- a user instruction sent by the user equipment is obtained, and the user instruction includes a method for setting a target on the face recognition equipment
- At least one preset parameter of the interface feature of the logic interface the target logic interface is used to verify the identity of the user; the interface feature is set according to the user instruction, the target logic interface is generated, and the target logic is displayed interface; obtain the verification information of the user; collect the face image of the current user through the target logic interface; and obtain the verification result of verifying the identity of the current user based on the face image and the verification information.
- This solution controls the logical interface display of the face recognition device by providing the operation entry for setting customized face-related services through the application client, realizing the targeted generation of the user interface (ie the target logical interface) based on user characteristics, and effectively improving the face recognition.
- the smoothness of the device usage process and the variety of its functions make the authentication results more reliable.
- FIG. 2 is another schematic flowchart of the information processing method based on face recognition provided by an embodiment of the present application.
- the information processing method based on face recognition can be applied to user equipment, and the specific process can be as follows:
- the user equipment may be a mobile smart terminal device such as a smart phone, a tablet computer, or the like.
- An application client may be installed in the user equipment, and the application client may be provided with an operation entry (ie, a user operation page) for setting the logical interface display of the face recognition device.
- the user operation page may include a trigger control, and the user may set instructions through the trigger logic interface.
- the trigger control is a visual control, that is, the trigger control can be displayed on the user operation page. By clicking, touching, sliding and other operations on the trigger control, the applet search instruction can be triggered.
- the trigger control may also be a control without a physical form, that is, the trigger control is invisible to the user.
- the applet search instruction can be triggered by shaking, tapping, and other operations on the terminal display screen or the terminal body on the user operation page.
- the first logic interface setting instruction may carry the page identifier of the page to be displayed.
- the device can call the corresponding interface component to render and update the current page based on the page identifier carried by the first logical interface setting instruction, so as to switch the current page to the first logical interface
- the setup instruction indicates the displayed logic interface setup page.
- the form of the target content may be one or more of text information, image information, voice information and video information.
- the logical interface setting page includes a content input control through which the user can input target content.
- the information input control may be a text input box, and the input of the target content is realized by inputting text information in the text input box;
- the information input control may be an image input control, which can be read by triggering the image input control Locally stored image data, from which the corresponding interface attribute parameters and/or interface layout information are obtained by parsing as input; or the camera of the terminal can also be called through the image input control to capture other interface images in the current scene, and parsed and obtained from it Corresponding interface attribute parameters and/or interface layout information to realize the input of target content.
- the microphone provided in the user equipment can be called by voice on the logical interface setting page, the voice information input by the user can be obtained through the microphone, and the voice information can be recognized, so as to realize the input of the target content.
- valid content can be extracted from the target content according to preset rules to generate configuration information in a specified format.
- steps 201-204 may be performed only once, and need not be performed every time before establishing a connection with the face recognition device.
- a user instruction may be sent to the face recognition device directly according to the generated configuration information.
- the target logic interface is used to verify the identity of the user.
- the face recognition device can establish a communication connection with the user equipment through short-range communication, such as BT (Bluetooth, Bluetooth), Wi-Fi (Wireless Fidelity, wireless high fidelity), ZigBee technology, IrDA technology, NFC ( Near Field Communication, short-range wireless transmission), ultra-wideband technology UWB (Ultra Wideband), etc.
- short-range communication such as BT (Bluetooth, Bluetooth), Wi-Fi (Wireless Fidelity, wireless high fidelity), ZigBee technology, IrDA technology, NFC ( Near Field Communication, short-range wireless transmission), ultra-wideband technology UWB (Ultra Wideband), etc.
- the user equipment can send user instructions to the face recognition device through a wireless link with the face recognition device.
- the face recognition device may be a device capable of handling face-swiping-related services, such as a vending machine and a cash register with a face-swiping function.
- Shopping and transaction applications can be installed in the face recognition device, and the user can make payment through the face recognition function of the face recognition device after purchasing the product. For example, when a user uses a shopping application installed in the terminal to add a commodity and submits an order for purchase, a payment instruction can be triggered, and an interface setting request is sent to the user device. In response to the interface setting request, the user equipment sends a user instruction to the face recognition device based on the configuration information, so as to control the display of the logical interface of the face recognition device.
- a logic interface is displayed based on the second logic interface setting instruction Settings page.
- the logical interface setting page displays setting content corresponding to the configuration information.
- a logical interface setting page is generated and displayed according to the logical interface setting instruction, and the logical interface setting page is obtained and displayed.
- the target content input on the interface setting page, and the configuration information is generated based on the target content.
- a user instruction is generated based on the configuration information, and the user instruction is sent to the face recognition device.
- This solution controls the logical interface display of the face recognition device by providing the operation entry for setting customized face-related services through the application client, realizing the targeted generation of user interfaces (ie target logical interfaces) based on user characteristics, and effectively improving face recognition.
- the smoothness of the device usage process and the variety of its functions make the authentication results more reliable.
- FIG. 3 is a schematic structural diagram of an information processing system based on face recognition provided by an embodiment of the present application.
- the information processing system may include the following modules:
- An application client is installed on the user equipment side.
- the user instruction setting entry of the face recognition device is provided, which are UI control module and privacy control module respectively.
- the UI control module can be used to control interface attribute information, such as font type, font size, interface color, interface style and style, etc.
- the privacy control module can be used to set the relevant operation logic of the interface, such as whether secondary verification is required.
- the UI control module can provide three levels of large, medium and small for users to choose when controlling the font size; when controlling the color tone display of the interface, it can provide a bright color mode (applicable to daytime) and a dark color mode (applicable to nighttime) for users to choose. choose.
- the setting information can be written into the database of the application client in the specified format.
- the stored data is ⁇ ui_size:”big”,color_type:”dark” ⁇ , and the data does not need to be sent to the background.
- the privacy control module provides functions such as "full phone number”, “silent phone number”, and "secondary password”.
- "Full mobile phone number” function that is, the face recognition device needs a complete mobile phone number each time before it can perform face recognition related applications; The mobile phone number is transparently transmitted through Bluetooth, WiFi, etc., and the user does not need to enter the mobile phone number on the device; the "secondary password” function, that is, the mobile phone number can be exempted each time face recognition is performed, but additional input is required. Custom password (after setting this switch, the silent phone number is required). After setting the relevant information of the privacy control module, the mobile phone number and the secondary password will be sent to the back-end server for storage, which is convenient for subsequent face recognition verification security.
- the two When the user equipment is close to the face recognition device, the two will establish a communication connection, and the user equipment will transmit the data stored in the database by the UI control module and the privacy control module to the face recognition device through the communication connection.
- the user equipment side When the user equipment side is close to the face recognition equipment side, it will establish a communication connection with the face recognition equipment side, and the face recognition equipment side will receive the UI control module and privacy control module data transmitted from the user equipment side.
- the face recognition device After the face recognition device receives the data, it will be sent to the parsing layer for parsing to confirm whether the currently transmitted data is in line with expectations (such as whether the field is missing, or whether the transmitted content is legal, for example, if an illegal color_type is passed, it needs to be rejected. Serve). After the parsing is successful, the data is sent to the UI control layer.
- the UI control layer will first control the UI according to the instructions of the UI control module, such as resizing the UI buttons and text, and switching the interface style. If the parsing result indicates that the password input control is set, the password input interface is displayed; if the parsing result indicates that the mobile phone number filling is set, the interface for entering the mobile phone number is not displayed, and the silent mobile number in the control protocol is used instead; If the full phone number input is set, the full phone number needs to be entered regardless of the back-end face database strategy.
- the face recognition device After the face recognition device collects the face image and obtains the relevant information about the user's input mobile phone number or password, it will send the data to the back-end face recognition service.
- the back-end service will perform user face recognition after receiving the face image uploaded by the face recognition device and the relevant information of the mobile phone number or password. If a secondary password is set, it is necessary to obtain the secondary password previously set by the user in the application client through the mobile phone number uploaded by the current user through the user privacy control service for comparison.
- the application client provides a face recognition device control instruction setting entry, and the user equipment side writes the custom logic interface setting information into the database of the application client, so that when the user equipment is close to the face recognition device , and transmit the setting information written into the database to the face recognition device, so that the face recognition device can perform corresponding UI control and display a logical interface that conforms to the user's characteristics, which effectively improves the diversity of the face-swiping logic interface.
- the embodiment of the present application further provides an apparatus based on the above-mentioned information processing method based on face recognition.
- the meanings of the nouns are the same as those in the above-mentioned information processing method based on face recognition, and the specific implementation details can refer to the description in the method embodiment.
- FIG. 4 is a schematic structural diagram of an information processing apparatus based on face recognition provided by an embodiment of the present application.
- the information processing apparatus may be set in a face recognition device, and the information processing apparatus may include an instruction acquisition unit 301. , the display unit 302, the information acquisition unit 303, the collection unit 304 and the verification unit 305, which may be as follows:
- the instruction acquisition unit 301 is used to acquire a user instruction sent by the user equipment after detecting that the face recognition device establishes a communication connection with the user equipment; the user instruction includes an instruction for setting the target logic interface on the face recognition equipment. At least one preset parameter of the interface feature, the target logic interface is used to verify the identity of the user;
- a presentation unit 302 configured to set the interface feature on the face recognition device according to the user instruction to generate the target logic interface
- an information acquisition unit 303 configured to acquire authentication information of the user
- a collection unit 304 configured to collect the face image of the current user through the target logic interface
- the verification unit 305 is configured to obtain a verification result of verifying the identity of the current user based on the face image and the verification information.
- the user instructions include: interface identification parameters, interface attribute parameters and security setting parameters of the interface to be displayed;
- the presentation unit 302 may include:
- a calling subunit used for calling a specified interface component to construct an initial logical interface corresponding to the interface identification parameter
- an adjustment subunit for adjusting the initial logic interface according to the interface attribute parameter and the security setting parameter to obtain the target logic interface
- the display subunit is used to display the target logic interface.
- the interface attribute parameters are automatically set by the user equipment according to the user's age and health status input by the user.
- the interface attribute parameters and the security setting parameters are set by the user of the user equipment and stored in the user equipment; the interface attribute parameters include text size, interface color, and interface style;
- the security setting parameters include security level.
- the adjustment subunit may be used to:
- the interface properties of the adjusted initial logic interface are adjusted according to the interface property parameters.
- the information processing apparatus may further include:
- a sending unit configured to send a system version update request to the server if it is detected that the initial logic interface adjustment fails
- An update unit configured to update the system version based on the update data when receiving the update data returned by the server according to the version update request.
- the information obtaining unit 303 may obtain the verification information of the user from the user equipment through the communication connection with the user equipment; or obtain the verification information of the user input through the target logic interface information.
- the target logic interface includes: an input control; the information obtaining unit 303 may be used for:
- the user is prompted to re-enter the verification information.
- the input control includes: a first sub-control and a second sub-control; when obtaining the verification information input by the user through the input control, the information obtaining unit 303 can be specifically used for:
- an offline recognition algorithm may be deployed in the information processing apparatus, and a local database containing sample face images may be set up to realize offline recognition of the face image on the local side of the information processing apparatus.
- the face image and verification information can also be sent to the server, so as to realize online verification of the face image and verification information on the server side.
- the verification unit 305 is used for:
- the instruction obtaining unit 301 is further configured to: in response to a payment instruction triggered by the user on the face recognition device, send an interface setting request to the user equipment; wherein the user instruction is the user Sent by the device in response to the interface setting request.
- the instruction obtaining unit 301 obtains the user instruction sent by the user equipment;
- the interface features are set on the face recognition device to generate a target logical interface;
- the information acquisition unit 303 acquires the verification information of the user;
- the acquisition unit 304 acquires the face image of the current user through the target logical interface;
- the verification unit 305 acquires the face image based on the and verification information to verify the authentication result of the current user's identity.
- This solution controls the logical interface display of the face recognition device by providing the operation entry for setting customized face-related services through the application client, realizing the targeted generation of the user interface (ie the target logical interface) based on user characteristics, and effectively improving the face recognition.
- the smoothness of the device usage process and the variety of its functions make the authentication results more reliable.
- FIG. 5 is another schematic structural diagram of an information processing apparatus based on face recognition provided by an embodiment of the present application.
- the information processing apparatus may be set in a user equipment, and the information processing apparatus may include a receiving unit 401, The display unit 402, the content acquisition unit 403, the generation unit 404 and the processing unit 405 may be specifically as follows:
- a receiving unit 401 configured to receive a logic interface setting instruction triggered by a user through a user operation page displayed by an application
- a display unit 402 configured to display a first logical interface setting page according to the logical interface setting instruction
- a content obtaining unit 403 configured to obtain the target content input by the user through the first logical interface setting page
- a generating unit 404 configured to generate configuration information based on the target content
- the processing unit 405 is configured to send a user instruction to the face recognition device based on the configuration information after it is detected that the user equipment has established a communication connection with the face recognition device, where the user instruction includes settings for setting the face recognition device At least one preset parameter of the interface feature of the target logic interface on the device, the target logic interface is used to verify the identity of the user; wherein, the face recognition device according to the user instruction in the face recognition device
- the interface features are set on the above, and the target logic interface is generated; the verification information of the user is obtained, and the face image of the current user is collected through the target logic interface. The verification result of the current user's identity verification.
- the target content includes the user's communication identifier and password information; the content acquisition unit 403 is further configured to: send the acquired communication identifier and password information to a server for storage.
- the display unit 402 can also be used to:
- a second logic interface setting instruction triggered by the user through the user operation page is detected, a second logic interface setting instruction is displayed based on the second logic interface setting instruction A logical interface setting page, wherein the second logical interface setting page displays setting content corresponding to the configuration information.
- the receiving unit 401 is further configured to: receive an interface setting request sent by the face recognition device, wherein the interface setting request is a response of the face recognition device to the user in the face
- the processing unit 405 is further configured to: in response to the interface setting request, send a user instruction to the face recognition device based on pre-saved configuration information.
- the display unit 402 displays the logic interface setting page according to the logic interface setting instruction;
- the content obtaining unit 403 obtains the target content input by the user through the logical interface setting page;
- the generating unit 404 generates configuration information based on the target content; after detecting that the user equipment and the face recognition device establish a communication connection, the processing unit 405 based on the configuration information to send the user instruction to the face recognition device.
- This solution controls the logical interface display of the face recognition device by providing the operation entry for setting customized face-related services through the application client, realizing the targeted generation of the user interface (ie the target logical interface) based on user characteristics, and effectively improving the face recognition.
- the smoothness of the device usage process and the variety of its functions make the authentication results more reliable.
- the terminal may specifically be a terminal device with a camera, such as a smart phone, a tablet computer, a self-service ordering machine, and other terminal devices.
- the terminal may include a radio frequency (RF, Radio Frequency) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606,
- RF Radio Frequency
- a wireless fidelity (WiFi, Wireless Fidelity) module 607 includes a processor 608 having one or more processing cores, a power supply 609 and other components.
- the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or arrange different components. in:
- the RF circuit 601 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 608 for processing; in addition, it sends the data related to the uplink to the base station. .
- the RF circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc.
- SIM Subscriber Identity Module
- LNA Low Noise Amplifier
- duplexer etc.
- the RF circuit 601 can also communicate with the network and other devices through wireless communication.
- the wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA) , Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Messaging Service (SMS, Short Messaging Service), etc.
- GSM Global System for Mobile Communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Messaging Service
- the memory 602 can be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by running the software programs and modules stored in the memory 602 .
- the memory 602 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data (such as audio data, phone book, etc.) created by the use of the terminal, etc.
- memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 608 and the input unit 603 .
- the input unit 603 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the input unit 603 may include a touch-sensitive surface as well as other input devices.
- a touch-sensitive surface also known as a touch display or trackpad, collects the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable operation near the surface), and drive the corresponding connection device according to the preset program.
- the touch-sensitive surface may include two parts, a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller.
- touch-sensitive surfaces can be implemented using resistive, capacitive, infrared, and surface acoustic wave types.
- input unit 603 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
- the display unit 604 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, videos and any combination thereof.
- the display unit 604 may include a display panel, and optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like.
- the touch-sensitive surface may cover the display panel, and when the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 608 to determine the type of the touch event, and then the processor 608 displays the touch event according to the type of the touch event.
- the corresponding visual output is provided on the panel.
- the touch-sensitive surface and the display panel are implemented as two separate components to implement the input and input functions, in some embodiments, the touch-sensitive surface and the display panel may be integrated to implement the input and output functions.
- the terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or the backlight when the terminal is moved to the ear .
- the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Repeat.
- Audio circuit 606 speakers, and microphones may provide an audio interface between the user and the terminal.
- the audio circuit 606 can convert the received audio data into an electrical signal and transmit it to the speaker, which is then converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted after being received by the audio circuit 606
- the audio data is output to the processor 608 for processing, and then sent to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing.
- the audio circuit 606 may also include an earphone jack to provide communication between peripheral headphones and the terminal.
- WiFi is a short-distance wireless transmission technology
- the terminal can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 607, which provides users with wireless broadband Internet access.
- FIG. 6 shows the WiFi module 607, it can be understood that it does not belong to the necessary configuration of the terminal, and can be completely omitted as required within the scope of not changing the essence of the invention.
- the processor 608 is the control center of the terminal, uses various interfaces and lines to connect various parts of the entire mobile phone, and executes by running or executing the software programs and/or modules stored in the memory 602, and calling the data stored in the memory 602. Various functions of the terminal and processing data, so as to monitor the mobile phone as a whole.
- the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 608 .
- the terminal also includes a power supply 609 (such as a battery) for supplying power to various components.
- a power supply 609 (such as a battery) for supplying power to various components.
- the power supply can be logically connected to the processor 608 through a power management system, so that functions such as managing charging, discharging, and power consumption management are implemented through the power management system.
- Power source 609 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.
- the terminal may further include a camera, a Bluetooth module, and the like, which will not be repeated here.
- the processor 608 in the terminal loads the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes them and stores them in the memory 602 applications to achieve various functions:
- the user instruction sent by the user equipment After detecting that the communication connection with the user equipment is established, obtain the user instruction sent by the user equipment; generate and display the target logic interface according to the user instruction; obtain the user's verification information; face image; obtain the verification result of verifying the identity of the current user based on the face image and the verification information.
- receiving a first logic interface setting instruction triggered by a user operating page displayed by the application displaying a first logic interface setting page according to the first logic interface setting instruction; acquiring target content input by the user through the first logic interface setting page; The configuration information is generated based on the target content; when it is detected that the communication connection with the face recognition device is established, a user instruction is sent to the face recognition device based on the configuration information.
- the application client in the user equipment can provide an operation entry for setting customized face-related services to control the display of the logic interface of the face recognition device.
- User operation realizes the purposeful generation of user interface (ie target logic interface) based on user characteristics, which effectively improves the fluency of the use process of the face recognition device and the diversity of its functions, and makes the authentication result more reliable.
- the embodiments of the present application provide a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute any information based on face recognition provided by the embodiments of the present application steps in the processing method.
- the instruction can perform the following steps:
- the user instruction sent by the user equipment After detecting that the communication connection with the user equipment is established, obtain the user instruction sent by the user equipment; generate and display the target logic interface according to the user instruction; obtain the user's verification information; face image; obtain the verification result of verifying the identity of the current user based on the face image and the verification information.
- receiving a first logic interface setting instruction triggered by a user operating page displayed by the application displaying a first logic interface setting page according to the first logic interface setting instruction; acquiring target content input by the user through the first logic interface setting page; The configuration information is generated based on the target content; when it is detected that the communication connection with the face recognition device is established, a user instruction is sent to the face recognition device based on the configuration information.
- the application client in the user equipment can provide an operation entry for setting customized face-related services to control the display of the logic interface of the face recognition device.
- User operation realizes the purposeful generation of user interface (ie target logic interface) based on user characteristics, which effectively improves the fluency of the use process of the face recognition device and the diversity of its functions, and makes the authentication result more reliable.
- the storage medium may include: a read-only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
- ROM Read Only Memory
- RAM Random Access Memory
- magnetic disk or an optical disk and the like.
- the instructions stored in the storage medium can execute the steps in any of the methods for processing information based on face recognition provided by the embodiments of the present application, it is possible to implement any one of the methods for processing information based on face recognition provided by the embodiments of the present application.
- the beneficial effects that can be achieved by the information processing method for face recognition can be seen in the previous embodiments, which will not be repeated here.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Collating Specific Patterns (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种基于人脸识别的信息处理方法、装置、存储介质及终端。该方法包括:当检测到人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;根据所述用户指令在所述人脸识别设备上设置所述界面参数生成所述目标逻辑界面;获取用户的验证信息;通过所述目标逻辑界面采集当前用户的人脸图像;获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
Description
本申请要求于2020年12月8日提交中国专利局、申请号为2020114415250,发明名称为“基于人脸识别的信息处理方法、装置、存储介质及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及通信技术领域,具体涉及一种基于人脸识别的信息处理方法、装置、存储介质及终端。
随着互联网的发展和移动通信网络的发展,同时也伴随着终端的处理能力和存储能力的迅猛发展,海量的应用程序得到了迅速传播和使用,尤其是需要对用户身份进行认证通过才能正常使用的应用。
技术内容
本申请实施例提供一种基于人脸识别的信息处理方法、装置、存储介质及终端,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
本申请实施例提供了一种基于人脸识别的信息处理方法,由人脸识别设备执行,所述方法包括:
当检测到所述人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令;所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;
根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;
获取用户的验证信息;
通过所述目标逻辑界面采集当前用户的人脸图像;
获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
本申请实施例还提供了一种基于人脸识别的信息处理方法,由用户设备执行,所述方法包括:
当检测到所述用户设备与人脸识别设备建立通信连接后,基于预先保存的配置信息向 所述人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;
其中,所述人脸识别设备根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;获取用户的验证信息,并通过所述目标逻辑界面采集当前用户的人脸图像,获取基于所述人脸图像和所述验证信息用于对当前用户的身份进行验证的验证结果。
相应的,本申请实施例还提供了一种基于人脸识别的信息处理装置,包括:
指令获取单元,用于当检测到人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令;所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;
展示单元,用于根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;
信息获取单元,用于获取用户的验证信息;
采集单元,用于通过所述目标逻辑界面采集当前用户的人脸图像;
验证单元,用于获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
相应的,本申请实施例还提供了另一基于人脸识别的信息处理装置,包括:
接收单元,用于接收用户通过应用显示的用户操作页面触发的逻辑界面设置指令;
显示单元,用于根据所述逻辑界面设置指令显示逻辑界面设置页面;
内容获取单元,用于获取用户通过所述逻辑界面设置页面输入的目标内容;
生成单元,用于基于所述目标内容生成配置信息;
处理单元,用于当检测到用户设备与人脸识别设备建立通信连接后,基于所述配置信息向所述人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;
其中,所述人脸识别设备根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;获取用户的验证信息,并通过所述目标逻辑界面采集当前用户的人脸图像,获取基于所述人脸图像和所述验证信息用于对当前用户的身份进行验证的验证结果。
相应的,本申请实施例还提供了一种计算机可读存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行如上所述的基于人脸识别的信息处理方法。
相应的,本申请实施例还提供了一种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述的基于人脸识别的信息处理方法。
附图简要说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的基于人脸识别的信息处理方法的流程示意图。
图2是本申请实施例提供的基于人脸识别的信息处理方法的另一流程示意图。
图3是本申请实施例提供的基于人脸识别的信息处理系统架的架构示意图。
图4是本申请实施例提供的基于人脸识别的信息处理装置的结构示意图。
图5是本申请实施例提供的基于人脸识别的信息处理装置的另一结构示意图。
图6是本申请实施例提供的终端的结构示意图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
当前人脸识别相关应用均是固有的界面展示逻辑,然而固有的界面逻辑对于不同用户使用设备可能会造成一定影响。例如,对于视力不佳的用户(如年长者、近视者)而言,容易由于用户界面小而导致看不清界面内容;对于安全性要求高的用户而言,容易由于刷脸过程中界面展示逻辑简单而影响用户信息的安全性。
本申请实施例提供一种基于人脸识别的信息处理方法、装置、存储介质及终端。其中,该基于人脸识别的信息处理装置具体可以集成在平板PC(Personal Computer)、手机等具备摄像头和储存单元并安装有微处理器而具有运算能力的终端设备中。
人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统,使机器具有感知、推理与决策的功能。
计算机视觉技术(Computer Vision,CV)是一门研究如何使机器“看”的科学,更进一步的 说,就是指用摄影机和电脑代替人眼对目标进行识别、跟踪和测量等机器视觉,并进一步做图形处理,使电脑处理成为更适合人眼观察或传送给仪器检测的图像。计算机视觉技术通常包括图像处理、图像识别、图像语义理解、图像检索、OCR、视频处理、视频语义理解、视频内容/行为识别、三维物体重建、3D技术、虚拟现实、增强现实、同步定位与地图构建等技术,还包括常见的人脸识别、指纹识别等生物特征识别技术。
在本方案中,便是采取了人脸识别技术对采集到的人脸图像进行识别,并基于人脸识别结果对用户身份进行认证,以为后续一系列基于人脸识别的信息处理操作提供判定标准,从而达到智能化处理信息的目的。
以下分别进行详细说明。请参阅图1,图1为本申请实施例提供的基于人脸识别的信息处理方法的流程示意图。该基于人脸识别的信息处理方法可应用于人脸识别设备,具体流程可以如下:
101、当检测到人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证。
具体的,当人脸识别设备检测到与用户设备建立通信连接后,获取所述用户设备发送的用户指令。其中,所述人脸识别设备可以是能够与后台一起为用户提供刷脸相关业务的设备,如具备刷脸功能的物品贩卖机、pos机、取款机等等。用户设备可以是智能手机、平板电脑等可移动的智能终端设备。
具体实施时,人脸识别设备可以通过近距离通信的方式与用户设备建立通信连接,如BT(Bluetooth,蓝牙)、Wi-Fi(Wireless Fidelity,无线高保真)、ZigBee技术、IrDA技术、NFC(Near Field Communication,近距离无线传输)、超宽带技术UWB(Ultra Wideband)等。
在一些实施例中,所述目标逻辑界面可以是人脸识别设备上的UI界面,例如在通过人脸识别设备进行刷脸支付时,人脸识别设备上展示的UI界面,该UI界面可以包括人脸识别控件、验证信息输入控件等,以便用户通过所述UI界面完成身份验证。在一些实施例中,该用户指令可以包含用于控制所生成的目标逻辑界面的功能项目的控制指令,例如可以是用户通过用户设备中所安装的应用客户端触发的控制指令。该控制指令具体的可以控制目标逻辑界面显示的显示指令,或者用于对某商品提交订单的支付指令。人脸识别设备可以通过与用户设备之间的无线链路,获取用户设备发送的用户指令。
102、根据用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面。
在本实施例中,该人脸识别设备中可以安装有购物、交易类应用程序,用户选购好商 品后可以通过该人脸识别设备的刷脸功能进行支付。例如,当用户使用该终端中安装的购物类应用程序加购某商品并提交订单进行购买时,可以触发支付指令。
然而,由于不同用户对UI界面的需求不尽相同,导致单一的UI界面设计并不能同时满足所有人的需求。例如,视力不佳者(如年长者、近视者)希望UI控制展示大一些方便操作;对安全性要求较高的用户,则希望UI界面的运行逻辑设计的更复杂些;对便捷性要求较高的用户,则希望UI界面运行逻辑越简单越好。有基于此,本申请实施例通过在用户设备侧加入控制UI界面展示的操作入口,自定义各自需要的界面样式、运行逻辑等。在需要使用到人脸识别设备进行相关业务操作时,用户设备可基于事先定义好的设置信息向人脸识别设备发送用户指令,以使人脸识别设备在接收到该用户指令后对其进行响应,根据该用户指令中包含的,对应于逻辑界面的至少一个界面特征(比如界面样式和运行逻辑)的预设参数而指示生成目标逻辑界面。因此,与现有技术相比,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备功能的多样性以及设备使用过程的流畅度,使身份验证结果更可靠。
在一些实施例中,所述至少一个预设参数包括:待展示界面的界面标识参数、界面属性参数和安全设置参数。步骤102,可以包括以下流程:
调用指定界面组件构建所述界面标识参数对应的初始逻辑界面;
根据界面属性参数和安全设置参数,对所述初始逻辑界面进行调整,得到所述目标逻辑界面。
具体的,在人脸识别设备接收到用户指令后,将对该用户指令传入解析层进行解析,解析得到待展示界面的界面标识参数、界面属性参数和安全设置参数。再将解析得到的信息传入至UI控制层。UI控制层根据待展示界面的界面标识参数确定需要用到的界面组件activity(即指定界面组件),然后基于该指定界面组件构建对应的初始逻辑界面,再基于解析用户指令得到的界面属性参数和安全设置参数,对当前构建的初始逻辑界面进行调整,以得到目标逻辑界面。该目标逻辑界面即为根据用户特征精准设置的逻辑界面。
在一些实施例中,在根据界面属性参数和安全设置参数,对初始逻辑界面进行调整时,具体如下:
根据安全设置参数对初始逻辑界面的界面布局进行调整,并对调整后的初始逻辑界面关联对应的运行逻辑;
根据界面属性参数对调整后的初始逻辑界面的界面属性进行调整。
其中,安全设置参数可以为安全等级,安全等级越高表示对界面的安全性和隐私性要求越高,需要的逻辑界面的运行逻辑越复杂。由于界面布局和运行逻辑是息息相关的,因 此,可基于安全设置参数对当前逻辑界面的界面布局进行调整,对调整后的初始逻辑界面关联对应的运行逻辑。例如,当前生成的逻辑界面中只有人脸验证区域,而解析到的安全设置参数对应的安全等级要求进行二次密码验证,因此可以对当前逻辑界面中新增二次密码验证区域,以供用户通过该二次密码验证区域输入密码进行身份的二次验证。因此,与现有技术相比,本发明实现了对用户身份的多重验证,有效解决现有技术中用户数据处理的安全性偏低的问题,防止用户身份的不正当使用或盗用,使验证结果更加安全可靠。
而界面属性参数可以是文字大小、界面色彩、界面样式等界面属性参数。人脸识别设备将根据界面属性参数对调整界面布局和运行逻辑后的逻辑界面的界面属性进行调整,以调整得到充分考虑用户特征的逻辑界面。例如,当前逻辑界面中字号大小为12、界面整体颜色风格为黑色,而界面属性参数中指示的字号大小为24,、颜色为红色,则可基于该界面性参数将当前逻辑界面的字号从12调整为24,将颜色由黑色调整为红色,从而实现对界面属性的调整。在一些实施例中,所述界面属性参数是根据用户在用户设备中输入的年龄、健康状态等信息,由用户设备自动设置的。例如,根据用户年龄,用户设备可以自动设置字号大小,根据用户健康状态(例如色盲等),可以自动设置界面颜色等等。在一些实施例中,也可以将用户年龄和健康状态提供给人脸识别设备,由人脸识别设备基于用户年龄和健康状态等特征自动调整界面的展示。
实际应用中,若是用户设备中应用客户端的系统版本较高,而人脸识别设备系统尚未及时更新到与该应用客户端的系统版匹配时,容易导致对该人脸识别设备控制失败(如用户设备发送的用户指令中指示将界面颜色调为红色,而人脸识别设备的系统中并无此选项,导致控制错误)。因此,在一些实施例中,若检测到对逻辑界面调整失败,则可以向服务器发送系统版本更新请求。当接收到服务器根据版本更新请求返回的更新数据时,基于更新数据对系统版本进行更新。从而使得人脸识别设备在更新系统版后可与用户设备中的应用客户端适配。因此,和现有技术相比,本发明实现了人脸识别设备和用户设备的实时适配,有效提高人脸识别和用户身份验证结果的可靠性。
具体的,可以采用图像识别算法对该人脸图像进行识别。实际应用中,为了提升处理速度,可以在该人脸识别设备中部署离线识别算法,并设置包含样本人脸图像的本地数据库,以在人脸识别设备本地侧实现对该人脸图像的离线识别。或者,可以向服务器发送识别指令,以在服务器侧实现对该人脸图像的在线识别。
103、获取用户的验证信息。
在一些实施例中,可以在用户设备与人脸识别设备建立连接之后,直接通过蓝牙等连接透传用户的验证信息(比如手机号)到人脸识别设备,用户无需在人脸识别设备上输入 验证信息。
在另一些实施例中,人脸识别设备可以通过目标逻辑界面获取用户输入的验证信息。此时,目标逻辑界面包括:输入控件。其中,该输入控件可以输入框的形式在目标逻辑界面上显示。在通过目标逻辑界面获取用户输入的验证信息时,可以包括以下流程:
通过输入控件获取用户输入的验证信息;
确定输入控件对应的运行逻辑;
若验证信息不满足输入控件对应的运行逻辑,则提示用户重新输入验证信息。
在一些实施例中,输入控件包括:第一子控件和第二子控件。在通过输入控件获取用户输入的验证信息时,具体可以通过第一子控件获取用户输入的通讯标识(例如手机号),通过第二子控件获取用户输入的密码信息。也即,在本实施例中,在进行用户身份验证时,除了验证人脸之外,还需通过通讯标识、密码信息等进行二次验证,以提升账户信息安全性。从而实现了对用户身份的多重验证,有效解决现有技术中用户数据处理的安全性偏低的问题,防止用户身份的不正当使用或盗用,使验证结果更加安全可靠。
实际应用中,输入控件的内部运行逻辑可以要求输入特定格式的验证信息。例如,输入控件可要求输入13位的有效手机号码或4位尾号,若输入5位数的字符串,则将提示用户重新输入验证信息。
104、通过所述目标逻辑界面采集当前用户的人脸图像。
具体的,该人脸图像为在当前场景下实时采集到的真实人脸图像。实际应用中,可以通过人脸识别设备内置的摄像头(本实施例中优选为前置摄像头)对当前的场景图像进行检测,以获取符合要求的人脸图像。例如,为了有效抵御照片、换脸、面具、遮挡以及屏幕翻拍等恶意行为,可采集可通过本地的优选和活体流程筛选的人脸图像。具体实施时,可通过眨眼、张嘴、摇头、点头等组合动作进行活体检测,利用人脸关键点定位和人脸追踪等技术验证用户是否为真实活体本人操作。
105、获取基于人脸图像和验证信息对当前用户的身份进行验证的验证结果。
实际应用中,为了提升处理速度,可以在该人脸识别设备中部署离线识别算法,并设置包含样本人脸图像的本地数据库,以在人脸识别设备本地侧实现对该人脸图像的离线识别。或者,可以将人脸图像和验证信息发送到服务器,以在服务器侧实现对该人脸图像和验证信息的在线验证。其中,验证信息可以包括通讯标识和密码信息。具体的,在基于人脸图像和所述验证信息对当前用户的身份进行验证时,可以包括以下流程:
基于预设人脸数据库中的样本人脸图像对人脸图像进行验证;
当预设人脸数据库中存在与人脸图像匹配的目标样本人脸图像时,获取与目标样本人 脸图像关联的样本通讯标识和样本密码信息;
基于样本通讯标识对通讯标识进行验证、以及基于样本密码信息对密码信息进行验证;
当对通讯标识进行验证通过且对密码信息验证通过时,确定对当前用户的身份验证通过。
其中,预设人脸数据库中录入有多个用户的人脸数据,每一人脸数据预先关联有对应的样本标识和样本密码信息(可是录入人脸数据时由用户提供的)。该预设数据库可以设置在设备本地,也可以存储在与该设备系统对应的服务器中。
在人脸识别验证过程中,首先对人脸图像进行预处理,其预处理过程主要包括人脸图像的光线补偿、灰度变换、直方图均衡化、归一化、几何校正、滤波以及锐化等。然后,进行人脸图像特征提取,它是对人脸进行特征建模的过程,具体实施时可采用基于知识的表征方法、基于代数特征或统计学习的表征方法进行人脸特征提取。
其中,基于知识的表征方法主要是根据人脸器官的形状描述以及他们之间的距离特性来获得有助于人脸分类的特征数据,其特征分量通常包括特征点间的欧氏距离、曲率和角度等。人脸由眼睛、鼻子、嘴、下巴等局部构成,对这些局部和它们之间结构关系的几何描述,可作为识别人脸的重要特征,这些特征被称为几何特征。而基于知识的人脸表征主要包括基于几何特征的方法和模板匹配法。
最后,将进行人脸图像匹配与识别。具体的,可提取的人脸图像的特征数据与本地数据库中的人脸特征模板进行比较,根据相似程度对人脸的身份信息进行判断。
具体的,在对人脸图像验证通过之后,可获取与目标样本人脸图像关联的样本通讯标识和样本密码信息,作为校验基准。随后,基于样本通讯标识对通讯标识进行验证、以及基于样本密码信息对密码信息进行验证,以通过二次校验的方式确定当前用户身份是否真实有效。当对通讯标识进行验证通过且对密码信息验证通过时,确定对当前用户的身份验证通过,此时可执行相关业务操作。例如,目标逻辑界面为支付界面,则可执行相应的支付操作。
本申请实施例提供的基于人脸识别的信息处理方法,当检测到与用户设备建立通信连接后,获取用户设备发送的用户指令,所述用户指令包括用于设置所述人脸识别设备上目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;根据所述用户指令设置所述界面特征,生成所述目标逻辑界面,并展示所述目标逻辑界面;获取用户的验证信息;通过所述目标逻辑界面采集当前用户的人脸图像;并获取基于人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。本方案通过应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,实现了基于 用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
请参阅图2,图2为本申请实施例提供的基于人脸识别的信息处理方法的另一流程示意图。该基于人脸识别的信息处理方法可应用于用户设备,具体流程可以如下:
201、接收用户通过应用显示的用户操作页面触发的第一逻辑界面设置指令。
在本实施例中,用户设备可以是智能手机、平板电脑等可以移动智能终端设备。用户设备中可以安装有一应用客户端,该应用客户端可设置有一操作入口(即用户操作页面),用于设定人脸识别设备的逻辑界面展示。实际应用中,该用户操作页面可包括一触发控件,用户可通过该触发逻辑界面设置指令。
在一些实施方式中,该触发控件为可视化控件,即该触发控件可显示在用户操作页面上。通过对该触发控件的点击、触摸、滑动等操作,可触发小程序搜索指令。
在一些实施例中,该触发控件还可以为不具有实体形态的控件,即该触发控件为对用户不可见。具体实施时,可在该用户操作页面,通过对终端显示屏或终端本体的摇晃、敲击等操作触发小程序搜索指令。
202、根据第一逻辑界面设置指令显示逻辑界面设置页面。
具体的,该第一逻辑界面设置指令可携带待显示页面的页面标识。设备可在接收到该第一逻辑界面设置指令后,基于该第一逻辑界面设置指令携带的页面标识,调用对应的界面组件对当前页面进行渲染更新,以将当前页面切换至该第一逻辑界面设置指令指示显示的逻辑界面设置页面。
203、获取用户通过逻辑界面设置页面输入的目标内容。
其中,该目标内容的形式可以为文本信息、图像信息、语音信息及视频信息中的一种或多种。在一些实施例中,该逻辑界面设置页面包括有内容输入控件,用户可通过该内容输入控件输入目标内容。
具体的,输入目标内容的方式可以有多种。例如,该信息输入控件可以通为文本输入框,通过在文本输入框内输入文本信息实现目标内容的输入;又例如,该信息输入控件可以为图像输入控件,通过触发该图像输入控件可读取本地已存储的图像数据,并从中解析得到对应的界面属性参数和/或界面布局信息作为输入;或者还可通过该图像输入控件调用终端的摄像头捕获当前场景下的其他界面图像,并从中解析获取对应的界面属性参数和/或界面布局信息,以实现目标内容的输入。
另外,还可在逻辑界面设置页面通过语音的方式调用用户设备自带的麦克风,通过该麦克风获取用户输入的语音信息,并能对语音信息进行识别,从而实现目标内容的输入。
204、基于目标内容生成配置信息。
具体的,可基于用户输入的目标内容,按照预设规则从中提取有效内容生成指定格式的配置信息。
需要注意的是,步骤201-204可以只执行一次,不必每次与人脸识别设备建立连接之前都执行。在用户通过步骤201-204完成设置之后,后续需要办理人脸识别相关业务的时候,可以直接根据已经生成的配置信息,向人脸识别设备发送用户指令。
205、当检测到用户设备与人脸识别设备建立通信连接后,基于配置信息向人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证。
具体实施时,人脸识别设备可以通过近距离通信的方式与用户设备建立通信连接,如BT(Bluetooth,蓝牙)、Wi-Fi(Wireless Fidelity,无线高保真)、ZigBee技术、IrDA技术、NFC(Near Field Communication,近距离无线传输)、超宽带技术UWB(Ultra Wideband)等。用户设备可以通过与人脸识别设备之间的无线链路,向人脸识别设备发送用户指令。
在本实施例中,人脸识别设备可以是能够办理刷脸相关业务的设备,如具备刷脸功能的物品贩卖机、收款机。该人脸识别设备中可以安装有购物、交易类应用程序,用户选购好商品后可以通过该人脸识别设备的刷脸功能进行支付。例如,当用户使用该终端中安装的购物类应用程序加购某商品并提交订单进行购买时可以触发支付指令,并向用户设备发送界面设置请求。用户设备响应该界面设置请求,基于该配置信息向人脸识别设备发送用户指令,以控制人脸识别设备的逻辑界面展示。
在一些实施例中,在基于配置信息向所述人脸识别设备发送用户指令之后,若检测到用户通过用户操作页面触发的第二逻辑界面设置指令,则基于第二逻辑界面设置指令显示逻辑界面设置页面。其中,逻辑界面设置页面显示有与配置信息对应的设置内容。
本申请实施例提供的基于人脸识别的信息处理方法,当接收用户通过应用显示的用户操作页面触发的逻辑界面设置指令时,根据逻辑界面设置指令生成和显示逻辑界面设置页面,并获取通过逻辑界面设置页面输入的目标内容,基于所述目标内容生成配置信息。当检测到与人脸识别设备建立通信连接后,基于配置信息生成用户指令,并向人脸识别设备发送用户指令。本方案通过应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
参考图3,图3是本申请实施例提供的基于人脸识别的信息处理系统的架构示意图。如图3所示,该信息处理系统可包括以下几个模块:
(一)用户设备端
用户设备端安装有应用客户端。在应用客户端提供了人脸识别设备用户指令设置入口,分别为UI控制模块和隐私控制模块。其中,UI控制模块可以用于控制界面属性信息,如字体类型、字号大小、界面颜色、界面风格和样式等等;隐私控制模块可用于设置界面的相关运行逻辑,如是否需要二次验证等。
实际应用中,UI控制模块在控制字号大小时,可提供大中小三档供用户选择;在控制界面的色调显示时,可提供亮色模式(适用于白天)和暗色模式(适用于夜间)供用户选择。在设置完毕后,可将设置信息以指定格式写入应用客户端的数据库中,存储的数据为{ui_size:”big”,color_type:”dark”},数据无需要传送到后台。
隐私控制模块提供了“全手机号”、“静默手机号”、“二次密码”等功能。“全手机号”功能,即人脸识别设备每次均需要完整手机号才可以进行人脸识别相关应用;“静默手机号”,即在用户设备端与人脸识别设备建立通信连接后,直接通过蓝牙、WiFi等方式透传手机号,用户无须在设备上进行输入手机号的操作;“二次密码”功能,即在每次进行人脸识别时,可免除手机号,但需要额外输入的定制密码(设置此开关之后,静默手机号为必填项)。在设置了隐私控制模块相关信息后,会将手机号与二次密码一并传往后端服务器进行存储,方便后续的人脸识别校验安全性。
在设置完毕后,将设置信息写入应用客户端的数据库中,存储的数据可为{force_phone:”no”,silence_phone:”135XXXXXX1”,second_pwd:”sec_pwd_1”}。
在用户设备端靠近人脸识别设备端时,两者将建立通信连接,用户设备端则将通过该通信连接将UI控制模块和隐私控制模块在数据库存储的数据传送给人脸识别设备。
(二)人脸识别设备端
在用户设备端靠近人脸识别设备端时,将与人脸识别设备端建立通信连接,人脸识别设备端会接收来自用户设备端传送的UI控制模块和隐私控制模块数据。
人脸识别设备端接收到数据后,将送往解析层进行解析,确认当前所传送数据是否符合预期(比如字段是否有缺失,或所传内容是否合法,比如传了非法的color_type则需要拒绝相关服务)。在解析成功后,将数据传送给UI控制层。
当用户进行人脸识别时,UI控制层会先根据UI控制模块的指令进行对UI进行控制,比如将UI按钮、文字调整大小,界面样式进行切换。若解析结果中指示设置了密码输入控制,则展示输入密码界面;若解析结果指示设置手机号填充,则不展示输入手机号的界面,用控制协议中的静默手机号来代替;若解析结果指示设置了全手机号输入,则无论后端人脸库策略如何,均需要输入全手机号。
人脸识别设备在采集到人脸图像,并获取到用户输入手机号或密码相关信息后,会将数据一并送往后端人脸识别服务。
(三)后端服务
后端服务在收到人脸识别设备上传的人脸图像、及手机号或密码相关信息后,将进行用户人脸识别。若设置了二次密码,则需要通过用户隐私管控服务,通过当前用户上传的手机号获取用户之前在应用客户端中设置的二次密码进行比对,若一致则为通过,否则拒绝相关服务。
本申请方案,在应用客户端提供了人脸识别设备控制指令设置入口,通过用户设备端将自定义的逻辑界面设置信息写入应用客户端的数据库中,以在用户设备靠近人脸识别设备端时,将写入数据库的设置信息传送给人脸识别设备端,以供人脸识别设备进行相应的UI控制展示符合用户特征的逻辑界面,有效提升了刷脸逻辑界面的多样性。
为便于更好的实施本申请实施例提供的基于人脸识别的信息处理方法,本申请实施例还提供一种基于上述基于人脸识别的信息处理方法的装置。其中名词的含义与上述基于人脸识别的信息处理方法中相同,具体实现细节可以参考方法实施例中的说明。
请参阅图4,图4为本申请实施例提供的基于人脸识别的信息处理装置的结构示意图,该信息处理装置可以设置于人脸识别设备中,其中该信息处理装置可以包括指令获取单元301、展示单元302、信息获取单元303、采集单元304以及验证单元305,具体可以如下:
指令获取单元301,用于当检测到人脸识别设备与用户设备建立通信连接后,获取用户设备发送的用户指令;所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;
展示单元302,用于根据所述用户指令在所述人脸识别设备上设置所述界面特征生成所述目标逻辑界面;
信息获取单元303,用于获取用户的验证信息;
采集单元304,用于通过所述目标逻辑界面采集当前用户的人脸图像;
验证单元305,用于获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
在一些实施例中,所述用户指令包括:待展示界面的界面标识参数、界面属性参数和安全设置参数;
所述展示单元302可以包括:
调用子单元,用于调用指定界面组件构建所述界面标识参数对应的初始逻辑界面;
调整子单元,用于根据所述界面属性参数和所述安全设置参数,对所述初始逻辑界面 进行调整,得到所述目标逻辑界面;
展示子单元,用于展示所述目标逻辑界面。
在一些实施例中,所述界面属性参数是由用户设备根据用户输入的用户年龄和健康状态自动设置的。
在一些实施例中,所述界面属性参数和所述安全设置参数由所述用户设备的用户设置并保存在所述用户设备中;所述界面属性参数包括文字大小、界面色彩、界面样式;所述安全设置参数包括安全等级。
在一些实施例中,所述调整子单元可以用于:
根据所述安全设置参数对所述初始逻辑界面的界面布局进行调整,并对调整后的初始逻辑界面关联对应的运行逻辑;
根据所述界面属性参数对调整后的初始逻辑界面的界面属性进行调整。
在一些实施例中,所述信息处理装置还可以包括:
发送单元,用于若检测到对所述初始逻辑界面调整失败,则向服务器发送系统版本更新请求;
更新单元,用于当接收到所述服务器根据所述版本更新请求返回的更新数据时,基于所述更新数据对系统版本进行更新。
在一些实施例中,所述信息获取单元303可以通过与所述用户设备之间的通信连接,从所述用户设备获取所述用户的验证信息;或通过所述目标逻辑界面获取用户输入的验证信息。
在一些实施例中,在所述信息获取单元303通过所述目标逻辑界面获取用户输入的验证信息情况下,所述目标逻辑界面包括:输入控件;所述信息获取单元303可以用于:
通过所述输入控件获取用户输入的验证信息;
确定所述输入控件对应的运行逻辑;
若所述验证信息不满足所述输入控件对应的运行逻辑,则提示用户重新输入验证信息。
在一些实施例中,所述输入控件包括:第一子控件和第二子控件;在通过所述输入控件获取用户输入的验证信息时,所述信息获取单元303具体可以用于:
通过第一子控件获取用户输入的通讯标识;
通过第二子控件获取用户输入的密码信息。
在一些实施例中,为了提升处理速度,可以在信息处理装置中部署离线识别算法,并设置包含样本人脸图像的本地数据库,以在信息处理装置本地侧实现对该人脸图像的离线识别。或者,也可以将人脸图像和验证信息发送到服务器,以在服务器侧实现对该人脸图 像和验证信息的在线验证。在信息处理装置进行本地验证的情况下,所述验证单元305用于:
基于预设人脸数据库中的样本人脸图像对所述人脸图像进行验证;
当所述预设人脸数据库中存在与所述人脸图像匹配的目标样本人脸图像时,获取与所述目标样本人脸图像关联的样本通讯标识和样本密码信息;
基于所述样本通讯标识对所述通讯标识进行验证、以及基于所述样本密码信息对所述密码信息进行验证;
当对所述通讯标识进行验证通过且对所述密码信息验证通过时,确定对当前用户的身份验证通过。
在一些实施例中,指令获取单元301进一步用于:响应于用户在所述人脸识别设备上触发的支付指令,向所述用户设备发送界面设置请求;其中,所述用户指令是所述用户设备响应于所述界面设置请求发送的。
本申请实施例提供的基于人脸识别的信息处理装置,当检测到人脸识别设备与用户设备建立通信连接后,指令获取单元301获取用户设备发送的用户指令;展示单元302根据用户指令在所述人脸识别设备上设置界面特征,生成目标逻辑界面;信息获取单元303获取用户的验证信息;采集单元304通过所述目标逻辑界面采集当前用户的人脸图像;验证单元305获取基于人脸图像和验证信息对当前用户的身份进行验证的验证结果。本方案通过应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
请参阅图5,图5为本申请实施例提供的基于人脸识别的信息处理装置的另一结构示意图,该信息处理装置可以设置于用户设备中,其中该信息处理装置可以包括接收单元401、显示单元402、内容获取单元403、生成单元404以及处理单元405,具体可以如下:
接收单元401,用于接收用户通过应用显示的用户操作页面触发的逻辑界面设置指令;
显示单元402,用于根据所述逻辑界面设置指令显示第一逻辑界面设置页面;
内容获取单元403,用于获取用户通过所述第一逻辑界面设置页面输入的目标内容;
生成单元404,用于基于所述目标内容生成配置信息;
处理单元405,用于当检测到用户设备与人脸识别设备建立通信连接后,基于所述配置信息向所述人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;其中,所述人脸识别设备根据所述用户指令在所述人脸识别设备上设置所述界 面特征,生成所述目标逻辑界面;获取用户的验证信息,并通过所述目标逻辑界面采集当前用户的人脸图像,获取基于所述人脸图像和所述验证信息用于对当前用户的身份进行验证的验证结果。
在一些实施例中,所述目标内容包括用户的通讯标识和密码信息;所述内容获取单元403进一步用于:将获取的所述通讯标识与密码信息发送到服务器进行存储。
在一些实施例中,所述显示单元402还可以用于:
在基于所述配置信息向所述人脸识别设备发送用户指令之后,若检测到用户通过所述用户操作页面触发的第二逻辑界面设置指令,则基于所述第二逻辑界面设置指令显示第二逻辑界面设置页面,其中,所述第二逻辑界面设置页面显示有与所述配置信息对应的设置内容。
在一些实施例中,所述接收单元401进一步用于:接收所述人脸识别设备发送的界面设置请求,其中,所述界面设置请求是所述人脸识别设备响应于用户在所述人脸识别设备上触发的支付指令而发送的;所述处理单元405进一步用于:响应于所述界面设置请求,基于预先保存的配置信息向所述人脸识别设备发送用户指令。
本申请实施例提供的基于人脸识别的信息处理装置,当接收单元401接收用户通过应用显示的用户操作页面触发的逻辑界面设置指令时,显示单元402根据逻辑界面设置指令显示逻辑界面设置页面;内容获取单元403获取用户通过逻辑界面设置页面输入的目标内容;生成单元404基于所述目标内容生成配置信息;当检测到用户设备与人脸识别设备建立通信连接后,处理单元405基于所述配置信息向所述人脸识别设备发送所述用户指令。本方案通过应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
本申请实施例还提供一种终端,该终端具体可以是具备摄像头的终端设备,如智能手机、平板电脑、自助点餐机等终端设备。如图6所示,该终端可以包括射频(RF,Radio Frequency)电路601、包括有一个或一个以上计算机可读存储介质的存储器602、输入单元603、显示单元604、传感器605、音频电路606、无线保真(WiFi,Wireless Fidelity)模块607、包括有一个或者一个以上处理核心的处理器608、以及电源609等部件。本领域技术人员可以理解,图6中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路601可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器608处理;另外,将涉及上行的数据发送 给基站。通常,RF电路601包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,RF电路601还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。
存储器602可用于存储软件程序以及模块,处理器608通过运行存储在存储器602的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器602还可以包括存储器控制器,以提供处理器608和输入单元603对存储器602的访问。
输入单元603可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元603可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器608,并能接收处理器608发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面。除了触敏表面,输入单元603还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元604可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元604可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、 有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器608以确定触摸事件的类型,随后处理器608根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图6中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。
终端还可包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路606、扬声器,传声器可提供用户与终端之间的音频接口。音频电路606可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路606接收后转换为音频数据,再将音频数据输出处理器608处理后,经RF电路601以发送给比如另一终端,或者将音频数据输出至存储器602以便进一步处理。音频电路606还可能包括耳塞插孔,以提供外设耳机与终端的通信。
WiFi属于短距离无线传输技术,终端通过WiFi模块607可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图6示出了WiFi模块607,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器608是终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行终端的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器608可包括一个或多个处理核心;优选的,处理器608可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器608中。
终端还包括给各个部件供电的电源609(比如电池),优选的,电源可以通过电源管理 系统与处理器608逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源609还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端中的处理器608会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器602中,并由处理器608来运行存储在存储器602中的应用程序,从而实现各种功能:
例如,当检测到与用户设备建立通信连接后,获取用户设备发送的用户指令;根据所述用户指令生成并展示目标逻辑界面;获取用户的验证信息;通过所述目标逻辑界面采集当前用户的人脸图像;获取基于人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
又例如,接收用户通过应用显示的用户操作页面触发的第一逻辑界面设置指令;根据第一逻辑界面设置指令显示第一逻辑界面设置页面;获取用户通过第一逻辑界面设置页面输入的目标内容;基于目标内容生成配置信息;当检测到与人脸识别设备建立通信连接后,基于配置信息向所述人脸识别设备发送用户指令。
本申请实施例可通过用户设备中应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,人脸识别设备根据用户设备的指令通过界面组件构建相应的逻辑界面供用户操作,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。
为此,本申请实施例提供一种计算机可读存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本申请实施例所提供的任一种基于人脸识别的信息处理方法中的步骤。例如,该指令可以执行如下步骤:
例如,当检测到与用户设备建立通信连接后,获取用户设备发送的用户指令;根据所述用户指令生成并展示目标逻辑界面;获取用户的验证信息;通过所述目标逻辑界面采集当前用户的人脸图像;获取基于人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
又例如,接收用户通过应用显示的用户操作页面触发的第一逻辑界面设置指令;根据 第一逻辑界面设置指令显示第一逻辑界面设置页面;获取用户通过第一逻辑界面设置页面输入的目标内容;基于目标内容生成配置信息;当检测到与人脸识别设备建立通信连接后,基于配置信息向所述人脸识别设备发送用户指令。
本申请实施例可通过用户设备中应用客户端提供设置定制人脸相关业务的操作入口控制人脸识别设备的逻辑界面显示,人脸识别设备根据用户设备的指令通过界面组件构建相应的逻辑界面供用户操作,实现了基于用户特征有针对性地生成用户界面(即目标逻辑界面),有效提升人脸识别设备使用过程的流畅度和其功能的多样性,使身份验证结果更可靠。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种基于人脸识别的信息处理方法中的步骤,因此,可以实现本申请实施例所提供的任一种基于人脸识别的信息处理方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上对本申请实施例所提供的一种基于人脸识别的信息处理方法、装置、存储介质及终端进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。
Claims (23)
- 一种基于人脸识别的信息处理方法,由人脸识别设备执行,所述方法包括:当检测到所述人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令;所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;获取用户的验证信息;通过所述目标逻辑界面采集当前用户的人脸图像;获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
- 根据权利要求1所述的方法,其中,所述至少一个预设参数包括:待生成界面的界面标识参数、界面属性参数和安全设置参数;所述响应于所述用户指令生成所述目标逻辑界面,包括:调用指定界面组件构建所述界面标识参数对应的初始逻辑界面;根据所述界面属性参数和所述安全设置参数,对所述初始逻辑界面进行调整,得到所述目标逻辑界面。
- 根据权利要求2所述的方法,其中,所述界面属性参数和所述安全设置参数由所述用户设备的用户设置并保存在所述用户设备中;所述界面属性参数包括文字大小、界面色彩、界面样式;所述安全设置参数包括安全等级。
- 根据权利要求3所述的方法,其中,所述界面属性参数是由所述用户设备根据在所述用户设备中输入的用户年龄和健康状态自动设置的。
- 根据权利要求2或3所述的方法,其中,所述根据所述界面属性参数和所述安全设置参数,对所述初始逻辑界面进行调整,包括:根据所述安全设置参数对所述初始逻辑界面的界面布局进行调整,并对调整后的初始逻辑界面关联对应的运行逻辑;根据所述界面属性参数对调整后的初始逻辑界面的界面属性进行调整。
- 根据权利要求2或3所述的方法,进一步包括:若检测到对所述初始逻辑界面调整失败,则向服务器发送系统版本更新请求;当接收到所述服务器根据所述版本更新请求返回的更新数据时,基于所述更新数据对系统版本进行更新。
- 根据权利要求1所述的方法,其中,所述获取用户的验证信息包括:通过所述人脸识别设备与所述用户设备之间的通信连接,从所述用户设备获取所述用 户的验证信息;或通过所述目标逻辑界面获取用户输入的验证信息。
- 根据权利要求7所述的方法,其中,所述目标逻辑界面包括:输入控件;所述通过所述目标逻辑界面获取用户输入的验证信息,包括:通过所述输入控件获取用户输入的验证信息;确定所述输入控件对应的运行逻辑;若所述验证信息不满足所述输入控件对应的运行逻辑,则提示用户重新输入验证信息。
- 根据权利要求8所述的方法,其中,所述输入控件包括:第一子控件和第二子控件;通过所述输入控件获取用户输入的验证信息,包括:通过第一子控件获取用户输入的通讯标识;通过第二子控件获取用户输入的密码信息。
- 根据权利要求9所述的方法,其特征在于,所述获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果,包括:基于预设人脸数据库中的样本人脸图像对所述人脸图像进行验证;当所述预设人脸数据库中存在与所述人脸图像匹配的目标样本人脸图像时,获取与所述目标样本人脸图像关联的样本通讯标识和样本密码信息;基于所述样本通讯标识对所述通讯标识进行验证、以及基于所述样本密码信息对所述密码信息进行验证;当对所述通讯标识进行验证通过且对所述密码信息验证通过时,确定对当前用户的身份验证通过。
- 根据权利要求1所述的方法,进一步包括:响应于用户在所述人脸识别设备上触发的支付指令,向所述用户设备发送界面设置请求;其中,所述用户指令是所述用户设备响应于所述界面设置请求发送的。
- 一种基于人脸识别的信息处理方法,由用户设备执行,所述方法包括:当检测到所述用户设备与人脸识别设备建立通信连接后,基于预先保存的配置信息向所述人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;其中,所述人脸识别设备根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;获取用户的验证信息,并通过所述目标逻辑界面采集当前用户的 人脸图像,获取基于所述人脸图像和所述验证信息用于对当前用户的身份进行验证的验证结果。
- 根据权利要求12所述的方法,进一步包括:展示用户操作页面;接收用户通过所述用户操作页面触发的第一逻辑界面设置指令;根据所述第一逻辑界面设置指令显示第一逻辑界面设置页面;获取用户通过所述第一逻辑界面设置页面输入的目标内容;基于所述目标内容生成所述配置信息并将所述配置信息保存在所述用户设备中。
- 根据权利要求13所述的方法,其中,所述获取用户通过所述第一逻辑界面设置页面输入的目标内容包括:在所述第一逻辑界面设置页面通过语音的方式,获取用户输入的语音信息,对所述语音信息进行识别,得到所述目标内容。
- 根据权利要求13所述的方法,所述目标内容包括用户的通讯标识和密码信息;所述方法进一步包括:将获取的所述通讯标识与密码信息发送到服务器进行存储。
- 根据权利要求12所述的方法,其中,在基于所述预先保存的配置信息向所述人脸识别设备发送用户指令之后,还包括:当检测到用户通过所述用户操作页面触发的第二逻辑界面设置指令时,基于所述第二逻辑界面设置指令显示第二逻辑界面设置页面,其中,所述第二逻辑界面设置页面显示有与所述配置信息对应的设置内容。
- 根据权利要求12所述的方法,进一步包括:接收所述人脸识别设备发送的界面设置请求,其中,所述界面设置请求是所述人脸识别设备响应于用户在所述人脸识别设备上触发的支付指令而发送的;所述基于预先保存的配置信息向所述人脸识别设备发送用户指令,包括:响应于所述界面设置请求,基于预先保存的配置信息向所述人脸识别设备发送用户指令。
- 一种基于人脸识别的信息处理装置,应用于人脸识别设备,包括:指令获取单元,用于当检测到所述人脸识别设备与用户设备建立通信连接后,获取所述用户设备发送的用户指令;所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;展示单元,用于根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所 述目标逻辑界面;信息获取单元,用于获取用户的验证信息;采集单元,用于通过所述目标逻辑界面采集当前用户的人脸图像;验证单元,用于获取基于所述人脸图像和所述验证信息对当前用户的身份进行验证的验证结果。
- 根据权利要求18所述的装置,其中,所述用户指令包括:待展示界面的界面标识参数、界面属性参数和安全设置参数;所述展示单元包括:调用子单元,用于调用指定界面组件构建所述界面标识参数对应的初始逻辑界面;调整子单元,用于根据所述界面属性参数和所述安全设置参数,对所述初始逻辑界面进行调整,得到所述目标逻辑界面;展示子单元,用于展示所述目标逻辑界面。
- 根据权利要求19所述的装置,其中,所述调整子单元用于:根据所述安全设置参数对所述初始逻辑界面的界面布局进行调整,并对调整后的初始逻辑界面关联对应的运行逻辑;根据所述界面属性参数对调整后的初始逻辑界面的界面属性进行调整。
- 一种基于人脸识别的信息处理装置,应用于用户设备,包括:接收单元,用于接收用户通过应用显示的用户操作页面触发的逻辑界面设置指令;显示单元,用于根据所述逻辑界面设置指令显示逻辑界面设置页面;内容获取单元,用于获取用户通过所述逻辑界面设置页面输入的目标内容;生成单元,用于基于所述目标内容生成配置信息;处理单元,用于当检测到所述用户设备与人脸识别设备建立通信连接后,基于所述配置信息向所述人脸识别设备发送用户指令,所述用户指令包括用于设置所述人脸识别设备上的目标逻辑界面的界面特征的至少一个预设参数,所述目标逻辑界面用于对用户的身份进行验证;其中,所述人脸识别设备根据所述用户指令在所述人脸识别设备上设置所述界面特征,生成所述目标逻辑界面;获取用户的验证信息,并通过所述目标逻辑界面采集当前用户的人脸图像,获取基于所述人脸图像和所述验证信息用于对当前用户的身份进行验证的验证结果。
- 一种计算机可读存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1-17任一项所述的基于人脸识别的信息处理方法。
- 一种终端,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机 程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-17任一项所述基于人脸识别的信息处理方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/976,693 US20230050957A1 (en) | 2020-12-08 | 2022-10-28 | Information processing method and apparatus based on face recognition, storage medium, and terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011441525.0A CN114626036B (zh) | 2020-12-08 | 2020-12-08 | 基于人脸识别的信息处理方法、装置、存储介质及终端 |
CN202011441525.0 | 2020-12-08 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/976,693 Continuation US20230050957A1 (en) | 2020-12-08 | 2022-10-28 | Information processing method and apparatus based on face recognition, storage medium, and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022121635A1 true WO2022121635A1 (zh) | 2022-06-16 |
Family
ID=81896220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/131051 WO2022121635A1 (zh) | 2020-12-08 | 2021-11-17 | 基于人脸识别的信息处理方法、装置、存储介质及终端 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20230050957A1 (zh) |
CN (1) | CN114626036B (zh) |
WO (1) | WO2022121635A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114821751A (zh) * | 2022-06-27 | 2022-07-29 | 北京瑞莱智慧科技有限公司 | 图像识别方法、装置、系统及存储介质 |
CN115424353A (zh) * | 2022-09-07 | 2022-12-02 | 杭银消费金融股份有限公司 | 基于ai模型的业务用户特征识别方法及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107808118A (zh) * | 2017-09-28 | 2018-03-16 | 平安科技(深圳)有限公司 | 身份识别方法、电子装置及计算机可读存储介质 |
CN107818308A (zh) * | 2017-10-31 | 2018-03-20 | 平安科技(深圳)有限公司 | 一种人脸识别智能比对方法、电子装置及计算机可读存储介质 |
CN108989571A (zh) * | 2018-08-15 | 2018-12-11 | 浙江大学滨海产业技术研究院 | 一种针对手机文字阅读的自适应字体调整方法及装置 |
CN110704011A (zh) * | 2019-09-04 | 2020-01-17 | 浪潮金融信息技术有限公司 | 一种银医设备自动调整提示音量和字体的方案 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8639729B2 (en) * | 2010-12-20 | 2014-01-28 | Sap Ag | Executing a business process in a framework |
US20140026157A1 (en) * | 2011-04-11 | 2014-01-23 | Tao Wang | Face recognition control and social networking |
CN104182672A (zh) * | 2013-05-27 | 2014-12-03 | 中兴通讯股份有限公司 | 一种定制专属系统的方法及移动终端 |
US8838071B1 (en) * | 2014-04-30 | 2014-09-16 | Oto Technologies Llc | Secure communications smartphone system |
CN103941982B (zh) * | 2014-05-12 | 2016-08-24 | 腾讯科技(深圳)有限公司 | 一种分享界面处理的方法及终端 |
CN107066983B (zh) * | 2017-04-20 | 2022-08-09 | 腾讯科技(上海)有限公司 | 一种身份验证方法及装置 |
US10884597B2 (en) * | 2017-10-17 | 2021-01-05 | Paypal, Inc. | User interface customization based on facial recognition |
CN112016023B (zh) * | 2019-05-29 | 2023-08-18 | 腾讯数码(天津)有限公司 | 业务处理方法、装置、终端及存储介质 |
CN110532744A (zh) * | 2019-07-22 | 2019-12-03 | 平安科技(深圳)有限公司 | 人脸登录方法、装置、计算机设备及存储介质 |
CN110955479B (zh) * | 2019-11-04 | 2023-12-29 | 张杰辉 | 一种保险箱app的UI设计方法及存储介质 |
-
2020
- 2020-12-08 CN CN202011441525.0A patent/CN114626036B/zh active Active
-
2021
- 2021-11-17 WO PCT/CN2021/131051 patent/WO2022121635A1/zh active Application Filing
-
2022
- 2022-10-28 US US17/976,693 patent/US20230050957A1/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107808118A (zh) * | 2017-09-28 | 2018-03-16 | 平安科技(深圳)有限公司 | 身份识别方法、电子装置及计算机可读存储介质 |
CN107818308A (zh) * | 2017-10-31 | 2018-03-20 | 平安科技(深圳)有限公司 | 一种人脸识别智能比对方法、电子装置及计算机可读存储介质 |
CN108989571A (zh) * | 2018-08-15 | 2018-12-11 | 浙江大学滨海产业技术研究院 | 一种针对手机文字阅读的自适应字体调整方法及装置 |
CN110704011A (zh) * | 2019-09-04 | 2020-01-17 | 浪潮金融信息技术有限公司 | 一种银医设备自动调整提示音量和字体的方案 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114821751A (zh) * | 2022-06-27 | 2022-07-29 | 北京瑞莱智慧科技有限公司 | 图像识别方法、装置、系统及存储介质 |
CN115424353A (zh) * | 2022-09-07 | 2022-12-02 | 杭银消费金融股份有限公司 | 基于ai模型的业务用户特征识别方法及系统 |
CN115424353B (zh) * | 2022-09-07 | 2023-05-05 | 杭银消费金融股份有限公司 | 基于ai模型的业务用户特征识别方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN114626036B (zh) | 2024-05-24 |
US20230050957A1 (en) | 2023-02-16 |
CN114626036A (zh) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11100208B2 (en) | Electronic device and method for controlling the same | |
KR102127932B1 (ko) | 전자 장치 및 그 제어 방법 | |
US11176235B2 (en) | Permission control method and related product | |
WO2021115424A1 (zh) | 一种语音支付方法和电子设备 | |
US20230050957A1 (en) | Information processing method and apparatus based on face recognition, storage medium, and terminal | |
US10803159B2 (en) | Electronic device and method for controlling the same | |
CN109255620B (zh) | 加密支付方法、移动终端及计算机可读存储介质 | |
WO2021078272A1 (zh) | 显示方法及电子设备 | |
KR102082418B1 (ko) | 전자 장치 및 그 제어 방법 | |
KR102708688B1 (ko) | 전자 장치 및 그 제어 방법 | |
CN107895108B (zh) | 一种操作管理方法和移动终端 | |
WO2021083086A1 (zh) | 信息处理方法及设备 | |
CN112818733A (zh) | 信息处理方法、装置、存储介质及终端 | |
CN109451011A (zh) | 一种基于区块链的信息存储方法及移动终端 | |
CN111158572B (zh) | 交互方法和电子设备 | |
KR102663389B1 (ko) | 전자 장치 및 그것의 제어 방법 | |
CN108377236B (zh) | 验证方法及移动终端 | |
CN111325560A (zh) | 一种支付方法及电子设备 | |
CN108875352A (zh) | 用户身份的验证方法、装置及移动终端 | |
CN114078011A (zh) | 基于图像识别的信息处理方法、装置、存储介质及终端 | |
CN114548998A (zh) | 信息处理方法、装置、存储介质及终端 | |
CN117370996A (zh) | 一种授权方法以及相关装置 | |
CN115421635A (zh) | 基于业务办理的数据交互方法、装置、介质及设备 | |
CN114519579A (zh) | 一种人脸支付方法、装置、电子设备和存储介质 | |
CN114240448A (zh) | 一种特征值转移方法和相关装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21902342 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/10/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21902342 Country of ref document: EP Kind code of ref document: A1 |