CN106656978A - Account login method and server - Google Patents

Account login method and server Download PDF

Info

Publication number
CN106656978A
CN106656978A CN201610913542.7A CN201610913542A CN106656978A CN 106656978 A CN106656978 A CN 106656978A CN 201610913542 A CN201610913542 A CN 201610913542A CN 106656978 A CN106656978 A CN 106656978A
Authority
CN
China
Prior art keywords
terminal
account
authorization
requesting terminal
password
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
CN201610913542.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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610913542.7A priority Critical patent/CN106656978A/en
Publication of CN106656978A publication Critical patent/CN106656978A/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
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • 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
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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
    • H04L63/0892Network architectures or network communication protocols for network security for authentication of entities by using authentication-authorization-accounting [AAA] servers or protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an account login method and server wherein the method comprises: receiving the login information sent from a request terminal wherein the login information includes the account number, the passwords and the identification of the request terminal; according to the identification of the request terminal, determining whether the request terminal is an authorized terminal or not; when the request terminal is not an authorized terminal, sending an authorization request to a permanent terminal; when the authorization information from the permanent terminal is received, determining whether the account number and the passwords match the preset account number and passwords or not; when the account number and passwords match the preset account number and the passwords, returning to the request terminal the login success information. Therefore, according to the technical schemes of the invention, only when the terminal is confirmed as an authorized terminal can the terminal complete the account login, which prevents the account number information from being leaked.

Description

Method and server that a kind of account is logged in
Technical field
The present invention relates to server field, and in particular to method and server that a kind of account is logged in.
Background technology
With the development of terminal science and technology, electronic equipment no matter at work or become in living it is indispensable. It is understood that when user is operated using electronic equipment, is done shopping and is entertained, can all there is corresponding account and close Code.
It is pointed out that there is so a kind of scene, such as when the account and password of user are stolen, steal account Can be logged on other-end with the people of password, then now the information in account is possible to reveal, so as to give user Bring loss.
The content of the invention
Method and server that a kind of account is logged in are embodiments provided, can confirm that terminal is authorization terminal Under conditions of could cause terminal complete account login, so as to prevent user account information from revealing.
Embodiment of the present invention first aspect discloses a kind of method that account is logged in, and methods described includes:
The log-on message that requesting terminal sends is received, the log-on message includes account, password and the requesting terminal Mark;
Judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;
When the authorization message that the resident terminal sends is received, judge the account and password whether with the account for prestoring Number and password match;
When the account and password are with the account and password match for prestoring, login successfully to requesting terminal feedback Information.
Second aspect present invention discloses a kind of server, it is characterised in that the terminal includes:
Receiving unit, for receive requesting terminal transmission log-on message, the log-on message include account, password and The mark of the requesting terminal;
Judging unit, for judging whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
Transmitting element, for when the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests being sent;
The judging unit, for when the authorization message that the resident terminal sends is received, judge the account with Password whether with the account and password match for prestoring;
The transmitting element, for when the account and password are with the account and password match for prestoring, to the request The information that terminal feedback is logined successfully.
Third aspect present invention discloses a kind of server, and the server includes:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as described in relation to the first aspect Method.
As can be seen that in the scheme of the embodiment of the present invention, receiving the log-on message that requesting terminal sends, the log-on message Including the mark of account, password and the requesting terminal;Judge that the requesting terminal is according to the mark of the requesting terminal It is no to belong to authorization terminal;When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;When receiving During the authorization message that the resident terminal sends, judge the account and password whether with the account and password match for prestoring;When When the account and password are with the account and password match for prestoring, to the information that requesting terminal feedback is logined successfully.So as to Understand, by implementing the technical scheme that the present invention is provided, be able to could cause eventually under conditions of being authorization terminal terminal is confirmed End completes account login, so as to prevent user account information from revealing.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1-a are the schematic flow sheet of the method that a kind of account provided in an embodiment of the present invention is logged in;
Fig. 1-b are a kind of network architecture diagram of information storage system provided in an embodiment of the present invention;
Fig. 1-c are a kind of Cloud Server spec list provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method that another kind of account provided in an embodiment of the present invention is logged in;
Fig. 3 is the schematic flow sheet of the method that another kind of account provided in an embodiment of the present invention is logged in;
Fig. 4 is the schematic flow sheet of the method that another kind of account provided in an embodiment of the present invention is logged in;
Fig. 5 is the structural representation of another kind of server provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another kind of server provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another kind of server provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another kind of server provided in an embodiment of the present invention;
Fig. 9 is a kind of entity apparatus structural representation of server provided in an embodiment of the present invention;
Figure 10 is a kind of entity apparatus structural representation of mobile phone provided in an embodiment of the present invention.
Specific embodiment
Method and server that a kind of account is logged in are embodiments provided, can confirm that terminal is authorization terminal Under conditions of could cause terminal complete account login, so as to prevent user account information from revealing.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurred in description of the invention, claims and accompanying drawing etc. is to use In the different objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation, it is intended that cover non-exclusive including.For example contain process, method, system, the product of series of steps or unit Or equipment is not limited to the step of listing or unit, but alternatively also include the step of not listing or unit, or can Selection of land also includes other steps intrinsic for these processes, method, product or equipment or unit.
A kind of method that account is logged in is disclosed in one embodiment of the invention, and methods described includes:Receive request The log-on message that terminal sends, the log-on message includes the mark of account, password and the requesting terminal;According to described The mark of requesting terminal judges whether the requesting terminal belongs to authorization terminal;When the requesting terminal is not belonging to authorization terminal When, send authorization requests to resident terminal;When the authorization message that the resident terminal sends is received, judge the account with Password whether with the account and password match for prestoring;When the account and password are with the account and password match for prestoring, to institute State the information that requesting terminal feedback is logined successfully.
Fig. 1-a are referred to, Fig. 1-a are the methods that a kind of account that one embodiment of the invention is provided is logged in.Wherein, as schemed Shown in 1-a, the method that a kind of account that one embodiment of the present of invention is provided is logged in includes herein below:
S101, the log-on message for receiving requesting terminal transmission, the log-on message includes account, password and the request The mark of terminal;
Wherein, as shown in Fig. 1-b, wherein with terminal as mobile phone, executive agent as Cloud Server as a example by, terminal and cloud service Device can be interacted by LAN, or interacted by wide area network.It is understood that terminal can be hand Machine, panel computer, Wearable and handheld device etc..
It is pointed out that the main body that the method is performed is server, Cloud Server is can also be;
Wherein, Cloud Server typically refers to operate in " virtual " server on identical physical hardware, and Cloud Server is made Use for physical server.On virtual server platform, keeper can be provided with specific CPU, internal memory and disk characteristicses Server, these cloud server systems are all provided by online mode.The system that cloud service provider is provided is due to function and valency The difference of lattice also has different " specifications ".This product of Cloud Server generally has two key dimensions:CPU and internal memory.Such as Fig. 1-c Shown in Cloud Server spec list, the small-sized specification of Cloud Server is 1vCPU and 2GB RAM;The medium-sized specification of Cloud Server is 2vCPU With 4GB RAM;The large-scale specification of Cloud Server is 4vCPU and 8GB RAM.After selected Cloud Server manufacturer, user can be to concrete Cloud Server product specification contrasted, see whether meet existing and future development business demand.
For example, when user's using terminal logs in certain social platform, the application program for opening the social platform is needed Or the webpage of the social platform, be then input into account and password above homepage again, terminal receive the account of user input and After password, the mark of the account, password and the terminal can be sent to the Cloud Server of the social platform.
S102, judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
For example, user can on the server prestore the inventory of the corresponding authorization terminal of each account.Service Device obtains authorization terminal inventory corresponding with the account;Travel through the authorization terminal inventory to determine the authorization terminal inventory In the whether mark comprising the requesting terminal;When the not mark comprising the terminal in the authorization terminal inventory, really Determine requesting terminal and be not belonging to authorization terminal;Conversely, when the mark comprising the requesting terminal in the authorization terminal inventory, really Determine requesting terminal and belong to authorization terminal.
S103, when the requesting terminal is not belonging to authorization terminal, to resident terminal send authorization requests;
It is understood that when the requesting terminal is not belonging to authorization terminal, illustrating that the requesting terminal is not users to trust Terminal, therefore, server need to resident terminal send authorization requests.
Specifically, resident terminal can be the terminal of user's setting, can also be user's usage frequency highest terminal.Than Such as, user is everyday using the A terminal logs ins application program, then the A terminals are exactly resident terminal.
Wherein, resident terminal can be understood as the terminal that user carries with.
It is understood that when resident terminal receives the authorization requests of server transmission, the resident terminal can be by pre- If mode sends to user and reminds so that user makes feedback.Wherein, predetermined manner can be jingle bell, vibrations, voice message Etc. mode.
S104, when the authorization message that the resident terminal sends is received, judge the account and password whether with advance The account deposited and password match;
, wherein it is desired to, it is noted that authorization message can agree to that the account, in requesting terminal login, can also include The information such as number of times, the duration logged in the requesting terminal.
It is understood that when server receives the authorization message that the resident terminal sends, just illustrating the request Terminal has the authority for logging in the account, will now judge whether account number cipher is correct.Specifically, number can be traveled through according to account According to storehouse to obtain the password for prestoring, judge whether the password for receiving is consistent with the password for prestoring, explanation is described if consistent Account and password and the account and password match for prestoring.
S105, when the account and password are with the account and password match for prestoring, to the requesting terminal feedback log in Successful information.
It is pointed out that requesting terminal receive server feedback login successfully information when, may remind the user that Login successfully, then the page of the application program of display server transmission.
Optionally, user can at any time update mandate inventory.For example, sent by resident terminal to server and authorize clear It is single to update request;Server receives the mandate inventory renewal request that the resident terminal sends, and the mandate inventory updates request Include newest mandate inventory;Preserve the newest mandate inventory.Wherein, server can be replaced with newest mandate inventory Change old mandate inventory.Certainly, old mandate inventory can continue to be stored for user to consult at any time.
Optionally, it should be pointed out that when the requesting terminal belongs to authorization terminal, server judges the request eventually Whether the login times at end exceed default login times;When the login times of the requesting terminal exceed default login times When, send authorization requests to the resident terminal;When the authorization message that the resident terminal sends is received, the account is judged Number and password whether with the account and password match for prestoring;When the account and password are with the account and password match for prestoring, To the information that requesting terminal feedback is logined successfully.
As can be seen that in the scheme of the embodiment of the present invention, receiving the log-on message that requesting terminal sends, the log-on message Including the mark of account, password and the requesting terminal;Judge that the requesting terminal is according to the mark of the requesting terminal It is no to belong to authorization terminal;When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;When receiving During the authorization message that the resident terminal sends, judge the account and password whether with the account and password match for prestoring;When When the account and password are with the account and password match for prestoring, to the information that requesting terminal feedback is logined successfully.So as to Understand, by implementing the technical scheme that the present invention is provided, be able to could cause eventually under conditions of being authorization terminal terminal is confirmed End completes account login, so as to prevent user account information from revealing.
Fig. 2 is referred to, Fig. 2 is the method that a kind of account that one embodiment of the invention is provided is logged in.Wherein, such as Fig. 2 institutes Show, the method that a kind of account that one embodiment of the present of invention is provided is logged in includes herein below:
S201, the log-on message for receiving requesting terminal transmission, the log-on message includes account, password and the request The mark of terminal;
Wherein it is possible to be understood by, the executive agent of the method is server, can also be Cloud Server;
S202, according to the account obtain authorization terminal inventory;
S203, travel through the authorization terminal inventory to determine the authorization terminal inventory in whether include the requesting terminal Mark;
Wherein, the authorization terminal inventory can be that user prestores on the server.
S204, when in the authorization terminal inventory not comprising the requesting terminal mark when, determine requesting terminal not Belong to authorization terminal;
If it is understood that the requesting terminal is not belonging to authorization terminal, it is necessary to send to authorize to resident terminal and ask Ask so that user is authorized by authorization terminal to the requesting terminal.Wherein, can include what is can logged in authorization message Number of times or time period.
S205, when the requesting terminal is not belonging to authorization terminal, to resident terminal send authorization requests;
S206, when the authorization message that the resident terminal sends is received, judge the account and password whether with advance The account deposited and password match;
S207, when the account and password are with the account and password match for prestoring, to the requesting terminal feedback log in Successful information;
S208, when the authorization message that the resident terminal sends is received, described asking is determined according to the authorization message The number of times for asking terminal to log in;And the requesting terminal and the number of times that can be logged in are added in the mandate inventory;
S209, the mandate inventory renewal request for receiving the resident terminal transmission, the mandate inventory updates bag in asking Include newest mandate inventory;
S210, the preservation newest mandate inventory.
As can be seen that expanded in the scheme of the embodiment of the present invention authorize inventory in addition can login times scheme, from And facilitate the mandate of user's control account login.
Fig. 3 is referred to, Fig. 3 is the method that a kind of account that one embodiment of the invention is provided is logged in.Wherein, such as Fig. 3 institutes Show, the method that a kind of account that one embodiment of the present of invention is provided is logged in includes herein below:
S301, the log-on message for receiving requesting terminal transmission, the log-on message includes account, password and the request The mark of terminal;
It is pointed out that the main body that the method is performed is server, Cloud Server is can also be;
S302, judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
S303, when the requesting terminal belongs to authorization terminal, whether the login times for judging the requesting terminal exceed Default login times;
S304, when the login times of the requesting terminal exceed default login times, send to the resident terminal Authorization requests;
Wherein, the number of times of acquiescence can be 3 times, 5 times, and here is not limited.
S305, when the authorization message that the resident terminal sends is received, judge the account and password whether with advance The account deposited and password match;
S306, when the account and password are with the account and password match for prestoring, to the requesting terminal feedback log in Successful information.
As can be seen that having expanded condition of the login times more than default login times in the scheme of the embodiment of the present invention Under, needing to regain mandate could log on the requesting terminal.
Fig. 4 is referred to, Fig. 4 is the method that a kind of account that one embodiment of the invention is provided is logged in.Wherein, such as Fig. 4 institutes Show, the method that a kind of account that one embodiment of the present of invention is provided is logged in includes herein below:
S401, the log-on message for receiving requesting terminal transmission, the log-on message includes account, password and the request The mark of terminal;
It is pointed out that the main body that the method is performed is server, Cloud Server is can also be;
S402, judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
S403, when the requesting terminal is not belonging to authorization terminal, to resident terminal send authorization requests;
S404, when the authorization message that the resident terminal sends is received, judge the account and password whether with advance The account deposited and password match;
S405, when the account and password are with the account and password match for prestoring, to the requesting terminal feedback log in Successful information;
S406, the number of times that the requesting terminal can log in is determined according to the authorization message;
S407, by the requesting terminal and the number of times that can be logged in be added to it is described mandate inventory in;
If S408, this time logining successfully, update described in the number of times that can log in.
Specifically, if this time logined successfully, then need by authorize inventory in can login times subtract 1.
As can be seen that expanded in the scheme of the embodiment of the present invention can login times the step of update, so as to ensure to authorize Possibility number of times be guaranteed.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of server 500 that one embodiment of the present of invention is provided.Its In, as shown in figure 5, a kind of server 500 that one embodiment of the present of invention is provided.The server 500 includes receiving unit 501st, judging unit 502 and transmitting element 503.
Receiving unit 501, for receiving the log-on message of requesting terminal transmission, the log-on message includes account, password And the mark of the requesting terminal;
Judging unit 502, for judging whether the requesting terminal belongs to mandate eventually according to the mark of the requesting terminal End;
Transmitting element 503, asks for when the requesting terminal is not belonging to authorization terminal, sending to authorize to resident terminal Ask;
Judging unit 502, for when the authorization message that the resident terminal sends is received, judging the account and close Code whether with the account and password match for prestoring;
Transmitting element 503, it is whole to the request for when the account and password are with the account and password match for prestoring The information that end feedback is logined successfully.
Wherein, cutter unit 501, indexing unit 502 and memory cell 503 can be used for performing step in embodiment 1 Method described in S101 to S105, specifically describes description of the detailed in Example 1 to methods described, will not be described here.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of server that one embodiment of the present of invention is provided.Wherein, such as Shown in Fig. 6, another kind of server 600 that one embodiment of the present of invention is provided.The server 600 includes receiving unit 601, sentences Disconnected unit 602, transmitting element 603, determining unit 604, adding device 605, storage unit 606;
Receiving unit 601, for receiving the log-on message of requesting terminal transmission, the log-on message includes account, password And the mark of the requesting terminal;
Judging unit 602, for judging whether the requesting terminal belongs to mandate eventually according to the mark of the requesting terminal End;
Specifically, judging unit 602 includes obtaining subelement, traversal subelement and determination subelement;
The acquisition subelement, for obtaining authorization terminal inventory according to the account;
The traversal subelement, for whether wrapping in traveling through the authorization terminal inventory to determine the authorization terminal inventory Mark containing the requesting terminal;
The determination subelement, for when in the authorization terminal inventory not comprising the requesting terminal mark when, Determine that requesting terminal is not belonging to authorization terminal.
Transmitting element 603, asks for when the requesting terminal is not belonging to authorization terminal, sending to authorize to resident terminal Ask;
Judging unit 602, for when the authorization message that the resident terminal sends is received, judge the account with Password whether with the account and password match for prestoring;
Transmitting element 603, it is whole to the request for when the account and password are with the account and password match for prestoring The information that end feedback is logined successfully;
Determining unit 604, for determining the number of times that the requesting terminal can log according to the authorization message;
Adding device 605, for the requesting terminal and the number of times that can be logged in be added in the mandate inventory.
Receiving unit 601, for receiving the mandate inventory that the resident terminal sends request is updated, and the mandate inventory is more New request includes newest mandate inventory;
Storage unit 606, for preserving the newest mandate inventory.
Wherein, receiving unit 601, judging unit 602, transmitting element 603, determining unit 604, adding device 605, preservation Unit 606 can be used for performing the method in embodiment 2 described in step S201 to S210, specifically describes in detailed in Example 2 and walks Rapid descriptions of the S201 to step S210 to methods described, will not be described here.
Fig. 7 is referred to, Fig. 7 is a kind of structural representation of server that one embodiment of the present of invention is provided.Wherein, such as Shown in Fig. 7, another kind of server 700 that one embodiment of the present of invention is provided.The server 700 includes receiving unit 701, sentences Disconnected unit 702 and transmitting element 703;
Receiving unit 701, for receiving the log-on message of requesting terminal transmission, the log-on message includes account, password And the mark of the requesting terminal;
Judging unit 702, for judging whether the requesting terminal belongs to mandate eventually according to the mark of the requesting terminal End;
Judging unit 702, for when the requesting terminal belongs to authorization terminal, judging the login time of the requesting terminal Whether number exceedes default login times;
Transmitting element 703, for when the login times of the requesting terminal exceed default login times, to it is described often The authorization requests of transmission in terminal;
Judging unit 702, is additionally operable to when the authorization message that the resident terminal sends is received, judge the account with Password whether with the account and password match for prestoring;
Transmitting element 703, is additionally operable to when the account and password are with the account and password match for prestoring, to the request The information that terminal feedback is logined successfully.
Wherein, receiving unit 701, judging unit 702 and transmitting element 703 can be used for performing step in embodiment 3 Method described in S301 to S306, specifically describes description of the detailed in Example 3 to methods described, will not be described here.
Fig. 8 is referred to, is schemed, 8 is a kind of structural representation of server that one embodiment of the present of invention is provided.Wherein, As shown in figure 8, another kind of server 800 that one embodiment of the present of invention is provided.The server 800 include receiving unit 801, Judging unit 802, transmitting element 803, determining unit 804, adding device 805 and updating block 806.
Receiving unit 801, for receiving the log-on message of requesting terminal transmission, the log-on message includes account, password And the mark of the requesting terminal;
Judging unit 802, for judging whether the requesting terminal belongs to mandate eventually according to the mark of the requesting terminal End;
Transmitting element 803, asks for when the requesting terminal is not belonging to authorization terminal, sending to authorize to resident terminal Ask;
Judging unit 802, for when the authorization message that the resident terminal sends is received, judging the account and close Code whether with the account and password match for prestoring;
Transmitting element 803, it is whole to the request for when the account and password are with the account and password match for prestoring The information that end feedback is logined successfully.
Determining unit 804, for determining the number of times that the requesting terminal can log according to the authorization message;
Adding device 805, for the requesting terminal and the number of times that can be logged in be added in the mandate inventory;
Updating block 806, if for this time logining successfully, the number of times that can be logged in described in renewal.
Wherein, receiving unit 801, judging unit 802, transmitting element 803, determining unit 804, adding device 805 and Updating block 806 can be used for performing the method in embodiment 4 described in step S401 to S408, specifically describe detailed in Example 4 Description to methods described, will not be described here.
Fig. 9 is referred to, in another embodiment of the present invention, there is provided a kind of server 900.The server 900 is wrapped Include CPU901, memory 902, bus 903.
Wherein, CPU901 performs the program being stored in advance in memory 902, and the implementation procedure is specifically included:
The log-on message that requesting terminal sends is received, the log-on message includes account, password and the requesting terminal Mark;
Judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;
When the authorization message that the resident terminal sends is received, judge the account and password whether with the account for prestoring Number and password match;
When the account and password are with the account and password match for prestoring, login successfully to requesting terminal feedback Information.
Optionally, the mark according to the requesting terminal judges whether the requesting terminal belongs to authorization terminal, bag Include:
Authorization terminal inventory is obtained according to the account;
Whether the mark of the requesting terminal is included during the authorization terminal inventory is traveled through to determine the authorization terminal inventory Know;
When the not mark comprising the requesting terminal in the authorization terminal inventory, determine that requesting terminal is not belonging to award Power terminal.
Optionally, it is characterised in that the implementation procedure also includes:
The number of times that the requesting terminal can log in is determined according to the authorization message;
The requesting terminal and the number of times that can be logged in are added in the mandate inventory.
Optionally, the implementation procedure also includes:
The mandate inventory renewal request that the resident terminal sends is received, the mandate inventory renewal request includes newest Mandate inventory;
Preserve the newest mandate inventory.
Optionally, the implementation procedure also includes:
When the requesting terminal belongs to authorization terminal, judge the login times of the requesting terminal whether more than default Login times;
When the login times of the requesting terminal exceed default login times, send to authorize to the resident terminal and ask Ask;
When the authorization message that the resident terminal sends is received, judge the account and password whether with prestore Account and password match;
When the account and password are with the account and password match for prestoring, login successfully to requesting terminal feedback Information.
As can be seen that in the scheme of the embodiment of the present invention, receiving the log-on message that requesting terminal sends, the log-on message Including the mark of account, password and the requesting terminal;Judge that the requesting terminal is according to the mark of the requesting terminal It is no to belong to authorization terminal;When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;When receiving During the authorization message that the resident terminal sends, judge the account and password whether with the account and password match for prestoring;When When the account and password are with the account and password match for prestoring, to the information that requesting terminal feedback is logined successfully.So as to Understand, by implementing the technical scheme that the present invention is provided, be able to could cause eventually under conditions of being authorization terminal terminal is confirmed End completes account login, so as to prevent user account information from revealing.
Figure 10 is referred to, Figure 10 is the frame of the part-structure of the mobile phone of the terminal correlation that one embodiment of the present of invention is provided Figure.With reference to Figure 10, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input block 1030th, display unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (Wireless Fidelity, WiFi) mould The parts such as block 1070, processor 1080 and power supply 1090.It will be understood by those skilled in the art that the mobile phone illustrated in Figure 10 Structure does not constitute the restriction to mobile phone, can include part more more or less of than diagram, or combines some parts, or Different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Figure 10:
RF circuits 1010 can be used for the reception and transmission of information.Generally, RF circuits 1010 include but is not limited to antenna, at least One amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..This Outward, RF circuits 1010 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use arbitrary Communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 1020 can be used to store software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, so as to perform various function application and the data processing of mobile phone.Memory 1020 can be led To include storing program area and storage data field, wherein, storing program area can be needed for storage program area, at least one function Application program (such as sending function, touch control operation detection function, feedback authorization message of log-on message etc.) etc.;Storage data field Can store and created data (such as store path table data etc.) etc. are used according to mobile phone.Additionally, memory 1020 can be with Including high-speed random access memory, nonvolatile memory, for example, at least one disk memory, flash memory can also be included Device or other volatile solid-state parts.
Input block 1030 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 1030 may include fingerprint module 1031 and other inputs Equipment 1032.Fingerprint module 1031, can gather user's finger print data thereon.Optionally, fingerprint module 1031 may include light Formula fingerprint module, capacitance type fingerprint module and RF-type fingerprint module.With fingerprint module 1031 as capacitance type fingerprint module As a example by, specifically include induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and be connected with the induction electrode Signal processing circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).It is defeated except fingerprint module 1031 Entering unit 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 can be including but not limited to One kind or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Display unit 1040 can be used for show by user input information or be supplied to user information and mobile phone it is each Plant menu.Display unit 1040 may include display screen 1041, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 1041.Although in Fig. 10, fingerprint module 1031 and display screen 1041 are realizing mobile phone as two independent parts Input and input function, but it is in some embodiments it is possible to fingerprint module 1031 and display screen 1041 is integrated and realize The input of mobile phone and output function.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display screen 1041, proximity transducer can when mobile phone is moved in one's ear, close display screen 1041 and/ Or backlight.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of accelerometer sensor Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the COBBAIF between user and mobile phone.Audio frequency Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 1061 by circuit 1060, be changed by loudspeaker 1061 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit 1060 Voice data is converted to after reception, then after voice data output processor 1080 is processed, Jing RF circuits 1010 are being sent to ratio Such as another mobile phone, or voice data is exported to memory 1020 so as to further process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 1070 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Figure 10 shows WiFi module 1070, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 1080 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, By operation or perform and be stored in software program and/or module in memory 1020, and call and be stored in memory 1020 Interior data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 1080 may include one or more processing units;Preferably, processor 1080 can integrated application processor and modulation /demodulation process Device, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 1080.
Mobile phone also includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system is logically contiguous with processor 1080, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:It still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (11)

1. a kind of method that account is logged in, it is characterised in that methods described includes:
The log-on message that requesting terminal sends is received, the log-on message includes the mark of account, password and the requesting terminal Know;
Judge whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
When the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests are sent;
When the authorization message that the resident terminal sends is received, judge the account and password whether with the account for prestoring and Password match;
When the account and password are with the account and password match for prestoring, to the letter that requesting terminal feedback is logined successfully Breath.
2. method according to claim 1, it is characterised in that described that described asking is judged according to the mark of the requesting terminal Ask whether terminal belongs to authorization terminal, including:
Authorization terminal inventory is obtained according to the account;
Whether the mark of the requesting terminal is included during the authorization terminal inventory is traveled through to determine the authorization terminal inventory;
When the not mark comprising the requesting terminal in the authorization terminal inventory, determine that requesting terminal is not belonging to authorize eventually End.
3. method according to claim 2, it is characterised in that methods described also includes:
The number of times that the requesting terminal can log in is determined according to the authorization message;
The requesting terminal and the number of times that can be logged in are added in the mandate inventory.
4. method according to claim 3, it is characterised in that methods described also includes:
The mandate inventory renewal request that the resident terminal sends is received, the mandate inventory updates request includes newest awarding Power inventory;
Preserve the newest mandate inventory.
5. according to the arbitrary described method of Claims 1-4, it is characterised in that methods described also includes:
When the requesting terminal belongs to authorization terminal, whether the login times for judging the requesting terminal exceed default login Number of times;
When the login times of the requesting terminal exceed default login times, to the resident terminal authorization requests are sent;
When the authorization message that the resident terminal sends is received, judge the account and password whether with the account for prestoring and Password match;
When the account and password are with the account and password match for prestoring, to the letter that requesting terminal feedback is logined successfully Breath.
6. a kind of server, it is characterised in that the server includes:
Receiving unit, for receiving the log-on message of requesting terminal transmission, the log-on message includes account, password and described The mark of requesting terminal;
Judging unit, for judging whether the requesting terminal belongs to authorization terminal according to the mark of the requesting terminal;
Transmitting element, for when the requesting terminal is not belonging to authorization terminal, to resident terminal authorization requests being sent;
The judging unit, for when the authorization message that the resident terminal sends is received, judging the account and password Whether with the account and password match for prestoring;
The transmitting element, for when the account and password are with the account and password match for prestoring, to the requesting terminal The information that feedback is logined successfully.
7. server according to claim 6, it is characterised in that the judging unit includes obtaining subelement, traversal Unit and determination subelement;
The acquisition subelement, for obtaining authorization terminal inventory according to the account;
The traversal subelement, for whether including institute in traveling through the authorization terminal inventory to determine the authorization terminal inventory State the mark of requesting terminal;
The determination subelement, for when in the authorization terminal inventory not comprising the requesting terminal mark when, it is determined that Requesting terminal is not belonging to authorization terminal.
8. server according to claim 7, it is characterised in that the server also includes that determining unit and addition are single Unit;
The determining unit, for determining the number of times that the requesting terminal can log according to the authorization message;
The adding device, for the requesting terminal and the number of times that can be logged in be added in the mandate inventory.
9. server according to claim 8, it is characterised in that described server also includes storage unit;
The receiving unit, for receiving the mandate inventory that the resident terminal sends request is updated, and the mandate inventory updates Request includes newest mandate inventory;
The storage unit, for preserving the newest mandate inventory.
10. according to the arbitrary described server of claim 6 to 9, it is characterised in that
The judging unit, for when the requesting terminal belongs to authorization terminal, judging the login times of the requesting terminal Whether default login times are exceeded;
The transmitting element, for when the login times of the requesting terminal exceed default login times, residing to described Terminal sends authorization requests;
The judging unit, is additionally operable to when the authorization message that the resident terminal sends is received, and judges the account and close Code whether with the account and password match for prestoring;
The transmitting element, is additionally operable to when the account and password are with the account and password match for prestoring, to the request eventually The information that end feedback is logined successfully.
11. a kind of servers, it is characterised in that include:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs if claim 1 is to right Require the method described in 5 any one.
CN201610913542.7A 2016-10-19 2016-10-19 Account login method and server Pending CN106656978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913542.7A CN106656978A (en) 2016-10-19 2016-10-19 Account login method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913542.7A CN106656978A (en) 2016-10-19 2016-10-19 Account login method and server

Publications (1)

Publication Number Publication Date
CN106656978A true CN106656978A (en) 2017-05-10

Family

ID=58855481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913542.7A Pending CN106656978A (en) 2016-10-19 2016-10-19 Account login method and server

Country Status (1)

Country Link
CN (1) CN106656978A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132812A (en) * 2017-12-21 2018-06-08 维沃移动通信有限公司 A kind of method of data synchronization, mobile terminal and server
CN109040146A (en) * 2018-10-25 2018-12-18 平安科技(深圳)有限公司 Account logs in authorization method, server, computer equipment and storage medium
CN113557703A (en) * 2019-03-19 2021-10-26 华为技术有限公司 Authentication method and device for network camera
CN114172716A (en) * 2021-12-02 2022-03-11 北京金山云网络技术有限公司 Login method, login device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546419A (en) * 2012-07-09 2014-01-29 上海博路信息技术有限公司 Login method
CN104125062A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Login method, device, login authentication device, server, terminals and system
CN104301286A (en) * 2013-07-15 2015-01-21 中国移动通信集团黑龙江有限公司 User login authentication method and device
CN104424411A (en) * 2013-09-07 2015-03-18 镇江金软计算机科技有限责任公司 B/S (Browser/Server) system login control method based on MAC (Media Access Control) address determination
CN105656948A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Account login method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546419A (en) * 2012-07-09 2014-01-29 上海博路信息技术有限公司 Login method
CN104125062A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Login method, device, login authentication device, server, terminals and system
CN104301286A (en) * 2013-07-15 2015-01-21 中国移动通信集团黑龙江有限公司 User login authentication method and device
CN104424411A (en) * 2013-09-07 2015-03-18 镇江金软计算机科技有限责任公司 B/S (Browser/Server) system login control method based on MAC (Media Access Control) address determination
CN105656948A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Account login method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132812A (en) * 2017-12-21 2018-06-08 维沃移动通信有限公司 A kind of method of data synchronization, mobile terminal and server
CN109040146A (en) * 2018-10-25 2018-12-18 平安科技(深圳)有限公司 Account logs in authorization method, server, computer equipment and storage medium
CN113557703A (en) * 2019-03-19 2021-10-26 华为技术有限公司 Authentication method and device for network camera
CN113557703B (en) * 2019-03-19 2024-05-14 华为技术有限公司 Authentication method and device of network camera
CN114172716A (en) * 2021-12-02 2022-03-11 北京金山云网络技术有限公司 Login method, login device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103716793B (en) Access-in point information sharing method and device
CN103457951A (en) Method and device for allowing multiple terminals to login to server
CN103763112B (en) A kind of user identity protection method and apparatus
CN105471931A (en) Method, device and system for querying service data
CN105278937A (en) Method and device for displaying pop-up box messages
CN106534324B (en) A kind of data sharing method and Cloud Server
CN104901806B (en) A kind of virtual resource processing method, device and system
CN104519197A (en) User login method, user login device and terminal devices
CN104852885A (en) Method, device and system for verifying verification code
CN104967601A (en) Data processing method and apparatus
CN103338193B (en) Method, system and device for initial media equipment
CN106656978A (en) Account login method and server
CN106657165A (en) Defense method of network attack, server and terminal
CN104735657A (en) Security terminal verification method, device and system and wireless access point binding method
CN105530239A (en) Multimedia data obtaining method and device
CN104699501A (en) Method and device for running application program
CN105530222A (en) Method for establishing connection among terminals, and device and system
CN104391629A (en) Method for sending message in orientation manner, method for displaying message, server and terminal
CN104135504A (en) An application-based service providing method, device and system
CN106453571A (en) Data migration method and terminal
CN107465646A (en) One kind applies method for down loading, system and relevant device
CN105553718A (en) Method and device for displaying guidance information
CN107249168A (en) A kind of data directional transmissions and method of reseptance and device
CN104918130A (en) Methods for transmitting and playing multimedia information, devices and system
CN106657214A (en) Data migration method and terminal

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: 20170510

RJ01 Rejection of invention patent application after publication