Account switching method and related device

By automatically matching and switching accounts with biological features carried by content interactive operation, the problem of cumbersome account switching operations in the existing technology is solved, efficient and fast account switching is achieved, and user experience and account security are improved.

CN119494095APending Publication Date: 2025-02-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311055574.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-21
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In the prior art, the account switching operation is complicated, resulting in inefficient account switching process, making it difficult to quickly switch content applications between multiple accounts.

Method used

Account switching is completed through content interaction, without the need for additional account switching operations, and the biological characteristics are used to match the account to register the feature library, and the account login status is automatically switched.

Benefits of technology

It improves the efficiency of account switching, simplifies user operations, improves user experience, and while protecting account security, it realizes rapid switching of content applications between multiple accounts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119494095A_ABST
    Figure CN119494095A_ABST
Patent Text Reader

Abstract

The invention discloses an account number switching method and a related device, and the method comprises the steps: determining a corresponding target biological feature when a first account number carries out the content interaction operation for a content application program during the login of the content application program through the first account number, and carrying out the matching of an account number registration feature library according to the target biological feature, the account registration feature library comprises a biological feature for registration and an association relationship between accounts in the content application program. If the target biological characteristic is not matched with the first biological characteristic, the first account with the association relationship between the target biological characteristic and the first biological characteristic is not related, so that it can be determined that the content interaction operation is not related to the first account, and the account login state of the content application program is switched from the first account to the second account; therefore, in the process of performing normal content interaction on the content application program, account switching is completed through the biological characteristics carried by the content interaction operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to an account switching method and related devices. Background Art

[0002] Interacting with a user's account through a content application is a common way to obtain content. For example, a user can open the clicked content on the content application by clicking on it, so that the user can obtain the clicked content. When multiple users use the content application through a terminal device, the content application may need to switch between multiple accounts to protect the user's privacy.

[0003] In the related art, users need to switch between multiple accounts through a special account switching operation, and the account switching operation is usually cumbersome. For example, the user needs to log out of the currently logged in account and log in to another account by clicking a special account switching button.

[0004] The cumbersome account switching operation in the related art will lead to inefficient account switching process, making it difficult to quickly switch content applications between multiple accounts. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides an account switching method and related devices, which can complete account switching through the biological characteristics carried by the content interaction operation during the normal content interaction between the account and the content application, without the user performing additional account switching operations to switch accounts, thereby ensuring the efficiency of the account switching process and improving the user experience.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] On the one hand, an embodiment of the present application provides an account switching method, including:

[0008] During a period when the content application is logged in through the first account, in response to a content interaction operation made through the first account on the content application, determining a target biometric feature corresponding to the content interaction operation;

[0009] Matching an account registration feature library according to the target biological feature, wherein the account registration feature library includes associations between biological features used for registration and accounts in content applications;

[0010] In response to the target biometric feature not matching the first biometric feature in the account registration feature library, determining that the content interaction operation is not associated with the first account associated with the first biometric feature;

[0011] Switching the account login status of the content application from the first account to a second account corresponding to the target biometric characteristic.

[0012] On the other hand, an embodiment of the present application provides an account switching device, including a first determination unit, a matching unit, a second determination unit and a switching unit:

[0013] A first determining unit, configured to determine a target biometric feature corresponding to a content interaction operation performed on the content application through the first account during the period when the content application is logged in through the first account;

[0014] A matching unit, used to match an account registration feature library according to a target biological feature, wherein the account registration feature library includes an association relationship between the biological feature used for registration and an account in a content application;

[0015] a second determining unit, configured to determine that the content interaction operation is not associated with the first account associated with the first biometric feature in response to the target biometric feature not matching the first biometric feature in the account registration feature library;

[0016] The switching unit is used to switch the account login status of the content application from the first account to the second account corresponding to the target biological feature.

[0017] In a possible implementation manner, the second determining unit is configured to:

[0018] In response to the target biometric feature matching a second biometric feature in the account registration feature library, it is determined that the content interaction operation is related to a second account having an associated relationship with the second biometric feature, and the second biometric feature is different from the first biometric feature.

[0019] In a possible implementation manner, the second determining unit is configured to:

[0020] In response to the target biological feature not matching any of the biological features in the account registration feature library, determining that the target biological feature corresponding to the content interaction operation is an unfamiliar biological feature;

[0021] The switching unit is used to:

[0022] Identify temporary accounts associated with unfamiliar biometrics in content applications;

[0023] The temporary account is used as the second account, and the account login status of the content application is switched from the first account to the second account.

[0024] In a possible implementation manner, the second determining unit is configured to:

[0025] In response to a match between the target biometric feature and a second biometric feature in the account registration feature library, determining an account behavior feature corresponding to the second account;

[0026] Behavior matching is performed based on pending behavior features generated by content interaction operations and account behavior features;

[0027] In response to successful behavior matching, it is determined that the content interaction operation is related to the second account.

[0028] In a possible implementation manner, the second determining unit is further configured to:

[0029] In response to the behavior matching being unsuccessful, determining that the content interaction operation is not associated with the second account;

[0030] The content interaction operation is determined to be an abnormal interaction operation, and the account login state of the content application is prohibited from switching to the second account.

[0031] In a possible implementation, the account relationship between the accounts involved in the account registration feature library is a master-slave account relationship.

[0032] In a possible implementation manner, the first determining unit is further configured to:

[0033] After the account login status of the content application is switched from the first account to the second account corresponding to the target biological feature, in response to the target interaction operation that causes the content displayed by the content application to change, the content to be displayed is determined according to the content recommendation model of the second account, and the content to be displayed is displayed in the change area of ​​the content display.

[0034] In a possible implementation, the target interaction operation includes a content page switching operation, a content refresh operation, or a forced refresh operation based on an account login status switch.

[0035] In a possible implementation manner, the first determining unit is further configured to:

[0036] After switching the account login status of the content application from the first account to a second account corresponding to the target biometric characteristic, determining account access rights for the second account;

[0037] If the target content displayed by the content application exceeds the account access rights, the display of the target content is cancelled, and the target content is the content accessed by the first account before the account login status is switched.

[0038] In a possible implementation manner, the first determining unit is further configured to:

[0039] Determine an account behavior parameter within a predetermined period of time, where the account behavior parameter includes at least one of an account login state switching frequency or a content interaction operation frequency;

[0040] In response to the account behavior parameter reaching an abnormal standard, determining that an abnormal account behavior occurs;

[0041] Switching the content application to a content protection mode includes at least one of prohibiting account login status switching, hiding displayed content, or pushing security prompts.

[0042] In a possible implementation, the target biological feature is a fingerprint feature for performing content interaction operations.

[0043] In another aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:

[0044] The memory is used to store the computer program and transmit the computer program to the processor;

[0045] The processor is configured to execute the method described above according to the computer program.

[0046] In another aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the above aspects.

[0047] On the other hand, an embodiment of the present application provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method described in the above aspects.

[0048] It can be seen from the above technical solution that for content applications that can switch accounts, during the period when the content application is logged in through the first account, the first account can perform normal content interaction with the content application through content interaction operations. Since the content interaction operation will carry the user's biological characteristics, when the first account performs a content interaction operation on the content application, the corresponding target biological characteristics are determined. In order to sense whether the biological characteristics have changed, the account registration feature library is matched according to the target biological characteristics. Since the account registration feature library includes the association between the biological characteristics used for registration and the account in the content application, the account registration feature library includes the association between the first biological characteristics and the first account. If the target biological feature does not match the first biological feature, it means that the target biological feature is not related to the first account that is associated with the first biological feature, and the target biological feature is the biological feature corresponding to the content interaction operation, so that it can be determined that the content interaction operation is not related to the first account, that is, the content interaction operation is determined not by the user corresponding to the first account through the target biological feature carried by the content interaction operation, which means that the content interaction operation does not require the first account to log in, but requires the second account corresponding to the target biological feature to log in, that is, the content application needs to switch accounts. At this time, there is no need to perform additional account switching operations to switch accounts, but directly switch the account login status of the content application from the first account to the second account, so that in the process of normal content interaction with the content application, the account switching is completed through the biological features carried by the content interaction operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 A schematic diagram of an account switching scenario provided in an embodiment of the present application;

[0051] Figure 2 A method flow chart of an account switching method provided in an embodiment of the present application;

[0052] Figure 3 A specific flow chart of fingerprint feature recognition provided by an embodiment of the present application;

[0053] Figure 4 A schematic diagram of a fingerprint recognition and risk control strategy provided in an embodiment of the present application;

[0054] Figure 5 A specific flow chart of registering an account provided in an embodiment of the present application;

[0055] Figure 6 A specific flow chart of account switching provided in an embodiment of the present application;

[0056] Figure 7 A schematic diagram of an account switching device provided in an embodiment of the present application;

[0057] Figure 8 A structural diagram of a terminal device provided in an embodiment of the present application;

[0058] Fig. 9 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0060] For content applications that require account switching, users in related technologies need to switch between multiple accounts through a dedicated account switching operation. The account switching operation is usually cumbersome. For example, users need to click a dedicated account switching button to log out of the currently logged-in account and log in to another account. This will lead to an inefficient account switching process and make it difficult to quickly switch between multiple accounts. At the same time, since the account switching operation in related technologies needs to be actively triggered by the user and the operation is relatively cumbersome, it will affect the user's experience in the content application.

[0061] To this end, an embodiment of the present application provides an account switching method and related devices, which can complete account switching through biological characteristics carried by content interaction operations during the normal content interaction between an account and a content application. There is no need for the user to perform additional account switching operations to switch accounts, thereby ensuring the efficiency of the account switching process and improving the user experience.

[0062] An account switching method and related device provided in the embodiment of the present application can be implemented by a computer device, which can be a terminal device or a server, wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. Terminal devices include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc. Terminal devices and servers can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0063] In this application, the fingerprint, face and other biometric recognition technologies involved, when the above embodiments of this application are applied to specific products or technologies, the relevant data collection, use and processing processes should comply with the requirements of national laws and regulations. Before collecting biometric information such as fingerprint information and face information, the information processing rules should be informed and the separate consent of the target object should be sought. The fingerprint information, face information and other biometric information should be processed in strict accordance with the requirements of laws and regulations and the personal information processing rules, and technical measures should be taken to ensure the security of relevant data.

[0064] Figure 1 A schematic diagram of an account switching scenario provided for an embodiment of the present application, wherein the aforementioned computer device is a terminal device.

[0065] For content applications that can switch accounts, while the content application is logged in through the first account, the first user will initiate content interaction operations with the content application through the first account in order to conduct normal content interaction with the content application. If the first user no longer uses the content application and other users use the content application, the other users will also temporarily initiate content interaction operations with the content application through the first account in order to conduct normal content interaction with the content application.

[0066] In this regard, since the content interaction operation will carry the user's biological characteristics, when the first account performs a content interaction operation on the content application, the terminal device can determine the corresponding target biological characteristics, such as Figure 1 As shown, the target biological feature may be a fingerprint feature corresponding to the user.

[0067] In order to sense whether the biological feature has changed, the terminal device can match the account registration feature library according to the target biological feature. Since the account registration feature library includes the association between the biological feature used for registration and the account in the content application, that is, the account registration feature library includes the association between the first biological feature and the first account, the terminal device can determine whether the target biological feature matches the first biological feature.

[0068] If the target biological feature does not match the first biological feature, it means that the first account with which the target biological feature is associated is not related, and the target biological feature is the biological feature corresponding to the content interaction operation, so that the terminal device can determine that the content interaction operation is not related to the first account.

[0069] By determining that the content interaction operation is not related to the first account, the terminal device can indicate that the content interaction operation is not initiated by the user corresponding to the first account, that is, the content application no longer needs to log in with the first account, but needs to log in with the second account corresponding to the target biological feature, that is, the content application has a need to switch accounts. At this time, the terminal device does not need to perform additional account switching operations to switch accounts, such as Figure 1 As shown, the account login status of the content application is directly switched from the first account to the second account, so that during the normal content interaction process of the content application, the account switching is completed through the biological characteristics carried by the content interaction operation.

[0070] Figure 2 A method flow chart of an account switching method provided in an embodiment of the present application, the method can be executed by a computer device. In this embodiment, the computer device is a terminal device as an example for explanation, and the method includes:

[0071] S201. During a period in which a content application is logged in through a first account, in response to a content interaction operation performed on the content application through the first account, determining a target biological feature corresponding to the content interaction operation.

[0072] Content refers to all kinds of information that users can obtain. The information in content comes in various forms, such as text, pictures, videos, etc.

[0073] Content applications refer to applications that can recommend content to a user's corresponding account so that the user can obtain the content. Specifically, during the normal content interaction between the user and the content application through the account, the content application can recommend relevant information, articles, videos and other content to the account, and the user can obtain the content accordingly. Since content applications usually recommend content to users in the form of information flow, content applications can also be called information flow applications.

[0074] An account refers to a virtual identity used by a user to log in to a content application and use the content application. An account may include text, numbers, English, etc. An account and a user are bound to each other. When different users need to use a content application, they may log in to the content application through their respective accounts.

[0075] In this embodiment, the first account refers to any account used to log in to the content application. The user corresponding to the first account is the first user. The first account and the first user have a binding relationship. During the period when the content application is logged in through the first account, the first user can use the content application through the first account.

[0076] Since a content application installed on a terminal device cannot be logged in by multiple accounts at the same time, when multiple users need to use the content application through a terminal device, the content application may need to switch between the accounts corresponding to the multiple users, that is, the content application needs to switch between multiple accounts.

[0077] In the related art, users need to switch between multiple accounts through special account switching operations. The account switching operation is usually cumbersome, which makes the account switching process inefficient and makes it difficult to quickly switch content applications between multiple accounts.

[0078] In this regard, since the normal content interaction operations of users through accounts and content applications will carry biological characteristics, the terminal device can automatically switch accounts when it determines that the biological characteristics have changed, thereby eliminating the need for users to perform additional account switching operations.

[0079] Specifically, content interaction operations refer to operations in which users interact with content applications through their accounts in order to view the content provided by the content applications. Such content interaction operations may include operations such as clicking, sliding, and zooming. The content application displays the corresponding content in response to the content interaction operations. For example, a user can open the clicked content on the content application by clicking on the interface of the terminal device through the account, and can better browse the clicked content and interact with the content by sliding the interface of the terminal device up and down and zooming the interface of the terminal device. When a user logs in to a content application through an account, in order to obtain the corresponding content from the content application, the content interaction operation initiated by the user through the account on the content application is a regular operation.

[0080] Biometric features refer to the biological features of a user that are carried when the user interacts with content through an account, including fingerprint features or facial features, etc. Fingerprint features refer to the features related to the user's fingerprint that correspond to the user's content interaction through an account. For example, when user A browses content by sliding up and down on the interface of a terminal device through an account, the corresponding fingerprint features are the features related to user A's fingerprint. Facial features refer to the features related to the user's face that correspond to the user's content interaction through an account. For example, when user A opens the clicked content by clicking on the interface of a terminal device through an account, the corresponding facial features are the features related to user A's face. It should be noted that each user has his or her own biological features, that is, the biological features of different users are not the same. For example, the fingerprint features of user A and user B are not the same.

[0081] During the period when the content application is logged in through the first account, the first user will initiate content interaction operations on the content application through the first account in order to perform normal content interaction with the content application. If the first user no longer uses the content application and other users use the content application, the other users will also temporarily initiate content interaction operations on the content application through the first account in order to perform normal content interaction with the content application. Since the biological characteristics of the first user are different from the biological characteristics of other users, the terminal device can determine whether the user using the content application has changed by sensing changes in the biological characteristics, and then determine whether there is a need to switch accounts for the content application on the terminal device.

[0082] At this time, in order to be able to perceive changes in biological characteristics, during the period when the content application is logged in through the first account, when the first account makes a content interaction operation on the content application, the terminal device can first determine the target biological characteristic corresponding to the content interaction operation. The target biological characteristic refers to the biological characteristic of the user corresponding to the content interaction operation initiated through the first account.

[0083] Since the content interaction operations initiated by the user through the first account are usually interactive operations such as clicking, sliding up and down, etc. initiated by the user's fingers, and fingerprints have certain accuracy and reliability in recognition, the target biological characteristics can be the fingerprint characteristics of the content interaction operations. In other words, when the user initiates the content interaction operation through the first account, the terminal device can determine the fingerprint characteristics corresponding to the content interaction operation, so that it can subsequently accurately determine whether the user using the content application has changed according to the change of the fingerprint characteristics, that is, determine whether the content application needs to switch accounts.

[0084] It should be noted that during the period when the content application is logged in through the first account, for each content interaction operation made on the content application through the first account, the terminal device can determine the target biological characteristics corresponding to each content interaction operation, so as to judge the user corresponding to each content interaction operation in subsequent steps, thereby being able to promptly determine whether there is a need to switch accounts for the content application when the user using the content application changes.

[0085] Since the biological characteristics carried by content interaction operations that occur in a short period of time are less likely to change, the terminal device can also obtain the target biological characteristics of the content interaction operation in a periodic manner, such as once every few seconds, or once every few content interaction operations. In this way, the resource consumption of obtaining the target biological characteristics can be reduced to a certain extent while maintaining the recognition accuracy.

[0086] S202: Match the account registration feature library according to the target biological feature.

[0087] The account registration feature library refers to a database used to store accounts in content applications and biometric features used to register corresponding accounts. In this embodiment, when a user registers an account on a content application, the terminal device can obtain the user's corresponding biometric features for registration based on the user's separate consent, and store the biometric features used for registration and the registered account in association with each other in the account registration feature library. In other words, the account registration feature library includes the association between the biometric features used for registration and the account in the content application.

[0088] It should be noted that users who use content applications on the same terminal device are local users. For example, for content applications on terminal devices located in shopping mall A, only customers who enter and exit shopping mall A will register corresponding accounts on the terminal devices of shopping mall A. Accordingly, the accounts corresponding to multiple local users are also accounts in the local environment. Since the accounts in the content application on a terminal device are all accounts in the local environment, the number of accounts in the content application on a terminal device will not be too large, that is, the number of accounts involved in the account registration feature library will not be too large.

[0089] In a possible implementation, the account relationship between the accounts involved in the account registration feature library is a master-slave account relationship.

[0090] The accounts involved in the account registration feature library are accounts in content applications. Since the accounts in content applications on a terminal device are accounts in the local environment, the account relationship between the accounts involved in the account registration feature library can be a master-slave account relationship, that is, the account relationship between the accounts in the content application can be a master-slave account relationship. In other words, the accounts involved in the account registration feature library can include a master account and corresponding slave accounts. For example, for a content application on a terminal device located in a home, in the local environment corresponding to the home, the account corresponding to the parents can be the master account, and the accounts corresponding to the elderly and children can be slave accounts.

[0091] For a content application on a terminal device, the relationship between the accounts involved in the account registration feature library can be a master-slave account relationship, so that the content application can switch between the master account and the slave account in the local environment when switching accounts.

[0092] After determining the target biological feature corresponding to the content interaction operation in S201, the terminal device can match the account registration feature library according to the target biological feature. Since the account registration feature library includes the association between the biological feature used for registration and the account in the content application, and the first account refers to any account in the content application, that is, the account registration feature library will include the association between the first biological feature and the first account. The first biological feature refers to the biological feature associated with the first account, and also refers to the biological feature used by the first user to register the first account, which may include the fingerprint feature or facial feature used by the first user to register. The first biological feature has an association with both the first user and the first account. Therefore, the terminal device can match the account registration feature library according to the target biological feature to determine whether the target biological feature matches the first biological feature, thereby determining whether the content interaction operation corresponding to the target biological feature is related to the first account.

[0093] It should be noted that in order to realize the identification and switching of accounts during content interaction operations, the feature types of the biological features in the account registration feature library and the target biological features obtained through content interaction operations should be consistent, for example, both are fingerprint type or face type.

[0094] In a possible implementation, in order to reduce the processing pressure of the terminal device, the account registration feature library may be located in the server, and matching the account registration feature library according to the target biological feature in S202 includes:

[0095] The terminal device sends the target biological feature to the server, so that the server matches the account registration feature library according to the target biological feature, obtains the corresponding matching result and sends the matching result to the terminal device;

[0096] The terminal device receives the matching result sent by the server.

[0097] By setting up a corresponding account registration feature library on the server, the terminal device can send the target biological features to the server so that the server can identify the target biological features based on the account registration feature library, thereby allowing the server to share the terminal device's processing pressure on identification and reducing the processing pressure on the terminal device.

[0098] S203: In response to the target biometric feature not matching the first biometric feature in the account registration feature library, determine that the content interaction operation is not related to the first account associated with the first biometric feature.

[0099] The first biometric feature in the account registration feature library refers to the biometric feature associated with the first account, and also refers to the biometric feature used by the first user to register the first account. The first biometric feature is associated with both the first user and the first account.

[0100] If the target biological feature does not match the first biological feature, it means that the first account with which the target biological feature is associated is not related, and the target biological feature is the biological feature corresponding to the content interaction operation, so that the terminal device can determine that the content interaction operation is not related to the first account. The content interaction operation is not related to the first account means that the content interaction operation is not initiated by the user corresponding to the first account, that is, the terminal device can indicate that the content interaction operation is not initiated by the first user by determining that the content interaction operation is not related to the first account.

[0101] It should be noted that if the target biological feature matches the first biological feature, it means that the target biological feature is related to the first account with which the first biological feature has an associated relationship, so that the terminal device can determine that the content interaction operation is related to the first account. The content interaction operation is related to the first account means that the content interaction operation is initiated by the user corresponding to the first account, that is, the terminal device can indicate that the content interaction operation is initiated by the first user by determining that the content interaction operation is related to the first account.

[0102] S204: Switch the account login status of the content application from the first account to the second account corresponding to the target biological characteristic.

[0103] After determining in S203 that the content interaction operation is not related to the first account, it can be explained that the content interaction operation is not initiated by the first user, which means that the user using the content application has changed and is no longer the first user corresponding to the first account that logs into the content application, but another user corresponding to the target biological feature. In order to ensure the compatibility between the account that logs into the content application and the user that uses the content application, when the user using the content application changes, the content application has a corresponding account switching requirement, that is, the content application no longer needs to log in with the first account, but needs to log in with the second account corresponding to the target biological feature. The second account refers to the account corresponding to the target biological feature, and also refers to the account that the user corresponding to the target biological feature needs to log in when using the content application.

[0104] In this regard, in response to the account switching requirements of the content application, in this embodiment, the terminal device does not need to perform additional account switching operations to switch accounts. Instead, the account login status of the content application is directly switched from the first account to the second account. Therefore, during the normal content interaction process of the content application, the account switching is completed through the biological characteristics carried by the content interaction operation, so that the user corresponding to the second account can use the content application through the second account.

[0105] It should be noted that if the terminal device determines that the content interaction operation is related to the first account, it means that the content interaction operation is still initiated by the first user, which means that the user using the content application has not changed and is still the first user corresponding to the first account that logs into the content application. At this time, there is no need to switch accounts for the content application, and the terminal device can keep the account login status of the content application still the first account.

[0106] In order to further protect the security of accounts in the content application, in a possible implementation, the account switching method further includes:

[0107] Determine an account behavior parameter within a predetermined period of time, where the account behavior parameter includes at least one of an account login state switching frequency or a content interaction operation frequency;

[0108] In response to the account behavior parameter reaching an abnormal standard, determining that an abnormal account behavior occurs;

[0109] Switching the content application to a content protection mode includes at least one of prohibiting account login status switching, hiding displayed content, or pushing security prompts.

[0110] In order to protect the security of accounts in content applications, the terminal device can perform anomaly detection through account behavior parameters, and protect the accounts in the content application when abnormal account behavior is determined.

[0111] Specifically, the terminal device can determine the account behavior parameters within a predetermined time period, wherein the predetermined time period can be set by relevant personnel as needed. The shorter the set predetermined time period, the higher the security of the account in the content application. For content applications with higher security requirements, the terminal device can determine the account behavior parameters in real time. Account behavior parameters refer to parameters used to identify account behavior. Account behavior refers to the behavior performed by a user on a content application through an account, and may include at least one of the frequency of account login status switching or the frequency of content interaction operations. The frequency of account login status switching refers to the frequency of account login status switching caused by changes in the user's biological characteristics. The frequency of content interaction operations refers to the frequency of content interaction operations performed by the user on the content application.

[0112] When the account behavior parameters reach the abnormal standard, the terminal device can determine that abnormal account behavior has occurred. Abnormal account behavior refers to account behavior that poses a risk to the account in the content application. The abnormal standard can be set by relevant personnel based on experience. For example, when the account login status switches frequently, it means that the content application frequently switches accounts within a predetermined period of time, and the account switching is caused by the terminal device sensing a change in the biological characteristics of the user using the content application, which indicates that there may be an attacker using multiple biological characteristics to collide with the database in the hope of collided with the fingerprint used for registration corresponding to the account in the content application. At this time, the terminal device can determine that abnormal account behavior has occurred. Alternatively, when the frequency of content interaction operations is high, it means that the user has made a large number of content interaction operations on the content application within a predetermined period of time, such as a large number of sliding operations on the terminal device's screen, which is different from the user's normal content interaction using the content application. At this time, the terminal device can also determine that abnormal account behavior has occurred.

[0113] After the terminal device determines that abnormal account behavior has occurred, the terminal device can trigger the corresponding risk assessment and response mechanism, and can switch the content application to content protection mode. The content protection mode includes at least one of prohibiting account login status switching, hiding displayed content, or pushing security prompts, thereby protecting the security of the account in the content application in content protection mode.

[0114] The terminal device can detect anomalies in content applications through account behavior parameters. When abnormal account behavior is determined, the security of the account in the content application is protected by switching the content application to content protection mode, thereby further ensuring the security of account switching in the content application.

[0115] It can be seen that for content applications that can switch accounts, during the period when the content application is logged in through the first account, the first account can perform normal content interaction with the content application through content interaction operations. Since the content interaction operation will carry the user's biological characteristics, when the first account performs a content interaction operation on the content application, the corresponding target biological characteristics are determined. In order to sense whether the biological characteristics have changed, the account registration feature library is matched according to the target biological characteristics. Since the account registration feature library includes the association between the biological characteristics used for registration and the account in the content application, the account registration feature library includes the association between the first biological characteristics and the first account. If the target biological feature does not match the first biological feature, it means that the target biological feature is not related to the first account that is associated with the first biological feature, and the target biological feature is the biological feature corresponding to the content interaction operation, so that it can be determined that the content interaction operation is not related to the first account, that is, the content interaction operation is determined not by the user corresponding to the first account through the target biological feature carried by the content interaction operation, which means that the content interaction operation does not require the first account to log in, but requires the second account corresponding to the target biological feature to log in, that is, the content application needs to switch accounts. At this time, there is no need to perform additional account switching operations to switch accounts, but directly switch the account login status of the content application from the first account to the second account, so that in the process of normal content interaction with the content application, the account switching is completed through the biological features carried by the content interaction operation.

[0116] On the basis that the first account is an account registered in the content application, if the second account is also another account registered in the content application, the account login state of the content application can be switched between the registered accounts through the account switching method. In a possible implementation, in response to the target biological feature not matching the first biological feature in the account registration feature library, determining that the content interaction operation is not related to the first account associated with the first biological feature includes:

[0117] In response to the target biometric feature matching a second biometric feature in the account registration feature library, it is determined that the content interaction operation is related to a second account having an associated relationship with the second biometric feature, and the second biometric feature is different from the first biometric feature.

[0118] Since the account registration feature library includes the association between the biometric features used for registration and the account in the content application, that is, the account registration feature library will include the biometric features corresponding to the account registered in the content application, when the second account is an account registered in the content application, the account registration feature library may include the association between the second account and the second biometric feature. The second biometric feature refers to the biometric feature associated with the second account, and also refers to the biometric feature used by the second user to register the second account. The second user and the second account have a binding relationship. Since the second user is different from the first user, the second biometric feature is different from the first biometric feature.

[0119] In the process of matching the account registration feature library according to the target biological feature, the terminal device can match the target biological feature with any biological feature in the account registration feature library, that is, the terminal device can match the target biological feature with the second biological feature. If the target biological feature and the second biological feature match, it means that the target biological feature is related to the second account, and the target biological feature is the biological feature corresponding to the content interaction operation, so that the terminal device can determine that the content interaction operation is related to the second account. The first account and the second account are different, which is equivalent to determining that the content interaction operation is not related to the first account. The content interaction operation is not related to the first account and is related to the second account means that the content interaction operation is not initiated by the user corresponding to the first account but is initiated by the user corresponding to the second account, that is, the terminal device can indicate that the content interaction operation is not initiated by the first user but by the second user by determining that the content interaction operation is related to the second account, so that the account login status of the content application can be switched from the first account to the second account in subsequent steps.

[0120] When the second account is another account registered for the content application, the account registration feature library may include an association between the second account and the second biometric feature, so that the terminal device matches the target biometric feature with the second biometric feature. If the target biometric feature and the second biometric feature match, the terminal device may determine that the content interaction operation is related to the second account, so that in subsequent steps the terminal device may switch the account login status of the content application from the first account to the second account, thereby realizing switching between registered accounts in the content application.

[0121] On the basis that the first account is a registered account in the content application, if there is a stranger who has not registered an account on the content application and also needs to use the content application, the account login state of the content application can be switched from the registered first account to the unregistered temporary account through the account switching method. In a possible implementation, in response to the target biological feature not matching the first biological feature in the account registration feature library, determining that the content interaction operation is not related to the first account associated with the first biological feature includes:

[0122] In response to the target biological feature not matching any of the biological features in the account registration feature library, determining that the target biological feature corresponding to the content interaction operation is an unfamiliar biological feature;

[0123] In step S204, the account login status of the content application is switched from the first account to the second account corresponding to the target biological characteristic, including:

[0124] Identify temporary accounts associated with unfamiliar biometrics in content applications;

[0125] The temporary account is used as the second account, and the account login status of the content application is switched from the first account to the second account.

[0126] In the process of matching the account registration feature library according to the target biological feature, the terminal device can match the target biological feature with each biological feature in the account registration feature library. If the target biological feature does not match the biological features in the account registration feature library, it means that the target biological feature is not related to the account involved in the account feature library, and the account involved in the account feature library is an account registered in the content application, that is, the target biological feature is not related to the account registered in the content application, and the target biological feature is the biological feature corresponding to the content interaction operation, so that the terminal device can determine that the content interaction operation is not related to the account registered in the content application, and the content interaction operation is related to the account registered in the content application. The numbers are not related, which means that the content interaction operation is not initiated by a user who has registered an account on the content application, but by a stranger who has not registered an account on the content application. At this time, the terminal device can determine that the target biological feature corresponding to the content interaction operation is a strange biological feature. The strange biological feature refers to the biological feature corresponding to the stranger who has not registered an account on the content application. It should be noted that since the number of strangers who have not registered an account on the content application includes multiple, the strange biological feature can be the feature corresponding to any stranger who has not registered an account on the content application, that is, the strange biological feature can be any biological feature that is different from every biological feature in the account registration feature library.

[0127] After the terminal device determines that the target biometric feature is an unfamiliar biometric feature, in order to allow strangers corresponding to the unfamiliar biometric feature to use the content application normally, the terminal device can determine a temporary account related to the unfamiliar biometric feature in the content application. The temporary account refers to an account used by a stranger who has not registered on the content application to log in to the content application. Since the temporary account is an account for strangers, it can also be called a stranger account.

[0128] It should be noted that the terminal device can generate a corresponding temporary account in real time after determining that the target biological feature is an unfamiliar biological feature, or it can generate a temporary account in advance and directly apply the corresponding temporary account after determining that the target biological feature is an unfamiliar biological feature.

[0129] After the terminal device determines the temporary account, the terminal device can use the temporary account as the second account and switch the account login status of the content application from the first account to the second account, that is, the terminal device switches the account login status of the content application from the first account corresponding to the first user to the temporary account corresponding to the stranger who is not registered on the content application, thereby facilitating the stranger who is not registered on the content application to use the content application normally through the temporary account.

[0130] Since the accounts involved in the account feature library are registered accounts in the content application, when the target biological feature does not match the biological features in the account registration feature library, the terminal device can determine that the target biological feature is an unfamiliar biological feature, that is, the content interaction operation corresponding to the target biological feature is initiated by a stranger who is not registered on the content application. At this time, the terminal device can determine the temporary account related to the unfamiliar biological feature, and switch the account login status of the content application from the first account to the temporary account, so as to switch the account login status of the content application from the account corresponding to the registered user to the temporary account corresponding to the unregistered stranger, so that the stranger who is not registered on the content application can use the content application normally through the temporary account.

[0131] To further ensure the security of account switching in the content application, in a possible implementation, in response to a match between the target biometric feature and a second biometric feature in the account registration feature library, determining that the content interaction operation is related to the second account associated with the second biometric feature includes:

[0132] In response to a match between the target biometric feature and a second biometric feature in the account registration feature library, determining an account behavior feature corresponding to the second account;

[0133] Behavior matching is performed based on pending behavior features generated by content interaction operations and account behavior features;

[0134] In response to successful behavior matching, it is determined that the content interaction operation is related to the second account.

[0135] Since attackers may log in to the account of normal users by forging biological features, normal users refer to users who are normally registered on content applications. For example, attackers may perform content interaction operations by wearing a fake fingerprint that matches the fingerprint features corresponding to the normal user, and try to log in to the corresponding account of the normal user in the content application. At this time, if the terminal device directly determines that the content interaction operation is related to the account corresponding to the normal user because the fingerprint features corresponding to the fake fingerprint match the fingerprint features corresponding to the normal user, this will cause the attacker to successfully log in to the corresponding account of the normal user. Therefore, in order to further ensure the security of account switching in content applications, the terminal device can further identify through behavioral features based on identification through biological features.

[0136] Specifically, if the target biological feature matches the second biological feature in the account registration feature library, although the target biological feature is the biological feature corresponding to the content interaction operation, the terminal device does not directly determine that the content interaction operation is related to the second account, but first determines the account behavior feature corresponding to the second account. The account behavior feature refers to the behavioral characteristics of the content interaction behavior made by the user corresponding to the account through the account for the content application, and may include the position preference of the user corresponding to the account when touching the screen of the terminal device, the possible dwell time when touching the screen of the terminal device, and the possible sliding speed when touching the screen of the terminal device, etc., that is, the account behavior feature can reflect the personalized behavioral characteristics of the user corresponding to the account when interacting with the content application. The terminal device can obtain the account behavior feature corresponding to the account through the historical content interaction data of the user corresponding to the account using the content application, and the account behavior feature and the corresponding account are bound to each other.

[0137] After the terminal device determines the account behavior characteristics corresponding to the second account, the terminal device can perform behavior matching with the account behavior characteristics corresponding to the second account based on the pending behavior characteristics generated by the content interaction operation, where the pending behavior characteristics refer to the behavior characteristics reflected by the content interaction operation, and the account behavior characteristics corresponding to the second account refer to the behavior characteristics of the content interaction behavior performed by the second user through the second account for the content application, which can reflect the personalized behavior characteristics of the second user in content interaction with the content application.

[0138] If the pending behavior characteristics successfully match the account behavior characteristics corresponding to the second account, it means that the user initiating the content interaction operation and the second user have matching behavior characteristics for the content application. For example, the user initiating the content interaction operation and the second user having matching behavior characteristics for the content application may include the user initiating the content interaction operation and the second user having similar position preferences when touching the screen of the terminal device, similar dwelling times when touching the screen of the terminal device, and similar sliding speeds when touching the screen of the terminal device, etc., indicating that the user initiating the content interaction operation is very likely to be the second user, rather than an attacker who falsifies biometric characteristics. This allows for a more accurate determination that the content interaction operation is related to the second account, thereby reducing the risk of logging into a normal user's account by falsifying biometric characteristics.

[0139] In order to further ensure the security of account switching in content applications, if the target biological feature matches the second biological feature, the terminal device does not directly determine that the content interaction operation is related to the second account, but first determines the account behavior feature corresponding to the second account, and matches the behavior of the pending behavior feature generated by the content interaction operation with the account behavior feature corresponding to the second account. If the pending behavior feature matches the account behavior feature corresponding to the second account successfully, it means that the user initiating the content interaction operation and the second user have matching behavior features for the content application, which means that the user initiating the content interaction operation is very likely to be the second user, rather than an attacker who falsifies biological features. Therefore, it can more accurately determine that the content interaction operation is related to the second account, reducing the risk of logging into a normal user's account by falsifying biological features.

[0140] In a possible implementation, the account switching method further includes:

[0141] In response to the behavior matching being unsuccessful, determining that the content interaction operation is not associated with the second account;

[0142] The content interaction operation is determined to be an abnormal interaction operation, and the account login state of the content application is prohibited from switching to the second account.

[0143] When matching the pending behavior characteristics generated by the content interaction operation with the account behavior characteristics of the second account, if the behavior match is unsuccessful, it means that the user initiating the content interaction operation and the second user have mismatched behavior characteristics for the content application, which means that the user initiating the content interaction operation is very likely not the second user, but an attacker who falsifies biometric characteristics. Therefore, the terminal device can determine that the content interaction operation is not related to the second account.

[0144] At this time, the target biological feature of the content interaction operation matches the second biological feature, while the pending behavioral feature generated by the content interaction operation does not match the account behavioral feature of the second account. This indicates that the user corresponding to the content interaction operation matches the second user in terms of biological features but does not match the second user in terms of other behaviors, which means that the user corresponding to the content interaction operation is likely to be an attacker who falsifies biological features. Therefore, the terminal device can determine that the content interaction operation is an abnormal interaction operation, and, based on the fact that the second biological feature corresponding to the second account has been obtained by the attacker, in order to prevent the attacker from successfully switching the account login status of the content application to the second account, the terminal device can prohibit the account login status of the content application from switching to the second account, thereby ensuring the security of the second account.

[0145] If the target biological feature of the content interaction operation matches the second biological feature, but the pending behavior feature generated by the content interaction operation does not match the account behavior feature of the second account, it means that the user initiating the content interaction operation is very likely to be an attacker who falsifies the biological feature. The terminal device can first determine that the content interaction operation is not related to the second account, and on the basis that the second biological feature corresponding to the second account has been obtained by the attacker, the terminal device can determine that the content interaction operation is an abnormal interaction operation, and prohibit the account login status of the content application from switching to the second account, thereby preventing the attacker from switching the account switching status of the content application to the second account through the second biological feature, thereby ensuring the security of the second account.

[0146] In a possible implementation, when the target biological feature is a fingerprint feature corresponding to the content interaction operation, the terminal device can identify the fingerprint feature corresponding to the content interaction operation. Fingerprint recognition refers to a method of analyzing and comparing the fingerprint image to determine the corresponding user identity. That is, the terminal device can match the fingerprint feature corresponding to the content interaction operation with the fingerprint feature in the account registration feature library through fingerprint recognition, such as Figure 3 As shown, the following steps are included:

[0147] S301, collecting fingerprint images.

[0148] The terminal device can convert the user's fingerprint into a fingerprint image through a fingerprint collector. The fingerprint image contains detailed information of the fingerprint, such as ridges, bifurcation points and end points.

[0149] S302a: If the fingerprint image is successfully collected, pre-process the fingerprint image.

[0150] The terminal device preprocesses the collected fingerprint image to extract fingerprint features. Preprocessing includes denoising, enhancement, binarization, and thinning. Denoising can remove noise interference in the fingerprint image, enhancement can improve the contrast and brightness of the fingerprint image, binarization can convert the fingerprint image into a black and white image for subsequent processing, and thinning can remove small parts in the fingerprint image.

[0151] S302b: If the fingerprint image is not collected successfully, determine that the fingerprint image collection fails.

[0152] S303: Extract fingerprint features from the preprocessed fingerprint image.

[0153] After preprocessing the fingerprint image in S302a, the terminal device can extract fingerprint features from the preprocessed fingerprint image. The fingerprint features can be in the form of feature points. Commonly used fingerprint features include detail features and global features. Among them, detail features include fingerprint ridges and bifurcation points, and global features include the overall shape and grain direction of the fingerprint image. The terminal device can extract fingerprint features through scale-invariant feature transform (SIFT), accelerated robust features (SURF) and local binary patterns (LBP).

[0154] S204: Train the initial fingerprint recognition model based on the fingerprint features.

[0155] The terminal device can train the initial fingerprint recognition model based on the fingerprint features, wherein the initial fingerprint recognition model can be a convolutional neural network (CNN) deep learning model. During the training process, the initial fingerprint recognition model automatically learns to recognize the differences between different fingerprint features, thereby extracting more accurate features.

[0156] S305: Obtain an optimized fingerprint recognition model.

[0157] After the initial fingerprint recognition model is trained in S304, a tuned fingerprint recognition model can be obtained. By tuning the initial fingerprint recognition model, the accuracy of fingerprint feature recognition can be improved. The tuning process may include optimization of the model structure, adjustment of model parameters, etc.

[0158] S306a, identifying the fingerprint to be identified according to the fingerprint identification model, and the fingerprint identification is successful.

[0159] The fingerprint to be identified refers to the fingerprint corresponding to the content interaction operation. The terminal device can identify the fingerprint corresponding to the content interaction operation according to the fingerprint recognition model to achieve the matching of the fingerprint features corresponding to the content interaction operation and the fingerprint features in the account registration feature library. If the match is successful, the fingerprint recognition is successful.

[0160] Specifically, the terminal device can compare the fingerprint features corresponding to the content interaction operation with the fingerprint features in the account registration feature library through the fingerprint recognition model. At this time, the terminal device can perform the comparison through 1:1 and 1:N modes. 1:1 refers to comparing the fingerprint features corresponding to the content interaction operation with a fingerprint feature in the account registration feature library, and 1:N refers to comparing the fingerprint features corresponding to the content interaction operation with all fingerprint features in the account registration feature library.

[0161] S306b: Identify the fingerprint to be identified according to the fingerprint identification model, and the fingerprint identification fails.

[0162] After the account login status of the content application is successfully switched, in order to provide a matching recommendation service to a user corresponding to the switched account, in a possible implementation, after the account login status of the content application is switched from the first account to the second account corresponding to the target biometric feature, the account switching method further includes:

[0163] In response to the target interaction operation that causes the content displayed by the content application to change, the content to be displayed is determined according to the content recommendation model of the second account, and the content to be displayed is displayed in the changed area of ​​the content display.

[0164] After switching the account login status of the content application from the first account to the second account, if there is a purposeful interactive operation, in order to provide a matching recommendation service to the second user corresponding to the second account, based on the account switching, the terminal device may also switch the content recommendation model, that is, determine the content to be displayed according to the content recommendation model of the second account, rather than determine the content to be displayed according to the content recommendation model of the first account, and display the content to be displayed.

[0165] Target interaction operation refers to an operation that causes a change in the content displayed by the content application. It can refer to an operation initiated by a user through an account that causes a change in the content displayed by the content application. For example, it can include an operation in which a user slides up and down the interface of a terminal device through an account to cause a change in the content displayed by the content application. It can also refer to an operation initiated based on a fixed rule that causes a change in the content displayed by the content application. For example, it can include an operation that causes a change in the content displayed by the content application under periodic time changes. In other words, the content displayed by the content application can be changed through the target interaction operation, so that users who use the content application can obtain different content. Therefore, in order to meet the needs of users to obtain different content through the content application.

[0166] It should be noted that the target interaction operation initiated by the user through the account that causes changes to the content displayed by the content application is also a content interaction operation initiated by the user through the account, while the target interaction operation initiated based on fixed rules that causes changes to the content displayed by the content application is not a content interaction operation initiated by the user through the account.

[0167] A content recommendation model refers to a model that recommends content to a content application. Since content applications need to switch between multiple accounts, and the content required by users corresponding to different accounts is usually different, for example, user A may prefer to view film and television related content when using a content application, while user B may prefer to view sports related content when using a content application. In this regard, an independent content recommendation model can be assigned to each account in the content application. The content recommendation models of different accounts can provide personalized content recommendations for users corresponding to the accounts based on their preferences, behavioral characteristics, and usage scenarios.

[0168] After switching the account login status of the content application from the first account to the second account, the terminal device can also switch the content recommendation model from the content recommendation model of the first account to the content recommendation model of the second account. At this time, if there is a purpose interaction operation, the terminal device can determine the content to be displayed according to the content recommendation model corresponding to the second account, and display the content to be displayed in the change area of ​​the content display. In this way, different users can get the content recommendation experience unique to each account when using the content application, based on the ability of the content application to switch accounts. This not only improves the user's content acquisition efficiency, but also meets the personalized needs of content recommendation, bringing different information experiences to different users.

[0169] When the account login status of the content application is switched from the first account to the second account, it indicates that the user using the content application has changed, and the terminal device will also switch the content recommendation model so that the content application can provide matching recommendation services to the user corresponding to the switched account.

[0170] In a possible implementation, the target interaction operation may include a content page switching operation, a content refresh operation, or a forced refresh operation based on an account login status switch.

[0171] Both content page switching operations and content refresh operations are target interactive operations initiated by users through their accounts to change the content displayed by content applications. Content page switching operations refer to operations in which users use their accounts to switch the interfaces of content applications, such as operations in which users use their accounts to click the back button on the interface to exit the current interface. Content refresh operations refer to operations in which users use their accounts to slide the interface up and down to change the content displayed by content applications, such as operations in which users use their accounts to slide the interface down to refresh the content.

[0172] Since content page switching operations and content refresh operations are not only purpose interaction operations but also content interaction operations, when different users initiate content interface switching operations or content refresh operations to the content application through their accounts, if the terminal device perceives that the target biological characteristics corresponding to the content interface switching operation or content refresh operation, which is a content interaction operation, have changed, the terminal device can directly switch the content recommendation model on the basis of switching the account login status of the content application, and use the switched content recommendation model to determine the corresponding content to be displayed, thereby achieving seamless account switching and seamless content recommendation model switching, so that the content application can recommend content to the switched account based on the switched content recommendation model.

[0173] However, in some cases, the content interaction operation corresponding to the target biological feature may not be a content page switching operation or a content refresh operation, but other operations initiated by the user on the content application through the account that do not change the content displayed by the content application. For example, the user zooms in and out of the terminal device interface through the account. This type of content interaction operation does not change the content displayed by the content application. At this time, if the terminal device perceives that the target biological feature corresponding to the content interaction operation has changed, the terminal device will switch the account login status of the content application, but may not change the content displayed by the content application in real time. Until the user makes a content page switching operation or a content refresh operation on the content application through the account, the terminal device may determine the corresponding content to be displayed based on the switched content recommendation model and display the content to be displayed.

[0174] The forced refresh operation based on the account login status switching does not belong to the target interactive operation initiated by the user through the account to change the content displayed by the content application, but is an operation initiated based on fixed rules to change the content displayed by the content application. It refers to the operation of refreshing the content displayed by the content application in real time after the account login status of the content application is switched. The forced refresh operation based on the account login status switching can force the content displayed by the content application to be refreshed in real time after the account login status of the content application is switched. Since the content recommendation model will also be switched at this time, the content recommendation model corresponding to the switched account can be used in real time to determine the content to be displayed after the account of the content application is switched, and the content to be displayed can be displayed, thereby minimizing the privacy leakage of the account before the switch.

[0175] Target interaction operations may include content page switching operations and content refresh operations. When a user performs a content page switching operation or a content refresh operation on a content application through an account, the terminal device may determine the corresponding content to be displayed based on the content recommendation model after the switch, and display the content to be displayed. The target interaction operation may also include a forced refresh operation based on the account login status switch. After the account of the content application is switched, the terminal device may determine the content to be displayed using the content recommendation model corresponding to the switched account in real time, and display the content to be displayed, thereby minimizing the privacy leakage of the account before the switch.

[0176] After the account login status of the content application is successfully switched, since different accounts correspond to different account access rights, in a possible implementation, after the account login status of the content application is switched from the first account to the second account corresponding to the target biometric feature, the account switching method further includes:

[0177] Determine account access permissions for the second account;

[0178] If the target content displayed by the content application exceeds the account access rights, the display of the target content is cancelled, and the target content is the content accessed by the first account before the account login status is switched.

[0179] In the actual process of different users using content applications through different accounts, different accounts may have different account access rights. Account access rights refer to the content that users are allowed to access and the content that is restricted from access when using content applications through corresponding accounts. For example, when the accounts in the content application have a master-slave account relationship, the account access rights of the master account (such as a parent account) may be allowed to access all content, while the account access rights of the slave account (such as a child account) may be restricted from accessing part of the content. That is, stricter content screening is performed for slave accounts (such as child accounts) to avoid pushing content that does not comply with the account access rights.

[0180] After the account login status of the content application is switched from the first account to the second account, since different accounts can have different account access permissions, the terminal device can determine the account access permissions of the second account and determine whether the target content exceeds the account access permissions of the second account, wherein the target content is the content accessed through the first account before the account login status is switched. If the target content displayed by the content application exceeds the account access permissions of the second account, it means that the user corresponding to the second account does not have the permission to access the target content. The terminal device can cancel the display of the target content, so that after the account login status of the content application is switched, the content that does not comply with the account access permissions corresponding to the switched account will be canceled, thereby preventing the user corresponding to the switched account from accessing content outside of his corresponding account access permissions, thereby ensuring the security of the displayed content of the content application.

[0181] Different accounts in a content application can have different account access permissions. After the account login status of the content application is switched, the terminal device can cancel the display of content that does not comply with the account access permissions corresponding to the switched account, thereby ensuring the security of the displayed content of the content application.

[0182] In the actual switching process of the account login status of the content application, the user's privacy and security need to be protected in real time, such as Figure 4 As shown, when the target biological feature is a fingerprint feature corresponding to the content interaction operation, by combining fingerprint recognition and risk control strategy, the terminal device can intelligently identify the user and protect the user's privacy and security. The specific steps include:

[0183] 1. Fingerprint recognition:

[0184] The terminal device can obtain the fingerprint of the user touching the screen in real time when interacting with the content application through the account, and perform fingerprint recognition. The data center can sense the changes in fingerprint characteristics to determine whether the account login status of the content application needs to be switched.

[0185] It should be noted that the data center needs to use a user information database for identification during the account switching process. The user information database can not only include the biological features used for registration in the account registration feature library and the association between the accounts in the content application, but also include the account behavior features corresponding to the accounts in the content application. In this way, the terminal device can use the user information database to more accurately switch the account login status of the content application.

[0186] 2. Content recommendation:

[0187] After the terminal device switches the account login status of the content application, the terminal device can also switch the content recommendation model, and obtain content from the content library according to the switched content recommendation model to recommend content to the content application, thereby achieving personalized recommendation.

[0188] It should be noted that when recommending content to a content application, care should be taken not to allow the content displayed by the content application to exceed the account access rights corresponding to the currently logged-in account.

[0189] 3. Risk control strategy:

[0190] The risk control strategy is mainly to protect the account during the switching process of the account login status of the content application. Specifically, the terminal device can detect anomalies of the content application through account behavior parameters. When abnormal account behavior is determined, the security of the account in the content application is protected by switching the content application to content protection mode.

[0191] 4. Feedback adjustment:

[0192] The terminal device allows users to provide feedback on abnormal account behavior in order to adjust the risk control strategy. At this time, users can also customize the risk control strategy through the settings interface to meet different needs.

[0193] The following is based on Figure 5 and Figure 6 The actual application process of the account switching method provided in this application is explained.

[0194] like Figure 5As shown, after opening the content application, the user can choose to register an account so that the user can use the content application through the account. It should be noted that the terminal device needs to obtain the user's separate consent before entering the user's fingerprint features. That is, if the user agrees to enter the fingerprint features, the terminal device will jump to the fingerprint entry interface and enter the user's corresponding fingerprint features through the fingerprint recognition module. The fingerprint recognition module can collect fingerprint images through high-precision sensors and pre-process the fingerprint images to extract fingerprint features. If the user does not agree to enter the fingerprint features, the terminal device will not jump to the fingerprint entry interface.

[0195] like Figure 6 As shown, after opening the content application, the user can log in to the corresponding account to use the content application. At this time, the current user is the first user as an example for explanation. Correspondingly, the first user can log in to the first account to use the content application.

[0196] During the period when the content application is logged in through the first account, the terminal device can perform fingerprint recognition to determine whether the content application needs to switch accounts.

[0197] Specifically, when the user performs normal content interaction with the content application through the first account, the terminal device can determine the fingerprint feature corresponding to the content interaction operation. For example, the terminal device can collect the corresponding fingerprint feature according to the embedded fingerprint recognition method. The embedded fingerprint recognition method uses a machine learning algorithm to collect fingerprint features when the user touches the screen. After determining the fingerprint feature corresponding to the content interaction operation, the terminal device can identify the fingerprint feature corresponding to the content interaction operation, match the fingerprint feature corresponding to the content interaction operation with the fingerprint feature in the account registration feature library, and thus determine the relevant account of the fingerprint feature corresponding to the content interaction operation. For example, the terminal device can achieve high-accuracy matching through deep learning models such as convolutional neural network (CNN) and recurrent neural network (RNN).

[0198] At this time, the terminal device can first determine whether the fingerprint feature corresponding to the content interaction operation is related to the first account. If it is related to the first account, it means that the first user is still using the content application at this time, and the terminal device can maintain the account login status of the content application as the first account; if it is not related to the first account, the terminal device can further determine whether the fingerprint feature corresponding to the content interaction operation is related to other accounts in the account registration feature. If it is related to other accounts, it means that the user corresponding to other accounts is using the content application at this time, and the terminal device can switch the account login status of the content application to other accounts; if it is not related to any account in the account registration feature library, it means that a stranger who has not registered an account is using the content application at this time, and the terminal device can switch the account login status of the content application to a dying account.

[0199] The terminal device can recommend content to the content application. At this time, the content recommendation models corresponding to different accounts may be different. After the account login status of the content application is switched, the terminal device can switch the content recommendation model accordingly, so that it can recommend content based on the user's preferences, historical behaviors and real-time scenarios corresponding to the current account of the content application, thereby allowing users to get a personalized recommendation experience.

[0200] In the aforementioned Figure 1-6 Based on the corresponding embodiments, Figure 7 A schematic diagram of an account switching device provided in an embodiment of the present application, wherein the account switching device 700 includes a first determining unit 701, a matching unit 702, a second determining unit 703 and a switching unit 704:

[0201] The first determining unit 701 is configured to determine a target biometric feature corresponding to a content interaction operation performed on the content application by the first account during the period when the content application is logged in by the first account;

[0202] A matching unit 702, configured to match an account registration feature library according to a target biological feature, wherein the account registration feature library includes associations between biological features used for registration and accounts in content applications;

[0203] The second determining unit 703 is configured to determine that the content interaction operation is not related to the first account associated with the first biometric feature in response to the target biometric feature not matching the first biometric feature in the account registration feature library;

[0204] The switching unit 704 is used to switch the account login status of the content application from the first account to the second account corresponding to the target biological feature.

[0205] In a possible implementation manner, the second determining unit 703 is configured to:

[0206] In response to the target biometric feature matching a second biometric feature in the account registration feature library, it is determined that the content interaction operation is related to a second account having an associated relationship with the second biometric feature, and the second biometric feature is different from the first biometric feature.

[0207] In a possible implementation manner, the second determining unit 703 is configured to:

[0208] In response to the target biological feature not matching any of the biological features in the account registration feature library, determining that the target biological feature corresponding to the content interaction operation is an unfamiliar biological feature;

[0209] The switching unit 704 is used for:

[0210] Identify temporary accounts associated with unfamiliar biometrics in content applications;

[0211] The temporary account is used as the second account, and the account login status of the content application is switched from the first account to the second account.

[0212] In a possible implementation manner, the second determining unit 703 is configured to:

[0213] In response to a match between the target biometric feature and a second biometric feature in the account registration feature library, determining an account behavior feature corresponding to the second account;

[0214] Behavior matching is performed based on pending behavior features generated by content interaction operations and account behavior features;

[0215] In response to successful behavior matching, it is determined that the content interaction operation is related to the second account.

[0216] In a possible implementation manner, the second determining unit 703 is further configured to:

[0217] In response to the behavior matching being unsuccessful, determining that the content interaction operation is not associated with the second account;

[0218] The content interaction operation is determined to be an abnormal interaction operation, and the account login state of the content application is prohibited from switching to the second account.

[0219] In a possible implementation, the account relationship between the accounts involved in the account registration feature library is a master-slave account relationship.

[0220] In a possible implementation manner, the first determining unit 701 is further configured to:

[0221] After the account login status of the content application is switched from the first account to the second account corresponding to the target biological feature, in response to the target interaction operation that causes the content displayed by the content application to change, the content to be displayed is determined according to the content recommendation model of the second account, and the content to be displayed is displayed in the change area of ​​the content display.

[0222] In a possible implementation, the target interaction operation includes a content page switching operation, a content refresh operation, or a forced refresh operation based on an account login status switch.

[0223] In a possible implementation manner, the first determining unit 701 is further configured to:

[0224] After switching the account login status of the content application from the first account to a second account corresponding to the target biometric characteristic, determining account access rights for the second account;

[0225] If the target content displayed by the content application exceeds the account access rights, the display of the target content is cancelled, and the target content is the content accessed by the first account before the account login status is switched.

[0226] In a possible implementation manner, the first determining unit 701 is further configured to:

[0227] Determine an account behavior parameter within a predetermined period of time, where the account behavior parameter includes at least one of an account login state switching frequency or a content interaction operation frequency;

[0228] In response to the account behavior parameter reaching an abnormal standard, determining that an abnormal account behavior occurs;

[0229] Switching the content application to a content protection mode includes at least one of prohibiting account login status switching, hiding displayed content, or pushing security prompts.

[0230] In a possible implementation, the target biological feature is a fingerprint feature for performing content interaction operations.

[0231] It can be seen that for content applications that can switch accounts, during the period when the content application is logged in through the first account, the first account can perform normal content interaction with the content application through content interaction operations. Since the content interaction operation will carry the user's biological characteristics, when the first account performs a content interaction operation on the content application, the corresponding target biological characteristics are determined. In order to sense whether the biological characteristics have changed, the account registration feature library is matched according to the target biological characteristics. Since the account registration feature library includes the association between the biological characteristics used for registration and the account in the content application, the account registration feature library includes the association between the first biological characteristics and the first account. If the target biological feature does not match the first biological feature, it means that the target biological feature is not related to the first account that is associated with the first biological feature, and the target biological feature is the biological feature corresponding to the content interaction operation, so that it can be determined that the content interaction operation is not related to the first account, that is, the content interaction operation is determined not by the user corresponding to the first account through the target biological feature carried by the content interaction operation, which means that the content interaction operation does not require the first account to log in, but requires the second account corresponding to the target biological feature to log in, that is, the content application needs to switch accounts. At this time, there is no need to perform additional account switching operations to switch accounts, but directly switch the account login status of the content application from the first account to the second account, so that in the process of normal content interaction with the content application, the account switching is completed through the biological features carried by the content interaction operation.

[0232] The embodiment of the present application further provides a computer device, which is the computer device described above and may include a terminal device or a server, and the account switching device described above may be configured in the computer device. The computer device is described below in conjunction with the accompanying drawings.

[0233] If the computer device is a terminal device, see Figure 8 As shown, the embodiment of the present application provides a terminal device, taking the terminal device as a mobile phone as an example:

[0234] Figure 8 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Figure 8 The mobile phone includes: a radio frequency (RF) circuit 1410, a memory 1420, an input unit 1430, a display unit 1440, a sensor 1450, an audio circuit 1460, a wireless fidelity (WiFi) module 1470, a processor 1480, and a power supply 1490. Those skilled in the art can understand that Figure 8The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0235] Combine the following Figure 8 A detailed introduction to the various components of the mobile phone:

[0236] The RF circuit 1410 may be used for receiving and sending signals during information transmission or communication or during a call. In particular, after receiving downlink information from a base station, the information is sent to the processor 1480 for processing. In addition, the uplink data is sent to the base station.

[0237] The memory 1420 can be used to store software programs and modules. The processor 1480 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1420. The memory 1420 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1420 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0238] The input unit 1430 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 1430 may include a touch panel 1431 and other input devices 1432 .

[0239] The display unit 1440 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1440 may include a display panel 1441.

[0240] The mobile phone may also include at least one sensor 1450, such as a light sensor, a motion sensor, and other sensors.

[0241] The audio circuit 1460 , the speaker 1461 , and the microphone 1462 can provide an audio interface between the user and the mobile phone.

[0242] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 1470. It provides users with wireless broadband Internet access.

[0243] Processor 1480 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone, and executes various functions of the mobile phone and processes data by running or executing software programs and / or modules stored in memory 1420, and calling data stored in memory 1420.

[0244] The mobile phone also includes a power source 1490 (such as a battery) for supplying power to various components.

[0245] In this embodiment, the processor 1480 included in the terminal device also has the following functions:

[0246] During a period when the content application is logged in through the first account, in response to a content interaction operation made through the first account on the content application, determining a target biometric feature corresponding to the content interaction operation;

[0247] Matching an account registration feature library according to the target biological feature, wherein the account registration feature library includes associations between biological features used for registration and accounts in content applications;

[0248] In response to the target biometric feature not matching the first biometric feature in the account registration feature library, determining that the content interaction operation is not associated with the first account associated with the first biometric feature;

[0249] Switching the account login status of the content application from the first account to a second account corresponding to the target biometric characteristic.

[0250] If the computer device is a server, the present application embodiment also provides a server, see Fig. 9 As shown, Fig. 9 The structural diagram of the server 1500 provided in the embodiment of the present application, the server 1500 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1522 (for example, one or more processors) and a memory 1532, and one or more storage media 1530 (for example, one or more mass storage devices) storing application programs 1542 or data 1544. Among them, the memory 1532 and the storage medium 1530 can be short-term storage or permanent storage. The program stored in the storage medium 1530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1522 can be configured to communicate with the storage medium 1530 and execute a series of instruction operations in the storage medium 1530 on the server 1500.

[0251] The server 1500 may also include one or more power supplies 1526, one or more wired or wireless network interfaces 1550, one or more input and output interfaces 1558, and / or one or more operating systems 1541, such as Windows Server 2003 or Windows Server 2008. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.

[0252] The steps performed by the server in the above embodiment can be based on Fig. 9 The server structure shown.

[0253] In addition, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, and the computer program is used to execute the method provided in the above embodiment.

[0254] The embodiments of the present application also provide a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the method provided in the above embodiments.

[0255] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the above storage medium can be at least one of the following media: read-only memory (English: Read-only Memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store computer programs.

[0256] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0257] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a technician familiar with the technical field within the technical scope disclosed in the present application should be included in the protection scope of the present application. Moreover, based on the implementation methods provided in the above aspects, the present application can also be further combined to provide more implementation methods. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An account switching method, characterized in that: The method comprises: During a period when a content application is logged in through a first account, in response to a content interaction operation made through the first account on the content application, determining a target biological feature corresponding to the content interaction operation; Matching an account registration feature library according to the target biometric feature, wherein the account registration feature library includes associations between biometric features used for registration and accounts in the content application; In response to the target biometric feature not matching a first biometric feature in the account registration feature library, determining that the content interaction operation is not associated with the first account associated with the first biometric feature; Switching the account login status of the content application from the first account to a second account corresponding to the target biometric feature.

2. The method according to claim 1, characterized in that In response to the target biological feature not matching the first biological feature in the account registration feature library, determining that the content interaction operation is not related to the first account associated with the first biological feature includes: In response to the target biometric feature matching a second biometric feature in the account registration feature library, it is determined that the content interaction operation is related to the second account associated with the second biometric feature, and the second biometric feature is different from the first biometric feature.

3. The method according to claim 1, characterized in that In response to the target biological feature not matching the first biological feature in the account registration feature library, determining that the content interaction operation is not related to the first account associated with the first biological feature includes: In response to the target biological feature not matching any of the biological features in the account registration feature library, determining that the target biological feature corresponding to the content interaction operation is an unfamiliar biological feature; The switching the account login status of the content application from the first account to the second account corresponding to the target biological feature includes: determining a temporary account in the content application associated with the unfamiliar biometric feature; The temporary account is used as the second account, and the account login status of the content application is switched from the first account to the second account.

4. The method according to claim 2, characterized in that: In response to the target biological feature matching the second biological feature in the account registration feature library, determining that the content interaction operation is related to the second account associated with the second biological feature includes: In response to the target biometric feature matching a second biometric feature in the account registration feature library, determining an account behavior feature corresponding to the second account; Performing behavior matching based on the pending behavior features generated by the content interaction operation and the account behavior features; In response to the behavior matching being successful, determining that the content interaction operation is related to the second account.

5. The method according to claim 4, characterized in that The method further comprises: In response to the behavior matching being unsuccessful, determining that the content interaction operation is not associated with the second account; The content interaction operation is determined to be an abnormal interaction operation, and the account login state of the content application is prohibited from switching to the second account.

6. The method according to claim 1, characterized in that The account relationship between the accounts involved in the account registration feature library is a master-slave account relationship.

7. The method according to any one of claims 1 to 6, characterized in that: After switching the account login status of the content application from the first account to the second account corresponding to the target biological feature, the method further includes: In response to a target interaction operation that causes a change in content displayed by the content application, content to be displayed is determined according to a content recommendation model of the second account, and the content to be displayed is displayed in a changed area of ​​content display.

8. According to the method of claim 7, the target interaction operation includes a content page switching operation, a content refresh operation, or a forced refresh operation based on an account login status switch.

9. The method according to any one of claims 1 to 6, characterized in that: After switching the account login status of the content application from the first account to the second account corresponding to the target biological feature, the method further includes: determining account access rights for the second account; If the target content displayed by the content application exceeds the account access rights, the display of the target content is cancelled, and the target content is the content accessed by the first account before the account login status is switched.

10. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Determining an account behavior parameter within a predetermined period of time, wherein the account behavior parameter includes at least one of an account login state switching frequency or a content interaction operation frequency; In response to the account behavior parameter reaching an abnormal standard, determining that an abnormal account behavior occurs; The content application is switched to a content protection mode, wherein the content protection mode includes at least one of prohibiting account login status switching, hiding displayed content, or pushing security prompts.

11. The method according to any one of claims 1 to 6, characterized in that: The target biological feature is a fingerprint feature for performing the content interaction operation.

12. An account switching device, characterized in that: The device comprises a first determining unit, a matching unit, a second determining unit and a switching unit: The first determining unit is configured to determine, in response to a content interaction operation performed on the content application through the first account during the period when the content application is logged in through the first account, a target biological feature corresponding to the content interaction operation; The matching unit is used to match an account registration feature library according to the target biological feature, wherein the account registration feature library includes an association relationship between the biological feature used for registration and the account in the content application; The second determining unit is configured to determine that the content interaction operation is not associated with the first account associated with the first biological feature in response to the target biological feature not matching the first biological feature in the account registration feature library; The switching unit is used to switch the account login status of the content application from the first account to the second account corresponding to the target biological feature.

13. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the method according to any one of claims 1 to 11 according to the computer program.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a computer device, the method according to any one of claims 1 to 11 is implemented.

15. A computer program product comprising a computer program, which, when executed on a computer device, causes the computer device to execute the method according to any one of claims 1 to 11.