CN108270757A - A kind of user account switching method, device, client and system - Google Patents
A kind of user account switching method, device, client and system Download PDFInfo
- Publication number
- CN108270757A CN108270757A CN201710001806.6A CN201710001806A CN108270757A CN 108270757 A CN108270757 A CN 108270757A CN 201710001806 A CN201710001806 A CN 201710001806A CN 108270757 A CN108270757 A CN 108270757A
- Authority
- CN
- China
- Prior art keywords
- user
- user account
- page
- account
- display device
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
- H04L63/205—Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/105—Multiple levels of security
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention discloses a kind of user account switching method, device, client and system, the method includes:When the first user account is in login status, the first user characteristics of the first user are persistently obtained;When detecting that the first user characteristics change, the safe class of the first user data and preset page locking state are obtained;Whether the first user account is switched over according to the safe class of the first user data and preset page locking condition adjudgement;If being switched over to the first user account, switching command is sent out to page display device, so that current page jumps to pre-set user login page;If not switched over to the first user account, holding instruction is sent out to page display device, to keep current page.While the present invention can protect the data of user to be not easy to reveal, user is allow to share oneself by the page and agrees to the content shared, and realize the switching between different user, greatly promotes user experience.
Description
Technical field
The invention belongs to Internet technical field more particularly to a kind of user account switching method, device, client and
System.
Background technology
With gradually popularizing for mobile equipment and becoming stronger day by day for its function, the operation of user on the mobile apparatus is increasingly
It is more, for example see video, see news, play game or even office, at the same time, user to APP (application program, Application,
Abbreviation APP) functional requirement be also continuously improved.In order to promote the user experience of product, APP providers need the behaviour of upload user
It notes down, and the operation note of user needs to obtain by account information.Since current many products will not force user to log in,
The account information of user is difficult to obtain.In the prior art, user account collect dependent on user active log in or according to
IMEI (International Mobile Equipment Identity code, International Mobile Equipment Identity, abbreviation IMEI) is carried out
It distinguishes, nonetheless, in the case of non-active login, the account for the user for being actual use and operation still cannot be distinguished.
In addition the portability for moving equipment so that the cross-reference of mobile equipment is relatively conventional, it is necessary to private data
It is protected.Only part mobile phone has privacy protection function in the prior art, and user can carry out secret protection to such mobile phone
The operation setting of function, but cannot be configured individually for some APP, operation is not convenient enough, flexible, intelligent, quick
When changing user, secret protection can not be realized.Therefore, it is necessary to provide a kind of new technical solution.
Invention content
In order to solve the above-mentioned technical problem, the present invention propose a kind of user account switching method, device, client and
System.
In a first aspect, the present invention proposes a kind of user account switching method, described method includes following steps:User account
Switching device persistently obtains the first user characteristics of the first user when the first user account is in login status;When user's account
When family switching device detects that first user characteristics change, the safe class of the first user data and preset is obtained
Page locking state;Safe class and preset page locking shape of the user account switching device according to first user data
State judges whether to switch over the first user account;If being switched over to first user account, user account switching
Device sends out switching command to page display device;Page display device makes display in response to the switching command received
Page jump is to preset user's login page;If not switched over to first user account, user account switching dress
It puts to page display device and sends out holding instruction;Page display device is instructed in response to the holding received, keeps current
The page.
Second aspect, the present invention provide a kind of user account switching method, and described method includes following steps:It is used first
When family account is in login status, the first user characteristics of the first user are persistently obtained;When detecting first user characteristics
When changing, the safe class of the first user data and preset page locking state are obtained;According to first number of users
According to safe class and the preset page locking condition adjudgement whether the first user account is switched over;If to described
One user account switches over, then sends out switching command to page display device, so that current page jumps to pre-set user and steps on
Record the page;If not switched over to first user account, holding instruction is sent out to page display device, to keep current
The page.
The third aspect, the present invention provide a kind of user account switching device, and described device includes following module:First user
Feature trapping module, for when the first user account is in login status, persistently obtaining the first user characteristics of the first user;
First user data acquisition module, for when detecting that first user characteristics change, obtaining the first user data
Safe class and preset page locking state;Switching judging module, for safety according to first user data etc.
Whether grade and the preset page locking condition adjudgement switch over the first user account;Page jump module, for
When being switched over to first user account, switching command is sent out to page display device so that current page jump to it is pre-
If user's login page;The page keeps module, for when not switched over to first user account, showing and filling to the page
It puts and sends out holding instruction, to keep current page.
Fourth aspect, the present invention provide a kind of client, include aforementioned user account switching device.
5th aspect, the present invention provide a kind of user account switching system, including server, page display device and aforementioned
User account switching device.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought includes:
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is application scenarios schematic diagram provided in an embodiment of the present invention.
Fig. 2 is user account switching method flow chart provided in an embodiment of the present invention;
Fig. 3 is user account switching method flow chart provided in an embodiment of the present invention;
Fig. 4 is user account switching method flow chart provided in an embodiment of the present invention;
Fig. 5 is user account switching device functional block diagram provided in an embodiment of the present invention;
Fig. 6 is user account switching system functional block diagram provided in an embodiment of the present invention;
Fig. 7 is user account switching device functional block diagram provided in an embodiment of the present invention;
Fig. 8 is terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects
It encloses.
An embodiment of the present invention provides a kind of user account switching method, device, client and systems, please refer to Fig.1,
It illustrates the structure diagrams of the implementation environment involved by user account switching method provided in an embodiment of the present invention.
The implementation environment is including being configured with user equipment 101, user equipment 101 includes page display device 102, Yong Huke
Want the user information inputted, user to show to read the content of pages of display with input unit and input user according to the user
User account switching client is installed, client is for implementing the method that the present embodiment is proposed, in addition, implementing in equipment
Environment also includes server 104, and server 104, can be by communication process client for communicating with user equipment 101
The operations such as inquiry, the registration that server performs;The server is communicated to connect with database 103.
In one embodiment of the invention, a kind of user account switching method is provided, as shown in Fig. 2, this method is applicable in
In implementation environment shown in FIG. 1.The method includes:
S210 when the first user account is in login status, persistently obtains the first user characteristics of the first user.
User is using forum, browses web sites, and is usually required for registering use when servicing using mailbox or using APP
The identity logs at family, to be serviced or the normal use permission of function.In this step, after user logs in, user
Account switching device begins to use the peripheral hardware of terminal to obtain the feature of user, in the present embodiment, the use that will currently log in
Family is known as the first user.
Specifically, user account switching device can distinguish other users with the peripheral hardware of using terminal to obtain the first user
, have distinguishing feature feature as fisrt feature.For example, fisrt feature can be the head portrait of user;The office of user's face
Portion is such as eyes, nose, mouth;The sound of user;Fingerprint of user etc..
In one example, user apparatus acquisition device can continue to obtain the head portrait letter for the user that terminal photographic device obtains
Breath, i.e., using head image information as the first user characteristics, if the head image information of user does not change, illustrate that active user is
First user when head portrait changes, then illustrates that active user has not been and the first user corresponding to logon account.
In one example, user apparatus acquisition device can continue to obtain the eyes office for the user that terminal photographic device obtains
Portion's information that is, using eyes local message as the first user characteristics, if the eyes local message of user does not change, is said
Bright active user is the first user, when eyes locally change, then illustrates that active user has not been and logon account institute
Corresponding first user.
As previously mentioned, in other examples, sound, fingerprint etc. can be used as the first user characteristics.
S220, when detecting that first user characteristics change, obtain the first user data safe class and
Preset lock-out state.
When user account switching device detects that the first user characteristics change, illustrate that current user is not
User corresponding to logon account, if the page display device of terminal shows the fund account of user, secret at this time
Photo, business documentation etc. are not preferably that other users obtain or the content of viewing, then for the privacy and safety of user, when
Preceding logon account is not preferably that other users are used.It is used if the content that the page of terminal is shown at this time is current logon account
Family prepares film, photo, document for sharing with other users etc., then current logon account can continue to keep.Therefore, at this time
Need the setting of acquisition user.Setting has included at least the safe class of data and preset lock-out state, the safety of data
Grade is preset, and privacy of user, business secret, fund account etc. are all set to high safety grade, and such as
Film, novel, game etc. are set as lower security grade.In addition to this, user can be with self-defined certain accounts or the safety of data
Grade.Preset lock-out state refers to lock operation of the user to page display device content, such as user can be to high safety
The content of pages of grade is locked, and such page can be locked, without switching.If user without locking,
Content of pages may then switch.
In one example, it when user account switching device detects that the first user characteristics change, obtains current
The safe class of page display content and user are to the lock-out state of current display page.
S230 judges whether according to the safe class of first user data and preset lock-out state to the first user
Account switches over.
According to the safe class of step S220 the first user data obtained and preset lock-out state to determine whether right
User account switches over the safety to ensure user data.
Specifically, when detecting that first user characteristics change, judge whether the page locks, if at the page
In lock-out state, then without account handover operation.
Specifically, when detecting that first user characteristics change, judge whether the page locks, if at the page
In unlocked state, then whether the data safety grade for further judging current page is high, if the data safety of current page
Grade is low, is also operated without page layout switch;Only current page safe class be it is high in the case of just switch over operation.
S240 if being switched over to first user account, sends out switching command, so that display page jump is to pre-
If user's login page.
According to the judging result in step S230, if the page is in non-locking state, and safety of account data etc.
Grade is height, then user account switching device sends out switching command;Display device receives switching command, then makes the page currently shown
Face jumps to user's login interface, the high safety grade data of the first user is avoided to be obtained by other users with this.
S250 if not switched over to first user account, sends out holding instruction, so that page display device is protected
Hold current page.
According to the judging result in step S230, if the page is in the lock state or the safe class of account data
To be low, then user account switching device sends out holding instruction, and display device, which receives, keeps instruction, then current page is kept to show
Content it is constant.
In conclusion the present embodiment judges whether user changes by the fisrt feature of the first user of lasting capture,
And account switching is judged whether to when user changes according to the safe class and page locking state of user data.Energy
While the data of enough protection users are not easy to reveal, user is allow to share oneself by the page and agrees to the content shared.
It please refers to Fig.3, the present embodiment proposes a kind of user account switching method, and this method is suitable for implementation shown in FIG. 1
Environment.This method comprises the following steps:
S310. user account switching device persistently obtains the first user's when the first user account is in login status
First user characteristics.
In one example, user apparatus acquisition device can continue to obtain the head portrait letter for the user that terminal photographic device obtains
Breath, i.e., using head image information as the first user characteristics, if the head image information of user does not change, illustrate that active user is
First user when head portrait changes, then illustrates that active user has not been and the first user corresponding to logon account.
In one example, user apparatus acquisition device can continue to obtain the eyes office for the user that terminal photographic device obtains
Portion's information that is, using eyes local message as the first user characteristics, if the eyes local message of user does not change, is said
Bright active user is the first user, when eyes locally change, then illustrates that active user has not been and logon account institute
Corresponding first user.
S320. when user account switching device detects that first user characteristics change, the first user is obtained
The safe class of data and preset page locking state.
When user account switching device detects that the first user characteristics change, illustrate that current user is not
User corresponding to logon account, if the page display device of terminal shows the fund account of user, secret at this time
Photo, business documentation etc. are not preferably that other users obtain or the content of viewing, then for the privacy and safety of user, when
Preceding logon account is not preferably that other users are used.It is used if the content that the page of terminal is shown at this time is current logon account
Family prepares film, photo, document for sharing with other users etc., then current logon account can continue to keep.Therefore, at this time
Need the setting of acquisition user.Setting has included at least the safe class of data and preset lock-out state, the safety of data
Grade is preset, and privacy of user, business secret, fund account etc. are all set to high safety grade, and such as
Film, novel, game etc. are set as lower security grade.In addition to this, user can be with self-defined certain accounts or the safety of data
Grade.Preset lock-out state refers to lock operation of the user to page display device content, such as user can be to high safety
The content of pages of grade is locked, and such page can be locked, without switching.If user without locking,
Content of pages may then switch.
In one example, it when user account switching device detects that the first user characteristics change, obtains current
The safe class of page display content and user are to the lock-out state of current display page.
Page locking is to can come from operation of the user by hardware or the input by page display device.
S330. safe class and preset page locking shape of the user account switching device according to first user data
State judges whether to switch over the first user account.
In one example, by the safe class of user data and preset page locking condition adjudgement whether to first
User account switches over the safe class that can first determine whether user data, and the safe class of user data is to preset
, with the relevant security setting of user data type.As previously mentioned, privacy of user, business secret, fund account etc. all by
It is set as high safety grade, and film, novel, game etc. are set as lower security grade.In addition to this, user can be self-defined
The safe class of certain accounts or data.Preset lock-out state refers to that user grasps the locking of page display device content
Make, such as user can lock the content of pages of high safety grade, such page can be locked, without cutting
It changes.If user may then switch without locking, content of pages.
In one example, by the safe class of user data and preset page locking condition adjudgement whether to first
User account, which switches over, can first determine whether preset page locking state.Page locking state is input by user, is used for
Determine the mark whether page switches over, page locking state can pass through operation of the user for terminal hardware or software
It is preset.For example, user wants another user to be showed to see the high data of certain security level, at this point, for passing through
Page status is set as locking, you can realize the locking of the page.
If S340. being switched over to first user account, user account switching device is sent out to page display device
Go out switching command.
In step S330, if the judgement of user account switching device needs to cut the content that current page is shown
It changes, then sends switching command from user account switching device to page display device.
User account switching device preserves the access data of first user account, and the access data are sent to
Server;The server receives and stores the access data.
Also agree to include the following steps in this process:
S3401, user account switching device preserve the access data of first user account, and by the access data
It is sent to server;The server receives and stores the access data.
S350. page display device makes display page jump to preset use in response to the switching command received
Family login page.
Page display device for showing the page, can show the different pages according to the instruction received.When the page is shown
When showing device receives switching command, the page of display can be made by page jump before to preset user's login page.
If S360. not switched over to first user account, user account switching device is to page display device
Send out holding instruction.
If being not the first user account not to be switched in the judging result of S330, this user account switching device is to page
Flat-panel display device sends out the instruction for keeping current page state.So instant active user, which sends, to be changed, interior shown by the page
Appearance is unaffected.For example, mute will continue to play, there are the files such as fund account, confidential document, pages for the instant page
Face can also send and redirect.
S370. page display device is instructed in response to the holding received, keeps current page.
Page display device will not make the page being currently displaying that any variation occur according to the holding instruction received.
If S380. being switched over to first user account, user account switching device is sent out to page display device
Go out after switching command, user account switching device obtains the second user feature of second user.
In step S350, after user account switching device sends out switching command, user account switching device starts to continue
The user characteristics of active user are obtained, active user is known as second user herein, the user characteristics of acquisition are known as the second use
Family feature.
It is identical with the first user characteristics, second user be characterized in making second user difference other users, have it is significantly special
The feature of point.For example, fisrt feature can be the head portrait of user;The part of user's face is such as eyes, nose, mouth;User
Sound;Fingerprint of user etc..So, second user is characterized in the head portrait of the user identical with the first user characteristics;User
The part of face is such as eyes, nose, mouth;The sound of user;Fingerprint of user etc..
In this step, user account switching device obtains second user feature by terminal peripheral hardware.Terminal peripheral hardware can be with
It is camera, microphone, touch screen etc..
S390. the second user feature is sent to server by user account switching device.
After second user feature is obtained, user account switching device sends second user feature by communication link
To server.
S400. the server receives the second user feature, and inquires and whether there is and the second user feature
Matched second user account, and there are during the second user account return second user account information.
After server receives second user feature, data base querying and second user characteristic matching account whether
In the presence of.If once being registered before second user and binding user characteristics and account information, can be obtained by inquiry
With the second account of second user characteristic matching.If login account or the account registered before be not simultaneously for second user before
It is not bound with second user feature, then the second account with second user characteristic matching can not be obtained by inquiry.
If server inquiry obtains the second user account with second user characteristic matching, server is used second
The information of family account returns to user account switching device.
If server inquiry does not obtain the second user account with second user characteristic matching, server returns to user
Registration message, second user to be reminded to be registered.
S410. user account switching device receives the second user account information that the server returns, and logs in described
Second user account.
If the information of second user account is returned to user account switching device, user account switching dress by server
It puts and receives second user account information, and log in second user account.
In one example, as shown in figure 4, step S410 can also include following sub-step:
S4101, user account switching device receive the second user account information that the server returns, and described second uses
Family account information includes:Account information, safety level information and access record;
S4102, user account switching device log in the second user account, read described access and record, and send out jump
Turn instruction;
S4103, the page display device receive the jump instruction, and jump to the page accessed pointed by record
Face.
The page for accessing and recording and being directed toward is jumped in wherein step S4103 according to jump instruction to be redirected according to setting
To initial page.
S420. the server there is no during the second user account return user's registration message;User account is cut
Changing device receives the user's registration message that the server returns, generation user's registration instruction, so that page display device is jumped
Go to the preset user's registration page.
S430. user account switching device receives the log-on message from the user's registration page, and by the registration
Information is bound with the second user feature, and is sent to server;The server receive the log-on message of the binding with
The second user feature, and register the second user with the log-on message and second user feature association.
In conclusion the present embodiment judges whether user changes by the fisrt feature of the first user of lasting capture,
And account switching is judged whether to when user changes according to the safe class and page locking state of user data, and
Quick registration is realized according to the new user characteristics captured and quickly jumps to user's browsing content.The data of user can be protected
While being not easy to reveal, same equipment being switched fast among different users is realized, it is user-friendly, improve user's body
It tests.
Fig. 5 is please referred to, present embodiments provides a kind of user account switching device, described device includes:
First user characteristics trapping module performs step S210, for when the first user account is in login status, holding
Continuous the first user characteristics for obtaining the first user;
First user data acquisition module performs step S220, for detecting that first user characteristics change
During change, the safe class of the first user data and preset page locking state are obtained;
Switching judging module performs step S230, for the safe class according to first user data and described pre-
Whether the page locking condition adjudgement put switches over the first user account;
Page jump module performs step S240, for when being switched over to first user account, being shown to the page
Showing device sends out switching command, so that current page jumps to pre-set user login page;
The page keeps module, performs step S250, for when not switched over to first user account, to the page
Display device sends out holding instruction, to keep current page.
The implementation of specific module is referred to embodiment shown in Fig. 2.
Fig. 6 is please referred to, present embodiments provides a kind of user account switching device, described device includes:
First user characteristics trapping module is used for when the first user account is in login status, persistently obtaining first
First user characteristics at family;
First user data acquisition module, for when detecting that first user characteristics change, obtaining first
The safe class of user data and preset page locking state;
Switching judging module, for the safe class according to first user data and the preset page locking shape
State judges whether to switch over the first user account;
Page jump module, for when being switched over to first user account, sending out and cutting to page display device
Instruction is changed, so that current page jumps to pre-set user login page;
The page keeps module, for when not switched over to first user account, being sent out to page display device
Instruction is kept, to keep current page.
Second user feature acquisition module, for obtaining the second user feature of second user;
Second user feature sending module, for the second user feature to be sent to server, so that the clothes
Device inquiry be engaged in the presence or absence of second user account with the second user characteristic matching, and there are the second user accounts
When return second user account information;
It receives and login module, for receiving the second user account information that the server returns, and logs in described the
Two user accounts.
Registration message receiving module, for receiving the user's registration message that the server returns, generation user's registration refers to
It enables, so that page display device jumps to the preset user's registration page.
Feature binding module, for receiving the log-on message from the user's registration page, and by the log-on message
It is bound with the second user feature, and binding information is sent to server.
Server receives the log-on message of the binding and the second user feature, and register with the log-on message and
The second user of second user feature association.
As shown in fig. 7, the reception and login module include following submodule:
Log-on message receiving submodule, for receiving the log-on message from the user's registration page, and by the note
Volume information binds to register second user account with the second user feature.
Information receiving submodule, for receiving the second user account information that the server returns, the second user
Account information includes, account information, safe class and the access record of second user account;
Account Logon submodule for logging in the second user account, reads described access and records, and show the page
Device, which jumps to, accesses the pointed page of record.
The implementation of specific module is referred to embodiment shown in Fig. 3.
Fig. 8 is please referred to, present embodiments provides a kind of terminal, the terminal can be used for implementing to provide in above-described embodiment
Content of pages extracting method.Specifically:
Terminal 700 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters
The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (wireless fidelity, Wireless Fidelity) module 170, including there are one or more than one processing core processing
The components such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in figure was not formed to end
The restriction at end can include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein:
RF circuits 110 can be used for receive and send messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, transfer to one or more than one processor 180 is handled;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 110 can also communicate with network and other equipment by radio communication.The wireless communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 120 can be used for storage software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, so as to perform various functions application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data field, wherein, storing program area can storage program area, the application program needed for function (for example broadcast by sound
Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as sound according to terminal 700
Frequency evidence, phone directory etc.) etc..In addition, memory 120 can include high-speed random access memory, can also include non-volatile
Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits
Reservoir 120 can also include Memory Controller, to provide the access of processor 180 and input unit 130 to memory 120.
Input unit 130 can be used for receiving the number inputted or character information and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family on it or neighbouring touch operation (such as user using any suitable object such as finger, stylus or attachment in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and processor 180 can be received
The order sent simultaneously is performed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131;In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for display by information input by user or be supplied to the information of user and terminal 700
Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination.
Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be used
Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) display panel is configured
141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches
After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event
Corresponding visual output is provided on display panel 141.Although in Fig. 10, touch sensitive surface 131 and display panel 141 are conducts
Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display
Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 700 is moved in one's ear
Panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally
Three axis) acceleration size, size and the direction of gravity are can detect that when static, can be used to identify terminal posture application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensors that terminal 700 can also configure, herein
It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 700.Audio
The transformed electric signal of the audio data received can be transferred to loud speaker 161, sound is converted to by loud speaker 161 by circuit 160
Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Audio data is converted to, then after audio data output processor 180 is handled, through RF circuits 110 to be sent to such as another end
Audio data is exported to memory 120 to be further processed by end.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone and terminal 700.
WiFi belongs to short range wireless transmission technology, and terminal 700 can help user's transceiver electronics by WiFi module 170
Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 8 is shown
WiFi module 170, but it is understood that, and must be configured into for terminal 700 is not belonging to, completely it can exist as needed
Do not change in the range of the essence of invention and omit.
Processor 180 is the control centre of terminal 700, utilizes various interfaces and each portion of the entire terminal of connection
Point, it is stored in memory 120 by running or performing the software program being stored in memory 120 and/or module and call
Interior data perform the various functions of terminal 700 and processing data, so as to carry out integral monitoring to terminal.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,
Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 700 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 180 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event
Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 700 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality
It applies in example, the display unit of terminal is touch-screen display, and terminal has further included memory and one or more than one
Program, either more than one program is stored in memory and is configured to by one or more than one processing for one of them
Device performs said one or more than one program and includes the instruction for being operated below:
When the first user account is in login status, the first user characteristics of the first user are persistently obtained;
When detecting that first user characteristics change, the safe class of the first user data and preset is obtained
Page locking state;
According to the safe class of first user data and the preset page locking condition adjudgement whether to first
User account switches over;
If being switched over to first user account, switching command is sent out to page display device, so that current page
Face jumps to pre-set user login page;
If not switched over to first user account, holding instruction is sent out to page display device, to keep working as
The preceding page.
In conclusion the present embodiment judges whether user changes by the fisrt feature of the first user of lasting capture,
And account switching is judged whether to when user changes according to the safe class and page locking state of user data.Energy
While the data of enough protection users are not easy to reveal, user is allow to share oneself by the page and agrees to the content shared.
The part or the technical side that technical solution in the present embodiment substantially in other words contributes to the prior art
The all or part of case can be embodied in the form of software product, which is stored in storage medium, if including
Dry instruction is used so that one or more terminal device performs all or part of the steps of the method according to each embodiment of the present invention.
The division of module/unit described in the present embodiment, only a kind of division of logic function, can have in actual implementation
Other dividing mode, such as multiple units or component may be combined or can be integrated into another device or some features
It can ignore or not perform.Some or all of module/unit therein can be selected according to the actual needs and realized to reach
The purpose of the present invention program.
In addition, each module/unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (20)
1. a kind of user account switching method, which is characterized in that described method includes following steps:
For user account switching device when the first user account is in login status, the first user for persistently obtaining the first user is special
Sign;
When user account switching device detects that first user characteristics change, the safety of the first user data is obtained
Grade and preset page locking state;
User account switching device is according to the safe class and preset page locking condition adjudgement of first user data
It is no that first user account is switched over;
If being switched over to first user account, user account switching device sends out switching to page display device and refers to
It enables;
Page display device makes display page jump to preset user's log in page in response to the switching command received
Face;
If not switched over to first user account, user account switching device sends out holding to page display device and refers to
It enables;
Page display device is instructed in response to the holding received, keeps current page.
2. according to the method described in claim 1, it is characterized in that, the switching command is received in page display device, and jump
It goes to after pre-set user login page, further includes:
User account switching device obtains the second user feature of second user;
The second user feature is sent to server by user account switching device;
The server receives the second user feature, and inquires with the presence or absence of second with the second user characteristic matching
User account, and there are during the second user account return second user account information;
User account switching device receives the second user account information that the server returns, and logs in the second user account
Family.
3. according to the method described in claim 2, it is characterized in that, the server is there is no during the second user account
Return to user's registration message;
User account switching device receives the user's registration message that the server returns, and generation user's registration instructs, so that
Page display device jumps to the preset user's registration page.
4. according to the method described in claim 3, it is characterized in that, user account switching device is received from the user's registration
The log-on message of the page, and the log-on message and the second user feature are bound, and be sent to server;
The server receives the log-on message of the binding and the second user feature, and register with the log-on message and
The second user of second user feature association.
5. according to the method described in claim 3, it is characterized in that, the user account switching device reception server returns
The second user account information returned, and log in the second user account and include:
User account switching device receives the second user account information that the server returns, the second user account information
Including:Account information, safety level information and access record;
User account switching device logs in the second user account, reads described access and records, and send out jump instruction;
The page display device receives the jump instruction, and jumps to the page accessed pointed by record.
6. according to the method described in claim 1, it is characterized in that, the user account switching device is jumped in current page
It is further included before preset login page:User account switching device preserves the access data of first user account, and will
The access data are sent to server;The server receives and stores the access data.
7. a kind of user account switching method, which is characterized in that described method includes following steps:
When the first user account is in login status, the first user characteristics of the first user are persistently obtained;
When detecting that first user characteristics change, the safe class of the first user data and the preset page are obtained
Lock-out state;
According to the safe class of first user data and the preset page locking condition adjudgement whether to the first user
Account switches over;
If being switched over to first user account, switching command is sent out to page display device, so that current page is jumped
Go to pre-set user login page;
If not switched over to first user account, holding instruction is sent out to page display device, to keep current page
Face.
8. the method according to the description of claim 7 is characterized in that jump to pre-set user login page in page display device
Later, it further includes:
Obtain the second user feature of second user;
The second user feature is sent to server, so that server inquiry whether there is and the second user
The second user account of characteristic matching, and there are during the second user account return second user account information;
The second user account information that the server returns is received, and logs in the second user account.
9. according to the method described in claim 8, it is characterized in that, the server is there is no during the second user account
Return to user's registration message;
Receive the user's registration message that the server returns, generation user's registration instruction, so that page display device redirects
To the preset user's registration page.
10. according to the method described in claim 9, it is characterized in that, receive the log-on message from the user's registration page,
And the log-on message and the second user feature are bound to register second user account.
11. the according to the method described in claim 9, it is characterized in that, second user account for receiving the server and returning
Family information, and log in the second user account and include:
The second user account information that the server returns is received, the second user account information includes, second user account
Account information, safe class and the access record at family;
The second user account is logged in, described access is read and records, and it is signified that page display device is made to jump to access record
To the page.
12. if the method according to the description of claim 7 is characterized in that first user account is switched over, current
It is further included before page jump to preset login page:Preserve the access data of first user account before redirecting.
13. a kind of user account switching device, which is characterized in that described device includes following module:
First user characteristics trapping module, for when the first user account is in login status, persistently obtaining the first user's
First user characteristics;
First user data acquisition module, for when detecting that first user characteristics change, obtaining the first user
The safe class of data and preset page locking state;
Switching judging module is sentenced for the safe class according to first user data and the preset page locking state
It is disconnected whether the first user account to be switched over;
Page jump module, for when being switched over to first user account, sending out switching to page display device and referring to
It enables, so that current page jumps to pre-set user login page;
The page keeps module, for when not switched over to first user account, holding to be sent out to page display device
Instruction, to keep current page.
14. device according to claim 13, which is characterized in that described device further includes:
Second user feature acquisition module, for obtaining the second user feature of second user;
Feature sending module, for the second user feature to be sent to server so that the server inquiry whether
In the presence of the second user account with the second user characteristic matching, and there are during the second user account return second use
Family account information;
Reception and login module for receiving the second user account information that the server returns, and log in described second and use
Family account.
15. device according to claim 14, which is characterized in that described device further includes:
Register instruction receiving module, for receiving the user's registration message that the server returns, generation user's registration instructs, with
So that page display device jumps to the preset user's registration page.
16. device according to claim 15, which is characterized in that described device further includes:
Log-on message receiving module, for receiving the log-on message from the user's registration page, and by the log-on message
It binds to register second user account with the second user feature.
17. device according to claim 15, which is characterized in that the reception and login module include:
Information receiving submodule, for receiving the second user account information that the server returns, the second user account
Information includes, account information, safe class and the access record of second user account;
Account Logon submodule for logging in the second user account, reads described access and records, and make page display device
It jumps to and accesses the pointed page of record.
18. device according to claim 13, which is characterized in that the page jump module, which further includes, accesses data preservation
Module, for preserving the access data for redirecting preceding first user account.
19. a kind of client includes the device described in one of claim 13-18.
20. a kind of system, including the device described in one of server, page display device and claim 13-18.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710001806.6A CN108270757B (en) | 2017-01-03 | 2017-01-03 | User account switching method, device, client and system |
PCT/CN2018/070089 WO2018127048A1 (en) | 2017-01-03 | 2018-01-03 | Data display method and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710001806.6A CN108270757B (en) | 2017-01-03 | 2017-01-03 | User account switching method, device, client and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108270757A true CN108270757A (en) | 2018-07-10 |
CN108270757B CN108270757B (en) | 2022-02-18 |
Family
ID=62770657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710001806.6A Active CN108270757B (en) | 2017-01-03 | 2017-01-03 | User account switching method, device, client and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108270757B (en) |
WO (1) | WO2018127048A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110276177A (en) * | 2019-05-24 | 2019-09-24 | 华为技术有限公司 | The login method and electronic equipment of intelligent terminal |
CN110610080A (en) * | 2019-09-19 | 2019-12-24 | 武汉诚迈科技有限公司 | Application isolation implementation method, mobile terminal, computer equipment and storage medium |
CN111131619A (en) * | 2019-12-30 | 2020-05-08 | 广州酷狗计算机科技有限公司 | Account switching processing method, device and system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112016915B (en) * | 2020-08-31 | 2022-09-23 | 支付宝(杭州)信息技术有限公司 | Method and device for providing service for user |
CN116451235B (en) * | 2023-03-27 | 2024-04-09 | 亿咖通(湖北)技术有限公司 | Memory protection method, device, storage medium and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902935A (en) * | 2012-09-26 | 2013-01-30 | 广东欧珀移动通信有限公司 | Mobile terminal privacy protection method and device |
CN102932518A (en) * | 2012-10-30 | 2013-02-13 | 广东欧珀移动通信有限公司 | User login/switching method and system, and mobile terminal |
KR20140011488A (en) * | 2012-05-31 | 2014-01-29 | 에스케이플래닛 주식회사 | Mobile apparatus and method for supporting multi-user in system for supporting multi-user |
CN105827622A (en) * | 2016-04-25 | 2016-08-03 | 乐视控股(北京)有限公司 | Method and device for protecting user information |
CN105868617A (en) * | 2016-03-25 | 2016-08-17 | 维沃移动通信有限公司 | Application encryption method and mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104951682A (en) * | 2015-06-05 | 2015-09-30 | 小米科技有限责任公司 | Privacy protection method and device |
CN105320870B (en) * | 2015-10-28 | 2018-02-23 | 广东欧珀移动通信有限公司 | A kind of unlocked by fingerprint method, device and mobile terminal |
-
2017
- 2017-01-03 CN CN201710001806.6A patent/CN108270757B/en active Active
-
2018
- 2018-01-03 WO PCT/CN2018/070089 patent/WO2018127048A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140011488A (en) * | 2012-05-31 | 2014-01-29 | 에스케이플래닛 주식회사 | Mobile apparatus and method for supporting multi-user in system for supporting multi-user |
CN102902935A (en) * | 2012-09-26 | 2013-01-30 | 广东欧珀移动通信有限公司 | Mobile terminal privacy protection method and device |
CN102932518A (en) * | 2012-10-30 | 2013-02-13 | 广东欧珀移动通信有限公司 | User login/switching method and system, and mobile terminal |
CN105868617A (en) * | 2016-03-25 | 2016-08-17 | 维沃移动通信有限公司 | Application encryption method and mobile terminal |
CN105827622A (en) * | 2016-04-25 | 2016-08-03 | 乐视控股(北京)有限公司 | Method and device for protecting user information |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110276177A (en) * | 2019-05-24 | 2019-09-24 | 华为技术有限公司 | The login method and electronic equipment of intelligent terminal |
CN110610080A (en) * | 2019-09-19 | 2019-12-24 | 武汉诚迈科技有限公司 | Application isolation implementation method, mobile terminal, computer equipment and storage medium |
CN111131619A (en) * | 2019-12-30 | 2020-05-08 | 广州酷狗计算机科技有限公司 | Account switching processing method, device and system |
Also Published As
Publication number | Publication date |
---|---|
WO2018127048A1 (en) | 2018-07-12 |
CN108270757B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104518953B (en) | Method for deleting message, instant communication terminal and system | |
US9703971B2 (en) | Sensitive operation verification method, terminal device, server, and verification system | |
EP3200487B1 (en) | Message processing method and apparatus | |
CN104618217B (en) | Share method, terminal, server and the system of resource | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN104850406B (en) | A kind of method and apparatus for switching the page | |
CN104978115A (en) | Content display method and device | |
CN108270757A (en) | A kind of user account switching method, device, client and system | |
CN104901805B (en) | A kind of identification authentication methods, devices and systems | |
CN103310004A (en) | Method, device and equipment for displaying number of unread messages | |
CN104301315A (en) | Method and device for limiting information access | |
CN106534093B (en) | A kind of processing method of terminal data, apparatus and system | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN104090879A (en) | Picture sharing method, device and system | |
CN106547844A (en) | A kind for the treatment of method and apparatus of user interface | |
CN106231575A (en) | Method for processing short messages and device | |
CN106533917A (en) | Relation chain processing method, device and system | |
CN105553718B (en) | Guidance information display methods and device | |
CN104424203B (en) | Photo in mobile device shares state inspection method and system | |
CN104580251B (en) | A kind of method and apparatus for carrying out authorizing quick registration | |
CN109451295A (en) | A kind of method and system obtaining virtual information | |
CN107153715A (en) | The method and device of add file on the page | |
CN108270660A (en) | The quickly revert method and device of message |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |