WO2018127048A1 - Data display method and device, and storage medium - Google Patents

Data display method and device, and storage medium Download PDF

Info

Publication number
WO2018127048A1
WO2018127048A1 PCT/CN2018/070089 CN2018070089W WO2018127048A1 WO 2018127048 A1 WO2018127048 A1 WO 2018127048A1 CN 2018070089 W CN2018070089 W CN 2018070089W WO 2018127048 A1 WO2018127048 A1 WO 2018127048A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
user
biometric
account
terminal device
Prior art date
Application number
PCT/CN2018/070089
Other languages
French (fr)
Chinese (zh)
Inventor
韩山骏
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018127048A1 publication Critical patent/WO2018127048A1/en

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

Definitions

  • the present invention belongs to the field of Internet technologies, and in particular, to a data display method, apparatus, and storage medium.
  • a user views data using a terminal device
  • others may see the data viewed by the user through the terminal device, which may cause the user's privacy to be known by others.
  • a user browses a webpage using a PC or a laptop
  • others may take the opportunity to view the content or browsing history of the user.
  • the user uses a public terminal server to conduct business, such as withdrawing money from an ATM machine, purchasing a train ticket from an automatic ticket vending machine, etc., if the user forgets to take the bank card or quit the login after completing the business, others may use the user to inadvertently use the user. Account or steal user account data.
  • the present invention proposes a data display method, apparatus, and storage medium.
  • the application example provides a data display method, which is applied to a terminal device, and the method includes the following steps:
  • the application examples also provide a data display device comprising a processor and a memory, the memory comprising computer readable instructions executable by the processor for:
  • the application examples also provide a data display device comprising a processor and a memory, the memory comprising computer readable instructions executable by the processor for:
  • the first data is made invisible when the second biometric is different from the first biometric.
  • the application examples also provide a computer readable storage medium storing computer readable instructions that cause at least one processor to perform the method as described above.
  • FIG. 1A is a schematic diagram of an application scenario provided by an embodiment of the present invention.
  • FIG. 1B is a flowchart of a data display method according to 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 user account switching system 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.
  • the embodiment of the present invention provides a data display method, device, and storage medium, and also provides a user account switching method, device, client, and system.
  • FIG. 1A an implementation of the embodiment of the present invention is shown. Schematic diagram of the environment.
  • the implementation environment includes a user device 101 configured.
  • user device 101 can be a personal terminal device such as a cell phone, tablet, laptop, desktop computer, and the like.
  • user device 101 can be a public service device, such as an ATM, a ticket vending machine, or the like.
  • the user device 101 includes a page display device 102, and the user can read the displayed page content according to the display device.
  • the user device 101 may further include an input device through which the user inputs user information that the user wants to input.
  • the display device 102 is a touch screen, the display device 102 and the input device may be integrated.
  • a client is installed in the user equipment, and the client is used to display data, for example, the client is a browser client.
  • the implementation environment further includes a server 104 for communicating with the user device 101, and the client on the user device 101 can query information on the server through communication with the server 104 while communicating with the server 104. You can perform operations such as account registration.
  • the server is in communication with the database 103, and the server 104 can also be directly connected to the database 103.
  • the present application provides a data display method, which is applied to a terminal device, such as the user device 101 in FIG. 1A. As shown in FIG. 1B, the method includes the following steps:
  • S101 Acquire a first biometric of a user associated with an account that is logged in to the terminal device, and display data of the user on a first page.
  • the first biometric feature may be a feature of the user's facial organs, such as a contour feature of the eyes, nose, mouth, face, etc., or a user's fingerprint, iris, etc., or may be a user's voice feature, and the like.
  • the terminal device can obtain the account corresponding to the user and obtain the first biometric associated with the account.
  • the terminal device may obtain a pre-stored first biometric associated with the account from the storage device of the terminal device.
  • the terminal device may obtain the first biometric associated with the account from a remote device (eg, a server, etc.) over a network.
  • the first biometric stored in advance may be the first biometric collected by the user when registering the account, and stored in the terminal device or the server in association with the account of the user. In some examples, the first biometric stored in advance may be the first biometric collected when the user successfully logs in to the account, and stored in the terminal device or the server in association with the account of the user.
  • the method of each embodiment may be performed by an application in the terminal device, such as client software (hereinafter referred to as a client).
  • client software hereinafter referred to as a client.
  • the client may be a client that provides various services, such as an instant messaging client, a mail client, a social client, a shopping client, a bank client, an online payment client, etc.; correspondingly, the user
  • the account can be an instant messaging account, a mail account, a social account, a bank account, a shopping account, an online payment account, and the like.
  • the account of the login terminal device refers to the terminal device recording the identifier corresponding to the user, and the user is the user who currently uses the terminal device.
  • the identifier corresponding to the user recorded by the terminal device may be a biometric feature of the user (the terminal device acquires the biometric feature of the user, and the corresponding user is the user who currently uses the terminal device, where the account is a biometric feature), and may also be a user corresponding The account number (in response to the user logging in through the account, the user corresponding to the account is used as the user currently using the terminal device, where the account is the user account).
  • the client in the user equipment 101 is a browser
  • the browser acquires the first biometric corresponding to the account currently in the login state.
  • the browser may obtain the first biometric associated with the login account after the user logs in the account, or may obtain the first biometric of the default login account at runtime.
  • the data of the user displayed on the first page may include data corresponding to the user account, such as the user's personal homepage, buddy list, mailing list, social message, account balance, shopping history, payment information, and the like.
  • the user's data may also include public content on the network that the user is requesting to view, such as a search engine's search results page, a page of the website visited by the user, and the like. Users may not want others to know that they are accessing these pages, so the data displayed on these pages can also be considered part of the user's privacy and needs to be protected.
  • S102 Acquire a second biometric by using a biometric collection device of the terminal device.
  • the biometric collection device is a device for acquiring biometrics from a living body, and may include a camera, a microphone, a fingerprint collector, an iris recognition device, and the like.
  • the biometric collection device may be a device embedded in the terminal device or a standalone device that the terminal device can control through a wired or wireless connection.
  • the terminal device can take a user who uses the terminal by using the built-in front camera to obtain a facial image of the user.
  • the terminal device can use the fingerprint extraction device that is provided to acquire the fingerprint of the user when the user touches the fingerprint extraction component (for example, a fingerprint extraction component such as a button, a touch screen, or the like).
  • S103 Jump to the second page when it is determined that the second biometric is different from the first biometric.
  • the second page does not include data of the user.
  • the terminal device may acquire the second biometric after acquiring the first biometric, or may acquire the second biometric at predetermined time intervals.
  • the second biometric is different from the first biometric
  • the current user using the terminal device is no longer the user corresponding to the first biometric.
  • the data protection function is activated, and the terminal device jumps to the second.
  • the page does not display the data of the user corresponding to the first biometric on the second page, thereby protecting the privacy of the user who logs in the account.
  • the method when the determining that the second biometric is different from the first biometric, when jumping to the second page, the method includes the following steps:
  • the determination can be made from the quantity or the feature.
  • the biometric is a user's facial image
  • the facial image of the user using the terminal is collected by the camera of the terminal, and when the current user is determined to be two or more according to the collected facial features, the terminal device is used.
  • the user must include other users than the user who logs in to the account.
  • the terminal device may extract a facial feature according to the collected facial image, for example, extract features of the eyes, the nose, and the mouth, and determine that the features of the eyes, the nose, and the mouth corresponding to the second feature correspond to the first feature. Whether the characteristics of the eyes, nose, and mouth are the same. When not, the current user who uses the terminal device is no longer the user who logs in to the account, and jumps to the second page.
  • the terminal device may acquire a page locking state of the first page, the page locking state indicating whether the user allows the The first page is displayed to another user; when the page lock status indicates that the user does not allow the first page to be presented to another user, jump to the second page.
  • the page lock status is set by the user to indicate whether the user who logs in the account allows the first page to be displayed to another user.
  • the terminal device can provide the user with an option to record the page lock status selected by the user.
  • a browser can display a lock control on an interface, such as on a displayed page.
  • the browser records the page lock status set by the user on the page according to the user's operation on the lock control (such as clicking, or not clicking, etc.).
  • the terminal device may set the page lock state of the page to be locked, that is, when the second biometric is different from the first biometric, Jump to the second page.
  • the terminal device may set the page lock state of the page to be unlocked, and jump when the second biometric is different from the first biometric. Go to the second page to protect the data of the user who logged into the account.
  • the terminal device may acquire a security level of the first page, the security level being provided by a source of the first page The degree of association of the service with the user's privacy; when the security level of the first page satisfies the predetermined condition, jumping to the second page.
  • the terminal device can obtain the security level of the page from the information of the page.
  • the terminal device can determine the degree of association between the data in the page and the user's privacy according to the website to which the page belongs. For example, if the page is a page provided by a bank website, the data of the page is considered to be highly correlated with user privacy, and thus has a high security level.
  • the terminal device can utilize the URL of the page to determine the degree of association of the data in the page with the privacy of the user. For example, URL keywords corresponding to different security levels may be set in advance, and the security level of the page is determined according to whether the keywords exist in the URL.
  • the security level can be divided into at least two levels, such as high and low. When the security level is high, jump to the second page. When the security level is low, no jump is made. Therefore, when the user who uses the terminal device changes, the data of the user who logs in the account has a high security level.
  • the security level of the first page is the degree of association between the service provided by the source of the first page and the user's privacy.
  • the security level of the website to which the first page belongs can be used as the security level of the first page. Users can preset the security level of certain websites. For example, if the security level of a mailbox website is set to high, the security level of all mail pages under the mailbox website is high.
  • the locked state of the first page is acquired, and when the locked state of the first page is locked, no jump is performed.
  • the security level of the first page is further obtained.
  • the security level of the first page is high, the second page is jumped; otherwise, the jump is not performed.
  • the terminal device may acquire a page locking state of the first page, and use the biometric feature of the terminal device when the page locking state indicates that the user does not allow the first page to be displayed to another user.
  • the device acquires a second biometric.
  • the locked state of the first page is non-locked, that is, when the user does not allow the first page to be displayed to another user
  • the second biometric is acquired, and it is determined whether the second biometric is the same as the first biometric. Thereby determining whether to jump to the second page.
  • the locked state of the first page is locked, the user is allowed to display the first page to other users at this time, and there is no need to jump to the second page or collect the second biometric.
  • the terminal device may acquire the security level of the first page, and when the security level of the first page meets the predetermined condition, acquire the second biometric by using the biometric collection device of the terminal device.
  • the security level of the first page is high
  • the second biometric is acquired, and the second biometric is compared with the first biometric to determine whether a jump to the second page is needed. Therefore, when the user who uses the terminal device changes, the data of the user who logs in the account has a high security level.
  • the lock status of the first page is obtained first, and when the lock status of the first page is non-locked, the security level of the first page is further acquired, and when the security level is high, the second biometric is acquired. That is, when the state of the first page is not locked, and the security level of the first page is high, the second biometric is acquired.
  • the second page is a user login page.
  • the new user performs login or registration operation of the account through the user login page.
  • the second biometric matching second account when the second biometric matching second account is queried in the server, the user indicating that the second biometric matching is previously registered, at which time the user is allowed to log in directly, and the second page is displayed in the second page.
  • the data corresponding to the account for example, shows the page that the second user browsed before the last exit.
  • the second account is set to log in to the account of the terminal device, and then the data corresponding to the second account is protected.
  • the server is queried for a second account that matches the second biometric; when it is determined that the second account does not exist in the server, the user registration page is displayed as the second page.
  • the registration information entered by the third user is obtained through the registration page, and the third biometric of the third user is obtained; and the registration information and the third biometric are saved to the server.
  • the registration information is stored in association with the user's biometrics to the server for user registration.
  • the registration information includes information such as an account and a password registered by the user.
  • the server when the determining that the second biometric is different from the first biometric, acquiring an access record of the user, and transmitting the access data to a server, so that the server accesses the access The data is saved in association with the user's account;
  • an access record associated with the account of the user is obtained from a server, and at least one page corresponding to the access record is displayed.
  • the access record of the user who logged in to the account is sent to the server for saving.
  • the user's access record may include an identifier of a page that the user has visited.
  • the page that is viewed before the user quits is opened according to the access record associated with the user's account, such as displaying the last viewed page before the last exit, or displaying all the pages viewed by the user before the last exit.
  • the browser saves the user's cookie and updates the cookie based on the user's access behavior.
  • the browser sends the user's cookie to the server for saving.
  • the server can obtain a user's access record, according to which the user can be provided with a better service, such as recommending information of interest to the user.
  • a better service such as recommending information of interest to the user.
  • the user is distinguished according to IMEI (International Mobile Equipment Identity, IMEI), in the case of mobile device cross-use, in the case of non-active login, it is still impossible to distinguish Users who use and operate terminal devices.
  • IMEI International Mobile Equipment Identity
  • the access record of the user is saved in association with the first biometric before jumping to the second page; after the jump to the second page, biometrics of the terminal device are utilized
  • the acquiring device acquires a fourth biometric; when the fourth biometric is the same as the first biometric, acquiring an access record of the user according to the fourth biometric; and displaying at least one page corresponding to the access record.
  • the terminal device saves the access record of the user who logged in to the account, and stores the access record in association with the first biometric of the user who logged in to the account.
  • the biometrics collection device of the terminal device may collect the fourth biometric feature at predetermined time intervals, and when the collected fourth biometric feature is the same as the first biometric feature, indicating that the terminal device is used. If the user is the user corresponding to the first biometric, the access record may be acquired according to the collected fourth biometric. At this time, according to the access record saved by the first biometric association, the page that the user browsed before is restored.
  • the access record cannot be obtained according to the collected fourth biometric, and the user's data corresponding to the first biometric cannot be displayed. That is, user A cannot view the page that user B browsed before, and only user B can view the previously viewed page, thereby effectively protecting the user's data.
  • the method when the obtaining the first biometric of the user associated with the account associated with the terminal device is performed, the method includes the steps of: acquiring an image by the camera, and acquiring a human facial feature from the image.
  • performing the obtaining the first biometric of the user associated with the account that is logged into the terminal device includes:
  • a human voice feature is obtained from the sound.
  • the data display method provided by the present application is applied to a mobile device to private data of users in the mobile device, such as various behaviors of the user on the mobile device, such as watching videos, watching news, playing games, Office, generated data, protected.
  • FIG. 2 is a flowchart of a user account switching method according to an embodiment of the present application. This method is applicable to the implementation environment shown in Figure 1A. The method includes:
  • the first user feature of the first user is continuously acquired when the first user account is in the login state.
  • the user account switching device starts to use the peripheral device of the terminal to acquire the feature of the user.
  • the currently logged-in user is referred to as the first user.
  • the user account switching apparatus may use the peripheral device of the terminal to acquire, as the first feature, a feature that the first user distinguishes other users from having distinctive features.
  • the first feature may be an avatar of the user; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like.
  • the user device acquiring device continuously obtains the avatar information of the user acquired by the terminal camera device, that is, the avatar information is used as the first user feature, and if the avatar information of the user does not change, the current user is the first user. When the avatar changes, it indicates that the current user is not the first user corresponding to the login account.
  • the user device acquiring device continuously acquires the eye local information of the user acquired by the terminal camera device, that is, the eye local information is used as the first user feature, and if the user's eye local information does not change, the current user is the first user.
  • the user when the eye changes locally, indicates that the current user is not the first user corresponding to the login account.
  • sounds, fingerprints, etc. may be used as the first user feature.
  • the current user is not the user corresponding to the login account, and if the page display device of the terminal displays the user's fund account, private photo, and business file at this time.
  • the current login account should not be used by other users for the privacy and security of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document, etc. that the user currently registered to log in to share with other users, the current login account can continue to be maintained. Therefore, it is necessary to obtain the user's settings at this time.
  • the setting includes at least the security level of the data and the preset lock status.
  • the security level of the data is preset, such as user privacy, trade secrets, fund accounts, etc. are set to a high security level, such as movies, novels. , games, etc. are set to a low security level.
  • users can customize the security level of certain accounts or data.
  • the preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
  • the security level of the current page display content and the user's locked state for the currently displayed page are obtained.
  • S230 Determine, according to the security level of the first user data and the preset locking state, whether to switch the first user account.
  • the security level of the first user data acquired in step S220 and the preset locking state it is determined whether to switch the user account to ensure the security of the user data.
  • determining whether the page is locked if the page is in an unlocked state, further determining whether the data security level of the current page is high, if the data security level of the current page is low.
  • the page switching operation is also not performed; the switching operation is performed only when the current page security level is high.
  • step S230 if the page is in the unlock 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 causes the currently displayed page to jump to the user login Interface to avoid high security level data of the first user being acquired by other users.
  • step S230 if the page is in the locked state, or the security level of the account data is low, the user account switching means issues a hold instruction, the display means receives the hold instruction, and then keeps the content displayed on the current page unchanged.
  • the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page lock state.
  • the ability to protect the user's data is not easy to leak, while allowing users to share what they agree to share through the page.
  • this embodiment proposes a user account switching method, which is applicable to the implementation environment shown in FIG. 1A.
  • the method comprises the following steps:
  • S310 The user account switching device continuously acquires the first user feature of the first user when the first user account is in the login state.
  • the user device acquiring device continuously obtains the avatar information of the user acquired by the terminal camera device, that is, the avatar information is used as the first user feature, and if the avatar information of the user does not change, the current user is the first user. When the avatar changes, it indicates that the current user is not the first user corresponding to the login account.
  • the user device acquiring device continuously acquires the eye local information of the user acquired by the terminal camera device, that is, the eye local information is used as the first user feature, and if the user's eye local information does not change, the current user is the first user.
  • the user when the eye changes locally, indicates that the current user is not the first user corresponding to the login account.
  • S320 Acquire a security level of the first user data and a preset page locking state when the user account switching device detects that the first user feature changes.
  • the current user is not the user corresponding to the login account, and if the page display device of the terminal displays the user's fund account, private photo, and business file at this time.
  • the current login account should not be used by other users for the privacy and security of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document, etc. that the user currently registered to log in to share with other users, the current login account can continue to be maintained. Therefore, it is necessary to obtain the user's settings at this time.
  • the setting includes at least the security level of the data and the preset lock status.
  • the security level of the data is preset, such as user privacy, trade secrets, fund accounts, etc. are set to a high security level, such as movies, novels. , games, etc. are set to a low security level.
  • users can customize the security level of certain accounts or data.
  • the preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
  • the security level of the current page display content and the user's locked state for the currently displayed page are obtained.
  • the page lock is an input that can come from the user through the hardware or through the page display device.
  • the user account switching device determines whether to switch the first user account according to the security level of the first user data and the preset page locking state.
  • determining whether to switch the first user account by using the security level of the user data and the preset page locking state may first determine the security level of the user data, and the security level of the user data is preset, and the user data.
  • Type related security settings such as user privacy, trade secrets, money accounts, etc. are all set to a high security level, while such as movies, novels, games, etc. are set to a low security level.
  • users can customize the security level of certain accounts or data.
  • the preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
  • determining whether to switch the first user account by the security level of the user data and the preset page lock status may first determine the preset page lock status.
  • the page lock status is an identifier input by the user for determining whether the page is switched.
  • the page lock status can be preset by the user's operation on the terminal hardware or software. For example, the user wants to display a certain high security level data to another user. At this time, the page is locked by setting the page status to locked.
  • step S330 if the user account switching means determines that the content displayed on the current page needs to be switched, the user account switching means transmits a switching instruction to the page display means.
  • the user account switching means saves access data of the first user account and transmits the access data to a server; the server receives and stores the access data.
  • the process may also include the following steps:
  • 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 page display device causes the display page to jump to a preset user login page in response to the received switching instruction.
  • a page display device for displaying a page that displays different pages according to the received instructions.
  • the page display device receives the switching instruction, it causes the displayed page to jump from the previous page to the preset user login page.
  • the user account switching means issues an instruction to the page display means to maintain the current page state. Then the current user sends a change, and the content displayed on the page is not affected. For example, the movie screen will continue to play, and the instant page will have funds account, confidential document and other files, and the page will also send a jump.
  • S370 The page display device maintains the current page in response to the received hold instruction.
  • the page display device does not cause any changes to the page currently being displayed based on the received hold command.
  • the user account switching device After the user account switching device issues the switching instruction in step S350, the user account switching device starts to continuously acquire the user feature of the current user, where the current user is referred to as the second user, and the acquired user feature is referred to as the second user feature.
  • the second user feature is a feature that distinguishes the other users from the other users.
  • the first feature may be an avatar of the user; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like.
  • the second user feature is an avatar of the user who is the same as the first user feature; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like.
  • the user account switching device acquires the second user feature through the terminal peripheral device.
  • the terminal peripherals can be a camera, a microphone, a touch screen, and the like.
  • S390 The user account switching device sends the second user feature to the server.
  • the user account switching device After acquiring the second user feature, the user account switching device transmits the second user feature to the server over the communication link.
  • S400 The server receives the second user feature, and queries whether there is a second user account that matches the second user feature, and returns the second user account information when the second user account exists.
  • the database queries whether an account matching the second user feature exists. If the second user has previously registered and bound the user profile with the account information, a second account that matches the second user feature can be obtained by querying. If the previous user has not registered the account or the previously registered account is not bound to the second user feature, the second account matching the second user feature cannot be obtained by querying.
  • the server query obtains a second user account that matches the second user profile, the server returns information of the second user account to the user account switching device.
  • the server query does not obtain a second user account that matches the second user feature, the server returns a user registration message to remind the second user to register.
  • the user account switching device receives the second user account information returned by the server, and logs in to the second user account.
  • the user account switching device receives the second user account information and logs in to the second user account.
  • step S410 may further include the following sub-steps:
  • the user account switching device receives the second user account information returned by the server, where the second user account information includes: account information, security level information, and an access record;
  • S4102 the user account switching device logs in to the second user account, reads the access record, and issues a jump instruction
  • the page display device receives the jump instruction and jumps to a page pointed to by the access record.
  • jumping to the page pointed to by the access record may also jump to the initial page according to the setting.
  • the server returns a user registration message when the second user account does not exist; the user account switching device receives the user registration message returned by the server, and generates a user registration instruction, so that the page display device jumps to the preset User registration page.
  • the user account switching device receives registration information from the user registration page, and binds the registration information to the second user feature, and sends the information to the server; the server receives the binding registration information and The second user feature and registering a second user associated with the registration information and the second user feature.
  • the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page locking state, and according to the captured
  • the new user features enable fast logins and quick jumps to users browsing content. It can protect users' data from leaking at the same time, and realize fast switching between different users of the same device, which is convenient for users to use and improve user experience.
  • the embodiment provides a user account switching apparatus, where the apparatus includes:
  • the first user feature capture module performs step S210, and is configured to continuously acquire the first user feature of the first user when the first user account is in the login state;
  • the first user data obtaining module in step S220, is configured to acquire a security level of the first user data and a preset page locking state when detecting that the first user feature changes;
  • the switching judgment module performs step S230, and is configured to determine 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 in step S240, is configured to issue a switching instruction to the page display device when the first user account is switched, so that the current page jumps to the preset user login page;
  • the page holding module executes step S250 for issuing a hold instruction to the page display device to maintain the current page when the first user account is not switched.
  • the implementation of the specific module can be referred to the embodiment shown in FIG. 2.
  • the embodiment provides a user account switching apparatus, where the apparatus includes:
  • a first user feature capture module configured to continuously acquire a first user feature of the first user when the first user account is in a login state
  • a first user data obtaining module configured to acquire a security level of the first user data and a preset page locking state when detecting that the first user feature changes
  • the switching determining module is configured to determine, according to the security level of the first user data and the preset page locking state, whether to switch the first user account;
  • a page jump module configured to issue a switching instruction to the page display device when the first user account is switched, so that the current page jumps to the preset user login page;
  • a page holding module configured to issue a hold instruction to the page display device to maintain the current page when the first user account is not switched.
  • a second user feature obtaining module configured to acquire a second user feature of the second user
  • a second user feature sending module configured to send the second user feature to a server, so that the server queries whether there is a second user account that matches the second user feature, and exists in the second user Return the second user account information when the account is used;
  • the receiving and login module is configured to receive second user account information returned by the server, and log in to the second user account.
  • the registration message receiving module is configured to receive a user registration message returned by the server, and generate a user registration instruction, so that the page display device jumps to a preset user registration page.
  • a feature binding module configured to receive registration information from the user registration page, bind the registration information to the second user feature, and send the binding information to a server.
  • the server receives the binding registration information and the second user feature, and registers a second user associated with the registration information and the second user feature.
  • the receiving and login module includes the following submodules:
  • a registration information receiving submodule configured to receive registration information from the user registration page, and bind the registration information to the second user feature to register a second user account.
  • An information receiving submodule configured to receive second user account information returned by the server, where the second user account information includes account information, a security level, and an access record of the second user account;
  • the account login sub-module is configured to log in to the second user account, read the access record, and cause the page display device to jump to the page pointed to by the access record.
  • the embodiment provides a terminal, and the terminal can be used to implement the page content extraction method provided in the foregoing embodiment. Specifically:
  • the terminal 700 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity, wireless).
  • the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in the drawings does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 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). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for the function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the terminal 700. Use the created data (such as audio data, phone book, etc.).
  • memory 120 can include high speed random access memory, and can 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, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves; in addition to the touch-sensitive surface 131, the input unit 130 can include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 700, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • 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.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • Terminal 700 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 700 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • attitude of the terminal such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 700 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 700.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 700.
  • WiFi is a short-range wireless transmission technology
  • the terminal 700 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 8 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 700, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the terminal 700, connecting various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 700 are performed to perform overall monitoring of the terminal.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal 700 also includes a power source 190 (such as a battery) for powering various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any 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.
  • the terminal 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the terminal is a touch screen display
  • the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be processed by one or more Executing one or more of the above programs includes instructions for performing the following operations:
  • a switching instruction is sent to the page display device to cause the current page to jump to the preset user login page;
  • a hold command is issued to the page display device to maintain the current page.
  • the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page lock state.
  • the ability to protect the user's data is not easy to leak, while allowing users to share what they agree to share through the page.
  • the present application also provides a data display device comprising a processor and a memory, the memory comprising computer readable instructions, the processor being operative to perform the steps of the method of the present application, the processor being enabled to implement the present application The function of each module.
  • the technical solution in this embodiment may be embodied in the form of a software product in essence or in part or in the form of a software product, which is stored in a storage medium, including several instructions. To cause one or more terminal devices to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the division of the modules/units in this embodiment is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be integrated into another device, or some features may be Ignore, or not execute. Some or all of the modules/units may be selected according to actual needs to achieve the purpose of implementing the solution of the present invention.
  • each module/unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Abstract

Embodiments of the present invention provide a data display method and device, and a storage medium. The data display method is applied to a terminal device and comprises: obtaining a first biometric feature of a user associated with an account for logging in to a terminal device and displaying data of the user on a first page; obtaining a second biometric feature using a biometric feature acquisition device of the terminal device; and switching to a second page when it is determined that the second biometric feature is different from the first biometric feature, the second page not comprising the data of the user.

Description

数据显示方法、装置及存储介质Data display method, device and storage medium
本申请要求于2017年1月3日提交中国专利局、申请号为201710001806.6、申请名称为“一种用户账户切换方法、装置、客户端及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 3, 2017, the Chinese Patent Office, the application number is 201710001806.6, and the application name is “a user account switching method, device, client and system”. The citations are incorporated herein by reference.
技术领域Technical field
本发明属于互联网技术领域,尤其涉及数据显示方法、装置及存储介质。The present invention belongs to the field of Internet technologies, and in particular, to a data display method, apparatus, and storage medium.
背景技术Background technique
当用户使用终端设备查看数据时,他人可能通过终端设备看到用户查看的数据,这样可能导致用户的隐私被他人获知。例如,用户使用PC或笔记本电脑浏览网页时,如果临时离开,他人则可能趁机查看用户浏览的内容或浏览历史记录。再例如,用户使用公用的终端服务机办理业务,例如从ATM机取款、从自动售票机购买火车票等,如果用户办理完业务忘记取走银行卡或退出登录,他人可能利用这个疏忽使用用户的账号或者窃取用户的账户数据。When a user views data using a terminal device, others may see the data viewed by the user through the terminal device, which may cause the user's privacy to be known by others. For example, when a user browses a webpage using a PC or a laptop, if they leave temporarily, others may take the opportunity to view the content or browsing history of the user. For another example, the user uses a public terminal server to conduct business, such as withdrawing money from an ATM machine, purchasing a train ticket from an automatic ticket vending machine, etc., if the user forgets to take the bank card or quit the login after completing the business, others may use the user to inadvertently use the user. Account or steal user account data.
发明内容Summary of the invention
为了解决上述技术问题,本发明提出了数据显示方法、装置及存储介质。In order to solve the above technical problems, the present invention proposes a data display method, apparatus, and storage medium.
本申请实例提供了一种数据显示方法,应用于终端设备,所述方法包括如下步骤:The application example provides a data display method, which is applied to a terminal device, and the method includes the following steps:
获取登录所述终端设备的账户关联的用户的第一生物特征,在第一页面展示所述用户的数据;Obtaining a first biometric of a user associated with an account that is logged in to the terminal device, and displaying data of the user on a first page;
利用所述终端设备的生物特征采集设备获取第二生物特征;Acquiring, by using the biometric collection device of the terminal device, the second biometric feature;
当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面,其中,所述第二页面不包括所述用户的数据。When it is determined that the second biometric is different from the first biometric, jumping to a second page, wherein the second page does not include data of the user.
本申请实例还提供了一种数据显示装置,包括处理器和存储器,所述存储器包括计算机可读指令,可以使所述处理器执行用于:The application examples also provide a data display device comprising a processor and a memory, the memory comprising computer readable instructions executable by the processor for:
获取登录所述终端设备的账户关联的用户的第一生物特征,在第一页面展示所 述用户的数据;Obtaining a first biometric of a user associated with an account registered in the terminal device, and displaying data of the user on a first page;
利用所述终端设备的生物特征采集设备获取第二生物特征;Acquiring, by using the biometric collection device of the terminal device, the second biometric feature;
当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面,其中,所述第二页面不包括所述用户的数据。When it is determined that the second biometric is different from the first biometric, jumping to a second page, wherein the second page does not include data of the user.
本申请实例还提供了一种数据显示装置,包括处理器和存储器,所述存储器包括计算机可读指令,可以使所述处理器执行用于:The application examples also provide a data display device comprising a processor and a memory, the memory comprising computer readable instructions executable by the processor for:
响应于展示第一数据的请求,利用所述终端设备的生物特征采集设备获取第一生物特征;Retrieving the first biometric with the biometric collection device of the terminal device in response to the request to display the first data;
展示所述第一数据,记录该第一生物特征与所述第一数据的关联关系;Displaying the first data, and recording an association relationship between the first biometric and the first data;
利用所述生物特征采集设备获取第二生物特征;Acquiring the second biological feature by using the biometric collecting device;
当所述第二生物特征与所述第一生物特征不同时,使所述第一数据不可见。The first data is made invisible when the second biometric is different from the first biometric.
本申请实例还提供了一种计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如上述所述的方法。The application examples also provide a computer readable storage medium storing computer readable instructions that cause at least one processor to perform the method as described above.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1A是本发明实施例提供的应用场景示意图;1A is a schematic diagram of an application scenario provided by an embodiment of the present invention;
图1B是本发明实施例提供的数据显示方法的流程图;1B is a flowchart of a data display method according to an embodiment of the present invention;
图2是本发明实施例提供的用户账户切换方法流程图;2 is a flowchart of a user account switching method according to an embodiment of the present invention;
图3是本发明实施例提供的用户账户切换方法流程图;3 is a flowchart of a user account switching method according to an embodiment of the present invention;
图4是本发明实施例提供的用户账户切换方法流程图;4 is a flowchart of a user account switching method according to an embodiment of the present invention;
图5是本发明实施例提供的用户账户切换装置原理框图;FIG. 5 is a schematic block diagram of a user account switching apparatus according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的用户账户切换系统原理框图;6 is a schematic block diagram of a user account switching system according to an embodiment of the present invention;
图7是本发明实施例提供的用户账户切换装置原理框图;7 is a schematic block diagram of a user account switching apparatus according to an embodiment of the present invention;
图8是本发明实施例提供的终端结构示意图。FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明实施例提供了数据显示方法、装置及存储介质,同时还提供了一种用户账户切换方法、装置、客户端以及系统,请参考图1A,其示出了本发明实施例所涉及的实施环境的结构示意图。The embodiment of the present invention provides a data display method, device, and storage medium, and also provides a user account switching method, device, client, and system. Referring to FIG. 1A, an implementation of the embodiment of the present invention is shown. Schematic diagram of the environment.
该实施环境包括配置有用户设备101。一些实施例中,用户设备101可以为个人终端设备,如手机、平板电脑、笔记本电脑、、台式电脑,等。一些实施例中,用户设备101可以为公用服务设备,例如ATM取款机、自动售票机等。用户设备101包含页面显示装置102,用户可以根据该显示装置读取显示的页面内容。用户设备101还可以包括输入装置,用户通过该输入装置输入用户想要输入的用户信息,当所述显示装置102为触摸屏的情况下,所述显示装置102及所述输入装置可以集成为一体。用户设备中安装有客户端,该客户端用以显示数据,例如,该客户端为浏览器客户端。,此外,实施环境还包含有服务器104,服务器104用于与用户设备101通信,用户设备101上的客户端通过与服务器104的通信,可以在服务器上查询信息,同时通过与服务器的104的通信可以执行账户注册等操作。所述服务器与数据库103通信连接,服务器104也可以直接与数据库103进行连接。The implementation environment includes a user device 101 configured. In some embodiments, user device 101 can be a personal terminal device such as a cell phone, tablet, laptop, desktop computer, and the like. In some embodiments, user device 101 can be a public service device, such as an ATM, a ticket vending machine, or the like. The user device 101 includes a page display device 102, and the user can read the displayed page content according to the display device. The user device 101 may further include an input device through which the user inputs user information that the user wants to input. When the display device 102 is a touch screen, the display device 102 and the input device may be integrated. A client is installed in the user equipment, and the client is used to display data, for example, the client is a browser client. In addition, the implementation environment further includes a server 104 for communicating with the user device 101, and the client on the user device 101 can query information on the server through communication with the server 104 while communicating with the server 104. You can perform operations such as account registration. The server is in communication with the database 103, and the server 104 can also be directly connected to the database 103.
本申请提供了一种数据显示方法,应用于终端设备,如应用于图1A中的用户设备101,如图1B所示,该方法包括以下步骤:The present application provides a data display method, which is applied to a terminal device, such as the user device 101 in FIG. 1A. As shown in FIG. 1B, the method includes the following steps:
S101:获取登录所述终端设备的账户关联的用户的第一生物特征,在第一页面展示所述用户的数据。S101: Acquire a first biometric of a user associated with an account that is logged in to the terminal device, and display data of the user on a first page.
第一生物特征可以是用户的面部器官的特征,如眼睛、鼻子、嘴、面部等的轮廓特征,或用户的指纹、虹膜等特征,还可以是用户的声音特征,等。用户使用账号登录终端设备后,终端设备可以获取用户对应的账号,并获取该账号关联的第一生物特征。一些例子中,终端设备可以从终端设备的存储设备中获取预先存储的、 与该账号关联的第一生物特征。另一些例子中,终端设备可以通过网络从远端设备(例如服务器,等)获取该账号关联的第一生物特征。一些例子中,预先存储的第一生物特征可以是用户注册账号时采集的第一生物特征,并与该用户的账号关联存储在终端设备或服务器中。一些例子中,预先存储的第一生物特征可以是用户成功登录账号时采集的第一生物特征,并与该用户的账号关联存储在终端设备或服务器中。The first biometric feature may be a feature of the user's facial organs, such as a contour feature of the eyes, nose, mouth, face, etc., or a user's fingerprint, iris, etc., or may be a user's voice feature, and the like. After the user logs in to the terminal device by using the account, the terminal device can obtain the account corresponding to the user and obtain the first biometric associated with the account. In some examples, the terminal device may obtain a pre-stored first biometric associated with the account from the storage device of the terminal device. In other examples, the terminal device may obtain the first biometric associated with the account from a remote device (eg, a server, etc.) over a network. In some examples, the first biometric stored in advance may be the first biometric collected by the user when registering the account, and stored in the terminal device or the server in association with the account of the user. In some examples, the first biometric stored in advance may be the first biometric collected when the user successfully logs in to the account, and stored in the terminal device or the server in association with the account of the user.
各实施例的方法可以由终端设备中的应用程序,例如客户端软件(以下简称客户端)来执行。各实施例中,客户端可以是提供各种服务的客户端,如即时通信客户端、邮件客户端、社交客户端、购物客户端、银行客户端、在线支付客户端,等;相应的,用户的账户可以是即时通信账户、邮件账户、社交账户、银行账户、购物账户、在线支付账户,等。其中,登录终端设备的账户指终端设备记录用户对应的标识,将所述用户作为当前使用终端设备的用户。终端设备记录的用户对应的标识,例如,可以是用户的生物特征(终端设备获取用户的生物特征,将对应用户作为当前使用终端设备的用户,在这里账户为生物特征),还可以是用户对应的账号(响应于用户通过账号进行登录的操作,将所述账号对应的用户作为当前使用终端设备的用户,在这里,账户为用户账号)。例如,当所述用户设备101中客户端为浏览器时,浏览器获取当前处于登录状态的账号对应的第一生物特征。浏览器可以在用户登录账号后获取该登录的账号关联的第一生物特征,也可以是在运行时,获取默认登录账户的第一生物特征。The method of each embodiment may be performed by an application in the terminal device, such as client software (hereinafter referred to as a client). In various embodiments, the client may be a client that provides various services, such as an instant messaging client, a mail client, a social client, a shopping client, a bank client, an online payment client, etc.; correspondingly, the user The account can be an instant messaging account, a mail account, a social account, a bank account, a shopping account, an online payment account, and the like. The account of the login terminal device refers to the terminal device recording the identifier corresponding to the user, and the user is the user who currently uses the terminal device. The identifier corresponding to the user recorded by the terminal device, for example, may be a biometric feature of the user (the terminal device acquires the biometric feature of the user, and the corresponding user is the user who currently uses the terminal device, where the account is a biometric feature), and may also be a user corresponding The account number (in response to the user logging in through the account, the user corresponding to the account is used as the user currently using the terminal device, where the account is the user account). For example, when the client in the user equipment 101 is a browser, the browser acquires the first biometric corresponding to the account currently in the login state. The browser may obtain the first biometric associated with the login account after the user logs in the account, or may obtain the first biometric of the default login account at runtime.
各实施例中,在第一页面展示的用户的数据可以包括用户账户对应的数据,例如用户的个人主页、好友列表、邮件列表、社交消息、账户余额、购物历史、支付信息,等。用户的数据还可以包括用户请求查看的网络上的公开的内容,例如搜索引擎的搜索结果页面、用户访问的网站的页面,等。用户可能并不希望他人知道自己在访问这些页面,所以这些页面上展示的数据也可以认为是用户隐私的一部分,需要保护。In various embodiments, the data of the user displayed on the first page may include data corresponding to the user account, such as the user's personal homepage, buddy list, mailing list, social message, account balance, shopping history, payment information, and the like. The user's data may also include public content on the network that the user is requesting to view, such as a search engine's search results page, a page of the website visited by the user, and the like. Users may not want others to know that they are accessing these pages, so the data displayed on these pages can also be considered part of the user's privacy and needs to be protected.
S102:利用所述终端设备的生物特征采集设备获取第二生物特征。S102: Acquire a second biometric by using a biometric collection device of the terminal device.
生物特征采集设备是用于从活体上获取生物特征的设备,可以包括摄像头、麦克风、指纹采集器、虹膜识别装置等。生物特征采集设备可以是终端设备中内嵌的设备,也可以是终端设备通过有线或无线连接可以控制的独立设备。例如,终端设 备可以利用自带的前置摄像头对使用终端的用户进行拍摄,得到用户的面部图像。又例如,终端设备可以利用自带的指纹提取设备,在用户触摸指纹提取部件(例如嵌入按键、触摸屏等的指纹提取部件,等)时获取用户的指纹。The biometric collection device is a device for acquiring biometrics from a living body, and may include a camera, a microphone, a fingerprint collector, an iris recognition device, and the like. The biometric collection device may be a device embedded in the terminal device or a standalone device that the terminal device can control through a wired or wireless connection. For example, the terminal device can take a user who uses the terminal by using the built-in front camera to obtain a facial image of the user. For another example, the terminal device can use the fingerprint extraction device that is provided to acquire the fingerprint of the user when the user touches the fingerprint extraction component (for example, a fingerprint extraction component such as a button, a touch screen, or the like).
S103:当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面。其中,所述第二页面不包括所述用户的数据。S103: Jump to the second page when it is determined that the second biometric is different from the first biometric. The second page does not include data of the user.
一些例子中,终端设备可以在获取到第一生物特征之后获取第二生物特征,也可以以预定的时间间隔获取第二生物特征。当第二生物特征与第一生物特征不同时,说明使用终端设备的当前用户已经不再是与所述第一生物特征对应的用户,此时,启动数据保护功能,终端设备跳转到第二页面,在该第二页面上不展示第一生物特征对应的用户的数据,从而保护登录账号的用户的隐私。In some examples, the terminal device may acquire the second biometric after acquiring the first biometric, or may acquire the second biometric at predetermined time intervals. When the second biometric is different from the first biometric, the current user using the terminal device is no longer the user corresponding to the first biometric. At this time, the data protection function is activated, and the terminal device jumps to the second. The page does not display the data of the user corresponding to the first biometric on the second page, thereby protecting the privacy of the user who logs in the account.
在一些实例中,在上述步骤S103中,在执行所述确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面时,包括步骤:In some examples, in the step S103, when the determining that the second biometric is different from the first biometric, when jumping to the second page, the method includes the following steps:
当确定所述第二生物特征与所述第一生物特征的数量不同或特征不同时,跳转至所述第二页面。When it is determined that the second biometric is different from the first biometric or the feature is different, jump to the second page.
确定第二生物特征与第一生物特征是否不同时,可以从数量或特征进行判定。例如,当生物特征为用户脸部图像时,通过终端的摄像头采集使用终端的用户的脸部图像,当根据采集到的脸部特征确定当前用户为两人或两人以上时,说明使用终端设备的用户必然包括登录账号的用户之外的其他用户,此时,确定第二生物特征与所述第一生物特征不同,跳转至第二页面。又例如,终端设备可以根据采集到的脸部图像提取脸部特征,例如提取出眼睛、鼻子、嘴部的特征,判断第二特征对应的眼睛、鼻子、嘴部的特征与第一特征对应的眼睛、鼻子、嘴部的特征是否相同,当不同时,说明使用终端设备的当前用户不再是登录账号的所述用户,并跳转至第二页面。When it is determined whether the second biometric is different from the first biometric, the determination can be made from the quantity or the feature. For example, when the biometric is a user's facial image, the facial image of the user using the terminal is collected by the camera of the terminal, and when the current user is determined to be two or more according to the collected facial features, the terminal device is used. The user must include other users than the user who logs in to the account. At this time, it is determined that the second biometric is different from the first biometric, and jumps to the second page. For another example, the terminal device may extract a facial feature according to the collected facial image, for example, extract features of the eyes, the nose, and the mouth, and determine that the features of the eyes, the nose, and the mouth corresponding to the second feature correspond to the first feature. Whether the characteristics of the eyes, nose, and mouth are the same. When not, the current user who uses the terminal device is no longer the user who logs in to the account, and jumps to the second page.
在一些实例中,当所述第二生物特征与所述第一生物特征不同时,终端设备可以获取所述第一页面的页面锁定状态,所述页面锁定状态指示所述用户是否允许将所述第一页面展示给另一用户;当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时,跳转至所述第二页面。In some examples, when the second biometric is different from the first biometric, the terminal device may acquire a page locking state of the first page, the page locking state indicating whether the user allows the The first page is displayed to another user; when the page lock status indicates that the user does not allow the first page to be presented to another user, jump to the second page.
页面锁定状态是用户设置的,用以指示登录账号的用户是否允许将所述第一页面展示给另一用户。终端设备可以为用户提供选项,并将用户选择的页面锁定状态 记录下来。例如,浏览器可以在界面上(例如展示的页面上)显示锁定控件。浏览器根据用户对锁定控件的操作(例如点击、或不点击,等),记录用户对该页面设置的页面锁定状态。例如,当对锁定控件的操作表示用户允许将其浏览的页面展示给其他用户,终端设备可以将该页面的页面锁定状态设置为锁定,即当第二生物特征与第一生物特征不同时,不跳转到第二页面。当对锁定控件的操作表示用户不允许将其浏览的页面展示给其他用户时,终端设备可以将该页面的页面锁定状态设置为非锁定,在第二生物特征与第一生物特征不同时,跳转至第二页面,以对登录账户的用户的数据进行保护。The page lock status is set by the user to indicate whether the user who logs in the account allows the first page to be displayed to another user. The terminal device can provide the user with an option to record the page lock status selected by the user. For example, a browser can display a lock control on an interface, such as on a displayed page. The browser records the page lock status set by the user on the page according to the user's operation on the lock control (such as clicking, or not clicking, etc.). For example, when the operation of the lock control indicates that the user is allowed to display the page that the user browses to other users, the terminal device may set the page lock state of the page to be locked, that is, when the second biometric is different from the first biometric, Jump to the second page. When the operation of the lock control indicates that the user does not allow the page to be browsed to be displayed to other users, the terminal device may set the page lock state of the page to be unlocked, and jump when the second biometric is different from the first biometric. Go to the second page to protect the data of the user who logged into the account.
在一些实例中,当所述第二生物特征与所述第一生物特征不同时,终端设备可以获取所述第一页面的安全等级,所述安全等级为所述第一页面的来源所提供的服务与用户隐私的关联程度;当所述第一页面的安全等级满足预定条件时,跳转至所述第二页面。In some examples, when the second biometric is different from the first biometric, the terminal device may acquire a security level of the first page, the security level being provided by a source of the first page The degree of association of the service with the user's privacy; when the security level of the first page satisfies the predetermined condition, jumping to the second page.
各实施例中,终端设备可以从页面的信息获取页面的安全等级。一些例子中,终端设备可以根据页面所属的网站判断该页面中的数据与用户隐私的关联程度。例如,该页面为银行网站提供的页面,则认为该页面的数据与用户隐私的关联程度较高,因此具有较高的安全等级。一些例子中,终端设备可以利用页面的URL判断该页面中的数据与用户隐私的关联程度。例如,可以预先设置对应不同安全等级的URL关键字,根据URL中是否存在这些关键字来确定页面的安全等级。例如,页面的URL包括“mail”,则认为该页面的数据与用户隐私的关联程度较高,因此具有较高的安全等级;页面的URL包括“news”,则认为该页面的数据与用户隐私的关联程度较低,因此具有较低的安全等级。一些例子中,安全等级可以分为至少两级,例如高、低。当安全等级为高时,跳转至第二页面,当安全等级为低时,不进行跳转。从而当使用终端设备的用户发生变化时,对登录账户的用户的安全等级高的数据进行保护。其中,第一页面的安全等级为第一页面的来源所提供的服务与用户隐私的关联程度。可以将第一页面所属网站的安全级别作为第一页面的安全级别。用户可以预设某些网站的安全级别,例如,将邮箱网站的安全级别设置为高,则邮箱网站下所有的邮件页面的安全等级为高。In various embodiments, the terminal device can obtain the security level of the page from the information of the page. In some examples, the terminal device can determine the degree of association between the data in the page and the user's privacy according to the website to which the page belongs. For example, if the page is a page provided by a bank website, the data of the page is considered to be highly correlated with user privacy, and thus has a high security level. In some examples, the terminal device can utilize the URL of the page to determine the degree of association of the data in the page with the privacy of the user. For example, URL keywords corresponding to different security levels may be set in advance, and the security level of the page is determined according to whether the keywords exist in the URL. For example, if the URL of the page includes “mail”, the data of the page is considered to be highly correlated with the user's privacy, and thus has a high security level; if the URL of the page includes “news”, the data of the page and the user's privacy are considered. The degree of association is low and therefore has a lower level of security. In some examples, the security level can be divided into at least two levels, such as high and low. When the security level is high, jump to the second page. When the security level is low, no jump is made. Therefore, when the user who uses the terminal device changes, the data of the user who logs in the account has a high security level. The security level of the first page is the degree of association between the service provided by the source of the first page and the user's privacy. The security level of the website to which the first page belongs can be used as the security level of the first page. Users can preset the security level of certain websites. For example, if the security level of a mailbox website is set to high, the security level of all mail pages under the mailbox website is high.
在一些实例中,在第二生物特征与第一生物特征不同时,获取第一页面的锁定状态,当第一页面的锁定状态为锁定时,不进行跳转。当第一页面的锁定状态为非 锁定时,进一步获取第一页面的安全等级,当第一页面的安全等级为高时,跳转到第二页面,否则,不跳转。In some examples, when the second biometric is different from the first biometric, the locked state of the first page is acquired, and when the locked state of the first page is locked, no jump is performed. When the locked state of the first page is non-locked, the security level of the first page is further obtained. When the security level of the first page is high, the second page is jumped; otherwise, the jump is not performed.
在一些实例中,可以先判断页面数据是否需要保护,当确定页面数据需要保护时,再进行生物特征的获取和比对。In some examples, it may be determined whether the page data needs protection, and when it is determined that the page data needs protection, the biometrics are acquired and compared.
例如,终端设备可以获取所述第一页面的页面锁定状态,当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时,利用所述终端设备的生物特征采集设备获取第二生物特征。当第一页面的锁定状态为非锁定时,即用户不允许将所述第一页面展示给另一用户时,再获取第二生物特征,并判断第二生物特征与第一生物特征是否相同,从而确定是否跳转至第二页面。当第一页面的锁定状态为锁定时,此时用户允许将第一页面展示给其他用户,此时不需要跳转到第二页面,也不需要采集第二生物特征。For example, the terminal device may acquire a page locking state of the first page, and use the biometric feature of the terminal device when the page locking state indicates that the user does not allow the first page to be displayed to another user. The device acquires a second biometric. When the locked state of the first page is non-locked, that is, when the user does not allow the first page to be displayed to another user, the second biometric is acquired, and it is determined whether the second biometric is the same as the first biometric. Thereby determining whether to jump to the second page. When the locked state of the first page is locked, the user is allowed to display the first page to other users at this time, and there is no need to jump to the second page or collect the second biometric.
又例如,终端设备可以获取所述第一页面的安全等级,当所述第一页面的安全等级满足预定条件时,利用所述终端设备的生物特征采集设备获取第二生物特征。当第一页面的安全等级为高时,再获取第二生物特征,将第二生物特征与第一生物特征进行对比来确定是否需要跳转到第二页面。从而当使用终端设备的用户发生变化时,对登录账户的用户的安全级别为高的数据进行保护。For another example, the terminal device may acquire the security level of the first page, and when the security level of the first page meets the predetermined condition, acquire the second biometric by using the biometric collection device of the terminal device. When the security level of the first page is high, the second biometric is acquired, and the second biometric is compared with the first biometric to determine whether a jump to the second page is needed. Therefore, when the user who uses the terminal device changes, the data of the user who logs in the account has a high security level.
在一些实例中,先获取第一页面的锁定状态,当第一页面的锁定状态为非锁定时,进一步获取第一页面的安全等级,当安全等级为高时,再获取第二生物特征。即当第一页面的状态为非锁定,且第一页面的安全等级为高两个条件都满足的情况下,获取第二生物特征。In some examples, the lock status of the first page is obtained first, and when the lock status of the first page is non-locked, the security level of the first page is further acquired, and when the security level is high, the second biometric is acquired. That is, when the state of the first page is not locked, and the security level of the first page is high, the second biometric is acquired.
在一些实例中,所述第二页面为用户登录页面。当使用终端设备的用户发生变化时,新用户通过该用户登录页面进行账户的登录或注册操作。In some examples, the second page is a user login page. When the user who uses the terminal device changes, the new user performs login or registration operation of the account through the user login page.
在一些实例中,向服务器查询与所述第二生物特征匹配的第二账户,在所述第二页面中展示所述第二账户对应的数据;及设置所述第二账户为当前登录所述终端设备的账户。In some examples, querying, by the server, a second account that matches the second biometric, displaying data corresponding to the second account in the second page; and setting the second account to be the current login The account of the terminal device.
在该实例中,当在服务器中查询到第二生物特征匹配的第二账户时,说明第二生物特征匹配的用户之前注册过,此时允许该用户直接登录,在第二页面中展示第二账户对应的数据,例如,展示第二用户上次退出前浏览的页面。同时将第二账号设置为登录所述终端设备的账户,之后对第二账户对应的数据进行保护。In this example, when the second biometric matching second account is queried in the server, the user indicating that the second biometric matching is previously registered, at which time the user is allowed to log in directly, and the second page is displayed in the second page. The data corresponding to the account, for example, shows the page that the second user browsed before the last exit. At the same time, the second account is set to log in to the account of the terminal device, and then the data corresponding to the second account is protected.
在一些实例中,向服务器查询与所述第二生物特征匹配的第二账户;当确定服务器中不存在所述第二账户时,展示用户注册页面作为所述第二页面。In some examples, the server is queried for a second account that matches the second biometric; when it is determined that the second account does not exist in the server, the user registration page is displayed as the second page.
在一些实例中,通过注册页面获取第三用户输入的注册信息,并获取所述第三用户的第三生物特征;将所述注册信息与所述第三生物特征保存到服务器中。In some examples, the registration information entered by the third user is obtained through the registration page, and the third biometric of the third user is obtained; and the registration information and the third biometric are saved to the server.
在该实例中,将注册信息与用户的生物特征关联保存至服务器,实现用户注册。其中,注册信息包括用户注册的账号、密码等信息。In this example, the registration information is stored in association with the user's biometrics to the server for user registration. The registration information includes information such as an account and a password registered by the user.
在一些实例中,在所述当确定所述第二生物特征与所述第一生物特征不同时,获取所述用户的访问记录,并将所述访问数据发送至服务器,以使服务器将该访问数据与所述用户的账户关联保存;In some examples, when the determining that the second biometric is different from the first biometric, acquiring an access record of the user, and transmitting the access data to a server, so that the server accesses the access The data is saved in association with the user's account;
在所述跳转至第二页面之后,响应于所述用户的登录请求,从服务器获取所述用户的账户关联的访问记录,展示所述访问记录对应的至少一个页面。After the jump to the second page, in response to the login request of the user, an access record associated with the account of the user is obtained from a server, and at least one page corresponding to the access record is displayed.
在该实例中,当确定使用终端设备的用户发生改变时,将登陆账号的用户的访问记录发送至服务器保存。其中,用户的访问记录可以包括用户访问过的页面的标识。当用户再次登陆时,根据用户的账号关联的访问记录打开用户上次退出前浏览的页面,例如展示上次退出前最后浏览的页面,或者展示上次退出前用户浏览的所有页面。例如,浏览器保存用户的cookie,并根据用户的访问行为更新cookie,当确定使用终端设备的用户发生改变时,浏览器将用户的cookie发送到服务器保存。In this example, when it is determined that the user who uses the terminal device has changed, the access record of the user who logged in to the account is sent to the server for saving. The user's access record may include an identifier of a page that the user has visited. When the user logs in again, the page that is viewed before the user quits is opened according to the access record associated with the user's account, such as displaying the last viewed page before the last exit, or displaying all the pages viewed by the user before the last exit. For example, the browser saves the user's cookie and updates the cookie based on the user's access behavior. When it is determined that the user using the terminal device has changed, the browser sends the user's cookie to the server for saving.
在该实例中,服务器可以获取用户的访问记录,根据该访问记录可以向用户提供更好的服务,如向用户推荐用户感兴趣的信息。虽然在一些实例中根据IMEI(国际移动设备身份码,International Mobile Equipment Identity,简称IMEI)对用户进行区分,但在移动设备交叉使用的情况下,在非主动登录的情况下,依然无法区分是实际使用和操作终端设备的用户。In this example, the server can obtain a user's access record, according to which the user can be provided with a better service, such as recommending information of interest to the user. Although in some examples, the user is distinguished according to IMEI (International Mobile Equipment Identity, IMEI), in the case of mobile device cross-use, in the case of non-active login, it is still impossible to distinguish Users who use and operate terminal devices.
在一些实例中,在跳转至第二页面之前,将所述用户的访问记录与所述第一生物特征关联保存;在所述跳转至第二页面之后,利用所述终端设备的生物特征采集设备获取第四生物特征;当所述第四生物特征与所述第一生物特征相同时,根据该第四生物特征获取所述用户的访问记录;展示所述访问记录对应的至少一个页面。In some examples, the access record of the user is saved in association with the first biometric before jumping to the second page; after the jump to the second page, biometrics of the terminal device are utilized The acquiring device acquires a fourth biometric; when the fourth biometric is the same as the first biometric, acquiring an access record of the user according to the fourth biometric; and displaying at least one page corresponding to the access record.
在该实例中,终端设备保存登录账号的用户的访问记录,将访问记录与登录账号的用户的第一生物特征关联保存。在跳转至第二页面之后,终端设备的生物特征采集装置可以间隔预定时间间隔采集第四生物特征,当采集到的第四生物特征与所 述第一生物特征相同时,说明使用终端设备的用户为第一生物特征对应的用户,则可以根据采集到的第四生物特征获取所述访问记录。此时根据第一生物特征关联保存的访问记录,恢复所述用户之前浏览的页面。当采集到的第四生物特征与第一生物特征不同时,无法根据采集到的第四生物特征获取所述访问记录,也就无法展示第一生物特征对应的用户的数据。即用户A无法查看用户B之前浏览的页面,只有用户B本人可以查看之前浏览的页面,从而对用户的数据进行有效保护。In this example, the terminal device saves the access record of the user who logged in to the account, and stores the access record in association with the first biometric of the user who logged in to the account. After jumping to the second page, the biometrics collection device of the terminal device may collect the fourth biometric feature at predetermined time intervals, and when the collected fourth biometric feature is the same as the first biometric feature, indicating that the terminal device is used. If the user is the user corresponding to the first biometric, the access record may be acquired according to the collected fourth biometric. At this time, according to the access record saved by the first biometric association, the page that the user browsed before is restored. When the collected fourth biometric is different from the first biometric, the access record cannot be obtained according to the collected fourth biometric, and the user's data corresponding to the first biometric cannot be displayed. That is, user A cannot view the page that user B browsed before, and only user B can view the previously viewed page, thereby effectively protecting the user's data.
在一些实例中,执行所述获取登录所述终端设备的账户关联的用户的第一生物特征时,包括步骤:通过摄像头采集图像,从所述图像中获取人类面部特征。In some examples, when the obtaining the first biometric of the user associated with the account associated with the terminal device is performed, the method includes the steps of: acquiring an image by the camera, and acquiring a human facial feature from the image.
在一些实例中,执行所述获取登录所述终端设备的账户关联的用户的第一生物特征包括:In some examples, performing the obtaining the first biometric of the user associated with the account that is logged into the terminal device includes:
通过麦克风采集声音;Collecting sound through a microphone;
从所述声音中获取人类嗓音特征。A human voice feature is obtained from the sound.
一些实施例中,将本申请提供的数据显示方法应用到移动设备,以对移动设备中的用户的隐私数据,例如用户在移动设备上的各种行为,比如看视频,看新闻,玩游戏,办公,产生的数据,进行保护。图2为本申请实施例的一种用户账户切换方法的流程图。该方法适用于图1A所示的实施环境。所述方法包括:In some embodiments, the data display method provided by the present application is applied to a mobile device to private data of users in the mobile device, such as various behaviors of the user on the mobile device, such as watching videos, watching news, playing games, Office, generated data, protected. FIG. 2 is a flowchart of a user account switching method according to an embodiment of the present application. This method is applicable to the implementation environment shown in Figure 1A. The method includes:
S210,在第一用户账户处于登录状态时,持续获取第一用户的第一用户特征。S210. The first user feature of the first user is continuously acquired when the first user account is in the login state.
用户在使用论坛,浏览网站,使用邮箱,或者使用APP服务时通常都需要以注册用户的身份登录,以获得服务或者功能的正常使用权限。在本步骤中,当用户登录之后,用户账户切换装置即开始使用终端的外设来获取用户的特征,在本实施例中,将当前登录的用户称为第一用户。When users use forums, browse websites, use emails, or use APP services, they usually need to log in as a registered user to obtain normal access to services or functions. In this step, after the user logs in, the user account switching device starts to use the peripheral device of the terminal to acquire the feature of the user. In this embodiment, the currently logged-in user is referred to as the first user.
具体地,用户账户切换装置可以使用终端的外设来获取第一用户区别其他用户的、具有显著特点的特征作为第一特征。例如,第一特征可以是用户的头像;用户面部的局部例如眼睛、鼻子、嘴等;用户的声音;用户的指纹等等。Specifically, the user account switching apparatus may use the peripheral device of the terminal to acquire, as the first feature, a feature that the first user distinguishes other users from having distinctive features. For example, the first feature may be an avatar of the user; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like.
在一个示例中,用户装置获取装置会持续获取终端摄像装置获取的用户的头像信息,即将头像信息作为第一用户特征,如果用户的头像信息不发生改变,则说明当前用户是第一用户,当头像发生改变时,则说明当前用户已经不是与登录账户所对应的第一用户。In an example, the user device acquiring device continuously obtains the avatar information of the user acquired by the terminal camera device, that is, the avatar information is used as the first user feature, and if the avatar information of the user does not change, the current user is the first user. When the avatar changes, it indicates that the current user is not the first user corresponding to the login account.
在一个示例中,用户装置获取装置会持续获取终端摄像装置获取的用户的眼睛 局部信息,即将眼睛局部信息作为第一用户特征,如果用户的眼睛局部信息不发生改变,则说明当前用户是第一用户,当眼睛局部发生改变时,则说明当前用户已经不是与登录账户所对应的第一用户。In an example, the user device acquiring device continuously acquires the eye local information of the user acquired by the terminal camera device, that is, the eye local information is used as the first user feature, and if the user's eye local information does not change, the current user is the first user. The user, when the eye changes locally, indicates that the current user is not the first user corresponding to the login account.
如前所述,在其他示例中,声音、指纹等均可以作为第一用户特征。As mentioned previously, in other examples, sounds, fingerprints, etc. may be used as the first user feature.
S220,当检测到所述第一用户特征发生改变时,获取第一用户数据的安全等级和预置的锁定状态。S220. Acquire a security level of the first user data and a preset locking state when detecting that the first user feature changes.
当用户账户切换装置检测到第一用户特征发生改变时,说明当前的用户已经不是登录账户所对应的用户,如果此时终端的页面显示装置所展示的是用户的资金账户、私密照片、商业文件等等不宜为其他用户获取或者观看的内容,那么为了用户的隐私和安全,当前登录账户不宜为其他用户所使用。如果此时终端的页面所展示的内容是当前登录账户用户准备与其他用户分享的电影、照片、文档等,那么当前登录账户可以继续保持。因此,此时需要获取用户的设定。设定至少包含了数据的安全等级以及预置的锁定状态,数据的安全等级是预先设定的,诸如用户隐私、商业秘密、资金账户等都被设定为高安全等级,而诸如电影、小说、游戏等设为低安全等级。除此之外,用户可以自定义某些账户或者数据的安全等级。预置的锁定状态是指用户对页面显示装置内容的锁定操作,例如用户可以对高安全等级的页面内容进行锁定,这样页面会被锁定,而不会发生切换。如果用户不进行锁定,则页面内容则可能会发生切换。When the user account switching device detects that the first user feature changes, the current user is not the user corresponding to the login account, and if the page display device of the terminal displays the user's fund account, private photo, and business file at this time. For content that is not suitable for other users to access or view, the current login account should not be used by other users for the privacy and security of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document, etc. that the user currently registered to log in to share with other users, the current login account can continue to be maintained. Therefore, it is necessary to obtain the user's settings at this time. The setting includes at least the security level of the data and the preset lock status. The security level of the data is preset, such as user privacy, trade secrets, fund accounts, etc. are set to a high security level, such as movies, novels. , games, etc. are set to a low security level. In addition, users can customize the security level of certain accounts or data. The preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
在一个示例中,当用户账户切换装置检测到第一用户特征发生改变时,获取当前页面显示内容的安全等级以及用户对当前显示页面的锁定状态。In one example, when the user account switching device detects that the first user feature has changed, the security level of the current page display content and the user's locked state for the currently displayed page are obtained.
S230:根据所述第一用户数据的安全等级和预置的锁定状态判断是否对第一用户账户进行切换。S230: Determine, according to the security level of the first user data and the preset locking state, whether to switch the first user account.
根据步骤S220获取的第一用户数据的安全等级和预置的锁定状态来判断是否对用户账户进行切换以保障用户数据的安全。According to the security level of the first user data acquired in step S220 and the preset locking state, it is determined whether to switch the user account to ensure the security of the user data.
具体地,当检测到所述第一用户特征发生改变时,判断页面是否锁定,如果页面处于锁定状态,则不进行的账户切换操作。Specifically, when it is detected that the first user feature changes, it is determined whether the page is locked, and if the page is in the locked state, the account switching operation is not performed.
具体地,当检测到所述第一用户特征发生改变时,判断页面是否锁定,如果页面处于未锁定状态,则进一步判断当前页面的数据安全等级是否为高,若当前页面的数据安全等级为低,也不进行页面切换操作;只有当前页面安全等级为高的情况 下才进行切换操作。Specifically, when it is detected that the first user feature changes, determining whether the page is locked, if the page is in an unlocked state, further determining whether the data security level of the current page is high, if the data security level of the current page is low. The page switching operation is also not performed; the switching operation is performed only when the current page security level is high.
S240:若对所述第一用户账户进行切换,则发出切换指令,以使显示页面跳转至预设用户登录页面。S240: If the first user account is switched, a switching instruction is issued to cause the display page to jump to the preset user login page.
根据步骤S230中的判断结果,如果页面处于非锁定状态,并且账户数据的安全等级为高,则用户账户切换装置发出切换指令;显示装置接收切换指令,然后使当前显示的页面跳转至用户登录界面,以此避免第一用户的高安全等级数据被其他用户获取。According to the determination result in step S230, if the page is in the unlock 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 causes the currently displayed page to jump to the user login Interface to avoid high security level data of the first user being acquired by other users.
S250:若不对所述第一用户账户进行切换,则发出保持指令,以使页面显示装置保持当前页面。S250: If the first user account is not switched, a hold instruction is issued to enable the page display device to maintain the current page.
根据步骤S230中的判断结果,如果页面处于锁定状态,或者账户数据的安全等级为低,则用户账户切换装置发出保持指令,显示装置接收保持指令,然后保持当前页面显示的内容不变。According to the judgment result in step S230, if the page is in the locked state, or the security level of the account data is low, the user account switching means issues a hold instruction, the display means receives the hold instruction, and then keeps the content displayed on the current page unchanged.
综上所述,本实施例通过持续捕获第一用户的第一特征判断用户是否发生改变,并根据用户数据的安全等级和页面锁定状态在用户发生改变时判断是否进行账户切换。能够保护用户的数据不易泄露的同时,使用户可以通过页面分享自己同意分享的内容。In summary, the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page lock state. The ability to protect the user's data is not easy to leak, while allowing users to share what they agree to share through the page.
请参考图3,本实施例提出一种用户账户切换方法,该方法适用于图1A所示的实施环境。该方法包括如下步骤:Referring to FIG. 3, this embodiment proposes a user account switching method, which is applicable to the implementation environment shown in FIG. 1A. The method comprises the following steps:
S310:用户账户切换装置在第一用户账户处于登录状态时,持续获取第一用户的第一用户特征。S310: The user account switching device continuously acquires the first user feature of the first user when the first user account is in the login state.
在一个示例中,用户装置获取装置会持续获取终端摄像装置获取的用户的头像信息,即将头像信息作为第一用户特征,如果用户的头像信息不发生改变,则说明当前用户是第一用户,当头像发生改变时,则说明当前用户已经不是与登录账户所对应的第一用户。In an example, the user device acquiring device continuously obtains the avatar information of the user acquired by the terminal camera device, that is, the avatar information is used as the first user feature, and if the avatar information of the user does not change, the current user is the first user. When the avatar changes, it indicates that the current user is not the first user corresponding to the login account.
在一个示例中,用户装置获取装置会持续获取终端摄像装置获取的用户的眼睛局部信息,即将眼睛局部信息作为第一用户特征,如果用户的眼睛局部信息不发生改变,则说明当前用户是第一用户,当眼睛局部发生改变时,则说明当前用户已经不是与登录账户所对应的第一用户。In an example, the user device acquiring device continuously acquires the eye local information of the user acquired by the terminal camera device, that is, the eye local information is used as the first user feature, and if the user's eye local information does not change, the current user is the first user. The user, when the eye changes locally, indicates that the current user is not the first user corresponding to the login account.
S320:当用户账户切换装置检测到所述第一用户特征发生改变时,获取第一用 户数据的安全等级和预置的页面锁定状态。S320: Acquire a security level of the first user data and a preset page locking state when the user account switching device detects that the first user feature changes.
当用户账户切换装置检测到第一用户特征发生改变时,说明当前的用户已经不是登录账户所对应的用户,如果此时终端的页面显示装置所展示的是用户的资金账户、私密照片、商业文件等等不宜为其他用户获取或者观看的内容,那么为了用户的隐私和安全,当前登录账户不宜为其他用户所使用。如果此时终端的页面所展示的内容是当前登录账户用户准备与其他用户分享的电影、照片、文档等,那么当前登录账户可以继续保持。因此,此时需要获取用户的设定。设定至少包含了数据的安全等级以及预置的锁定状态,数据的安全等级是预先设定的,诸如用户隐私、商业秘密、资金账户等都被设定为高安全等级,而诸如电影、小说、游戏等设为低安全等级。除此之外,用户可以自定义某些账户或者数据的安全等级。预置的锁定状态是指用户对页面显示装置内容的锁定操作,例如用户可以对高安全等级的页面内容进行锁定,这样页面会被锁定,而不会发生切换。如果用户不进行锁定,则页面内容则可能会发生切换。When the user account switching device detects that the first user feature changes, the current user is not the user corresponding to the login account, and if the page display device of the terminal displays the user's fund account, private photo, and business file at this time. For content that is not suitable for other users to access or view, the current login account should not be used by other users for the privacy and security of the user. If the content displayed on the page of the terminal at this time is a movie, a photo, a document, etc. that the user currently registered to log in to share with other users, the current login account can continue to be maintained. Therefore, it is necessary to obtain the user's settings at this time. The setting includes at least the security level of the data and the preset lock status. The security level of the data is preset, such as user privacy, trade secrets, fund accounts, etc. are set to a high security level, such as movies, novels. , games, etc. are set to a low security level. In addition, users can customize the security level of certain accounts or data. The preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
在一个示例中,当用户账户切换装置检测到第一用户特征发生改变时,获取当前页面显示内容的安全等级以及用户对当前显示页面的锁定状态。In one example, when the user account switching device detects that the first user feature has changed, the security level of the current page display content and the user's locked state for the currently displayed page are obtained.
页面锁定是可以来自用户通过硬件的操作,或者通过页面显示装置的输入。The page lock is an input that can come from the user through the hardware or through the page display device.
S330:用户账户切换装置根据所述第一用户数据的安全等级和预置的页面锁定状态判断是否对第一用户账户进行切换。S330: The user account switching device determines whether to switch the first user account according to the security level of the first user data and the preset page locking state.
在一个示例中,通过用户数据的安全等级和预置的页面锁定状态判断是否对第一用户账户进行切换可以首先判断用户数据的安全等级,用户数据的安全等级是预先设定的,与用户数据类型相关的安全设置。如前所述,诸如用户隐私、商业秘密、资金账户等都被设定为高安全等级,而诸如电影、小说、游戏等设为低安全等级。除此之外,用户可以自定义某些账户或者数据的安全等级。预置的锁定状态是指用户对页面显示装置内容的锁定操作,例如用户可以对高安全等级的页面内容进行锁定,这样页面会被锁定,而不会发生切换。如果用户不进行锁定,则页面内容则可能会发生切换。In an example, determining whether to switch the first user account by using the security level of the user data and the preset page locking state may first determine the security level of the user data, and the security level of the user data is preset, and the user data. Type related security settings. As previously mentioned, such as user privacy, trade secrets, money accounts, etc. are all set to a high security level, while such as movies, novels, games, etc. are set to a low security level. In addition, users can customize the security level of certain accounts or data. The preset locked state refers to the user's locking operation on the content of the page display device. For example, the user can lock the page content of the high security level, so that the page will be locked without switching. If the user does not lock, the page content may switch.
在一个示例中,通过用户数据的安全等级和预置的页面锁定状态判断是否对第一用户账户进行切换可以首先判断预置的页面锁定状态。页面锁定状态是用户输入的,用于确定页面是否进行切换的标识,页面锁定状态可以通过用户对于终端硬件 或者软件的操作进行预先设定。例如,用户想将某安全级别高的数据展示给另一个用户看,此时,用于通过将页面状态设置为锁定,即可实现页面的锁定。In one example, determining whether to switch the first user account by the security level of the user data and the preset page lock status may first determine the preset page lock status. The page lock status is an identifier input by the user for determining whether the page is switched. The page lock status can be preset by the user's operation on the terminal hardware or software. For example, the user wants to display a certain high security level data to another user. At this time, the page is locked by setting the page status to locked.
S340:若对所述第一用户账户进行切换,则用户账户切换装置向页面显示装置发出切换指令。S340: If the first user account is switched, the user account switching device issues a switching instruction to the page display device.
在步骤S330中,如果用户账户切换装置判断需要对当前页面显示的内容进行切换,则由用户账户切换装置向页面显示装置发送切换指令。In step S330, if the user account switching means determines that the content displayed on the current page needs to be switched, the user account switching means transmits a switching instruction to the page display means.
用户账户切换装置保存所述第一用户账户的访问数据,并将所述访问数据发送至服务器;所述服务器接收并存储所述访问数据。The user account switching means saves access data of the first user account and transmits the access data to a server; the server receives and stores the access data.
在该过程中还可能包括如下步骤:The process may also include the following steps:
S3401:用户账户切换装置保存所述第一用户账户的访问数据,并将所述访问数据发送至服务器;所述服务器接收并存储所述访问数据。S3401: 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.
S350:页面显示装置响应于接收到的所述切换指令,使显示页面跳转至预设的用户登录页面。S350: The page display device causes the display page to jump to a preset user login page in response to the received switching instruction.
页面显示装置,用于显示页面,其会根据接收到的指令显示不同的页面。当页面显示装置接收到切换指令时,其会使显示的页面由之前的页面跳转至预设的用户登录页面。A page display device for displaying a page that displays different pages according to the received instructions. When the page display device receives the switching instruction, it causes the displayed page to jump from the previous page to the preset user login page.
S360:若不对所述第一用户账户进行切换,则用户账户切换装置向页面显示装置发出保持指令。S360: If the first user account is not switched, the user account switching device issues a hold instruction to the page display device.
若不在S330的判断结果是不对第一用户账户进行切换,这用户账户切换装置向页面显示装置发出保持当前页面状态的指令。那么即时当前用户发送改变,页面所显示的内容不会受到影响。例如,电影画面会继续播放,即时页面存在资金账户、机密文档等文件,页面也会发送跳转。If the result of the determination in S330 is that the first user account is not switched, the user account switching means issues an instruction to the page display means to maintain the current page state. Then the current user sends a change, and the content displayed on the page is not affected. For example, the movie screen will continue to play, and the instant page will have funds account, confidential document and other files, and the page will also send a jump.
S370:页面显示装置响应于接收到的所述保持指令,保持当前页面。S370: The page display device maintains the current page in response to the received hold instruction.
页面显示装置根据接收到的保持指令不会使当前正在显示的页面发生任何变化。The page display device does not cause any changes to the page currently being displayed based on the received hold command.
S380:若对所述第一用户账户进行切换,则用户账户切换装置向页面显示装置发出切换指令之后,用户账户切换装置获取第二用户的第二用户特征。S380: If the first user account is switched, after the user account switching device issues a switching instruction to the page display device, the user account switching device acquires the second user feature of the second user.
在步骤S350,用户账户切换装置发出切换指令之后,用户账户切换装置开始持续获取当前用户的用户特征,此处将当前用户称为第二用户,将获取的用户特征称 为第二用户特征。After the user account switching device issues the switching instruction in step S350, the user account switching device starts to continuously acquire the user feature of the current user, where the current user is referred to as the second user, and the acquired user feature is referred to as the second user feature.
与第一用户特征相同,第二用户特征是使第二用户区别其他用户的、具有显著特点的特征。例如,第一特征可以是用户的头像;用户面部的局部例如眼睛、鼻子、嘴等;用户的声音;用户的指纹等等。那么,第二用户特征是与第一用户特征相同的用户的头像;用户面部的局部例如眼睛、鼻子、嘴等;用户的声音;用户的指纹等等。Like the first user feature, the second user feature is a feature that distinguishes the other users from the other users. For example, the first feature may be an avatar of the user; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like. Then, the second user feature is an avatar of the user who is the same as the first user feature; a part of the user's face such as an eye, a nose, a mouth, etc.; a user's voice; a user's fingerprint, and the like.
在本步骤中,用户账户切换装置通过终端外设获取第二用户特征。终端外设可以是摄像头,麦克风,触摸屏等等。In this step, the user account switching device acquires the second user feature through the terminal peripheral device. The terminal peripherals can be a camera, a microphone, a touch screen, and the like.
S390:用户账户切换装置将所述第二用户特征发送至服务器。S390: The user account switching device sends the second user feature to the server.
在获取第二用户特征之后,用户账户切换装置将第二用户特征通过通信链路发送至服务器。After acquiring the second user feature, the user account switching device transmits the second user feature to the server over the communication link.
S400:所述服务器接收所述第二用户特征,并查询是否存在与所述第二用户特征匹配的第二用户账户,并在存在所述第二用户账户时返回第二用户账户信息。S400: The server receives the second user feature, and queries whether there is a second user account that matches the second user feature, and returns the second user account information when the second user account exists.
服务器接收到第二用户特征之后,在数据库查询与第二用户特征匹配的账户是否存在。如果第二用户之前曾经注册并且将用户特征与账户信息绑定,则通过查询可以获得与第二用户特征匹配的第二账户。如果之前第二用户并未注册账户或者之前注册的账户并未与第二用户特征进行绑定,则通过查询无法获取与第二用户特征匹配的第二账户。After the server receives the second user feature, the database queries whether an account matching the second user feature exists. If the second user has previously registered and bound the user profile with the account information, a second account that matches the second user feature can be obtained by querying. If the previous user has not registered the account or the previously registered account is not bound to the second user feature, the second account matching the second user feature cannot be obtained by querying.
如果服务器查询获得了与第二用户特征匹配的第二用户账户,则服务器将第二用户账户的信息返回给用户账户切换装置。If the server query obtains a second user account that matches the second user profile, the server returns information of the second user account to the user account switching device.
如果服务器查询未获得与第二用户特征匹配的第二用户账户,则服务器返回用户注册消息,以提醒第二用户进行注册。If the server query does not obtain a second user account that matches the second user feature, the server returns a user registration message to remind the second user to register.
S410:用户账户切换装置接收所述服务器返回的第二用户账户信息,并登陆所述第二用户账户。S410: The user account switching device receives the second user account information returned by the server, and logs in to the second user account.
如果服务器将第二用户账户的信息返回给用户账户切换装置,则用户账户切换装置接收第二用户账户信息,并登陆第二用户账户。If the server returns information of the second user account to the user account switching device, the user account switching device receives the second user account information and logs in to the second user account.
在一个示例中,如图4所示,步骤S410还可以包含如下子步骤:In an example, as shown in FIG. 4, step S410 may further include the following sub-steps:
S4101:用户账户切换装置接收所述服务器返回的第二用户账户信息,所述第二用户账户信息包括:账号信息、安全等级信息和访问记录;S4101: The user account switching device receives the second user account information returned by the server, where the second user account information includes: account information, security level information, and an access record;
S4102:用户账户切换装置登陆所述第二用户账户,读取所述访问记录,并发出跳转指令;S4102: the user account switching device logs in to the second user account, reads the access record, and issues a jump instruction;
S4103:所述页面显示装置接收所述跳转指令,并跳转至所述访问记录所指向的页面。S4103: The page display device receives the jump instruction and jumps to a page pointed to by the access record.
其中步骤S4103中根据跳转指令跳转至访问记录指向的页面也可以根据设定跳转至初始页面。In step S4103, according to the jump instruction, jumping to the page pointed to by the access record may also jump to the initial page according to the setting.
S420:所述服务器在不存在所述第二用户账户时返回用户注册消息;用户账户切换装置接收所述服务器返回的用户注册消息,生成用户注册指令,以使得页面显示装置跳转至预设的用户注册页面。S420: The server returns a user registration message when the second user account does not exist; the user account switching device receives the user registration message returned by the server, and generates a user registration instruction, so that the page display device jumps to the preset User registration page.
S430:用户账户切换装置接收来自所述用户注册页面的注册信息,并将所述注册信息与所述第二用户特征绑定,并发送至服务器;所述服务器接收所述绑定的注册信息与所述第二用户特征,并注册与所述注册信息和第二用户特征关联的第二用户。S430: The user account switching device receives registration information from the user registration page, and binds the registration information to the second user feature, and sends the information to the server; the server receives the binding registration information and The second user feature and registering a second user associated with the registration information and the second user feature.
综上所述,本实施例通过持续捕获第一用户的第一特征判断用户是否发生改变,并根据用户数据的安全等级和页面锁定状态在用户发生改变时判断是否进行账户切换,并根据捕获到的新用户特征实现快速登录和快速跳转至用户浏览内容。能够保护用户的数据不易泄露的同时,实现同一设备在不同用户之间的快速切换,方便用户的使用,提高用户体验。In summary, the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page locking state, and according to the captured The new user features enable fast logins and quick jumps to users browsing content. It can protect users' data from leaking at the same time, and realize fast switching between different users of the same device, which is convenient for users to use and improve user experience.
请参考图5,本实施例提供了一种用户账户切换装置,所述装置包括:Referring to FIG. 5, the embodiment provides a user account switching apparatus, where the apparatus includes:
第一用户特征捕获模块,执行步骤S210,用于在第一用户账户处于登录状态时,持续获取第一用户的第一用户特征;The first user feature capture module performs step S210, and is configured to continuously acquire the first user feature of the first user when the first user account is in the login state;
第一用户数据获取模块,执行步骤S220,用于在检测到所述第一用户特征发生改变时,获取第一用户数据的安全等级和预置的页面锁定状态;The first user data obtaining module, in step S220, is configured to acquire a security level of the first user data and a preset page locking state when detecting that the first user feature changes;
切换判断模块,执行步骤S230,用于根据所述第一用户数据的安全等级和所述预置的页面锁定状态判断是否对第一用户账户进行切换;The switching judgment module performs step S230, and is configured to determine whether to switch the first user account according to the security level of the first user data and the preset page locking state;
页面跳转模块,执行步骤S240,用于在对所述第一用户账户进行切换时,向页面显示装置发出切换指令,以使当前页面跳转至预设用户登录页面;The page jump module, in step S240, is configured to issue a switching instruction to the page display device when the first user account is switched, so that the current page jumps to the preset user login page;
页面保持模块,执行步骤S250,用于在不对所述第一用户账户进行切换时,向页面显示装置发出保持指令,以保持当前页面。The page holding module executes step S250 for issuing a hold instruction to the page display device to maintain the current page when the first user account is not switched.
具体模块的实施可以参照图2所示的实施例。The implementation of the specific module can be referred to the embodiment shown in FIG. 2.
请参考图6,本实施例提供了一种用户账户切换装置,所述装置包括:Referring to FIG. 6, the embodiment provides a user account switching apparatus, where the apparatus includes:
第一用户特征捕获模块,用于在第一用户账户处于登录状态时,持续获取第一用户的第一用户特征;a first user feature capture module, configured to continuously acquire a first user feature of the first user when the first user account is in a login state;
第一用户数据获取模块,用于在检测到所述第一用户特征发生改变时,获取第一用户数据的安全等级和预置的页面锁定状态;a first user data obtaining module, configured to acquire a security level of the first user data and a preset page locking state when detecting that the first user feature changes;
切换判断模块,用于根据所述第一用户数据的安全等级和所述预置的页面锁定状态判断是否对第一用户账户进行切换;The switching determining module is configured to determine, according to the security level of the first user data and the preset page locking state, whether to switch the first user account;
页面跳转模块,用于在对所述第一用户账户进行切换时,向页面显示装置发出切换指令,以使当前页面跳转至预设用户登录页面;a page jump module, configured to issue a switching instruction to the page display device when the first user account is switched, so that the current page jumps to the preset user login page;
页面保持模块,用于在不对所述第一用户账户进行切换时,向页面显示装置发出保持指令,以保持当前页面。And a page holding module, configured to issue a hold instruction to the page display device to maintain the current page when the first user account is not switched.
第二用户特征获取模块,用于获取第二用户的第二用户特征;a second user feature obtaining module, configured to acquire a second user feature of the second user;
第二用户特征发送模块,用于将所述第二用户特征发送至服务器,以使得所述服务器查询是否存在与所述第二用户特征匹配的第二用户账户,并在存在所述第二用户账户时返回第二用户账户信息;a second user feature sending module, configured to send the second user feature to a server, so that the server queries whether there is a second user account that matches the second user feature, and exists in the second user Return the second user account information when the account is used;
接收和登录模块,用于接收所述服务器返回的第二用户账户信息,并登陆所述第二用户账户。The receiving and login module is configured to receive second user account information returned by the server, and log in to the second user account.
注册消息接收模块,用于接收所述服务器返回的用户注册消息,生成用户注册指令,以使得页面显示装置跳转至预设的用户注册页面。The registration message receiving module is configured to receive a user registration message returned by the server, and generate a user registration instruction, so that the page display device jumps to a preset user registration page.
特征绑定模块,用于接收来自所述用户注册页面的注册信息,并将所述注册信息与所述第二用户特征绑定,并将绑定信息发送至服务器。And a feature binding module, configured to receive registration information from the user registration page, bind the registration information to the second user feature, and send the binding information to a server.
服务器接收所述绑定的注册信息与所述第二用户特征,并注册与所述注册信息和第二用户特征关联的第二用户。The server receives the binding registration information and the second user feature, and registers a second user associated with the registration information and the second user feature.
如图7所示,所述接收和登录模块包含如下子模块:As shown in FIG. 7, the receiving and login module includes the following submodules:
注册信息接收子模块,用于接收来自所述用户注册页面的注册信息,并将所述注册信息与所述第二用户特征绑定以注册第二用户账户。And a registration information receiving submodule, configured to receive registration information from the user registration page, and bind the registration information to the second user feature to register a second user account.
信息接收子模块,用于接收所述服务器返回的第二用户账户信息,所述第二用户账户信息包括,第二用户账户的账号信息、安全等级和访问记录;An information receiving submodule, configured to receive second user account information returned by the server, where the second user account information includes account information, a security level, and an access record of the second user account;
账户登录子模块,用于登陆所述第二用户账户,读取所述访问记录,并使页面显示装置跳转至访问记录所指向的页面。The account login sub-module is configured to log in to the second user account, read the access record, and cause the page display device to jump to the page pointed to by the access record.
具体模块的实施可以参照图3所示的实施例。The implementation of the specific module can be referred to the embodiment shown in FIG.
请参考图8,本实施例提供了一种终端,所述终端可以用于实施上述实施例中提供的页面内容提取方法。具体来讲:Referring to FIG. 8, the embodiment provides a terminal, and the terminal can be used to implement the page content extraction method provided in the foregoing embodiment. Specifically:
终端700可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(wireless fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 700 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (wireless fidelity, wireless). The fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in the drawings does not constitute a limitation of the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. . Generally, the RF circuit 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). , duplexer, etc. In addition, RF circuitry 110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端700的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储 器控制器,以提供处理器180和输入单元130对存储器120的访问。The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for the function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to the terminal 700. Use the created data (such as audio data, phone book, etc.). Moreover, memory 120 can include high speed random access memory, and can 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, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131;除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 180 is provided and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves; in addition to the touch-sensitive surface 131, the input unit 130 can include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端700的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图10中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。 Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 700, which can be constructed from graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141. Alternatively, 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 the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 10, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
终端700还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端700移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小 及方向,可用于识别终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端700还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 700 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 700 moves to the ear. / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the terminal (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 700 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路160、扬声器161,传声器162可提供用户与终端700之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端700的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 700. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 700.
WiFi属于短距离无线传输技术,终端700通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块170,但是可以理解的是,其并不属于终端700的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 700 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users. Although FIG. 8 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 700, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器180是终端700的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端700的各种功能和处理数据,从而对终端进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the terminal 700, connecting various portions of the entire terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 700 are performed to perform overall monitoring of the terminal. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
终端700还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 700 also includes a power source 190 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system. Power supply 190 may also include any 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.
尽管未示出,终端700还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行上述一个或者一个以上程序包含用于进行以下操作的 指令:Although not shown, the terminal 700 may further include a camera, a Bluetooth module, and the like, and details are not described herein again. 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, wherein one or more programs are stored in the memory and configured to be processed by one or more Executing one or more of the above programs includes instructions for performing the following operations:
在第一用户账户处于登录状态时,持续获取第一用户的第一用户特征;When the first user account is in the login state, continuously acquiring the first user feature of the first user;
当检测到所述第一用户特征发生改变时,获取第一用户数据的安全等级和预置的页面锁定状态;Obtaining a security level of the first user data and a preset page locking state when detecting that the first user feature changes;
根据所述第一用户数据的安全等级和所述预置的页面锁定状态判断是否对第一用户账户进行切换;Determining 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, a switching instruction is sent to the page display device to cause the current page to jump to the preset user login page;
若不对所述第一用户账户进行切换,则向页面显示装置发出保持指令,以保持当前页面。If the first user account is not switched, a hold command is issued to the page display device to maintain the current page.
综上所述,本实施例通过持续捕获第一用户的第一特征判断用户是否发生改变,并根据用户数据的安全等级和页面锁定状态在用户发生改变时判断是否进行账户切换。能够保护用户的数据不易泄露的同时,使用户可以通过页面分享自己同意分享的内容。In summary, the embodiment determines whether the user changes by continuously capturing the first feature of the first user, and determines whether to perform account switching when the user changes according to the security level of the user data and the page lock state. The ability to protect the user's data is not easy to leak, while allowing users to share what they agree to share through the page.
本申请还提供了一种数据显示装置,包括处理器和存储器,所述存储器包括计算机可读指令,可以使所述处理器执行本申请中方法的各步骤,可以使所述处理器实现本申请中各模块的功能。The present application also provides a data display device comprising a processor and a memory, the memory comprising computer readable instructions, the processor being operative to perform the steps of the method of the present application, the processor being enabled to implement the present application The function of each module.
本实施例中的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在存储介质中,包括若干指令用以使得一台或多台终端设备执行本发明各个实施例所述方法的全部或部分步骤。The technical solution in this embodiment may be embodied in the form of a software product in essence or in part or in the form of a software product, which is stored in a storage medium, including several instructions. To cause one or more terminal devices to perform all or part of the steps of the methods described in various embodiments of the present invention.
本实施例中所述模块/单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。可以根据实际的需要选择其中的部分或者全部模块/单元来达到实现本发明方案的目的。The division of the modules/units in this embodiment is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be integrated into another device, or some features may be Ignore, or not execute. Some or all of the modules/units may be selected according to actual needs to achieve the purpose of implementing the solution of the present 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 physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术 人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (23)

  1. 一种数据显示方法,应用于终端设备,其特征在于,所述方法包括如下步骤:A data display method is applied to a terminal device, and the method includes the following steps:
    获取登录所述终端设备的账户关联的用户的第一生物特征,在第一页面展示所述用户的数据;Obtaining a first biometric of a user associated with an account that is logged in to the terminal device, and displaying data of the user on a first page;
    利用所述终端设备的生物特征采集设备获取第二生物特征;Acquiring, by using the biometric collection device of the terminal device, the second biometric feature;
    当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面,其中,所述第二页面不包括所述用户的数据。When it is determined that the second biometric is different from the first biometric, jumping to a second page, wherein the second page does not include data of the user.
  2. 根据权利要求1所述的方法,其中,当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面包括:The method of claim 1, wherein when it is determined that the second biometric is different from the first biometric, jumping to the second page comprises:
    当确定所述第二生物特征与所述第一生物特征的数量不同或特征不同时,跳转至所述第二页面。When it is determined that the second biometric is different from the first biometric or the feature is different, jump to the second page.
  3. 根据权利要求1所述的方法,其中,所述当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面包括:The method of claim 1, wherein when determining that the second biometric is different from the first biometric, jumping to the second page comprises:
    当所述第二生物特征与所述第一生物特征不同时,获取所述第一页面的页面锁定状态,所述页面锁定状态指示所述用户是否允许将所述第一页面展示给另一用户;Obtaining a page lock status of the first page when the second biometric is different from the first biometric, the page lock status indicating whether the user is allowed to display the first page to another user ;
    当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时,跳转至所述第二页面。Jumping to the second page when the page lock status indicates that the user does not allow the first page to be presented to another user.
  4. 根据权利要求1或3所述的方法,其中,所述当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面包括:The method according to claim 1 or 3, wherein when it is determined that the second biometric is different from the first biometric, jumping to the second page comprises:
    当所述第二生物特征与所述第一生物特征不同时,获取所述第一页面的安全等级,所述安全等级为所述第一页面的来源所提供的服务与用户隐私的关联程度;Obtaining a security level of the first page when the second biometric is different from the first biometric, the security level being a degree of association between a service provided by a source of the first page and user privacy;
    当所述第一页面的安全等级满足预定条件时,跳转至所述第二页面。Jumping to the second page when the security level of the first page satisfies a predetermined condition.
  5. 根据权利要求1所述的方法,其中,所述利用所述终端设备的生物特征采集设备获取第二生物特征,包括:The method of claim 1, wherein the acquiring, by the biometric collection device of the terminal device, the second biometric comprises:
    获取所述第一页面的页面锁定状态,所述页面锁定状态指示所述用户是否允许将所述第一页面展示给另一用户;Obtaining a page lock status of the first page, where the page lock status indicates whether the user is allowed to display the first page to another user;
    当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时,利用所述终端设备的生物特征采集设备获取第二生物特征。When the page locking state indicates that the user does not allow the first page to be displayed to another user, the biometric collection device of the terminal device acquires the second biometric.
  6. 根据权利要求1或5所述的方法,其中,所述利用所述终端设备的生物特征采集设备获取第二生物特征包括:The method according to claim 1 or 5, wherein the acquiring, by the biometric collection device of the terminal device, the second biometric feature comprises:
    获取所述第一页面的安全等级,所述安全等级为所述第一页面的来源所提供的服务与用户隐私的关联程度;Obtaining a security level of the first page, where the security level is a degree of association between a service provided by a source of the first page and user privacy;
    当所述第一页面的安全等级满足预定条件时,利用所述终端设备的生物特征采集设备获取第二生物特征。When the security level of the first page meets a predetermined condition, the biometric collection device of the terminal device acquires the second biometric.
  7. 根据权利要求1所述的方法,其中,所述第二页面为用户登录页面。The method of claim 1 wherein the second page is a user login page.
  8. 根据权利要求1所述的方法,其中,该方法进一步包括:The method of claim 1 wherein the method further comprises:
    向服务器查询与所述第二生物特征匹配的第二账户,在所述第二页面中展示所述第二账户对应的数据;及Querying, by the server, a second account that matches the second biometric, and displaying data corresponding to the second account in the second page; and
    设置所述第二账户为当前登录所述终端设备的账户。The second account is set to be an account currently logged into the terminal device.
  9. 根据权利要求1所述的方法,其中,该方法进一步包括:The method of claim 1 wherein the method further comprises:
    向服务器查询与所述第二生物特征匹配的第二账户;Querying, to the server, a second account that matches the second biometric;
    当确定服务器中不存在所述第二账户时,展示用户注册页面作为所述第二页面。When it is determined that the second account does not exist in the server, the user registration page is displayed as the second page.
  10. 根据权利要求1所述的方法,其中,该方法进一步包括:The method of claim 1 wherein the method further comprises:
    通过注册页面获取第三用户输入的注册信息,并获取所述第三用户的第三生物特征;Obtaining registration information input by the third user through the registration page, and acquiring a third biometric of the third user;
    将所述注册信息与所述第三生物特征保存到服务器中。The registration information and the third biometric are saved to the server.
  11. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    当确定所述第二生物特征与所述第一生物特征不同时,该方法进一步包括:When it is determined that the second biometric is different from the first biometric, the method further comprises:
    获取所述用户的访问记录,并将所述访问数据发送至服务器,以使服务器将该访问数据与所述用户的账户关联保存;Obtaining an access record of the user, and sending the access data to a server, so that the server associates the access data with an account of the user;
    在所述跳转至第二页面之后,该方法进一步包括:After the jump to the second page, the method further includes:
    响应于所述用户的登录请求,从服务器获取所述用户的账户关联的访问记录,展示所述访问记录对应的至少一个页面。And in response to the login request of the user, obtaining an access record associated with the account of the user from the server, and displaying at least one page corresponding to the access record.
  12. 根据权利要求11所述的方法,其中,在所述跳转至第二页面之前,该方法进一步包括:The method of claim 11 wherein before the jump to the second page, the method further comprises:
    将所述用户的访问记录与所述第一生物特征关联保存;Saving the access record of the user in association with the first biometric;
    在所述跳转至第二页面之后,该方法进一步包括:After the jump to the second page, the method further includes:
    利用所述终端设备的生物特征采集设备获取第四生物特征;Acquiring, by using the biometric collection device of the terminal device, a fourth biometric feature;
    当所述第四生物特征与所述第一生物特征相同时,根据该第四生物特征获取所述用户的访问记录;Obtaining an access record of the user according to the fourth biometric when the fourth biometric is the same as the first biometric;
    展示所述访问记录对应的至少一个页面。At least one page corresponding to the access record is displayed.
  13. 根据权利要求1所述的方法,其中,所述获取登录所述终端设备的账户关联的用户的第一生物特征包括:通过摄像头采集图像,从所述图像中获取人类面部特征。The method of claim 1, wherein the obtaining the first biometric of the user associated with the account logged into the terminal device comprises acquiring an image from the image and acquiring a human facial feature from the image.
  14. 根据权利要求1所述的方法,其中,所述获取登录所述终端设备的账户关联的用户的第一生物特征包括:The method according to claim 1, wherein the obtaining the first biometric of the user associated with the account registered to the terminal device comprises:
    通过麦克风采集声音;Collecting sound through a microphone;
    从所述声音中获取人类嗓音特征。A human voice feature is obtained from the sound.
  15. 一种数据显示装置,包括处理器和存储器,所述存储器包括计算机可读指令,可以使所述处理器执行用于:A data display device includes a processor and a memory, the memory including computer readable instructions executable by the processor for:
    获取登录所述终端设备的账户关联的用户的第一生物特征,在第一页面展示所述用户的数据;Obtaining a first biometric of a user associated with an account that is logged in to the terminal device, and displaying data of the user on a first page;
    利用所述终端设备的生物特征采集设备获取第二生物特征;Acquiring, by using the biometric collection device of the terminal device, the second biometric feature;
    当确定所述第二生物特征与所述第一生物特征不同时,跳转至第二页面,其中,所述第二页面不包括所述用户的数据。When it is determined that the second biometric is different from the first biometric, jumping to a second page, wherein the second page does not include data of the user.
  16. 根据权利要求15所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:The apparatus of claim 15 wherein said computer readable instructions are executable by said processor for:
    当确定所述第二生物特征与所述第一生物特征的数量不同或特征不同时,跳转至所述第二页面。When it is determined that the second biometric is different from the first biometric or the feature is different, jump to the second page.
  17. 根据权利要求15所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:The apparatus of claim 15 wherein said computer readable instructions are executable by said processor for:
    当所述第二生物特征与所述第一生物特征不同时,获取所述第一页面的页面锁定状态,所述页面锁定状态指示所述用户是否允许将所述第一页面展示给另一用户;Obtaining a page lock status of the first page when the second biometric is different from the first biometric, the page lock status indicating whether the user is allowed to display the first page to another user ;
    当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时, 跳转至所述第二页面。Jumping to the second page when the page lock status indicates that the user does not allow the first page to be presented to another user.
  18. 根据权利要求15或17所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:Apparatus according to claim 15 or claim 17, wherein said computer readable instructions are executable by said processor for:
    当所述第二生物特征与所述第一生物特征不同时,获取所述第一页面的安全等级,所述安全等级为所述第一页面的来源所提供的服务与用户隐私的关联程度;Obtaining a security level of the first page when the second biometric is different from the first biometric, the security level being a degree of association between a service provided by a source of the first page and user privacy;
    当所述第一页面的安全等级满足预定条件时,跳转至所述第二页面。Jumping to the second page when the security level of the first page satisfies a predetermined condition.
  19. 根据权利要求15所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:The apparatus of claim 15 wherein said computer readable instructions are executable by said processor for:
    获取所述第一页面的页面锁定状态,所述页面锁定状态指示所述用户是否允许将所述第一页面展示给另一用户;Obtaining a page lock status of the first page, where the page lock status indicates whether the user is allowed to display the first page to another user;
    当所述页面锁定状态指示所述用户不允许将所述第一页面展示给另一用户时,利用所述终端设备的生物特征采集设备获取第二生物特征。When the page locking state indicates that the user does not allow the first page to be displayed to another user, the biometric collection device of the terminal device acquires the second biometric.
  20. 根据权利要求15或19所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:Apparatus according to claim 15 or 19, wherein said computer readable instructions are executable by said processor for:
    获取所述第一页面的安全等级,所述安全等级为所述第一页面的来源所提供的服务与用户隐私的关联程度;Obtaining a security level of the first page, where the security level is a degree of association between a service provided by a source of the first page and user privacy;
    当所述第一页面的安全等级满足预定条件时,利用所述终端设备的生物特征采集设备获取第二生物特征。When the security level of the first page meets a predetermined condition, the biometric collection device of the terminal device acquires the second biometric.
  21. 根据权利要求15所述的装置,其中,The device according to claim 15, wherein
    所述计算机可读指令可以使所述处理器执行用于:The computer readable instructions are executable by the processor for:
    当确定所述第二生物特征与所述第一生物特征不同时,该方法进一步包括:When it is determined that the second biometric is different from the first biometric, the method further comprises:
    获取所述用户的访问记录,并将所述访问数据发送至服务器,以使服务器将该访问数据与所述用户的账户关联保存;Obtaining an access record of the user, and sending the access data to a server, so that the server associates the access data with an account of the user;
    所述计算机可读指令可以使所述处理器执行用于:The computer readable instructions are executable by the processor for:
    在所述跳转至第二页面之后,响应于所述用户的登录请求,从服务器获取所述用户的账户关联的访问记录,展示所述访问记录对应的至少一个页面。After the jump to the second page, in response to the login request of the user, an access record associated with the account of the user is obtained from a server, and at least one page corresponding to the access record is displayed.
  22. 根据权利要求21所述的装置,其中,所述计算机可读指令可以使所述处理器执行用于:The apparatus of claim 21 wherein said computer readable instructions are executable by said processor for:
    在所述跳转至第二页面之前,将所述用户的访问记录与所述第一生物特征关联保存;Saving the access record of the user in association with the first biometric before the jumping to the second page;
    所述计算机可读指令可以使所述处理器执行用于:The computer readable instructions are executable by the processor for:
    在所述跳转至第二页面之后,利用所述终端设备的生物特征采集设备获取第四生物特征;After the jump to the second page, acquiring the fourth biometric by using the biometric collection device of the terminal device;
    当所述第四生物特征与所述第一生物特征相同时,根据该第四生物特征获取所述用户的访问记录;Obtaining an access record of the user according to the fourth biometric when the fourth biometric is the same as the first biometric;
    展示所述访问记录对应的至少一个页面。At least one page corresponding to the access record is displayed.
  23. 一种计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如权利要求1所述的方法。A computer readable storage medium storing computer readable instructions that cause at least one processor to perform the method of claim 1.
PCT/CN2018/070089 2017-01-03 2018-01-03 Data display method and device, and storage medium WO2018127048A1 (en)

Applications Claiming Priority (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
CN201710001806.6 2017-01-03

Publications (1)

Publication Number Publication Date
WO2018127048A1 true WO2018127048A1 (en) 2018-07-12

Family

ID=62770657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/070089 WO2018127048A1 (en) 2017-01-03 2018-01-03 Data display method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN108270757B (en)
WO (1) WO2018127048A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016915A (en) * 2020-08-31 2020-12-01 支付宝(杭州)信息技术有限公司 Method and device for providing service for user
CN116451235A (en) * 2023-03-27 2023-07-18 亿咖通(湖北)技术有限公司 Memory protection method, device, storage medium and program product

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114840843B (en) * 2019-05-24 2022-11-11 华为技术有限公司 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

Citations (4)

* 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
CN104951682A (en) * 2015-06-05 2015-09-30 小米科技有限责任公司 Privacy protection method and device
CN105320870A (en) * 2015-10-28 2016-02-10 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus and mobile terminal
CN105827622A (en) * 2016-04-25 2016-08-03 乐视控股(北京)有限公司 Method and device for protecting user information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101971719B1 (en) * 2012-05-31 2019-04-25 에스케이플래닛 주식회사 Apparatus and method for supporting multi-user in system for supporting multi-user
CN102932518A (en) * 2012-10-30 2013-02-13 广东欧珀移动通信有限公司 User login/switching method and system, and mobile terminal
CN105868617B (en) * 2016-03-25 2020-02-04 维沃移动通信有限公司 Application program encryption method and mobile terminal

Patent Citations (4)

* 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
CN104951682A (en) * 2015-06-05 2015-09-30 小米科技有限责任公司 Privacy protection method and device
CN105320870A (en) * 2015-10-28 2016-02-10 广东欧珀移动通信有限公司 Fingerprint unlocking method and apparatus and mobile terminal
CN105827622A (en) * 2016-04-25 2016-08-03 乐视控股(北京)有限公司 Method and device for protecting user information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016915A (en) * 2020-08-31 2020-12-01 支付宝(杭州)信息技术有限公司 Method and device for providing service for user
CN116451235A (en) * 2023-03-27 2023-07-18 亿咖通(湖北)技术有限公司 Memory protection method, device, storage medium and program product
CN116451235B (en) * 2023-03-27 2024-04-09 亿咖通(湖北)技术有限公司 Memory protection method, device, storage medium and program product

Also Published As

Publication number Publication date
CN108270757B (en) 2022-02-18
CN108270757A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
US11269981B2 (en) Information displaying method for terminal device and terminal device
WO2018127048A1 (en) Data display method and device, and storage medium
TWI606360B (en) Method, apparatus and system for detecting webpages
JP6064050B2 (en) Router access control method, router access control apparatus, and network system
US20150294101A1 (en) Running applications, and authenticating users
US10251056B2 (en) Electronic device with gesture actuation of companion devices, and corresponding systems and methods
US20150319173A1 (en) Co-verification method, two dimensional code generation method, and device and system therefor
WO2018153100A1 (en) Method for displaying collected object, and terminal
CN107657045B (en) Information collection method, mobile terminal and computer readable storage medium
WO2016082194A1 (en) Message processing method and apparatus
CN106713266B (en) Method, device, terminal and system for preventing information leakage
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
WO2014206203A1 (en) System and method for detecting unauthorized login webpage
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
WO2015055095A1 (en) Identity authentication method and device and storage medium
CN108475304B (en) Method and device for associating application program and biological characteristics and mobile terminal
CN104901805B (en) A kind of identification authentication methods, devices and systems
US9940448B2 (en) Unlock processing method and device
US11176228B2 (en) Application interface display method, apparatus, and terminal, and storage medium
WO2015043525A1 (en) Method, apparatus, and system for picture sharing
CN109257336A (en) It is a kind of based on the encrypted message processing method of block chain, terminal device
WO2017054585A1 (en) Network access method, device, and system
WO2019071424A1 (en) Application function control method and terminal
CN111600931A (en) Information sharing method and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18736468

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18736468

Country of ref document: EP

Kind code of ref document: A1