CN108650276A - A kind of login method, device, electronic equipment and storage medium - Google Patents

A kind of login method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108650276A
CN108650276A CN201810489960.7A CN201810489960A CN108650276A CN 108650276 A CN108650276 A CN 108650276A CN 201810489960 A CN201810489960 A CN 201810489960A CN 108650276 A CN108650276 A CN 108650276A
Authority
CN
China
Prior art keywords
phone number
login
user
information
subscriber identity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810489960.7A
Other languages
Chinese (zh)
Inventor
张文选
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201810489960.7A priority Critical patent/CN108650276A/en
Publication of CN108650276A publication Critical patent/CN108650276A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of login method, device, electronic equipment and storage mediums, wherein method includes:Obtain subscriber identity information;Corresponding user login information is obtained according to subscriber identity information;According to user login information, the register of performance objective application;Method, apparatus, electronic equipment and the storage medium of the present invention, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is when logging in various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:Input account, password and short message verification code also avoid user and forget account and the risk of password whereby, certainly, decrease operation when user logs in.

Description

A kind of login method, device, electronic equipment and storage medium
Technical field
The present invention relates to technical field of communication safety and comprising more particularly to a kind of login method, device, electronic equipment and storage to be situated between Matter.
Background technology
In the prior art, user, if user needs login system, generally requires when using application program and passes through use The modes such as name in an account book password login, mobile phone identifying code login log in the application program, and these landing approaches are required to user's input The log-on messages such as corresponding user name, password, in addition, it is desirable to which user remembers these passwords and user name.Make in user When application program is more, then user is needed to remember the user name of each application program, password, and this will lead Family of applying often remembers the log-on message of each application program mixed, causes to log in inconvenient problem.
Invention content
It is a primary object of the present invention to propose a kind of login method, device, electronic equipment and storage medium, which overcome User needs to remember the corresponding account of each application program and password and cause to log in inconvenient problem.
According to the first aspect of the invention, a kind of login method is provided, end side, the method packet are applied to It includes:Obtain subscriber identity information;Corresponding user login information is obtained according to the subscriber identity information;It is stepped on according to the user Record information, the register of performance objective application.
Optionally, the acquisition subscriber identity information, including:Judge whether to obtain by Software Development Kit SDK Get the subscriber identity information;If so, obtaining the subscriber identity information, the subscriber identity information includes cell-phone number Otherwise the unique identification of code and the phone number switches to other login modes.
Optionally, after the acquisition subscriber identity information, the method further includes:Open login interface;It will The phone number is presented in the login interface, so that user executes judging the phone number needed for register In the case of phone number, predetermined registration operation is executed to feed back log-in instruction;The log-in instruction is obtained, and is determined according to described in only One property mark obtains the corresponding user login information of the phone number.
Optionally, described that phone number is presented in the login interface, including:By the phone number of mask state It is presented in login interface.
Optionally, the user login information is pre-stored in background server;The foundation subscriber identity information acquisition pair The user login information answered, including:The unique identification is sent to background server, for the background server foundation The unique identification feeds back the user login information;Obtain the user login information of the background server feedback.
Optionally, in the case where the user login information of the background server feedback has not been obtained, the method packet It includes:Obtain the registration prompt message from the background server;Based on the registration prompt message, according to the phone number Generate the user login information.
Optionally, after generating the user login information according to the phone number, the method further includes:By institute It states the corresponding user login information of phone number and is synchronized to background server.
Optionally, the constitution element of the login interface is configurable, and the constitution element includes being answered with the target With the custom colors and mark logo of adaptation.
Optionally, the unique identification includes:Token Token.
According to the second aspect of the invention, a kind of entering device is provided, it includes in end side, described device packet It includes:Identity information acquisition module, for obtaining subscriber identity information;Log-on message acquisition module, for according to user's body The corresponding user login information of part acquisition of information;Login module is used for according to the user login information, performance objective application Register.
Optionally, the identity information acquisition module is specifically used for:Being judged whether by Software Development Kit SDK can be with Get the subscriber identity information;If so, obtaining the subscriber identity information, the subscriber identity information includes cell-phone number Otherwise the unique identification of code and the phone number switches to other login modes.
Optionally, described device further includes:Login interface opens module, for obtaining the subscriber identity information described Later, login interface is opened;Module is presented, for the phone number to be presented in the login interface, so that user is sentencing In the case that the fixed phone number is the phone number executed needed for register, executes predetermined registration operation and referred to feeding back login It enables;Log-in instruction module for obtaining the log-in instruction, and determines and obtains the phone number according to the unique identification Corresponding user login information.
Optionally, the presentation module is specifically used for:The phone number of mask state is presented in login interface.
Optionally, the log-on message acquisition module is specifically used for:The unique identification is sent to background server, So that the background server feeds back the user login information according to the unique identification;It is anti-to obtain the background server The user login information of feedback, wherein the user login information is pre-stored in background server.
Optionally, described device further includes:Reminding module is registered, for the background server feedback to have not been obtained In the case of user login information, the registration prompt message from the background server is obtained;Generation module, for being based on institute Registration prompt message is stated, the user login information is generated according to the phone number.
Optionally, described device further includes:Synchronization module, for generating user's login according to the phone number After information, the corresponding user login information of the phone number is synchronized to background server.
Optionally, the constitution element of the login interface is configurable, and the constitution element includes being answered with the target With the custom colors and mark logo of adaptation.
Optionally, the unique identification includes:Token Token.
According to the third aspect of the present invention, a kind of electronic equipment, including processor and memory are provided;The storage For device for storing computer instruction, the processor is used to run the computer instruction of the memory storage, above-mentioned to realize A kind of login method.
According to the fourth aspect of the present invention, a kind of computer readable storage medium is provided, it is described computer-readable to deposit Storage media is stored with one or more program, and one or more of programs can be executed by one or more processor, To realize a kind of above-mentioned login method.
The present invention has the beneficial effect that:Login since intended application can be completed by the subscriber identity information of acquisition is grasped Make, i.e.,:User is when logging in various intended applications, without remembering logon account, memory cipher, operation short-message verification, without Execute following operation:Input account, password and short message verification code also avoid the wind that user forgets account and password whereby Danger decreases operation when user logs in certainly.
Description of the drawings
Fig. 1 is a kind of flow diagram of login method of first embodiment of the invention;
Fig. 2 is a kind of flow diagram of login method of second embodiment of the invention;
Fig. 3 is a kind of flow diagram of login method of third embodiment of the invention;
Fig. 4 is a kind of flow diagram of login method of fourth embodiment of the invention;
Fig. 5 is a kind of flow diagram of login method of fifth embodiment of the invention;
Fig. 6 is a kind of flow diagram of login method of sixth embodiment of the invention;
Fig. 7 is information exchange schematic diagram in seventh embodiment of the invention;
Fig. 8 is a kind of structural schematic diagram of entering device of eighth embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Embodiment to facilitate the understanding of the present invention carries out the implementation process of the present invention below by several specific embodiments Detailed elaboration.
First embodiment of the invention provides a kind of login method, is applied to end side, the method includes:It obtains and uses Family identity information;Corresponding user login information is obtained according to the subscriber identity information;According to the user login information, hold The register of row intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 1 is a kind of flow diagram of login method of first embodiment of the invention.According to Fig. 1, the present invention first is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S11:Obtain subscriber identity information;
Optionally, terminal obtains subscriber identity information from operator's server, certainly, if the subscriber identity information is pre-stored in The terminal, then the terminal subscriber identity information can be obtained from its own, in the present embodiment, not to the subscriber identity information Source be defined.
S12:Corresponding user login information is obtained according to the subscriber identity information;
Corresponding user login information is obtained according to the subscriber identity information, wherein the user login information is for referring to Show that the corresponding intended application of terminal enters login status.
S13:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 2 is a kind of flow diagram of login method of second embodiment of the invention.According to Fig.2, the present invention second is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S21:Judge whether that phone number can be got by Software Development Kit SDK;If so, thening follow the steps Otherwise S22 executes step S23;
Specifically, in the present embodiment, terminal is by calling operator SDK to judge whether that can get user identity believes Breath;Moreover, the SDK is adapted to intended application.
S22:The subscriber identity information is obtained, the subscriber identity information includes phone number and the cell-phone number The unique identification of code, and execute step S24;
In the case where determination can get subscriber identity information, terminal obtains user identity letter from operator's server Breath, certainly, if the subscriber identity information is pre-stored in the terminal, which can obtain the subscriber identity information from its own, In the present embodiment, the source of the subscriber identity information is not defined, wherein the subscriber identity information includes cell-phone number The unique identification of code and the phone number.
The phone number is logon account or the phone number bound with the logon account.Moreover, the phone number is User terminal opens SIM (Subscriber Identification Module, the user identity identification of mobile data flow Card) card phone number.
The unique identification includes:Token Token.
Specifically, the intended application calls the interface service that the affiliated telecom operators of the SIM card provide, to be taken from operator The unique identification of the phone number is obtained in business device.
S23:Switch to other login modes;
In the case where determination cannot get subscriber identity information, terminal switches the login interface of the intended application To other login mode interfaces, such as:Short-message verification login interface.
S24:Corresponding user login information is obtained according to the subscriber identity information;
Corresponding user login information is obtained according to the subscriber identity information, wherein the user login information is for referring to Show that the corresponding intended application of terminal enters login status.
S25:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 3 is a kind of flow diagram of login method of third embodiment of the invention.According to Fig.3, third of the present invention is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S31:Judge whether that phone number can be got by Software Development Kit SDK;If so, thening follow the steps Otherwise S32 executes step S34;
Specifically, in the present embodiment, terminal is by calling operator SDK to judge whether that can get user identity believes Breath;
S32:The subscriber identity information is obtained, the subscriber identity information includes phone number and the cell-phone number The unique identification of code;
In the case where determination can get subscriber identity information, terminal obtains user identity letter from operator's server Breath, certainly, if the subscriber identity information is pre-stored in the terminal, which can obtain the subscriber identity information from its own, In the present embodiment, the source of the subscriber identity information is not defined, wherein the subscriber identity information includes cell-phone number The unique identification of code and the phone number.
S33:Open login interface;The phone number is presented in the login interface, so that user is described in judgement In the case that phone number is the phone number executed needed for register, predetermined registration operation is executed to feed back log-in instruction;It obtains The log-in instruction, and determine and obtain the corresponding user login information of the phone number according to the unique identification, and hold Row step S35.
Specifically, when phone number is presented on login interface, user can be judged by the phone number of presentation should Phone number whether be intended application execute register needed for phone number, if so, user pass through execute predetermined registration operation To feed back log-in instruction, otherwise, jumps to other login modes or be not processed;
In the present embodiment, the predetermined registration operation includes but not limited to:Click the login button in terminal.
And intended application determines after getting log-in instruction and obtains the phone number pair according to the unique identification The user login information answered.
With regard to this, because phone number is presented in login interface, user is eliminated on login interface and inputs user name and close The process of code, greatly reduces the interaction times between user and equipment, the user experience is improved.
Wherein, the constitution element of the login interface is configurable, and the constitution element includes and the intended application The custom colors and mark logo of adaptation, i.e.,:Self-defined style sheet can be used in login interface, keeps the login mode more preferable The various styles of adaptation intended application.
S34:Switch to other login modes;
In the case where determination cannot get subscriber identity information, terminal switches the login interface of the intended application To other login mode interfaces, such as:Short-message verification login interface.
S35:Corresponding user login information is obtained according to the subscriber identity information;
Corresponding user login information is obtained according to the subscriber identity information, wherein the user login information is for referring to Show that the corresponding intended application of terminal enters login status.
The phone number is logon account or the phone number bound with the logon account.Moreover, the phone number is User terminal opens SIM (Subscriber Identification Module, the user identity identification of mobile data flow Card) card phone number.
The unique identification includes:Token Token.
Specifically, the intended application calls the interface service that the affiliated telecom operators of the SIM card provide, to be taken from operator The unique identification of the phone number is obtained in business device.
The SDK is adapted to intended application.
S36:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 4 is a kind of flow diagram of login method of fourth embodiment of the invention.According to Fig.4, the present invention the 4th is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S41:Judge whether that phone number can be got by Software Development Kit SDK;If so, thening follow the steps Otherwise S42 executes step S44;
Specifically, in the present embodiment, terminal is by calling operator SDK to judge whether that can get user identity believes Breath;
S42:The subscriber identity information is obtained, the subscriber identity information includes phone number and the cell-phone number The unique identification of code;
In the case where determination can get subscriber identity information, terminal obtains user identity letter from operator's server Breath, certainly, if the subscriber identity information is pre-stored in the terminal, which can obtain the subscriber identity information from its own, In the present embodiment, the source of the subscriber identity information is not defined, wherein the subscriber identity information includes cell-phone number The unique identification of code and the phone number.
S43:Open login interface;The phone number of mask state is presented in login interface, so that user is sentencing In the case that the fixed phone number is the phone number executed needed for register, executes predetermined registration operation and referred to feeding back login It enables;The log-in instruction is obtained, and determines that obtaining the corresponding user of the phone number according to the unique identification logs in letter Breath, and execute step S45;
Specifically, when phone number is presented on login interface, user can be judged by the phone number of presentation should Phone number whether be intended application execute register needed for phone number, if so, user pass through execute predetermined registration operation To feed back log-in instruction, otherwise, jumps to other login modes or be not processed;Further, by the hand of mask state Machine number is presented in login interface, it is possible thereby to confirm whether the phone number being presented on login interface is to execute to step in user When record operates required phone number, avoids other people from learning the phone number, improve security performance.Such as:Mobile phone with mask Number can be:135****4567.
In the present embodiment, the predetermined registration operation includes but not limited to:Click the login button in terminal.
And intended application determines after getting log-in instruction and obtains the phone number pair according to the unique identification The user login information answered.
With regard to this, because phone number is presented in login interface, user is eliminated on login interface and inputs user name and close The process of code, greatly reduces the interaction times between user and equipment, the user experience is improved.
Wherein, the constitution element of the login interface is configurable, and the constitution element includes and the intended application The custom colors and mark logo of adaptation, i.e.,:Self-defined style sheet can be used in login interface, keeps the login mode more preferable The various styles of adaptation intended application.
S44:Switch to other login modes;
In the case where determination cannot get subscriber identity information, terminal switches the login interface of the intended application To other login mode interfaces, such as:Short-message verification login interface.
S45:Corresponding user login information is obtained according to the subscriber identity information;
Corresponding user login information is obtained according to the subscriber identity information, wherein the user login information is for referring to Show that the corresponding intended application of terminal enters login status.
The phone number is logon account or the phone number bound with the logon account.Moreover, the phone number is User terminal opens SIM (Subscriber Identification Module, the user identity identification of mobile data flow Card) card phone number.
The unique identification includes:Token Token.
Specifically, the intended application calls the interface service that the affiliated telecom operators of the SIM card provide, to be taken from operator The unique identification of the phone number is obtained in business device.
The SDK is adapted to intended application.
S46:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 5 is a kind of flow diagram of login method of fifth embodiment of the invention.According to Fig.5, the present invention the 5th is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S51:Judge whether that phone number can be got by Software Development Kit SDK;If so, thening follow the steps Otherwise S52 executes step S54;
Specifically, in the present embodiment, terminal is by calling operator SDK to judge whether that can get user identity believes Breath;
S52:The subscriber identity information is obtained, the subscriber identity information includes phone number and the cell-phone number The unique identification of code;
In the case where determination can get subscriber identity information, terminal obtains user identity letter from operator's server Breath, certainly, if the subscriber identity information is pre-stored in the terminal, which can obtain the subscriber identity information from its own, In the present embodiment, the source of the subscriber identity information is not defined, wherein the subscriber identity information includes cell-phone number The unique identification of code and the phone number.
S53:Open login interface;The phone number of mask state is presented in login interface, so that user is sentencing In the case that the fixed phone number is the phone number executed needed for register, executes predetermined registration operation and referred to feeding back login It enables;The log-in instruction is obtained, and determines that obtaining the corresponding user of the phone number according to the unique identification logs in letter Breath, and execute step S55.
Specifically, when phone number is presented on login interface, user can be judged by the phone number of presentation should Phone number whether be intended application execute register needed for phone number, if so, user pass through execute predetermined registration operation To feed back log-in instruction, otherwise, jumps to other login modes or be not processed;Further, by the hand of mask state Machine number is presented in login interface, it is possible thereby to confirm whether the phone number being presented on login interface is to execute to step in user When record operates required phone number, avoids other people from learning the phone number, improve security performance.Such as:Mobile phone with mask Number can be:135****4567.
In the present embodiment, the predetermined registration operation includes but not limited to:Click the login button in terminal.
And intended application determines after getting log-in instruction and obtains the phone number pair according to the unique identification The user login information answered.
With regard to this, because phone number is presented in login interface, user is eliminated on login interface and inputs user name and close The process of code, greatly reduces the interaction times between user and equipment, the user experience is improved.
Wherein, the constitution element of the login interface is configurable, and the constitution element includes and the intended application The custom colors and mark logo of adaptation, i.e.,:Self-defined style sheet can be used in login interface, keeps the login mode more preferable The various styles of adaptation intended application.
S54:Switch to other login modes;
In the case where determination cannot get subscriber identity information, terminal switches the login interface of the intended application To other login mode interfaces, such as:Short-message verification login interface.
S55:The unique identification is sent to background server, so that the background server is according to the uniqueness User login information described in identification feedback;Obtain the user login information of the background server feedback, wherein background server Prestore the user login information;
Specifically, prestoring user login information in background server, which is sent to backstage and taken by terminal Business device, and background server inquires corresponding user according to the unique identification and steps on after receiving the unique identification Then the user login information is fed back to terminal so that terminal gets the user login information by record information.
Wherein, which is used to indicate the corresponding intended application of terminal and enters login status.
The phone number is logon account or the phone number bound with the logon account.Moreover, the phone number is User terminal opens SIM (Subscriber Identification Module, the user identity identification of mobile data flow Card) card phone number.
The unique identification includes:Token Token.
Specifically, the intended application calls the interface service that the affiliated telecom operators of the SIM card provide, to be taken from operator The unique identification of the phone number is obtained in business device.
The SDK is adapted to intended application.
S56:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
Fig. 6 is a kind of flow diagram of login method of sixth embodiment of the invention.According to Fig.6, the present invention the 6th is real It applies example and provides a kind of login method, be applied to end side, the method includes:
S61:Judge whether that phone number can be got by Software Development Kit SDK;If so, thening follow the steps Otherwise S62 executes step S64;
Specifically, in the present embodiment, terminal is by calling operator SDK to judge whether that can get user identity believes Breath;
S62:The subscriber identity information is obtained, the subscriber identity information includes phone number and the cell-phone number The unique identification of code;
In the case where determination can get subscriber identity information, terminal obtains user identity letter from operator's server Breath, certainly, if the subscriber identity information is pre-stored in the terminal, which can obtain the subscriber identity information from its own, In the present embodiment, the source of the subscriber identity information is not defined, wherein the subscriber identity information includes cell-phone number The unique identification of code and the phone number.
S63:Open login interface;The phone number of mask state is presented in login interface, so that user is sentencing In the case that the fixed phone number is the phone number executed needed for register, executes predetermined registration operation and referred to feeding back login It enables;The log-in instruction is obtained, and determines that obtaining the corresponding user of the phone number according to the unique identification logs in letter Breath, and execute step S65.
Specifically, when phone number is presented on login interface, user can be judged by the phone number of presentation should Phone number whether be intended application execute register needed for phone number, if so, user pass through execute predetermined registration operation To feed back log-in instruction, otherwise, jumps to other login modes or be not processed;Further, by the hand of mask state Machine number is presented in login interface, it is possible thereby to confirm whether the phone number being presented on login interface is to execute to step in user When record operates required phone number, avoids other people from learning the phone number, improve security performance.Such as:Mobile phone with mask Number can be:135****4567.
In the present embodiment, the predetermined registration operation includes but not limited to:Click the login button in terminal.
And intended application determines after getting log-in instruction and obtains the phone number pair according to the unique identification The user login information answered.
With regard to this, because phone number is presented in login interface, user is eliminated on login interface and inputs user name and close The process of code, greatly reduces the interaction times between user and equipment, the user experience is improved.
Wherein, the constitution element of the login interface is configurable, and the constitution element includes and the intended application The custom colors and mark logo of adaptation, i.e.,:Self-defined style sheet can be used in login interface, keeps the login mode more preferable The various styles of adaptation intended application.
S64:Switch to other login modes;
In the case where determination cannot get subscriber identity information, terminal switches the login interface of the intended application To other login mode interfaces, such as:Short-message verification login interface.
S65:The unique identification is sent to background server, judges whether that the background server can be got Otherwise the user login information of feedback, executes step S68 if so, thening follow the steps S66;
Specifically, the unique identification is sent to background server by terminal, and background server is receiving the uniqueness After mark, background server inquires corresponding user login information according to the unique identification.
Wherein, which is used to indicate the corresponding intended application of terminal and enters login status.
The phone number is logon account or the phone number bound with the logon account.Moreover, the phone number is User terminal opens SIM (Subscriber Identification Module, the user identity identification of mobile data flow Card) card phone number.
The unique identification includes:Token Token.
Specifically, the intended application calls the interface service that the affiliated telecom operators of the SIM card provide, to be taken from operator The unique identification of the phone number is obtained in business device.
The SDK is adapted to intended application.
S66:Obtain the user login information of the background server feedback;
If background server inquires corresponding user login information according to the unique identification, which is logged in Information feeds back to terminal, i.e.,:Terminal gets the user login information,
S67:According to the user login information, the register of performance objective application.
Terminal is after obtaining the user login information, you can register is executed by the user login information, to complete The register of intended application.
S68:Obtain the registration prompt message from the background server;Based on the registration prompt message, according to institute It states phone number and generates the user login information.
If background server does not inquire corresponding user login information, background server according to the unique identification Feedback registration prompt message is to terminal, i.e.,:Terminal obtains the registration prompt message from the background server.Based on the note Volume prompt message, terminal generate corresponding user login information according to the phone number, and the user based on the generation logs in letter Breath can complete the account registration of intended application.
Optionally, the corresponding user login information of the phone number is synchronized to background server, i.e.,:It will generate The corresponding user login information of the phone number be synchronized to background server.
With regard to this, since the register of intended application can be completed by the subscriber identity information of acquisition, i.e.,:User is stepping on When recording various intended applications, without remembering logon account, memory cipher, operation short-message verification, without operation below executing:It is defeated Enter account, password and short message verification code, whereby, also avoids user and forget account and the risk of password, certainly, decrease Operation when user logs in.
In order to more preferably illustrate the implementation process of the present embodiment the method, with reference to a concrete application example, to this Embodiment the method illustrates.
Fig. 7 is a kind of flow diagram of login method of seventh embodiment of the invention, and in the figure 7, APP back-end servers are suitable Background server in embodiment one to six, operator SDK are equivalent to the Software Development Kit in embodiment one to six SDK, APP login interface are equivalent to the login interface in embodiment one to six.According to Fig.7, seventh embodiment of the invention carries A kind of login method has been supplied, end side is applied to, in the present embodiment, the SDK clothes of telecom operators' offer are utilized in terminal Business obtains loCal number, and which is used to confirm execution current operation is user, and avoid account is made by other people The problem of using.Wherein, which is the phone number in embodiment one to six.
Wherein, in the present embodiment, the account of login is bundled with the loCal number for loCal number or the account of login. If the account logged in is not present, need to be registered with the loCal number.Moreover, this grade number, which is user mobile phone, opens shifting The number of the SIM card of dynamic data traffic.
Specifically, cell phone application is applied calls operator SDK when needing to log in, determines present terminal and whether may be used To get used phone number from carrier server, if can get, APP login interfaces are opened, simultaneously The corresponding token Token of the phone number is obtained from carrier server.Its other party is jumped to if obtaining less than cell-phone number The APP login interfaces of formula.Cell phone application application is the intended application in embodiment one to six, and token Token is to implement Unique identification in example one to six.
The phone number is presented on band mask state on APP login interfaces by terminal, i.e.,:APP login interfaces are got It can show that the phone number with mask confirms to active user after phone number, user is true according to the phone number of the presentation The system for whether using the phone number to log in the intended application recognized, if user decides not to use the login of current phone number, Switching push button is then clicked to be switched to the corresponding APP login interfaces of other login modes.If user determines to use current phone Number logs in, and user then clicks confirmation login button so that after token token is passed to the APP of cell phone application application by terminal Hold server.
Wherein, the printed words of the phone number with mask are:136*****4522.With regard to this, APP login interfaces eliminate user The process for inputting username and password greatly reduces the interaction times between user and equipment, promotes user experience.
And APP back-end servers call the interface service of carrier server after receiving token, to get this Corresponding phone number, APP back-end servers can get the user information for binding this number according to the phone number, and will User information is set as login status;User information after setting is returned into terminal.Terminal is done to be processed so that accordingly Intended application is completed to log according to the user information after the setting.Wherein, the user information after the setting is embodiment User login information in one to six.
In the case where the corresponding user information of the true number has not been obtained in APP back-end servers, APP back-end servers According to the agreement whether user agrees to register using loCal number, it is made whether that register account number is handled, i.e.,:APP back-end servers Feedback registers prompt message to terminal so that terminal is based on the registration prompt message, to generate the use according to the phone number Family log-on message.
In addition, the constitution element of the APP login interfaces in the present embodiment is configurable, the constitution element includes and institute The custom colors and mark logo of intended application adaptation are stated, i.e.,:Self-defined style sheet can be used in APP login interfaces, makes this Login mode is preferably adapted to the intended application of various styles.
Fig. 8 is a kind of structural schematic diagram of entering device of eighth embodiment of the invention.According to Fig.8, the present invention the 8th Embodiment provides a kind of entering device, and it includes in end side, described device includes:Identity information acquisition module 110, is used for Obtain subscriber identity information;Log-on message acquisition module 120 is stepped on for obtaining corresponding user according to the subscriber identity information Record information;Login module 130, for according to the user login information, the register of performance objective application.
Optionally, the identity information acquisition module 110 is specifically used for:Judged whether by Software Development Kit SDK The subscriber identity information can be got;If so, obtaining the subscriber identity information, the subscriber identity information includes hand Otherwise the unique identification of machine number and the phone number switches to other login modes.
Optionally, described device further includes:Login interface opens module, for obtaining the subscriber identity information described Later, login interface is opened;Module is presented, for the phone number to be presented in the login interface, so that user is sentencing In the case that the fixed phone number is the phone number executed needed for register, executes predetermined registration operation and referred to feeding back login It enables;Log-in instruction module for obtaining the log-in instruction, and determines and obtains the phone number according to the unique identification Corresponding user login information.
Optionally, the presentation module is specifically used for:The phone number of mask state is presented in login interface.
Optionally, the log-on message acquisition module 120 is specifically used for:The unique identification is sent to background service Device, so that the background server feeds back the user login information according to the unique identification;Obtain the background service The user login information of device feedback, wherein the user login information is pre-stored in background server.
Optionally, described device further includes:Reminding module is registered, for the background server feedback to have not been obtained In the case of user login information, the registration prompt message from the background server is obtained;Generation module, for being based on institute Registration prompt message is stated, the user login information is generated according to the phone number.
Optionally, described device further includes:Synchronization module, for generating user's login according to the phone number After information, the corresponding user login information of the phone number is synchronized to background server.
Optionally, the constitution element of the login interface is configurable, and the constitution element includes being answered with the target With the custom colors and mark logo of adaptation.
Optionally, the unique identification includes:Token Token.
Ninth embodiment of the invention provides a kind of electronic equipment, including processor and memory;The memory is used for Computer instruction is stored, the processor is used to run the computer instruction of the memory storage, to realize above-mentioned one kind Login method.
Noun involved by a kind of electronic equipment and realization principle in ninth embodiment of the invention are specifically referred to this A kind of login method of the first to seven embodiment in inventive embodiments, details are not described herein.
Tenth embodiment of the invention provides a kind of computer readable storage medium, and the computer readable storage medium is deposited One or more module is contained, one or more of modules can be executed by one or more processor, in realization A kind of login method stated.
A kind of noun involved by computer readable storage medium and realization principle in tenth embodiment of the invention is specific It is referred to a kind of login method of the first to seven embodiment in the embodiment of the present invention, details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (20)

1. a kind of login method, which is characterized in that the method includes:
Obtain subscriber identity information;
Corresponding user login information is obtained according to the subscriber identity information;
According to the user login information, the register of performance objective application.
2. according to the method described in claim 1, it is characterized in that, the acquisition subscriber identity information, including:
Judge whether that the subscriber identity information can be got by Software Development Kit SDK;
If so, obtaining the subscriber identity information, the subscriber identity information includes phone number and the phone number Unique identification otherwise switch to other login modes.
3. according to the method described in claim 2, it is characterized in that, it is described obtain the subscriber identity information after, it is described Method further includes:
Open login interface;
The phone number is presented in the login interface, so that user executes register judging the phone number In the case of required phone number, predetermined registration operation is executed to feed back log-in instruction;
The log-in instruction is obtained, and determines that obtaining the corresponding user of the phone number according to the unique identification logs in letter Breath.
4. according to the method described in claim 3, it is characterized in that, described be presented in the login interface by phone number, packet It includes:
The phone number of mask state is presented in login interface.
5. according to the method described in claim 3, it is characterized in that, the user login information is pre-stored in background server;
It is described to obtain corresponding user login information according to subscriber identity information, including:
The unique identification is sent to background server, so that the background server is fed back according to the unique identification The user login information;
Obtain the user login information of the background server feedback.
6. according to the method described in claim 5, it is characterized in that, being stepped in the user that the background server feedback has not been obtained In the case of recording information, the method includes:
Obtain the registration prompt message from the background server;
Based on the registration prompt message, the user login information is generated according to the phone number.
7. according to the method described in claim 6, it is characterized in that, logging in letter generating the user according to the phone number After breath, the method further includes:
The corresponding user login information of the phone number is synchronized to background server.
8. according to the method described in claim 3, it is characterized in that, the constitution element of the login interface is configurable, institute It includes the custom colors being adapted to the intended application and mark logo to state constitution element.
9. according to claim 1-8 any one of them methods, which is characterized in that the unique identification includes:Token Token。
10. a kind of entering device, which is characterized in that described device includes:
Identity information acquisition module, for obtaining subscriber identity information;
Log-on message acquisition module, for obtaining corresponding user login information according to the subscriber identity information;
Login module, for according to the user login information, the register of performance objective application.
11. device according to claim 10, which is characterized in that the identity information acquisition module is specifically used for:
Judge whether that the subscriber identity information can be got by Software Development Kit SDK;If so, obtaining the use Family identity information, the subscriber identity information include otherwise the unique identification of phone number and the phone number cuts Shift to other login modes.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Login interface opens module, for after the acquisition subscriber identity information, opening login interface;
Module is presented, for the phone number to be presented in the login interface, so that user is judging the phone number In the case of executing the phone number needed for register, predetermined registration operation is executed to feed back log-in instruction;
Log-in instruction module for obtaining the log-in instruction, and determines and obtains the cell-phone number according to the unique identification The corresponding user login information of code.
13. device according to claim 12, which is characterized in that the presentation module is specifically used for:
The phone number of mask state is presented in login interface.
14. device according to claim 12, which is characterized in that the log-on message acquisition module is specifically used for:
The unique identification is sent to background server, so that the background server is fed back according to the unique identification The user login information;Obtain the user login information of the background server feedback, wherein the user login information is pre- It is stored in background server.
15. device according to claim 14, which is characterized in that described device further includes:
Reminding module is registered, in the case where the user login information of the background server feedback has not been obtained, obtaining Registration prompt message from the background server;
Generation module generates the user login information for being based on the registration prompt message according to the phone number.
16. device according to claim 15, which is characterized in that described device further includes:
Synchronization module is used for after generating the user login information according to the phone number, by the phone number pair The user login information answered is synchronized to background server.
17. device according to claim 12, which is characterized in that the constitution element of the login interface is that can configure, The constitution element includes the custom colors being adapted to the intended application and mark logo.
18. according to claim 1-17 any one of them devices, which is characterized in that the unique identification includes:Token Token。
19. a kind of electronic equipment, which is characterized in that including processor and memory;
The memory refers to for storing computer instruction, the computer that the processor is used to run the memory storage It enables, to realize a kind of login method described in any one of claim 1 to 9.
20. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or Multiple programs, one or more of programs can be executed by one or more processor, to realize in claim 1 to 9 A kind of login method of any one of them.
CN201810489960.7A 2018-05-21 2018-05-21 A kind of login method, device, electronic equipment and storage medium Pending CN108650276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810489960.7A CN108650276A (en) 2018-05-21 2018-05-21 A kind of login method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810489960.7A CN108650276A (en) 2018-05-21 2018-05-21 A kind of login method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108650276A true CN108650276A (en) 2018-10-12

Family

ID=63757373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810489960.7A Pending CN108650276A (en) 2018-05-21 2018-05-21 A kind of login method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108650276A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109740324A (en) * 2018-11-21 2019-05-10 顺丰科技有限公司 Multi-platform method for authenticating, device and computer readable storage medium
CN109787991A (en) * 2019-01-31 2019-05-21 平安科技(深圳)有限公司 Exempt from close login method, device, equipment and storage medium based on mobile terminal
CN110298148A (en) * 2019-05-21 2019-10-01 视联动力信息技术股份有限公司 A kind of method and device of login authentication
CN110674481A (en) * 2019-10-12 2020-01-10 北京字节跳动网络技术有限公司 Account registration method, device, equipment and storage medium of application program
CN110691026A (en) * 2019-08-16 2020-01-14 深圳市普特斯科技有限公司 Image-text video editing and publishing platform connected with two micro ends
CN111770057A (en) * 2020-05-29 2020-10-13 北京奇艺世纪科技有限公司 Identity verification system and identity verification method
CN112613012A (en) * 2020-12-30 2021-04-06 重庆蓝岸通讯技术有限公司 Method for solving account password forgetting based on intelligent terminal
CN112613013A (en) * 2020-12-30 2021-04-06 重庆蓝岸通讯技术有限公司 Method for solving account password forgetting based on application program
CN113157375A (en) * 2021-04-27 2021-07-23 北京达佳互联信息技术有限公司 Content display method, device, equipment, system and storage medium
CN114727276A (en) * 2021-09-03 2022-07-08 王恩惠 Method and system for determining account information in user non-login state

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447696A (en) * 2011-11-17 2012-05-09 盛大计算机(上海)有限公司 One-key registration and login verification method and system used in mobile equipment
CN102546914A (en) * 2010-12-27 2012-07-04 梁志龙 Automatic login system based on smart phone and control method
CN102984149A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for synchronous login of mobile terminal and a personal computer (PC) terminal
CN103327115A (en) * 2013-07-05 2013-09-25 百度在线网络技术(北京)有限公司 Entry control method and device of application program
US8607306B1 (en) * 2010-11-10 2013-12-10 Google Inc. Background auto-submit of login credentials
CN104093141A (en) * 2014-06-27 2014-10-08 北京奇虎科技有限公司 Terminal application log-in method, device, client and electronic device
CN104253784A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Logging and authorization method and system
CN105049410A (en) * 2015-05-28 2015-11-11 北京奇艺世纪科技有限公司 Method, device and system for logging in account
CN105208013A (en) * 2015-08-31 2015-12-30 张方华 Cross-device high-security non-password login method
CN107068146A (en) * 2017-03-03 2017-08-18 福建省汽车工业集团云度新能源汽车股份有限公司 A kind of intelligent automobile voice login method and system
CN108055238A (en) * 2017-11-10 2018-05-18 平安普惠企业管理有限公司 A kind of account verification method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8607306B1 (en) * 2010-11-10 2013-12-10 Google Inc. Background auto-submit of login credentials
CN102546914A (en) * 2010-12-27 2012-07-04 梁志龙 Automatic login system based on smart phone and control method
CN102447696A (en) * 2011-11-17 2012-05-09 盛大计算机(上海)有限公司 One-key registration and login verification method and system used in mobile equipment
CN102984149A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for synchronous login of mobile terminal and a personal computer (PC) terminal
CN104253784A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Logging and authorization method and system
CN103327115A (en) * 2013-07-05 2013-09-25 百度在线网络技术(北京)有限公司 Entry control method and device of application program
CN104093141A (en) * 2014-06-27 2014-10-08 北京奇虎科技有限公司 Terminal application log-in method, device, client and electronic device
CN105049410A (en) * 2015-05-28 2015-11-11 北京奇艺世纪科技有限公司 Method, device and system for logging in account
CN105208013A (en) * 2015-08-31 2015-12-30 张方华 Cross-device high-security non-password login method
CN107068146A (en) * 2017-03-03 2017-08-18 福建省汽车工业集团云度新能源汽车股份有限公司 A kind of intelligent automobile voice login method and system
CN108055238A (en) * 2017-11-10 2018-05-18 平安普惠企业管理有限公司 A kind of account verification method and system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109740324A (en) * 2018-11-21 2019-05-10 顺丰科技有限公司 Multi-platform method for authenticating, device and computer readable storage medium
CN109787991B (en) * 2019-01-31 2022-02-25 平安科技(深圳)有限公司 Secret-free login method, device, equipment and storage medium based on mobile terminal
CN109787991A (en) * 2019-01-31 2019-05-21 平安科技(深圳)有限公司 Exempt from close login method, device, equipment and storage medium based on mobile terminal
CN110298148A (en) * 2019-05-21 2019-10-01 视联动力信息技术股份有限公司 A kind of method and device of login authentication
CN110691026A (en) * 2019-08-16 2020-01-14 深圳市普特斯科技有限公司 Image-text video editing and publishing platform connected with two micro ends
CN110674481A (en) * 2019-10-12 2020-01-10 北京字节跳动网络技术有限公司 Account registration method, device, equipment and storage medium of application program
CN111770057A (en) * 2020-05-29 2020-10-13 北京奇艺世纪科技有限公司 Identity verification system and identity verification method
CN111770057B (en) * 2020-05-29 2022-09-30 北京奇艺世纪科技有限公司 Identity verification system and identity verification method
CN112613012A (en) * 2020-12-30 2021-04-06 重庆蓝岸通讯技术有限公司 Method for solving account password forgetting based on intelligent terminal
CN112613013A (en) * 2020-12-30 2021-04-06 重庆蓝岸通讯技术有限公司 Method for solving account password forgetting based on application program
CN113157375A (en) * 2021-04-27 2021-07-23 北京达佳互联信息技术有限公司 Content display method, device, equipment, system and storage medium
CN114727276A (en) * 2021-09-03 2022-07-08 王恩惠 Method and system for determining account information in user non-login state
WO2023029476A1 (en) * 2021-09-03 2023-03-09 王恩惠 Method for determining account information when user is in non-login state, and system

Similar Documents

Publication Publication Date Title
CN108650276A (en) A kind of login method, device, electronic equipment and storage medium
CN104092644B (en) A kind of exchange method, device, client and server
CN104158808B (en) Portal authentication method and its device based on APP applications
CN104980298B (en) A kind of abnormal prompt method, apparatus and system
CN109561430A (en) A kind of implementation method and equipment of public network user access private network
US20060229054A1 (en) Help desk connect
CN104506594B (en) Data communications method and system for social networking application system
CN105871789A (en) Control method of intelligent package delivery box, server and system
CN105827438A (en) Method for setting APN automatically
CN107222908A (en) Intelligent appliance and its with network method, router, intelligent domestic system
CN106060034A (en) Account login method and device
CN106817347A (en) Third-party application authentication method, certificate server, terminal and management server
CN101794365A (en) Method for safely inputting information on mobile terminal and mobile terminal
CN107885471A (en) Image forming method, terminal and nonvolatile computer storage media
CN107749799A (en) Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN108632325A (en) A kind of call method and device of application
CN103533505B (en) A kind of note transmission method, server, system and mobile terminal
CN105100093B (en) A kind of identity authentication method and server
CN114071791A (en) User plane function information reporting method, access network equipment and core network equipment
CN107483398A (en) A kind of silent verification method and device, electronic equipment
CN113132317B (en) Identity authentication method, system and device
CN110351254A (en) Access operation execution method and device
CN102547702A (en) User authentication method, system and password processing device
CN104753927B (en) A kind of method and apparatus of unified verification
CN105409259B (en) Telephone service is provided by WIFI for non-cellular

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012

RJ01 Rejection of invention patent application after publication