CN107766708A - Nullify method, terminal and the computer-readable recording medium of account Entered state - Google Patents
Nullify method, terminal and the computer-readable recording medium of account Entered state Download PDFInfo
- Publication number
- CN107766708A CN107766708A CN201710979800.6A CN201710979800A CN107766708A CN 107766708 A CN107766708 A CN 107766708A CN 201710979800 A CN201710979800 A CN 201710979800A CN 107766708 A CN107766708 A CN 107766708A
- Authority
- CN
- China
- Prior art keywords
- identification code
- account
- default
- real time
- time identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Abstract
The embodiments of the invention provide method, terminal and the computer-readable recording medium for nullifying account Entered state, wherein, this method includes:If detecting, interface of the user after being logged in using account is operated, and Real time identification code is generated according to login parameters, wherein, the login parameters produce when logging in the interface using the account;Judge whether the Real time identification code is consistent with default ID, wherein, the default ID logs in identification code caused by the account for last time;If the Real time identification code is inconsistent with default ID, logging status of the account at the interface is controlled to be canceled.The embodiment of the present invention is after account login during user's operation interface each time, system produces Real time identification code, Real time identification code and default ID are compared, if the two is inconsistent, then the account is not that last time logs in the login of current interface, nullifies logging status of the account in current interface.
Description
Technical field
The present invention relates to electronic technology field, more particularly to method, terminal and the computer of cancellation account Entered state can
Read storage medium.
Background technology
Development in science and technology is maked rapid progress, and many demands during we produce or lived can be complete by internet and software
Into, such as using social software and relatives and friends' communication, shopping online, game on line, with news ocr software reading information.
Many internet products can use on multiple terminal or multiple pages, such as can be in computer browser, hand
Access Management Access E-mail address in browser built in machine browser, cell phone application or other APP, therefore occur by different
Instrument is gone while login account accesses internet product, now, in order to limit the situation that an account multiple pages occurs and logged in,
Logging status before often nullifying, only makes the logging status of last time effective.
Existing method is that the access tool (log in software etc.) different to same account distributes different authority, when a certain
After account successful log, the current login time encryption generation authority of account and system is stored in MySQL database, and
Access tool is returned to, user will carry this authority when subsequently operating internet product every time, when the user is in instrument A successes
Log in, produce authority A1 and carried for subsequent operation, hereafter old authority is substituted for by the user when instrument B passes through login authentication
New authority, the authority that now instrument A is logged in will fail, can not be continuing with, instrument A logging status is canceled, so as to grasp
Work fails.Authority caused by this method needs to be sent to access tool, easily usurped by hostile user in transmission process or
Crack, abused in multiple access tools.
The content of the invention
The embodiment of the present invention provide nullify account Entered state method, terminal and computer-readable recording medium, with
Judge whether to need the login shape for nullifying current interface by comparing Real time identification code and default ID during the operation interface of family
State.
In a first aspect, the embodiments of the invention provide the method for nullifying account Entered state, this method includes:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes being used to perform side described in first aspect
The unit of method.
The third aspect, the embodiment of the present invention also provide a kind of terminal, and the terminal is set including processor, input equipment, output
Standby and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to deposit
Application code is stored up, the processor is arranged to call described program code, performs following steps:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
State computing device following steps:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify.
Method, terminal and the computer-readable recording medium provided in an embodiment of the present invention for nullifying account Entered state,
Account log in after, user each time operation interface when, system produces Real time identification code, by Real time identification code and default ID
It is compared, if the two is inconsistent, the account is not that last time logs in the login of current interface, nullifies the account and is working as
The logging status of front interface, user the interface operation because the logging status of the account is canceled and is failed, so as to keep away
Exempt from account on multiple interfaces while log into row business operation, account many places, which log in, easily produces cheating.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
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, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for cancellation account Entered state that one embodiment of the invention provides;
Fig. 2 is a kind of schematic flow sheet of the method for cancellation account Entered state that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic block diagram for terminal that one embodiment of the invention provides;
Fig. 4 is a kind of structure composition schematic block diagram for terminal that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 be one embodiment of the invention provide a kind of cancellation account Entered state method schematic flow sheet, such as Fig. 1
Shown, this method comprises the following steps S101-S103:
If S101, detecting that interface of the user after being logged in using account is operated, generated according to login parameters real-time
Identification code, wherein, the login parameters produce when logging in the interface using the account.
After one account of user's registration, such as webpage account, can by a variety of browsers or different editions browser or
Different terminal login accounts, after Successful login account, user can carry out multiple business operation, Successful login account and each time
Operation behavior can all cause the generation of Real time identification code, do not changed if logged on instrument, then login parameters are consistent, each
Real time identification code caused by secondary operation is identical with Real time identification code caused by account Successful login, if log in means
Change, then it is real during Successful login or caused by logging in real identification code caused by the operation each time of rear user and logging in before
When identification code it is different.
Specifically, the login parameters, which include login parameters, includes IP address of equipment and user agent's string.
IP address of equipment is the IP address of registration terminal (equipment), user agent's string and the access tool in registration terminal
(logging in software, such as webpage, APP etc.) is related, and different access tools corresponds to different user agent's strings, i.e. different editions
Login software or different publishers issue login software (such as IE browser, sogou browser etc.) there is different users
Agency's string, to distinguish the interface of user's login account.
Further, the Real time identification code and default ID are UUID (Universally Unique
Identifier, general unique identifier), UUID has unique identification function;The default ID is stored in Redis data
Storehouse, default ID are stored in Redis databases, and business datum and default ID be retained separately to (business datum is generally protected
MySQL database be present), the access experience of business datum is not interfered with when mass users yet.
If user is used for changing in the equipment of interface login account, IP address of equipment changes, if logging in account
Number interface change, such as originally with 360 browsers log in, logged in later with IE browser, then user agent go here and there will
Change, alternative one or changing simultaneously can cause login parameters to change.
Specifically, it is described to generate Real time identification code according to login parameters, including:Hash algorithm safe to use is by the equipment
IP address and user agent's string are converted into Real time identification code.
Real-time UUID specifically can use below equation to represent:
$ UUID=
SHA1($_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'])
Wherein, REMOTE_ADDR is IP address of equipment, and HTTP_USER_AGENT goes here and there for user agent.
S102, judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last
Once log in identification code caused by the account.
User produces an identification code after logining successfully for the first time, default ID of the identification code as most original,
Default ID changes according to login situation each time later or keeps constant.
In the embodiment of the present invention, Real time identification is generated according to login parameters when using account Successful login interface each time
Code, by Real time identification code compared with default ID, if Real time identification code is consistent with default ID, keeps default and know
Other code is constant, if Real time identification code and default ID are inconsistent, the Real time identification code is saved as into default ID.
User can produce a Real time identification code in interface Successful login account, system each time, by the Real time identification
Code is contrasted with Real time identification code (i.e. default ID) caused by last Successful login, if the two is consistent, is preset and is known
Other code is constant, if the two is inconsistent, Real time identification code caused by this login account is saved as default ID,
Therefore, default ID is always caused identification code after the last time Successful login account.
It may determine that user whether in last time by judging whether the Real time identification code is consistent with default ID
Business operation is carried out on the page of login account.
If S103, the Real time identification code and default ID are inconsistent, login of the account at the interface is controlled
State is canceled.
If the Real time identification code is inconsistent with default ID, it is not the page in last time login account to illustrate user
Carry out business operation on face, system needs to nullify logging status of the account at the interface, can so avoid user can be with
Login account carries out business operation simultaneously on multiple interfaces, and account many places, which log in, easily produces cheating, for example, user exists
Many places carry out brush ticket behavior with same booking account.
Compared to prior art each operation carry voucher determine whether same account simultaneously sign-on access system and
Speech, the ciphering signature key (i.e. voucher) of interface provider and called side while agreement is eliminated using Real time identification code, is avoided
Leaking data risk caused by Key Exposure, security is improved, reduced by the risk of Brute Force, and the Real time identification code
It is inseparable with logging device and the Software tool of use, there is unique mark function, once logging device and the software of use
Instrument changes, and default ID originally will fail, and the possibility that account is used simultaneously is not high, improves safe level
Not, it is follow-up to access the behavior that carry voucher every time in addition, needing authority being sent to access tool in the absence of equipment, because
This, which is avoided, causes extra data to communicate, and wastes flow.
The method provided in an embodiment of the present invention for nullifying account Entered state, user each time produce by operation interface, system
Raw Real time identification code, Real time identification code and default ID is compared, if the two is inconsistent, the account is in current interface
Login be not that last time logs in, nullify logging status of the account in current interface, user the interface operation because of this
The logging status of account is canceled and failed.
Fig. 2 is a kind of schematic flow sheet of the method for cancellation account Entered state that another embodiment of the present invention provides, such as
Shown in Fig. 2, this method comprises the following steps S201-S204:
If S201, detecting that interface of the user after being logged in using account is operated, generated according to login parameters real-time
Identification code, wherein, the login parameters produce when logging in the interface using the account.
Further, the login parameters, which include login parameters, includes IP address of equipment and user agent's string.
The operation behavior at the interface can all cause to know in real time user after a certain interface Successful login account and each time
The generation of other code, do not changed if logged on instrument (equipment and software), then login parameters are consistent, produced by operating each time
Real time identification code and account Successful login caused by Real time identification code be identical, if log in means changes,
During Successful login or log in real identification code caused by the operation each time of rear user with before log in caused by Real time identification code not
Together.
If to be changed in the equipment of interface login account, IP address of equipment changes user, if logging in account
Number interface change, such as originally with 360 browsers log in, logged in later with IE browser, then user agent go here and there will
Change, alternative one or changing simultaneously can cause login parameters to change.
S202, judge whether the Real time identification code is consistent with default ID, if it is not, step S203 is then performed, if so,
Then perform step S204;Wherein, the default ID logs in identification code caused by the account for last time.
Default ID is always caused identification code after the last time Successful login account, can be by described in judgement
Whether Real time identification code is consistent with default ID to may determine that whether user is carried out on the page of last time login account
Business operation.
The logging status of S203, the control account at the interface is canceled.
The logging status of S204, the control account at the interface is effective.
If the Real time identification code is consistent with default ID, illustrate the account behavior that the interface that user is operating logs in
Last time login account, user can normal operating on the surface, if the Real time identification code with default ID not
Unanimously, it is not that business operation is carried out on the page of last time login account to illustrate user, and system is needed the account at this
The logging status at interface is nullified, and can so avoid that user can login account carries out business operation simultaneously on multiple interfaces,
For example, prevent the behaviors such as user's brush ticket.
The method provided in an embodiment of the present invention for nullifying account Entered state, by by Real time identification code and default ID
It is compared to judge whether last time logs in account in the login of current interface, if so, then allow user's normal operating,
Otherwise logging status of the account in current interface is nullified, operation of the user at the interface is canceled because of the logging status of the account
And fail.
As shown in figure 3, Fig. 3 is a kind of schematic block diagram for terminal that one embodiment of the invention provides, the terminal 100 includes
Generation unit 101, judging unit 102 and control unit 103.
If generation unit 101 is used to detect that interface of the user after being logged in using account is operated, join according to logging in
Number generation Real time identification code, wherein, the login parameters produce when logging in the interface using the account.
Specifically, the login parameters, which include login parameters, includes IP address of equipment and user agent's string.
Further, the generation unit 101 is specifically used for:Hash algorithm safe to use is by the IP address of equipment and use
Act on behalf of string and be converted into Real time identification code in family.
Judging unit 102 is used to judge whether the Real time identification code is consistent with default ID, wherein, the default knowledge
Other code logs in identification code caused by the account for last time.
Further, the Real time identification code and default ID are UUID, and UUID has unique identification function;It is described
Default ID is stored in Redis databases, and default ID is stored in Redis databases, by business datum and default identification
Code is retained separately (business datum is generally held in MySQL database), and business datum is not interfered with yet when mass users
Access experience.
If it is inconsistent with default ID that control unit 103 is used for the Real time identification code, the account is controlled at this
The logging status at interface is canceled.
Described control unit 103 is additionally operable to:
If the Real time identification code is consistent with default ID, logging status of the account at the interface is controlled to have
Effect.
If the Real time identification code is consistent with default ID, illustrate the account behavior that the interface that user is operating logs in
Last time login account, user can normal operating on the surface, if the Real time identification code with default ID not
Unanimously, it is not that business operation is carried out on the page of last time login account to illustrate user, and system is needed the account at this
The logging status at interface is nullified, and can so avoid that user can login account carries out business operation simultaneously on multiple interfaces.
Terminal provided in an embodiment of the present invention, by the way that Real time identification code and default ID are compared to judge account
It is that last time logs in the login of current interface, if so, then allowing user's normal operating, otherwise nullifies the account and working as
The logging status of front interface, user is forbidden to be operated in the page.
Referring to Fig. 4, Fig. 4 is a kind of another structure composition schematic block diagram of terminal 200 provided in an embodiment of the present invention.Should
Terminal 200 can include one or more input equipments 201, include one or more computer-readable recording mediums
Memory 202, one or more output equipments 203, bus 204 and include one or the place of more than one processing core
Manage the grade part of device 205.
It will be understood by those skilled in the art that the restriction of the structure of terminal 200 shown in Fig. 4 not structure paired terminal 200,
It can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Input equipment 201 can be used for the numeral or character information for receiving input, and produce the key relevant with function control
Disk, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment, input equipment 201
It may include touch sensitive surface and other input units.Touch sensitive surface, also referred to as touch display screen or Trackpad, collect user
On or near it touch operation (such as user using any suitable object or annex such as finger, stylus in touch sensitive surface
The upper or operation near touch sensitive surface), and corresponding attachment means are driven according to formula set in advance.Optionally, it is touch-sensitive
Surface may include both touch detecting apparatus and touch controller.Wherein, the touch side of touch detecting apparatus detection user
Position, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus
Touch information is received, and is converted into contact coordinate, then gives processor 205, and the order that energy reception processing device 205 is sent
And performed.Furthermore, it is possible to touch-sensitive table is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Face.Except touch sensitive surface, input equipment 201 can also include other input units, such as fingerprint adopts sensor and (is used to gather and uses
The finger print information at family and the directional information of fingerprint), microphone etc..
Memory 202 can include read-only storage and random access memory, available for storage application program and data,
And provide instruction and data to processor 205.Include executable code in the application program that memory 202 stores.Using journey
Sequence can form various functions module.Processor 205 is stored in the application program of memory 202 by operation, each so as to perform
Kind application of function and data processing.Memory 202 can mainly include storing program area and storage data field, wherein, store journey
Sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function
Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to terminal 200.
In addition, memory 202 can include high-speed random access memory, nonvolatile memory, for example, at least one can also be included
Individual disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 202 can also include depositing
Memory controller, to provide access of the processor 205 to memory 202.
Output equipment 203 is used for the output data of external output terminal 200, it may include display, loudspeaker etc..Further
, the display panel of display can cover touch sensitive surface, after touch sensitive surface detects the touch operation on or near it, pass
Processor 205 is given to determine the type of touch event, is followed by subsequent processing device 205 according to the type of touch event on a display panel
Corresponding visual output is provided.
Processor 205 is the control centre of terminal 200, utilizes each of various interfaces and the whole terminal 200 of connection
Part, by running or performing the application program being stored in memory 202, and call the number being stored in memory 202
According to the various functions and processing data of execution terminal 200, so as to carry out integral monitoring to terminal 200.Optionally, processor 205
It may include one or more processing cores;Preferably, processor 205 can integrate application processor and modem processor, its
In, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly handled wirelessly
Communication.It is understood that above-mentioned modem processor can not also be integrated into processor 205.
Although not shown in Fig. 4, it will be understood to those skilled in the art that terminal 200 can also include camera, bluetooth
Deng will not be repeated here.
Specifically in the present embodiment, the processor 205 of terminal 200 can be according to following instruction, by one or more
Application program process corresponding to executable code or data be loaded into memory 202, run or grasped by processor 205
The program code or data being stored in memory 202, and perform following steps:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify.
Further, the processor 205 runs or operated the program code being stored in memory 202 or data, also
Perform following steps:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify, if the Real time identification code is consistent with default ID, control logging status of the account at the interface effective.
Further, the processor 205 runs or operated the program code being stored in memory 202 or data, also
Perform following:
Real time identification code is generated according to login parameters when using account Successful login interface each time, by Real time identification code
Compared with default ID, if Real time identification code is consistent with default ID, keep default ID constant, if in real time
Identification code is inconsistent with default ID, then the Real time identification code is saved as into default ID.
In the specific implementation, input equipment 201, output equipment 203, the processor 205 described in the embodiment of the present invention can
Implement the implementation described in the embodiment of the method for cancellation account Entered state provided by the invention, also can perform this hair
The implementation of terminal described by bright embodiment, will not be repeated here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and the computer-readable recording medium can be applied to
The terminals such as computer, mobile phone, iPad, the computer-readable recording medium storage have computer program, the computer program
Realized when being executed by processor as follows:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify.
Further, may be used also when the computer program of the computer-readable recording medium storage is executed by processor
Realize as follows:
If detecting, interface of the user after being logged in using account is operated, and Real time identification is generated according to login parameters
Code, wherein, the login parameters produce when logging in the interface using the account;
Judge whether the Real time identification code is consistent with default ID, wherein, the default ID is last time
Log in identification code caused by the account;
If the Real time identification code is inconsistent with default ID, the account is controlled in the logging status quilt at the interface
Nullify, if the Real time identification code is consistent with default ID, control logging status of the account at the interface effective.
Further, may be used also when the computer program of the computer-readable recording medium storage is executed by processor
Realize as follows:
Real time identification code is generated according to login parameters when using account Successful login interface each time, by Real time identification code
Compared with default ID, if Real time identification code is consistent with default ID, keep default ID constant, if in real time
Identification code is inconsistent with default ID, then the Real time identification code is saved as into default ID.
Cancellation account provided by the invention can be implemented during specific implementation, when the computer program is executed by processor
Implementation described in the embodiment of the method for number Entered state, it also can perform terminal described by the embodiment of the present invention
Implementation, it will not be repeated here.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown 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 be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer-readable recording medium.Based on such understanding, technical scheme substantially or
Person says the part to be contributed to prior art, or the technical scheme all or part can in the form of software product body
Reveal and, the computer software product is stored in a storage medium, including some instructions are causing a computer to set
Standby (can be personal computer, server, or network equipment etc.) performs the whole of each embodiment methods described of the present invention
Or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, RandomAccess Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
- A kind of 1. method for nullifying account Entered state, it is characterised in that including:If detecting, interface of the user after being logged in using account is operated, and Real time identification code is generated according to login parameters, its In, the login parameters produce when logging in the interface using the account;Judge whether the Real time identification code is consistent with default ID, wherein, the default ID logs in for last time Identification code caused by the account;If the Real time identification code is inconsistent with default ID, logging status of the account at the interface is controlled to be noted Pin.
- 2. according to the method for claim 1, it is characterised in that it is described judge the Real time identification code whether with default identification After code is consistent, in addition to:If the Real time identification code is consistent with default ID, control logging status of the account at the interface effective.
- 3. according to the method for claim 1, it is characterised in that the login parameters include IP address of equipment and user agent String.
- 4. according to the method for claim 3, it is characterised in that it is described to generate Real time identification code according to login parameters, including:The IP address of equipment and user agent's string are converted into Real time identification code by hash algorithm safe to use.
- 5. according to the method for claim 1, it is characterised in that the Real time identification code and default ID be it is general only One identification code.
- 6. according to the method for claim 5, it is characterised in that the default ID is stored in Redis databases.
- 7. according to the method for claim 1, it is characterised in that also include, using account Successful login interface each time When according to login parameters generate Real time identification code, by Real time identification code with default ID compared with, if Real time identification code and Default ID is consistent, then keeps default ID constant, if Real time identification code and default ID are inconsistent, by the reality When identification code save as default ID.
- 8. a kind of terminal, it is characterised in that including for performing such as the unit of any one of claim 1-7 methods described.
- 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-7.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710979800.6A CN107766708A (en) | 2017-10-19 | 2017-10-19 | Nullify method, terminal and the computer-readable recording medium of account Entered state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710979800.6A CN107766708A (en) | 2017-10-19 | 2017-10-19 | Nullify method, terminal and the computer-readable recording medium of account Entered state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107766708A true CN107766708A (en) | 2018-03-06 |
Family
ID=61269426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710979800.6A Withdrawn CN107766708A (en) | 2017-10-19 | 2017-10-19 | Nullify method, terminal and the computer-readable recording medium of account Entered state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107766708A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120506A (en) * | 2018-07-02 | 2019-01-01 | 湖北衣谷电子商务有限公司 | A kind of detection processing method and system for account number of leaving unused in social networks |
CN109194658A (en) * | 2018-09-11 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium checking operation requests |
CN109462859A (en) * | 2018-10-10 | 2019-03-12 | 中国联合网络通信集团有限公司 | A kind of application management method and server |
CN111460476A (en) * | 2020-03-27 | 2020-07-28 | 腾讯科技(深圳)有限公司 | Account logout method and device, storage medium and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104065619A (en) * | 2013-03-20 | 2014-09-24 | 联想(北京)有限公司 | Login method and device |
CN106487744A (en) * | 2015-08-25 | 2017-03-08 | 北京京东尚科信息技术有限公司 | A kind of Shiro verification method based on Redis storage |
-
2017
- 2017-10-19 CN CN201710979800.6A patent/CN107766708A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104065619A (en) * | 2013-03-20 | 2014-09-24 | 联想(北京)有限公司 | Login method and device |
CN106487744A (en) * | 2015-08-25 | 2017-03-08 | 北京京东尚科信息技术有限公司 | A kind of Shiro verification method based on Redis storage |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120506A (en) * | 2018-07-02 | 2019-01-01 | 湖北衣谷电子商务有限公司 | A kind of detection processing method and system for account number of leaving unused in social networks |
CN109120506B (en) * | 2018-07-02 | 2021-04-27 | 武汉爱无忧科技有限公司 | Detection processing method and system for idle account in social network |
CN109194658A (en) * | 2018-09-11 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium checking operation requests |
CN109462859A (en) * | 2018-10-10 | 2019-03-12 | 中国联合网络通信集团有限公司 | A kind of application management method and server |
CN109462859B (en) * | 2018-10-10 | 2022-04-26 | 中国联合网络通信集团有限公司 | Application management method and server |
CN111460476A (en) * | 2020-03-27 | 2020-07-28 | 腾讯科技(深圳)有限公司 | Account logout method and device, storage medium and electronic device |
CN111460476B (en) * | 2020-03-27 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Account cancellation method and device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572325B (en) | A kind of progressive response sheet disposal method and terminal | |
AU2017101425A4 (en) | User interface for managing access to credentials for use in an operation | |
CN107704765A (en) | A kind of interface access method, server and computer-readable recording medium | |
CN103425736B (en) | A kind of web information recognition, Apparatus and system | |
CN107766708A (en) | Nullify method, terminal and the computer-readable recording medium of account Entered state | |
CN106534572A (en) | Information display method and device and terminal | |
CN107786328A (en) | A kind of method, service node device and computer-readable medium for generating key | |
CN104838350A (en) | Coordination of application workflow on multi-display screen | |
CN107392055A (en) | A kind of dual system safety chip control method, terminal, computer-readable recording medium and the dual system framework based on safety chip | |
JP5238851B2 (en) | Screen generation system, screen generation method, and screen generation program | |
CN103339636A (en) | Creation of signatures for authenticating applications | |
CN106713266B (en) | Method, device, terminal and system for preventing information leakage | |
CN104901805B (en) | A kind of identification authentication methods, devices and systems | |
CN105339952A (en) | Detecting a user and altering device settings | |
CN112235303B (en) | Account logout method and device and computer equipment | |
CN109118160A (en) | A kind of information sharing method, device, terminal device and medium | |
WO2018127048A1 (en) | Data display method and device, and storage medium | |
CN107422976A (en) | Control method, device, storage medium and mobile terminal based on blank screen gesture | |
Basar et al. | Resource usage analysis of a mobile banking application using sensor-and-touchscreen-based continuous authentication | |
CN107422860A (en) | Control method, device, storage medium and mobile terminal based on blank screen gesture | |
CN107872380A (en) | Information push method, device and computer-readable recording medium | |
CN106650490A (en) | Cloud account number login method and device | |
CN107967422A (en) | One kind verification implementation method and electric terminal | |
CN104346550A (en) | Information processing method and electronic equipment | |
CN109271779A (en) | A kind of installation packet inspection method, terminal device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180306 |