CN108270757B - User account switching method, device, client and system - Google Patents

User account switching method, device, client and system Download PDF

Info

Publication number
CN108270757B
CN108270757B CN201710001806.6A CN201710001806A CN108270757B CN 108270757 B CN108270757 B CN 108270757B CN 201710001806 A CN201710001806 A CN 201710001806A CN 108270757 B CN108270757 B CN 108270757B
Authority
CN
China
Prior art keywords
user
page
user account
account
server
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.)
Active
Application number
CN201710001806.6A
Other languages
Chinese (zh)
Other versions
CN108270757A (en
Inventor
韩山骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710001806.6A priority Critical patent/CN108270757B/en
Priority to PCT/CN2018/070089 priority patent/WO2018127048A1/en
Publication of CN108270757A publication Critical patent/CN108270757A/en
Application granted granted Critical
Publication of CN108270757B publication Critical patent/CN108270757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • H04L63/205Network 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple 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 invention discloses a user account switching method, a device, a client and a system, wherein the method comprises the following steps: continuously acquiring first user characteristics of a first user when a first user account is in a login state; when detecting that the first user characteristic changes, acquiring the security level of the first user data and a preset page locking state; judging whether to switch the first user account according to the security level of the first user data and a preset page locking state; if the first user account is switched, a switching instruction is sent to the page display device, so that the current page jumps to a preset user login page; and if the first user account is not switched, sending a holding instruction to the page display device to hold the current page. According to the method and the device, the data of the user can be protected from being easily leaked, the user can share the content which the user agrees to share through the page, switching among different users is realized, and the user experience is greatly improved.

Description

User account switching method, device, client and system
Technical Field
The invention belongs to the technical field of internet, and particularly relates to a user account switching method, device, client and system.
Background
With the gradual popularization of mobile devices and the increasing power of their functions, users have more and more operations on mobile devices, such as watching videos, watching news, playing games, and even working, and at the same time, the functional requirements of users on APPs (APPs) are increasing. In order to improve the user experience of the product, the APP provider needs to upload the operation records of the user, and the operation records of the user need to be acquired through account information. Because many current products cannot force a user to log in, account information of the user is difficult to obtain. In the prior art, the collection of the user account depends on active login of the user, or is distinguished according to an IMEI (International Mobile Equipment Identity, abbreviated as IMEI), even if the user account is collected, the user account which is actually used and operated cannot be distinguished under the condition of inactive login.
In addition, the portability of the mobile device makes the cross use of the mobile device common, and it is necessary to protect private data. Only partial cell-phone has privacy protection function among the prior art, and the user can carry out privacy protection function's operation setting to this type of cell-phone, but can not set up to certain APP alone, and the operation is convenient, nimble, intelligent inadequately, when the quick change user, can't realize privacy protection. Therefore, there is a need to provide a new solution.
Disclosure of Invention
In order to solve the technical problem, the invention provides a user account switching method, a device, a client and a system.
In a first aspect, the present invention provides a method for switching a user account, where the method includes the following steps: the method comprises the steps that when a first user account is in a login state, a user account switching device continuously obtains first user characteristics of a first user; when the user account switching device detects that the first user characteristic changes, the security level of first user data and a preset page locking state are acquired; the user account switching device judges whether to switch the first user account according to the security level of the first user data and a preset page locking state; if the first user account is switched, the user account switching device sends a switching instruction to a page display device; the page display device responds to the received switching instruction, and the display page jumps to a preset user login page; if the first user account is not switched, the user account switching device sends a holding instruction to a page display device; and the page display device responds to the received holding instruction and holds the current page.
In a second aspect, the present invention provides a method for switching user accounts, including the following steps: continuously acquiring first user characteristics of a first user when a first user account is in a login state; when detecting that the first user characteristic changes, acquiring the security level of first user data and a preset page locking state; judging whether to switch the first user account according to the security level of the first user data and the preset page locking state; if the first user account is switched, sending a switching instruction to a page display device so as to enable the current page to jump to a preset user login page; and if the first user account is not switched, sending a holding instruction to a page display device to hold the current page.
In a third aspect, the present invention provides a user account switching apparatus, including the following modules: the first user characteristic capturing module is used for continuously acquiring the first user characteristic of the first user when the first user account is in a login state; the first user data acquisition module is used for acquiring the security level of the first user data and a preset page locking state when detecting that the first user characteristic is changed; the switching judgment module is used for judging whether to switch the first user account according to the security level of the first user data and the preset page locking state; the page skipping module is used for sending a switching instruction to a page display device when the first user account is switched so as to skip the current page to a preset user login page; and the page holding module is used for sending a holding instruction to the page display device to hold the current page when the first user account is not switched.
In a fourth aspect, the present invention provides a client, including the aforementioned user account switching apparatus.
In a fifth aspect, the present invention provides a user account switching system, which includes a server, a page display device, and the user account switching device.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention.
Fig. 2 is a flowchart of a user account switching method according to an embodiment of the present invention;
fig. 3 is a flowchart of a user account switching method according to an embodiment of the present invention;
fig. 4 is a flowchart of a user account switching method according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram of a user account switching apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a system for switching user accounts according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of a user account switching apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic structural diagram of an implementation environment related to the user account switching method provided by the embodiment of the present invention is shown.
The implementation environment comprises a user device 101, the user device 101 includes a page display device 102, a user can read displayed page content and input user information that the user wants to input according to the user display and input device, a user account switching client is installed in the user device, the client is used for implementing the method provided by the embodiment, in addition, the implementation environment also includes a server 104, the server 104 is used for communicating with the user device 101, and the client can perform operations such as inquiry, registration and the like in the server through a communication process; the server is communicatively connected to a database 103.
In one embodiment of the present invention, a method for switching user accounts is provided, as shown in fig. 2, and the method is suitable for the implementation environment shown in fig. 1. The method comprises the following steps:
s210, when the first user account is in a login state, continuously acquiring the first user characteristic of the first user.
When a user uses a forum, browses a website, uses a mailbox, or uses an APP service, the user usually needs to log in with the identity of a registered user to obtain normal use permission of the service or function. In this step, after the user logs in, the user account switching device starts to use the peripheral of the terminal to acquire the features of the user.
Specifically, the user account switching apparatus may use a peripheral of the terminal to acquire, as the first feature, a feature of the first user that is distinguished from other users and has a distinctive feature. For example, the first feature may be an avatar of the user; parts of the user's face such as eyes, nose, mouth, etc.; the sound of the user; a fingerprint of the user, etc.
In one example, the user device obtaining device may continuously obtain the avatar information of the user obtained by the terminal camera device, that is, the avatar information is used as the first user characteristic, if the avatar information of the user is not changed, it indicates that the current user is the first user, and when the avatar is changed, it indicates that the current user is not the first user corresponding to the login account.
In an example, the user device obtaining device may continuously obtain the eye local information of the user obtained by the terminal camera device, that is, the eye local information is used as the first user characteristic, if the eye local information of the user is not changed, it indicates that the current user is the first user, and when the eye local information is changed, it indicates that the current user is not the first user corresponding to the login account.
As previously mentioned, in other examples, a sound, a fingerprint, etc. may be the first user characteristic.
S220, when detecting that the first user characteristic changes, acquiring the security level and the preset locking state of the first user data.
When the user account switching device detects that the first user characteristic is changed, it indicates that the current user is not the user corresponding to the login account, and if the content that the fund account, the private photo, the business document and the like of the user are not suitable for being acquired or viewed by other users is displayed on the page display device of the terminal at this time, the current login account is not suitable for being used by other users for the privacy and safety of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document and the like which are prepared to be shared by the user of the current login account and other users, the current login account can be kept. Therefore, the user setting needs to be acquired at this time. Setting a security level including at least data, which is previously set such as user privacy, trade secrets, fund accounts, etc., to a high security level, and setting a security level such as movies, novels, games, etc., to a low security level, and a preset lock state. In addition, users may customize the security level of certain accounts or data. The preset locking state refers to a locking operation of the content of the page display device by a user, for example, the user can lock the content of a page with a high security level, so that the page can be locked without switching. If the user does not lock, then page content may switch.
In one example, when the user account switching device detects that the first user characteristic is changed, the security level of the display content of the current page and the locking state of the current display page by the user are acquired.
And S230, judging whether to switch the first user account according to the security level of the first user data and a preset locking state.
And judging whether to switch the user account according to the security level of the first user data acquired in the step S220 and the preset locking state to ensure the security of the user data.
Specifically, when detecting that the first user characteristic changes, whether the page is locked is judged, and if the page is in a locked state, the account switching operation is not performed.
Specifically, when detecting that the first user characteristic changes, judging whether a page is locked, if the page is in an unlocked state, further judging whether the data security level of the current page is high, and if the data security level of the current page is low, not performing page switching operation; the switching operation is performed only if the security level of the current page is high.
S240, if the first user account is switched, a switching instruction is sent out so that the display page jumps to a preset user login page.
According to the judgment result in the step S230, if the page is in the non-locked state and the security level of the account data is high, the user account switching device issues a switching instruction; the display device receives the switching instruction, and then the currently displayed page jumps to a user login interface, so that the high-security-level data of the first user is prevented from being acquired by other users.
And S250, if the first user account is not switched, sending a holding instruction to enable the page display device to hold the current page.
According to the judgment result in the step S230, if the page is in the locked state or the security level of the account data is low, the user account switching device issues a holding instruction, the display device receives the holding instruction, and then the content displayed on the current page is kept unchanged.
In summary, in the embodiment, whether the user changes is determined by continuously capturing the first feature of the first user, and whether to perform account switching is determined when the user changes according to the security level and the page locking state of the user data. The method and the device can protect the data of the user from being leaked easily, and enable the user to share the content agreed to be shared through the page.
Referring to fig. 3, the present embodiment provides a method for switching a user account, which is suitable for the implementation environment shown in fig. 1. The method comprises the following steps:
s310, when the first user account is in a login state, the user account switching device continuously acquires the first user characteristic of the first user.
In one example, the user device obtaining device may continuously obtain the avatar information of the user obtained by the terminal camera device, that is, the avatar information is used as the first user characteristic, if the avatar information of the user is not changed, it indicates that the current user is the first user, and when the avatar is changed, it indicates that the current user is not the first user corresponding to the login account.
In an example, the user device obtaining device may continuously obtain the eye local information of the user obtained by the terminal camera device, that is, the eye local information is used as the first user characteristic, if the eye local information of the user is not changed, it indicates that the current user is the first user, and when the eye local information is changed, it indicates that the current user is not the first user corresponding to the login account.
S320, when the user account switching device detects that the first user characteristic changes, the security level of the first user data and the preset page locking state are obtained.
When the user account switching device detects that the first user characteristic is changed, it indicates that the current user is not the user corresponding to the login account, and if the content that the fund account, the private photo, the business document and the like of the user are not suitable for being acquired or viewed by other users is displayed on the page display device of the terminal at this time, the current login account is not suitable for being used by other users for the privacy and safety of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document and the like which are prepared to be shared by the user of the current login account and other users, the current login account can be kept. Therefore, the user setting needs to be acquired at this time. Setting a security level including at least data, which is previously set such as user privacy, trade secrets, fund accounts, etc., to a high security level, and setting a security level such as movies, novels, games, etc., to a low security level, and a preset lock state. In addition, users may customize the security level of certain accounts or data. The preset locking state refers to a locking operation of the content of the page display device by a user, for example, the user can lock the content of a page with a high security level, so that the page can be locked without switching. If the user does not lock, then page content may switch.
In one example, when the user account switching device detects that the first user characteristic is changed, the security level of the display content of the current page and the locking state of the current display page by the user are acquired.
Page locking is an input that may come from a user through operation of hardware, or through a page display device.
S330, the user account switching device judges whether to switch the first user account according to the security level of the first user data and a preset page locking state.
In one example, whether to switch the first user account may be determined by a security level of the user data and a preset page lock state, where the security level of the user data is preset and is a security setting related to a type of the user data. As previously described, such things as user privacy, business secrets, funding accounts, etc. are all set to a high security level, while such things as movies, novels, games, etc. are set to a low security level. In addition, users may customize the security level of certain accounts or data. The preset locking state refers to a locking operation of the content of the page display device by a user, for example, the user can lock the content of a page with a high security level, so that the page can be locked without switching. If the user does not lock, then page content may switch.
In one example, determining whether to switch the first user account based on the security level of the user data and the preset page lock status may first determine the preset page lock status. The page locking state is an identifier which is input by a user and used for determining whether the page is switched, and the page locking state can be preset through the operation of the user on terminal hardware or software. For example, a user wants to show data with a high security level to another user, and at this time, the user sets the page status to be locked, so that the page can be locked.
And S340, if the first user account is switched, the user account switching device sends a switching instruction to the page display device.
In step S330, if the user account switching device determines that the content displayed on the current page needs to be switched, the user account switching device sends a switching instruction to the page display device.
The user account switching device saves the access data of the first user account and sends the access data to a server; the server receives and stores the access data.
The method can further comprise the following steps:
s3401, storing access data of the first user account by a user account switching device, and sending the access data to a server; the server receives and stores the access data.
And S350, the page display device responds to the received switching instruction, and the display page jumps to a preset user login page.
And the page display device is used for displaying pages and displaying different pages according to the received instructions. When the page display device receives the switching instruction, the page display device can enable the displayed page to jump to a preset user login page from a previous page.
And S360, if the first user account is not switched, the user account switching device sends a holding instruction to the page display device.
If the result of the determination not in S330 is that the first user account is not switched, the user account switching device sends an instruction to the page display device to maintain the current page state. Then the content displayed by the page is not affected even though the current user sends a change. For example, the movie picture will continue to play, and the page will send a jump even if the page has files such as a fund account, confidential documents, etc.
And S370, the page display device responds to the received holding instruction and holds the current page.
The page display device does not cause any change to the page currently being displayed according to the received hold instruction.
And S380, if the first user account is switched, the user account switching device acquires the second user characteristics of the second user after sending a switching instruction to the page display device.
In step S350, after the user account switching device issues the switching instruction, the user account switching device starts to continuously acquire the user characteristics of the current user, which is referred to as the second user herein, and the acquired user characteristics are referred to as the second user characteristics.
The second user characteristic is a characteristic of a prominent feature that distinguishes the second user from other users, as with the first user characteristic. For example, the first feature may be an avatar of the user; parts of the user's face such as eyes, nose, mouth, etc.; the sound of the user; a fingerprint of the user, etc. Then, the second user characteristic is the same avatar of the user as the first user characteristic; parts of the user's face such as eyes, nose, mouth, etc.; the sound of the user; a fingerprint of the user, etc.
In this step, the user account switching device obtains the second user characteristic through the terminal peripheral. The terminal peripheral can be a camera, a microphone, a touch screen and the like.
And S390, the user account switching device sends the second user characteristic to a server.
After acquiring the second user characteristic, the user account switching device sends the second user characteristic to the server through the communication link.
S400, the server receives the second user characteristics, inquires whether a second user account matched with the second user characteristics exists or not, and returns second user account information when the second user account exists.
After receiving the second user characteristic, the server inquires whether an account matched with the second user characteristic exists in the database. If the second user has previously registered and bound the user characteristics to the account information, a second account matching the second user characteristics may be obtained by querying. If the second user does not register an account before or the previously registered account is not bound to the second user characteristic, the second account matching the second user characteristic cannot be acquired through inquiry.
And if the server queries and obtains a second user account matched with the second user characteristic, the server returns the information of the second user account to the user account switching device.
And if the server queries that the second user account matched with the second user characteristic is not obtained, the server returns a user registration message to remind the second user to register.
And S410, the user account switching device receives second user account information returned by the server and logs in the second user account.
And if the server returns the information of the second user account to the user account switching device, the user account switching device receives the information of the second user account and logs in the second user account.
In one example, as shown in fig. 4, step S410 may further include the following sub-steps:
s4101, the user account switching device receives second user account information returned by the server, where the second user account information includes: account information, security level information and access records;
s4102, the user account switching device logs in the second user account, reads the access record and sends a jump instruction;
s4103, the page display device receives the jump instruction and jumps to the page pointed by the access record.
Wherein, in step S4103, the jump to the page pointed by the access record according to the jump instruction can also jump to the initial page according to the setting.
S420, the server returns a user registration message when the second user account does not exist; and the user account switching device receives the user registration message returned by the server and generates a user registration instruction so as to enable the page display device to jump to a preset user registration page.
S430, the user account switching device receives registration information from the user registration page, binds the registration information with the second user characteristics and sends the registration information to a server; and the server receives the bound registration information and the second user characteristic and registers the second user associated with the registration information and the second user characteristic.
In summary, in the embodiment, whether the user changes is determined by continuously capturing the first feature of the first user, whether account switching is performed is determined when the user changes according to the security level and the page locking state of the user data, and fast login and fast skip to the user to browse the content are achieved according to the captured new user feature. The data of the user can be protected from being leaked easily, the same equipment can be switched between different users quickly, the use of the user is facilitated, and the user experience is improved.
Referring to fig. 5, the present embodiment provides a user account switching apparatus, including:
the first user characteristic capturing module executes step S210, and is configured to continuously obtain a first user characteristic of a first user when the first user account is in a login state;
the first user data obtaining module executes step S220, and is configured to obtain a security level of first user data and a preset page locking state when detecting that the first user characteristic changes;
the switching judgment module executes step S230, and is configured to judge whether to switch the first user account according to the security level of the first user data and the preset page locking state;
the page jump module executes step S240, and is configured to send a switching instruction to a page display device when the first user account is switched, so that the current page jumps to a preset user login page;
and the page holding module executes step S250, and is configured to issue a holding instruction to the page display device to hold the current page when the first user account is not switched.
The implementation of the specific modules can refer to the embodiment shown in fig. 2.
Referring to fig. 6, the present embodiment provides a user account switching apparatus, including:
the first user characteristic capturing module is used for continuously acquiring the first user characteristic of the first user when the first user account is in a login state;
the first user data acquisition module is used for acquiring the security level of the first user data and a preset page locking state when detecting that the first user characteristic is changed;
the switching judgment module is used for judging whether to switch the first user account according to the security level of the first user data and the preset page locking state;
the page skipping module is used for sending a switching instruction to a page display device when the first user account is switched so as to skip the current page to a preset user login page;
and the page holding module is used for sending a holding instruction to the page display device to hold the current page when the first user account is not switched.
The second user characteristic acquisition module is used for acquiring second user characteristics of a second user;
the second user characteristic sending module is used for sending the second user characteristics to a server so that the server inquires whether a second user account matched with the second user characteristics exists or not, and returns second user account information when the second user account exists;
and the receiving and logging module is used for receiving the second user account information returned by the server and logging in the second user account.
And the registration message receiving module is used for receiving the user registration message returned by the server and generating a user registration instruction so as to enable the page display device to jump to a preset user registration page.
And the characteristic binding module is used for receiving the registration information from the user registration page, binding the registration information with the second user characteristic and sending the binding information to a server.
And the server receives the bound registration information and the second user characteristic and registers the second user associated with the registration information and the second user characteristic.
As shown in fig. 7, the receiving and logging module includes the following sub-modules:
and the registration information receiving submodule is used for receiving the registration information from the user registration page and binding the registration information with the second user characteristic to register a second user account.
The information receiving submodule is used for receiving second user account information returned by the server, wherein the second user account information comprises account information, security level and access records of a second user account;
and the account login sub-module is used for logging in the second user account, reading the access record and enabling the page display device to jump to the page to which the access record points.
The specific module can be implemented by referring to the embodiment shown in fig. 3.
Referring to fig. 8, the present embodiment provides a terminal, and the terminal may be configured to implement the page content extracting method provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal 700 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a WiFi (wireless fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structures shown in the figures are not intended to be limiting of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required by functions (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 700, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave; in addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 700, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 8, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 700 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or a backlight when the terminal 700 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and can be used for applications of recognizing terminal gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 700, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 700. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of a peripheral headset with the terminal 700.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 700 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 700 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 700, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal 700 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the terminal. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal 700 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 700 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
continuously acquiring first user characteristics of a first user when a first user account is in a login state;
when detecting that the first user characteristic changes, acquiring the security level of first user data and a preset page locking state;
judging whether to switch the first user account according to the security level of the first user data and the preset page locking state;
if the first user account is switched, sending a switching instruction to a page display device so as to enable the current page to jump to a preset user login page;
and if the first user account is not switched, sending a holding instruction to a page display device to hold the current page.
In summary, in the embodiment, whether the user changes is determined by continuously capturing the first feature of the first user, and whether to perform account switching is determined when the user changes according to the security level and the page locking state of the user data. The method and the device can protect the data of the user from being leaked easily, and enable the user to share the content agreed to be shared through the page.
The technical solution in this embodiment may be essentially or partially contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable one or more terminal devices to execute all or part of the steps of the method according to each embodiment of the present invention.
The division of the modules/units described in this embodiment is only a logical function division, and other division manners may be available in actual implementation, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. Some or all of the modules/units can be selected according to actual needs to achieve the purpose of implementing the scheme of the invention.
In addition, each module/unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (20)

1. A user account switching method is characterized by comprising the following steps:
the method comprises the steps that when a first user account is in a login state, a user account switching device continuously obtains first user characteristics of a first user;
when the user account switching device detects that the first user characteristic is changed, acquiring a security level of first user data and a preset page locking state, wherein the security level is security setting related to the type of the user data, and the page locking state is an identifier which is input by a user and used for determining page switching;
the user account switching device judges whether the page is locked or not;
if the page is in an unlocked state, judging whether the security level of the account data of the page is high or not; if the security level of the account data is high, the user account switching device sends a switching instruction to a page display device;
the page display device responds to the received switching instruction, and the display page jumps to a preset user login page;
if the page is in a locking state, the user account switching device sends a holding instruction to the page display device;
and the page display device responds to the received holding instruction and holds the current page.
2. The method according to claim 1, wherein after the page display device receives the switching instruction and jumps to a preset user login page, the method further comprises:
the user account switching device acquires a second user characteristic of a second user;
the user account switching device sends the second user characteristic to a server;
the server receives the second user characteristics, inquires whether a second user account matched with the second user characteristics exists or not, and returns second user account information when the second user account exists;
and the user account switching device receives second user account information returned by the server and logs in the second user account.
3. The method of claim 2, wherein the server returns a user registration message when the second user account is not present;
and the user account switching device receives the user registration message returned by the server and generates a user registration instruction so as to enable the page display device to jump to a preset user registration page.
4. The method of claim 3, wherein the user account switching device receives registration information from the user registration page, binds the registration information with the second user characteristic, and sends the registration information to a server;
and the server receives the bound registration information and the second user characteristic and registers the second user associated with the registration information and the second user characteristic.
5. The method according to claim 3, wherein the user account switching device receives second user account information returned by the server, and the logging in the second user account comprises:
the user account switching device receives second user account information returned by the server, wherein the second user account information comprises: account information, security level information and access records;
the user account switching device logs in the second user account, reads the access record and sends a jump instruction;
and the page display device receives the jump instruction and jumps to the page pointed by the access record.
6. The method of claim 1, wherein the user account switching device further comprises, before the current page jumps to the preset login page: the user account switching device saves the access data of the first user account and sends the access data to a server; the server receives and stores the access data.
7. A user account switching method is characterized by comprising the following steps:
continuously acquiring first user characteristics of a first user when a first user account is in a login state;
when detecting that the first user characteristic changes, acquiring a security level of first user data and a preset page locking state, wherein the security level is security setting related to a user data type, and the page locking state is an identifier which is input by a user and used for determining page switching;
judging whether the page is locked;
if the page is in an unlocked state, judging whether the security level of the account data of the page is high or not; if the security level of the account data is high, a switching instruction is sent to a page display device, so that the current page jumps to a preset user login page;
and if the page is in a locking state, sending a holding instruction to a page display device to hold the current page.
8. The method of claim 7, further comprising, after the page display device jumps to the preset user login page:
acquiring a second user characteristic of a second user;
sending the second user characteristics to a server so that the server inquires whether a second user account matched with the second user characteristics exists or not, and returning second user account information when the second user account exists;
and receiving second user account information returned by the server, and logging in the second user account.
9. The method of claim 8, wherein the server returns a user registration message when the second user account is not present;
and receiving the user registration message returned by the server, and generating a user registration instruction so as to enable the page display device to jump to a preset user registration page.
10. The method of claim 9, wherein registration information is received from the user registration page and bound to the second user characteristic to register a second user account.
11. The method of claim 9, wherein the receiving second user account information returned by the server and logging in the second user account comprises:
receiving second user account information returned by the server, wherein the second user account information comprises account information, security level and access record of a second user account;
and logging in the second user account, reading the access record, and enabling the page display device to jump to the page to which the access record points.
12. The method of claim 7, wherein if the first user account is switched, before the current page jumps to a preset login page, further comprising: and storing the access data of the first user account before the jump.
13. A user account switching device is characterized by comprising the following modules:
the first user characteristic capturing module is used for continuously acquiring the first user characteristic of the first user when the first user account is in a login state;
the first user data acquisition module is used for acquiring the security level of the first user data and a preset page locking state when detecting that the first user characteristic is changed, wherein the security level is security setting related to the type of the user data, and the page locking state is an identifier which is input by a user and used for determining page switching;
the switching judgment module is used for judging whether the page is locked or not; if the page is in an unlocked state, judging whether the security level of the account data of the page is high or not;
the page skipping module is used for sending a switching instruction to the page display device when the security level of the account data is high so as to skip the current page to a preset user login page;
and the page holding module is used for sending a holding instruction to the page display device when the page is in a locking state so as to hold the current page.
14. The apparatus of claim 13, further comprising:
the second user characteristic acquisition module is used for acquiring second user characteristics of a second user;
the characteristic sending module is used for sending the second user characteristic to a server so that the server inquires whether a second user account matched with the second user characteristic exists or not, and returns second user account information when the second user account exists;
and the receiving and logging module is used for receiving the second user account information returned by the server and logging in the second user account.
15. The apparatus of claim 14, further comprising:
and the registration instruction receiving module is used for receiving the user registration message returned by the server and generating a user registration instruction so as to enable the page display device to jump to a preset user registration page.
16. The apparatus of claim 15, further comprising:
and the registration information receiving module is used for receiving the registration information from the user registration page and binding the registration information with the second user characteristics to register a second user account.
17. The apparatus of claim 15, wherein the receiving and logging module comprises:
the information receiving submodule is used for receiving second user account information returned by the server, wherein the second user account information comprises account information, security level and access records of a second user account;
and the account login sub-module is used for logging in the second user account, reading the access record and enabling the page display device to jump to the page to which the access record points.
18. The apparatus of claim 13, wherein the page jump module further comprises an access data saving module configured to save access data of the first user account before the jump.
19. A client comprising the apparatus of any one of claims 13-18.
20. A system comprising a server, a page display device and the device of one of claims 13-18.
CN201710001806.6A 2017-01-03 2017-01-03 User account switching method, device, client and system Active CN108270757B (en)

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 CN108270757A (en) 2018-07-10
CN108270757B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840842A (en) * 2019-05-24 2022-08-02 华为技术有限公司 Login method of intelligent terminal and electronic equipment
CN110610080B (en) * 2019-09-19 2022-02-22 武汉统信软件技术有限公司 Application isolation implementation method, mobile terminal, computer equipment and storage medium
CN111131619B (en) * 2019-12-30 2021-04-27 广州酷狗计算机科技有限公司 Account switching processing method, device and system
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN108270757A (en) 2018-07-10
WO2018127048A1 (en) 2018-07-12

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
TWI606360B (en) Method, apparatus and system for detecting webpages
US10853437B2 (en) Method and apparatus for invoking application programming interface
EP3200487B1 (en) Message processing method and apparatus
CN108270757B (en) User account switching method, device, client and system
US20190215364A1 (en) Data processing method, storage medium, and electronic device
CN106778175B (en) Interface locking method and device and terminal equipment
CN104852885B (en) Method, device and system for verifying verification code
CN108924037B (en) Display method of rich media communication RCS message and mobile terminal
WO2015090248A1 (en) Server overload protection method and device
US20160105418A1 (en) Method, system, device, and terminal for network initialization of multimedia playback device
US10652287B2 (en) Method, device, and system for managing information recommendation
US10657347B2 (en) Method for capturing fingerprint and associated products
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN107743108B (en) Method and device for identifying medium access control address
CN108270764B (en) Application login method, server and mobile terminal
CN107045610B (en) Data migration method, terminal device and computer readable storage medium
US10599866B2 (en) Method and system for protecting personal information based on mobile terminal and the mobile terminal
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
US11327845B2 (en) Image synchronization method and device, and server
CN105791253B (en) Method and device for acquiring authentication information of website
CN106304087B (en) Anti-wifi hijacking method and device
CN111182141B (en) Method, device and storage medium for acquiring state of terminal device
CN111966271B (en) Screen panorama screenshot method and device, terminal equipment and storage medium
CN112367703B (en) Frequency band registration method and device of identification card, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant