CN108777692A - Method, apparatus, electronic equipment, login service device and the medium that user logs in - Google Patents
Method, apparatus, electronic equipment, login service device and the medium that user logs in Download PDFInfo
- Publication number
- CN108777692A CN108777692A CN201810663958.7A CN201810663958A CN108777692A CN 108777692 A CN108777692 A CN 108777692A CN 201810663958 A CN201810663958 A CN 201810663958A CN 108777692 A CN108777692 A CN 108777692A
- Authority
- CN
- China
- Prior art keywords
- user
- login
- face
- image
- website
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
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
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Abstract
This disclosure relates to method, apparatus, electronic equipment, login service device and medium that a kind of user logs in.To simplify the process of user login of website.This method includes:In the registered users application for detecting default website when the account of the default website logs in third party website, according to oAuth agreements, user's login page of the third party website to be redirected to the login page of the default website;When detecting the logging request that user inputs in the login page of the default website, the image acquisition element with electronic equipment communication connection is enabled;The video flowing of the user collected to described image acquisition elements intercepts, to obtain the face-image of the user;The face-image of the user is sent to the login service device communicated to connect with the electronic equipment, so that the login service device, which is based on the face-image, carries out user's login.
Description
Technical field
This disclosure relates to technical field of information processing, and in particular, to a kind of method, apparatus that user logs in, electronics are set
Standby, login service device and medium.
Background technology
Website (Website) refers on the internet according to certain rule, using HTML (under standard generalized markup language
An application) etc. tool makings for show specific content related web page set.Website is a kind of tool of communications, one
Aspect, user oneself can want disclosed information by website to issue, or utilize a website to provide relevant network clothes
Business;On the other hand, user by browser access website, can obtain the information of oneself needs or enjoy network service.
In order to establish the correspondence of user and its data, user needs to register and log on website.Related skill
In art, registered user needs to fill in username and password when logging in, to complete to log in.Thus, in the related technology, website
Process of user login it is complex cumbersome.
Invention content
Purpose of this disclosure is to provide a kind of user log in method, apparatus, electronic equipment, login service device and medium,
To simplify the process of user login of website.
To achieve the goals above, embodiment of the present disclosure first aspect provides a kind of method that user logs in, and is applied to electricity
Sub- equipment, the method includes:
In the registered users application for detecting default website to log in third party website in the account of the default website
When, according to oAuth agreements, user's login page of the third party website is redirected to the log in page of the default website
Face;
When detecting the logging request that user inputs in the login page of the default website, enable and the electronics
The image acquisition element of equipment communication connection;
The video flowing of the user collected to described image acquisition elements intercepts, to obtain the face of the user
Portion's image;
The face-image of the user is sent to the login service device communicated to connect with the electronic equipment, so that institute
It states login service device and is based on face-image progress user's login.
Optionally, when detecting the logging request that user inputs in the login page of the default website, enable with
The image acquisition element of the electronic equipment communication connection, including:
In the clicking operation of the login button on detecting login page of the user for the default website, carry
Show that the user needs to enable described image acquisition elements;
After detecting the operation input by user for allowing to enable, described image acquisition elements are enabled.
Optionally, the video flowing of the user collected to described image acquisition elements intercepts, described to obtain
The face-image of user, including:
Uniform resource position mark URL is generated for the video flowing of the collected user of described image acquisition elements;
The URL is embedded in video tab, to show the video flowing, institute on the login page of the default website
Stating each frame image tool that video flowing includes, there are one facial image acquisition regions;
Output is for prompting the user by the prompt message in facial image acquisition region described in facial face;
When detecting the operation input by user for confirming acquisition, to facial image acquisition described in the video flowing
Image in region is intercepted, to obtain the face-image of the user.
Embodiment of the present disclosure second aspect provides a kind of method that user logs in, and is applied to login service device, the method
Including:
Receive the face-image for the user that electronic equipment is sent;
Determine the user face-image whether the face with any one registered users in the login service device
Images match;
In the face-image of the face-image and any one registered users in the login service device of the user
Timing confirms that the user is registered users;
According to oAuth agreements, user's bill is generated, and be redirected to third party website;
According to user's bill, the user is obtained in the account of default website and logs in the third party website.
The embodiment of the present disclosure third aspect provides a kind of device that user logs in, and is applied to electronic equipment, described device packet
It includes:
Redirection module, in the registered users application for detecting default website in the account of the default website
When logging in third party website, according to oAuth agreements, user's login page of the third party website is redirected to described default
The login page of website;
Module is enabled, for when detecting the logging request that user inputs in the login page of the default website,
Enable the image acquisition element with electronic equipment communication connection;
Interception module is intercepted for the video flowing to the collected user of described image acquisition elements, with
To the face-image of the user;
Sending module takes for the face-image of the user to be sent to the login communicated to connect with the electronic equipment
Business device, so that the login service device, which is based on the face-image, carries out user's login.
Optionally, the enabling module includes:
Prompting submodule, for the login button on detecting login page of the user for the default website
Clicking operation when, prompt the user need enable described image acquisition elements;
Submodule is enabled, for after detecting the operation input by user for allowing to enable, enabling described image and adopting
Collect element.
Optionally, the interception module includes:
Submodule is generated, for generating unified resource for the video flowing of the collected user of described image acquisition elements
Finger URL URL;
Embedded submodule, for the URL to be embedded in video tab, to be shown on the login page of the default website
Show the video flowing, there are one facial image acquisition regions for each frame image tool that the video flowing includes;
Output sub-module, for exporting for prompting the user carrying facial image acquisition region described in facial face
Show information;
Submodule is intercepted, when for detecting the operation input by user for confirming acquisition, to institute in the video flowing
The image stated in facial image acquisition region is intercepted, to obtain the face-image of the user.
Embodiment of the present disclosure fourth aspect provides a kind of device that user logs in, and is applied to login service device, described device
Including:
Receiving module, the face-image of the user for receiving electronic equipment transmission;
Determining module, for determining whether the face-image of the user has been noted with any one in the login service device
The facial images match of volume user;
Confirmation module, for the face-image in the user and any one registered users in the login service device
Facial images match when, confirm that the user is registered users;
Processing module, for according to oAuth agreements, generating user's bill, and be redirected to third party website;
Login module, for according to user's bill, obtaining the user and presetting described in the account of website and login
Third party website.
The 5th aspect of the embodiment of the present disclosure provides a kind of computer readable storage medium, is stored thereon with computer program,
The step of embodiment of the present disclosure first aspect or second aspect the method are realized when the program is executed by processor.
The 6th aspect of the embodiment of the present disclosure provides a kind of electronic equipment, including:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize embodiment of the present disclosure first party
The step of face the method.
The 7th aspect of the embodiment of the present disclosure provides a kind of login service device, including:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize embodiment of the present disclosure second party
The step of face the method.
Through the above technical solutions, user when logging in, without inputting username and password, need to only be adopted by image
Collect element collection surface portion image, simplifies the process of user login of website.Since the face-image completion by user is stepped on
Record, so being also not required to user remembers the username and password inputted when registration.Also, due to being completed by the face-image of user
It logs in, does not need password, the possibility that the account for avoiding user is stolen or password is cracked.Further, since using
OAuth agreements protect the personal secrets of user so third party website will not be made to touch the face-image of user.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is the schematic diagram for the implementation environment that this public affairs embodiment is related to.
Fig. 2 is the flow chart for the user login method that the embodiment of the present disclosure provides.
Fig. 3 is the flow chart for another user login method that the embodiment of the present disclosure provides.
Fig. 4 is the flow chart for user's entering device that the embodiment of the present disclosure provides.
Fig. 5 is the block diagram for the electronic equipment that the embodiment of the present disclosure provides.
Fig. 6 is the flow chart for another user's entering device that the embodiment of the present disclosure provides.
Fig. 7 is the block diagram for the login service device that the embodiment of the present disclosure provides.
Specific implementation mode
The specific implementation mode of the disclosure is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched
The specific implementation mode stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Before being illustrated to the user login method that the embodiment of the present disclosure provides, this public affairs embodiment is related to first
Implementation environment illustrates.Fig. 1 is the schematic diagram for the implementation environment that this public affairs embodiment is related to.As shown in Figure 1, the embodiment of the present disclosure
The implementation environment being related to includes:Electronic equipment and login service device, and electronic equipment is communicated to connect with login service device.In one kind
In embodiment, carried out data transmission by AJAX technologies between electronic equipment and login service device.Wherein, electronic equipment can be with
Be any equipment of browser client is installed, such as:Be equipped with the smart mobile phone of browser client, laptop,
Tablet computer etc..Login service device can be integrated in web server, can also be the independence communicated to connect with web server
Server, wherein web server is that the server of WEB-browsing services is provided for browser client.Login service device is
Provide the server of login service to the user.In one embodiment, browser client supports WebRTC (Web Real-
Time Communication, webpage real-time Communication for Power) technology.WebRTC technologies are a kind of real-time languages of supported web page browser progress
Sound is talked with or the technology of video conversation.WebRTC provides the core technology of video conference, includes acquisition, the volume solution of audio and video
The functions such as code, network transmission, display, and also support cross-platform:Windows, linux, mac, android.
Based on implementation environment shown in FIG. 1, the embodiment of the present disclosure provides a kind of user login method, is set applied to electronics
Standby, which can be the electronic equipment in Fig. 1.With reference to figure 2, Fig. 2 is the user login side that the embodiment of the present disclosure provides
The flow chart of method.As shown in Fig. 2, this approach includes the following steps:
Step S11:In the registered users application for detecting default website to log in the in the account of the default website
When tripartite website, according to oAuth agreements, user's login page of the third party website is redirected to the default website
Login page;
Step S12:When detecting the logging request that user inputs in the login page of the default website, enable with
The image acquisition element of the electronic equipment communication connection;
Step S13:The video flowing of the user collected to described image acquisition elements intercepts, described to obtain
The face-image of user;
Step S14:The face-image of the user is sent to the login service device communicated to connect with the electronic equipment,
So that the login service device, which is based on the face-image, carries out user's login.
The embodiment of the present disclosure proposes that the face-image using user is completed to log in.In order to acquire the face-image of user,
Electronic equipment internal is asked to be integrated with image acquisition element, alternatively, the external image acquisition element for communicating with connection of electronic equipment.
Wherein, image acquisition element is the element for having image collecting function, such as:Camera.
First, whether the registered users of the default website of electronic equipment detection apply logging in the account for presetting website at this
Third party website, such as:The registered users of default website are clicked the brush face on user's login page of third party website and are logged in
Button.When detecting the logging request that user inputs in user's login page of third party website, according to oAuth agreements,
User's login page of third party website is redirected to the login page of default website.Wherein, third party website can be mutual
Any website in networking, user's login page of third party website are different from the login page of default website, preset website
Login page is page when registered users log in default website, and user logs in third party website and needs by default website
Login page carry out facial image acquisition, the face-image of acquisition is then sent to login service device, and then complete to log in.
After user's login page of third party website is redirected to the login page of default website, detection user is
It is no to input logging request in the login page of default website, such as:The brush face clicked on the login page for presetting website logs in
Button.When detecting the logging request that user inputs in the login page of default website, image acquisition element is enabled.
In one embodiment, letter can be adjusted back by the click in brush face login button by enabling image acquisition element
Navigator.getUserMedia () method is called to realize in number.
In another embodiment, enabling image acquisition element can be realized by following steps:
In the clicking operation of the login button on detecting login page of the user for default website, institute is prompted
User is stated to need to enable described image acquisition elements;
After detecting the operation input by user for allowing to enable, described image acquisition elements are enabled.
In view of the personal secrets of user, before the face-image of acquisition user, the permission for obtaining user is needed.Cause
This, electronic equipment prompts user to need to enable when detecting that user clicks the login button on the login page for presetting website
Image acquisition element, user can input the operation for allowing to enable or the operation of refusal enabling according to itself wish.If inspection
Measuring user's input allows the operation enabled, then enables image acquisition element;If detecting that user inputs the behaviour that refusal enables
Make, does not then enable image acquisition element.
Illustratively, electronic equipment is when detecting that user clicks the login button on the login page for presetting website, aobvious
Display reminding window in display screen prompts user to need to enable camera, detects user's point on prompt window by prompt window
Hit allow enable button or refusal enable button, if detect user click on prompt window allow enable by
Button then enables camera;If detecting that user clicks the button that the refusal on prompt window enables, camera shooting is not enabled
Head.
After enabling image acquisition element, image acquisition element carries out Image Acquisition to user, obtains the video flowing of user.
Electronic equipment intercepts the video flowing of user, obtains the face-image of user.
In one embodiment, step S12 includes the following steps:
Uniform resource position mark URL is generated for the video flowing of the collected user of described image acquisition elements;
The URL is embedded in video tab, to show the video flowing, institute on the login page of the default website
Stating each frame image tool that video flowing includes, there are one facial image acquisition regions;
Output is for prompting the user by the prompt message in facial image acquisition region described in facial face;
When detecting the operation input by user for confirming acquisition, to facial image acquisition described in the video flowing
Image in region is intercepted, to obtain the face-image of the user.
In the embodiment of the present disclosure, electronic equipment passes through the method built in browser client
Window.URL.createObjectURL () is that the video flowing of the collected user of image acquisition element generates URL, then
The URL is embedded in video labels, and then the display of video streams on the login page of default website.Video flowing include it is every
One frame image tool there are one facial image acquisition region (such as:One rectangular area), then in the login page of default website
Upper display reminding information prompts user that face is put into the facial image acquisition region, face is put into face-image in user
After pickup area, the operation that user can be acquired with input validation, such as:The acquisition clicked on the login page for presetting website is pressed
Button carries out facial image acquisition after detecting the operation input by user for confirming acquisition.
In one embodiment, carrying out facial image acquisition includes:An ImageCapture object is created, tune is passed through
With the takePhoto methods of the ImageCapture objects, intercepted from the video flowing shown on the login page of default website
The face-image of user.
After being truncated to the face-image of user, the face-image of user is sent to login service device by electronic equipment.
In one embodiment, for electronic equipment by AJAX technologies, the face-image of user, which is issued, has people on login service device
The Web API of face identification function.
After the face-image of user is sent to login service device by electronic equipment, by login service device to the face of user
Portion's image is handled, and completes to log in.For this purpose, the embodiment of the present disclosure provides another user login method, it is applied to log in clothes
Business device, which can be the login service device in Fig. 1.
With reference to figure 3, Fig. 3 is the flow chart for another user login method that the embodiment of the present disclosure provides.As shown in figure 3,
This approach includes the following steps:
Step S21:Receive the face-image for the user that electronic equipment is sent;
Step S22:Determine the user face-image whether with any registered users in the login service device
Facial images match;
Step S23:In the face of the face-image and any one registered users in the login service device of the user
When portion's images match, confirm that the user is registered users;
Step S24:According to oAuth agreements, user's bill is generated, and be redirected to third party website;
Step S25:According to user's bill, the user is obtained in the account of default website and logs in the third party
Website.
In the embodiment of the present disclosure, login service utensil has face identification functions, login service device to receive electronic equipment and send
User face-image.In one embodiment, the Web API with face identification functions pass through on login service device
AJAX technologies receive the face-image for the user that electronic equipment is sent.
The face-image of registered users can be prestored in login service device.Specifically, can pass through every time
The face-image of user is identified after completing user's registration and is stored, can also be registered by other means by user
Afterwards, it then uploads in the face-image to login service device of the user, in this way, being stored with each registered users in login service device
Face-image, in order to registered users Website login.
Login service device after receiving the face-image of user, scheme by the face received by face recognition algorithms identification
The characteristic information of picture is schemed then by the characteristic information of the face-image received with the face of pre-stored registered users
The characteristic information of picture is compared, if the face-image of the characteristic information of the face-image received and a registered users
Characteristic information compare, the matching degree of the two is higher than predetermined threshold value, it is determined that the face-image received is the registered users
Face-image, thus confirm that user is registered users, then according to oAuth agreements, generate user's bill, and be redirected to
Third party website.Finally according to user's bill, user is obtained in the account of default website and logs in third party website.Wherein, exist
User is obtained before the account of default website, if user is to log in the third party website for the first time with the account for presetting website,
Then login service device sends authorization notification to electronic equipment, informs that user has third party website (source website) to want to obtain the user
Account in default website is used to log in third party website, if detecting the confirmation mandate that user inputs in the electronic device
Information then obtains user in the account for presetting website, to log in third party website;If user has authorized third party website to make before
With its account in default website, then illustrate that user has been acknowledged mandate before, allows the account in default website using user
Third party website is logged in, thus without sending authorization notification again.
If the characteristic information of the face-image received and the characteristic information of the face-image of all registered users are equal
Difference then illustrates that the user is unregistered new user, thus login service device sends the prompt of login failure to electronic equipment
Information.
In one embodiment, login service device, which removes, authorizes the user for wanting to log in pass through electronic equipment Website login
Outside, the User ID of the user is also generated, is then returned to according to User ID generation respective session (session) and is transported on electronic equipment
Capable browser client, and HTTP Response body are being written into the prompt message logined successfully, it is then sent to electricity
The browser client run in sub- equipment;If login service device determines that the face-image received is not registered users
The prompt message of login failure and failure cause are then written HTTP Response body, are then sent to by face-image
The browser client run on electronic equipment.
Above-mentioned technical proposal is used, user is when logging in, and without inputting username and password, only need to pass through image
Acquisition elements acquire face-image, simplify the process of user login of website.Due to being completed by the face-image of user
It logs in, so being also not required to user remembers the username and password inputted when registration.Also, due to complete by the face-image of user
At login, password is not needed, the possibility that the account for avoiding user is stolen or password is cracked.Further, since using
OAuth agreements protect the personal secrets of user so third party website will not be made to touch the face-image of user.
Based on same inventive concept, the embodiment of the present disclosure also provides a kind of device that user logs in, and is applied to electronic equipment.
As shown in figure 4, the device includes:
Redirection module 401, the login for detecting input of the user in user's login page of third party website are asked
When asking, according to oAuth agreements, user's login page is redirected to the login page of default website;
Module 402 is enabled, in the logging request for detecting that user inputs in the login page of the default website
When, enable the image acquisition element with electronic equipment communication connection;
Interception module 403 is intercepted for the video flowing to the collected user of described image acquisition elements, with
Obtain the face-image of the user;
Sending module 404 is stepped on for being sent to the face-image of the user with what the electronic equipment communicated to connect
Server is recorded, so that the login service device, which is based on the face-image, carries out user's login.
Optionally, the enabling module includes:
Prompting submodule, for the login button on detecting login page of the user for the default website
Clicking operation when, prompt the user need enable described image acquisition elements;
Submodule is enabled, for after detecting the operation input by user for allowing to enable, enabling described image and adopting
Collect element.
Optionally, the interception module includes:
Submodule is generated, for generating unified resource for the video flowing of the collected user of described image acquisition elements
Finger URL URL;
Embedded submodule, for the URL to be embedded in video tab, to be shown on the login page of the default website
Show the video flowing, there are one facial image acquisition regions for each frame image tool that the video flowing includes;
Output sub-module, for exporting for prompting the user carrying facial image acquisition region described in facial face
Show information;
Submodule is intercepted, when for detecting the operation input by user for confirming acquisition, to institute in the video flowing
The image stated in facial image acquisition region is intercepted, to obtain the face-image of the user.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 5 is the block diagram for the electronic equipment that the embodiment of the present disclosure provides.For example, electronic equipment can be mobile phone, meter
Calculation machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, individual digital
Assistant etc..
With reference to Fig. 5, electronic equipment may include following one or more components:Processing component 802, memory 804, electric power
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of 802 usual control electronics of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to complete all or part of step for the method that above-mentioned user logs in.In addition, processing component 802 may include one or more
A module, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multimedia mould
Block, to facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in electronic equipment.These data
Example includes the instruction for any application program or method that operate on an electronic device, contact data, telephone book data,
Message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of electronic equipment.Electric power assembly 806 may include power management system
System, one or more power supplys and other generate, manage and distribute electric power associated component with for electronic equipment.
Multimedia component 808 is included in the screen of one output interface of offer between the electronic equipment and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 808 includes a front camera and/or rear camera.When electronic equipment is in operation mode, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when electronic equipment is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for electronic equipment is commented
Estimate.For example, sensor module 814 can detect the state that opens/closes of electronic equipment, the relative positioning of component, such as institute
The display and keypad that component is electronic equipment are stated, sensor module 814 can also detect electronic equipment or electronic equipment one
The position change of a component, the existence or non-existence that user contacts with electronic equipment, electronic equipment orientation or acceleration/deceleration and electricity
The temperature change of sub- equipment.Sensor module 814 may include proximity sensor, be configured to connect in not any physics
It is detected the presence of nearby objects when tactile.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor,
For being used in imaging applications.In some embodiments, which can also include acceleration transducer, top
Spiral shell instrument sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment and other equipment.Electricity
Sub- equipment can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.It is exemplary at one
In embodiment, communication component 816 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short distance logical
Letter.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) can be based in NFC module
Technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment can be by one or more application application-specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, the method logged in for executing above-mentioned user.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of
Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment to complete above-mentioned user's login
Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM,
Tape, floppy disk and optical data storage devices etc..
Based on same inventive concept, the embodiment of the present disclosure also provides a kind of device that user logs in, and is applied to login service
Device, as shown in fig. 6, the device includes:
Receiving module 601, the face-image of the user for receiving electronic equipment transmission;
Determining module 602, for determine the user face-image whether with any one in the login service device
The facial images match of registered users;
Confirmation module 603, for registered in the face-image of the user and any one in the login service device
When the facial images match of user, confirm that the user is registered users;
Processing module 604, for according to oAuth agreements, generating user's bill, and be redirected to third party website;
Login module 605, for according to user's bill, obtaining the user in the account of default website and logging in institute
State third party website.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
A kind of block diagram for login service device that Fig. 7 embodiment of the present disclosure examples provide.With reference to Fig. 7, login service device includes
Processor 1122, quantity can be one or more and memory 1132, can be executed by processor 1122 for storing
Computer program.The computer program stored in memory 1132 may include it is one or more each correspond to one
The module of group instruction.In addition, processor 1122, which can be configured as, executes the computer program, logged in executing above-mentioned user
Method.
In addition, login service device can also include power supply module 1126 and communication component 1150, which can
To be configured as executing the power management of login service device, which, which can be configured as, realizes login service device
Communication, for example, wired or wireless communication.In addition, the login service device can also include input/output (I/O) interface 1158.It steps on
Record server can be operated based on the operating system for being stored in memory 1132, such as Windows ServerTM, Mac OS
XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of above-mentioned user login method is realized when program instruction is executed by processor.For example, the computer readable storage medium
Can be the above-mentioned memory 1132 including program instruction, above procedure instruction can be executed by the processor 1122 of login service device
To complete above-mentioned user login method.
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy no longer separately illustrates.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.
Claims (10)
1. a kind of method that user logs in, which is characterized in that it is applied to electronic equipment, the method includes:
The registered users application for detecting default website with the account of the default website log in third party website when, root
According to oAuth agreements, user's login page of the third party website is redirected to the login page of the default website;
When detecting the logging request that user inputs in the login page of the default website, enable and the electronic equipment
The image acquisition element of communication connection;
The video flowing of the user collected to described image acquisition elements intercepts, and the face to obtain the user is schemed
Picture;
The face-image of the user is sent to the login service device communicated to connect with the electronic equipment, so that described step on
It records server and is based on face-image progress user's login.
2. according to the method described in claim 1, it is characterized in that, detecting login page of the user in the default website
When the logging request of middle input, the image acquisition element with electronic equipment communication connection is enabled, including:
In the clicking operation of the login button on detecting login page of the user for the default website, institute is prompted
User is stated to need to enable described image acquisition elements;
After detecting the operation input by user for allowing to enable, described image acquisition elements are enabled.
3. according to the method described in claim 1, it is characterized in that, collected to the described image acquisition elements user
Video flowing is intercepted, to obtain the face-image of the user, including:
Uniform resource position mark URL is generated for the video flowing of the collected user of described image acquisition elements;
The URL is embedded in video tab, it is described to regard to show the video flowing on the login page of the default website
There are one facial image acquisition regions for each frame image tool that frequency stream includes;
Output is for prompting the user by the prompt message in facial image acquisition region described in facial face;
When detecting the operation input by user for confirming acquisition, to facial image acquisition region described in the video flowing
Interior image is intercepted, to obtain the face-image of the user.
4. a kind of method that user logs in, which is characterized in that it is applied to login service device, the method includes:
Receive the face-image for the user that electronic equipment is sent;
Determine the user face-image whether the face-image with any one registered users in the login service device
Matching;
When the face-image of the user is with the facial images match of any one registered users in the login service device,
Confirm that the user is registered users;
According to oAuth agreements, user's bill is generated, and be redirected to third party website;
According to user's bill, the user is obtained in the account of default website and logs in the third party website.
5. the device that a kind of user logs in, which is characterized in that be applied to electronic equipment, described device includes:
Redirection module, for the registered users application for detecting default website with the account of the default website log in
When third party website, according to oAuth agreements, user's login page of the third party website is redirected to the default website
Login page;
Module is enabled, for when detecting the logging request that user inputs in the login page of the default website, enabling
With the image acquisition element of electronic equipment communication connection;
Interception module is intercepted for the video flowing to the collected user of described image acquisition elements, to obtain
State the face-image of user;
Sending module, for the face-image of the user to be sent to the login service communicated to connect with the electronic equipment
Device, so that the login service device, which is based on the face-image, carries out user's login.
6. device according to claim 5, which is characterized in that the enabling module includes:
Prompting submodule, the point for the login button on detecting login page of the user for the default website
When hitting operation, the user is prompted to need to enable described image acquisition elements;
Submodule is enabled, for after detecting the operation input by user for allowing to enable, enabling described image acquisition member
Part.
7. the device that a kind of user logs in, which is characterized in that be applied to login service device, described device includes:
Receiving module, the face-image of the user for receiving electronic equipment transmission;
Determining module, for determine the user face-image whether with any one registered use in the login service device
The facial images match at family;
Confirmation module, the face for face-image and any one registered users in the login service device in the user
When portion's images match, confirm that the user is registered users;
Processing module, for according to oAuth agreements, generating user's bill, and be redirected to third party website;
Login module, for according to user's bill, obtaining the user in the account of default website and logging in the third
Square website.
8. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The step of any one of claim 1-4 the methods are realized when row.
9. a kind of electronic equipment, which is characterized in that including:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-3
The step of method.
10. a kind of login service device, which is characterized in that including:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize the step of claim 4 the method
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810663958.7A CN108777692A (en) | 2018-06-25 | 2018-06-25 | Method, apparatus, electronic equipment, login service device and the medium that user logs in |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810663958.7A CN108777692A (en) | 2018-06-25 | 2018-06-25 | Method, apparatus, electronic equipment, login service device and the medium that user logs in |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108777692A true CN108777692A (en) | 2018-11-09 |
Family
ID=64025505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810663958.7A Withdrawn CN108777692A (en) | 2018-06-25 | 2018-06-25 | Method, apparatus, electronic equipment, login service device and the medium that user logs in |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108777692A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684927A (en) * | 2018-11-21 | 2019-04-26 | 北京蜂盒科技有限公司 | Biopsy method, device, computer readable storage medium and electronic equipment |
CN112333184A (en) * | 2020-10-30 | 2021-02-05 | 广东科徕尼智能科技有限公司 | Method, terminal and storage device for limiting user to directly access main page |
CN112491924A (en) * | 2020-12-09 | 2021-03-12 | 威创集团股份有限公司 | Cross-platform face recognition login method, system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571857A (en) * | 2010-12-27 | 2012-07-11 | 深圳市闪联信息技术有限公司 | Method and system for realizing logging in XMPP (Xmlbased Messaging and Presence Protocol) server |
CN105227316A (en) * | 2015-09-01 | 2016-01-06 | 深圳市创想一登科技有限公司 | Based on mobile Internet account login system and the method for facial image authentication |
CN105723398A (en) * | 2013-09-19 | 2016-06-29 | 安客诚 | Method and system for tracking user engagement on multiple third-party sites |
US20170134377A1 (en) * | 2015-11-05 | 2017-05-11 | Sony Interactive Entertainment Inc. | Information processing device, login control method and program |
-
2018
- 2018-06-25 CN CN201810663958.7A patent/CN108777692A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571857A (en) * | 2010-12-27 | 2012-07-11 | 深圳市闪联信息技术有限公司 | Method and system for realizing logging in XMPP (Xmlbased Messaging and Presence Protocol) server |
CN105723398A (en) * | 2013-09-19 | 2016-06-29 | 安客诚 | Method and system for tracking user engagement on multiple third-party sites |
CN105227316A (en) * | 2015-09-01 | 2016-01-06 | 深圳市创想一登科技有限公司 | Based on mobile Internet account login system and the method for facial image authentication |
US20170134377A1 (en) * | 2015-11-05 | 2017-05-11 | Sony Interactive Entertainment Inc. | Information processing device, login control method and program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109684927A (en) * | 2018-11-21 | 2019-04-26 | 北京蜂盒科技有限公司 | Biopsy method, device, computer readable storage medium and electronic equipment |
CN112333184A (en) * | 2020-10-30 | 2021-02-05 | 广东科徕尼智能科技有限公司 | Method, terminal and storage device for limiting user to directly access main page |
CN112491924A (en) * | 2020-12-09 | 2021-03-12 | 威创集团股份有限公司 | Cross-platform face recognition login method, system and storage medium |
CN112491924B (en) * | 2020-12-09 | 2022-03-22 | 威创集团股份有限公司 | Cross-platform face recognition login method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270404B (en) | A kind of login method and device based on terminal iidentification | |
CN106709399B (en) | Fingerprint identification method and device | |
CN104125067B (en) | Account and token secret key binding method and device | |
JP7073451B2 (en) | Equipment network configuration method, equipment and media | |
CN105138942B (en) | The display methods and device of two dimensional code | |
US8826398B2 (en) | Password changing | |
CN105847243B (en) | Method and device for accessing intelligent camera | |
US8855600B2 (en) | Method and system for authenticating a non-native user of a mobile device | |
CN104933351A (en) | Information security processing method and information security processing device | |
CN109407528A (en) | Safety access method, device, server and storage medium | |
CN104850827A (en) | Fingerprint identification method and apparatus | |
US20210326429A1 (en) | Access control method and device, electronic device and storage medium | |
CN108777692A (en) | Method, apparatus, electronic equipment, login service device and the medium that user logs in | |
CN105678549A (en) | Payment method and device | |
CN106060027B (en) | Method, apparatus, equipment and the system verified based on identifying code | |
CN110049062A (en) | Verify code check method, device, electronic equipment and storage medium | |
CN106488450B (en) | Connect the method and device of wireless network | |
CN105407070A (en) | Logging-in authorization method and device | |
CN104639533A (en) | Safety control method and device based on terminal | |
CN109039860A (en) | Send and show method and device, the identity authentication method and device of message | |
CN104217328A (en) | Multi-verification payment method and multi-verification payment device | |
CN107959757A (en) | User information processing method, device, APP servers and terminal device | |
KR20170012872A (en) | Method and apparatus for acquiring search results | |
CN105337937B (en) | Network verification method, device and computer readable storage medium | |
CN109525652A (en) | Information sharing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181109 |
|
WW01 | Invention patent application withdrawn after publication |