Multi-platform user login method, device, electronic device and storage medium
By providing a multi-platform user login method, the permission management chaos and security risks caused by the indistinguishability of multiple user platforms in the prior art are solved, and efficient unified login between multiple platforms is achieved, and user experience and security are improved.
Patent Information
- Application Number
- CN202411762145.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-04
AI Technical Summary
The lack of effective distinction between multiple user platforms in the prior art leads to confusion in user rights management of internal and external platforms, increasing security risks; at the same time, independent implementation of login methods increases development and maintenance costs and reduces the scalability of the system.
Provide a multi-platform user login method, by receiving a login request, determining the target user platform, sending a login request and executing a login process, to realize a unified login between multiple platforms. The method includes a receiving module, a determination module, a sending module and a login execution module, which can automatically identify and log in to the target platform, reducing the cumbersome process of repeatedly entering account information.
It significantly improves the login efficiency of users among multiple platforms, reduces the process of repeatedly entering account information, improves the user experience, and reduces the risk of account information leakage by reducing the storage points of account information, and improves security.
Smart Images

Figure CN119766495A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security detection, and in particular to a multi-platform user login method, device, electronic device and storage medium. Background Art
[0002] In system login management, the distinction between single and multiple institutions often relies on limited prompts on the front-end page or manual selection by the user, without effective classification processing at the back-end interface level. In addition, the login method is relatively simple, and each login method, such as account login, code scanning login, single sign-on, etc., has its own independent implementation logic, without effective extraction of the same process parts, resulting in code redundancy and difficulty in maintenance.
[0003] However, due to the lack of effective distinction between platforms, it is easy to cause confusion in user authority management on internal and external platforms, increasing security risks; and relying on the front-end to distinguish user categories is unreliable, which may lead to errors in user category judgment, thereby affecting the subsequent service provision for different categories of users; and the independent implementation of each login method increases development and maintenance costs and reduces the scalability of the system.
[0004] Therefore, there is an urgent need to develop a multi-platform user login method, device, electronic device and storage medium to solve one or more of the above-mentioned problems. Summary of the invention
[0005] In view of this, in order to solve the above-mentioned technical problems or part of the technical problems, the embodiments of the present invention provide a multi-platform user login method, device, electronic device and storage medium.
[0006] In a first aspect, the present application provides a multi-platform user login method, the method comprising:
[0007] Receive a login request, where the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and user account information;
[0008] Determining at least one target user platform based on platform information of multiple user platforms;
[0009] Sending the login request to at least one target platform;
[0010] According to the user's account information, a login process of at least one target platform is executed.
[0011] In a possible implementation, determining at least one target user platform based on platform information of multiple user platforms includes:
[0012] Determine the user's account type based on the user's account information, where the account type is an internal account or an external account;
[0013] Based on the platform information of the multiple user platforms, determine in turn whether the multiple user platforms meet the account type;
[0014] Based on the judgment result, a target user platform that matches the account type is selected from multiple user platforms.
[0015] In a possible implementation manner, sending the login request to at least one target platform includes:
[0016] In the case of a target platform, sending the login request to the target platform;
[0017] In case of multiple target platforms, a platform interface between the target platforms is determined, and the login request is sent to the multiple target platforms through the platform interface.
[0018] In a possible implementation, determining the platform interface between target platforms includes:
[0019] According to the platform information of the multiple target platforms, obtaining the connection identifier of each target platform in turn;
[0020] The platform interface between target platforms is determined using the connection identifier.
[0021] In a possible implementation, the method further includes:
[0022] Determine whether multiple target platforms are all configured with platform interfaces;
[0023] When there is a target platform without a platform interface configured among the multiple target platforms, the target platform without a platform interface configured is used as an independent platform, and a login page of the independent platform is popped up to prompt a user to log in to the independent platform.
[0024] In a possible implementation, performing login processing of at least one target platform according to the user's account information includes:
[0025] Determine a login main platform from at least one target platform;
[0026] On the main login platform, verifying the login password according to the user's account information;
[0027] In case the verification is successful, it is determined that the login is successful, and the user is assigned access control rights for the login process of at least one target platform.
[0028] In a possible implementation manner, determining the login main platform from at least one target platform includes:
[0029] In the case of one target platform, the target platform is the login main platform;
[0030] In case of multiple target platforms, a login main platform is determined from at least one target platform according to platform information of the multiple target platforms.
[0031] In a second aspect, the present application provides a multi-platform user login device, the device comprising:
[0032] A receiving module, configured to receive a login request, wherein the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and the user's account information;
[0033] A determination module, configured to determine at least one target user platform based on platform information of multiple user platforms;
[0034] A sending module, used for sending the login request to at least one target platform;
[0035] The login execution module is used to execute the login process of at least one target platform according to the user's account information.
[0036] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the multi-platform user login method described in any one of the embodiments of the first aspect are implemented.
[0037] In a fourth aspect, the present application further provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the multi-platform user login method described in any embodiment of the first aspect are implemented.
[0038] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application sends login requests to multiple user platforms, significantly improves the login efficiency of users between multiple platforms, reduces the tedious process of repeatedly entering account information, and during the login process, users only need to enter account information once to automatically identify and log in to the target platform, greatly improving the user experience; in addition, since users do not need to repeatedly store account information on each platform, security is enhanced and the risk of account information leakage is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0040] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0041] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0042] Figure 1 A flowchart of a multi-platform user login method provided in an embodiment of the present application;
[0043] Figure 2 A flowchart of another multi-platform user login method provided in an embodiment of the present application;
[0044] Figure 3 A schematic diagram of the structure of a multi-platform user login device provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0047] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0048] In order to solve the technical problems that the existing technology lacks effective distinction between platforms, resulting in chaotic user authority management on internal and external platforms, increasing security risks; and the login process relies on the unreliable front-end to distinguish user categories, resulting in incorrect user category judgment, which in turn affects the subsequent provision of services for users of different categories, the present application provides a multi-platform user login method, device, electronic device and storage medium, which sends login requests to multiple user platforms, can significantly improve the user's login efficiency between different platforms. Users do not need to repeatedly enter account information, thereby avoiding tedious processes, and users only need to enter account information once to automatically identify and log in to the target platform, which greatly improves the user experience. There is no need to repeatedly store account information on each platform, which not only simplifies the operation steps, but also reduces the risk of account information leakage because account information does not need to be repeatedly stored on multiple platforms, improves security, and further protects the privacy of users.
[0049] Figure 1 A flowchart of a multi-platform user login method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method specifically includes:
[0050] S101, receiving a login request, where the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and user account information;
[0051] In this embodiment, when processing a login request initiated by a user, request data including information of multiple user platforms is received; the login request is sent by the user to different user platforms for the purpose of identity authentication and access authorization.
[0052] Each login request not only contains the user's account information, but also carries detailed information about each user's platform, so that the system can identify and process login requests from different platforms.
[0053] Furthermore, platform information may include the platform's name, type, version, and other relevant identifiers to ensure that the system can accurately identify and process login requests for each platform; user account information includes user name, password, or other credentials required for identity authentication so that the system can verify the user's identity and authorize access to the corresponding platform.
[0054] S102, determining at least one target user platform based on platform information of multiple user platforms;
[0055] In this embodiment, when a login request needs to be initiated to multiple user platforms, analysis and judgment are performed based on the user's account information to identify and determine the target user platform that the user is about to log in from among the numerous user platforms.
[0056] Specifically, by collecting the user's account information, including but not limited to user name, password, email address or other identification information, and then comparing this information with the database of each user platform, the specific platform that the user wishes to log in can be accurately identified through the comparison results, thereby achieving fast and accurate login operations.
[0057] S103, sending the login request to at least one target platform;
[0058] In this embodiment, after the target platform is determined, the login request initiated by the user will be sent to the target platform for processing.
[0059] Specifically, when a user enters their login information on an application or website and submits it, the identity of the target platform is identified and confirmed. Once the target platform is confirmed, the user's login request is immediately forwarded to the server or related processing system of the platform. Ensure that the user's login process can proceed smoothly on the correct platform, so that the user can successfully log in and access the required services or resources, and then effectively manage and coordinate login requests between different platforms to ensure the consistency and security of the user experience.
[0060] S104: Execute login processing of at least one target platform according to the user's account information.
[0061] In this embodiment, the account information provided by the user is first read, including but not limited to the user name and password, and then a login operation is performed on the target platform based on the information.
[0062] Specifically, the target platform can be a social media website, email service, online shopping platform, etc. The user's account information is obtained and automatically filled into the login form, and submitted to the target platform for verification. Once the verification is successful, the system will complete the login process and the user can smoothly enter the target platform for subsequent operations.
[0063] In addition, if the target platform has additional security verification measures, such as SMS verification codes or two-factor authentication, the system will also process them as required to ensure that users can log in smoothly, provide users with a convenient login experience, and reduce the trouble of manually entering information. Account information does not need to be stored repeatedly on multiple platforms, thereby reducing the risk of account information leakage and improving security.
[0064] The multi-platform user login method provided in the embodiment of the present application analyzes the platform information of multiple user platforms, determines at least one target user platform, and then sends the login request to multiple target user platforms, thereby improving the login efficiency of users between multiple platforms, so that users do not need to repeatedly enter account information on each platform, thereby reducing cumbersome processes. Moreover, after the user enters the account information once, the system can automatically identify and log in to the target platform, greatly improving the user experience. The user no longer needs to remember the account and password of each platform, nor does he need to repeatedly enter the same information, which brings great convenience to the user. At the same time, the user does not need to repeatedly store the account information on each platform, reducing the storage points of the account information, thereby reducing the risk of account information leakage, and facilitating the platform to uniformly manage and protect the account information, which not only improves efficiency, but also improves user experience and security.
[0065] Figure 2 A flowchart of another multi-platform user login method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method specifically includes:
[0066] S201, determining a user's account type based on the user's account information, where the account type is an internal account or an external account;
[0067] User account types can be divided into two categories: internal accounts and external accounts. Internal accounts usually refer to accounts registered and used within a company or organization. The users of these accounts are usually company employees or internal personnel. External accounts refer to accounts used by users outside the company. The users of these accounts may be customers, partners or other external personnel. When logging in, internal accounts can only log in to internal platforms, and external accounts can only log in to external platforms.
[0068] In this embodiment, by analyzing the user account type, it is determined whether the user account is an internal account or an external account, and then the user's login authority in the system is determined.
[0069] It should be noted that the account type in this embodiment takes internal and external as an example. In addition to identifying whether the user account belongs to an internal account or an external account, it can also identify different types of accounts by analyzing the account information, such as administrator accounts, ordinary user accounts, guest accounts, etc. Different permission rules are used according to different account types to grant users corresponding login permissions to ensure that each user can only access authorized resources and functions in the system. This not only improves the security of the system, but also optimizes the user experience, allowing users to operate more conveniently.
[0070] S202, based on the platform information of the multiple user platforms, determining in turn whether the multiple user platforms meet the account type;
[0071] In this embodiment, after confirming the user's account type, the platform type is judged based on information from multiple user platforms to determine whether each user platform matches the user's account type, thereby ensuring that the user can access resources within his or her authority.
[0072] Taking the internal account and external account of this embodiment as an example, if the user account is an internal account; based on the platform information of the user platform, it is determined whether the user platform is an internal platform, and the user is allowed to access internal resources, such as internal company files, databases, etc.; if the user account is an external account, according to the rules of the external platform, the user is restricted from accessing sensitive or internal information to ensure the security of company information.
[0073] For another example, the user account type is the user's job title. If the user account is identified as an administrator account, the system will allow the user to access the management interface and perform management operations. If it is an ordinary user account, the user can only access the ordinary user interface and perform operations within the scope of ordinary user permissions.
[0074] S203. According to the determination result, a target user platform that matches the account type is selected from multiple user platforms.
[0075] In this embodiment, based on the judgment result, a user platform that meets the specific account type is selected from multiple user platforms to ensure that the platform to be logged in meets the standards and requirements set by the user and to ensure that the target user platform is highly targeted and relevant.
[0076] The multi-platform user login method provided in the embodiment of the present application analyzes the user's account information to accurately identify the user's account type, and analyzes and screens multiple user platforms according to the account type to ensure whether the user platform matches the user's account type; then, based on the judgment result, specific platforms that meet the user's account type are screened out from the numerous user platforms, thereby realizing the automation and personalization of the user login process, improving the user experience, and simplifying the login steps.
[0077] In an optional solution of the embodiment of the present invention, sending the login request to at least one target platform includes:
[0078] In the case of a target platform, sending the login request to the target platform;
[0079] In case of multiple target platforms, a platform interface between the target platforms is determined, and the login request is sent to the multiple target platforms through the platform interface.
[0080] In the background interface, a special user category identification module is designed. This module accurately classifies users into single-institution users or multi-institution users based on the institutional information provided by users when registering or logging in for the first time, such as institution code, institution name, etc., and the single-institution and multi-institution judgment rules pre-set by the system.
[0081] For example, if the user's organization has only one associated account in the system and a single business scope, it can be determined as a single-institution user; if the user's organization has multiple associated accounts in the system and involves multiple business scenarios, it is determined to be a multi-institution user.
[0082] In this embodiment, it is first determined whether there are multiple or one target platforms; in the case of a single target platform, the user's login request is directly sent to the specific target platform, and identity authentication only needs to be performed on one platform, and the system will be responsible for passing relevant information to the platform to complete the login process. In the case of multiple target platforms, it is necessary to determine the platform interface between these target platforms; the platform interface refers to a standardized method for data exchange and communication between different platforms. Once these interfaces are determined, the user's login request can be sent to all relevant multiple target platforms through the interface. In this way, the user only needs to enter the login information in one place, and the information will be automatically distributed to each platform, thereby achieving the effect of one login and multi-platform access; not only improves the user experience, but also reduces the trouble of users repeatedly entering login information between multiple platforms.
[0083] In an optional solution of the embodiment of the present invention, determining the platform interface between target platforms includes:
[0084] According to the platform information of the multiple target platforms, obtaining the connection identifier of each target platform in turn;
[0085] The platform interface between target platforms is determined using the connection identifier.
[0086] When the platform is initialized, unique identifiers are set for the internal platform and the external platform. When a user initiates a login request, the system automatically obtains relevant information about the source of the request (such as the domain name of the requested URL, specific request header information, etc.) and compares it with the predefined identifier to determine the type of platform the user belongs to.
[0087] For example, the identifier of the internal platform may be "INTERNAL_PLATFORM", and the identifier of the external platform may be "EXTERNAL_PLATFORM"; if the relevant information of the request source contains the "INTERNAL_PLATFORM" related feature, it is determined to be an internal platform user, otherwise it is an external platform user.
[0088] In this embodiment, according to the detailed platform information of multiple target platforms, the connection identifier of each target platform is obtained one by one in turn; using these obtained connection identifiers, the platform interface between the target platforms is further determined, thereby realizing effective connection and data exchange between different platforms.
[0089] In addition, the method can also perform analysis and processing on the connection identifiers collected from each target platform, and can match and verify the connection identifiers according to preset rules and algorithms to ensure the accuracy and security of the connection.
[0090] In an optional solution of the embodiment of the present invention, the method further includes:
[0091] Determine whether multiple target platforms are all configured with platform interfaces;
[0092] When there is a target platform without a platform interface configured among the multiple target platforms, the target platform without a platform interface configured is used as an independent platform, and a login page of the independent platform is popped up to prompt a user to log in to the independent platform.
[0093] In this embodiment, first, it is checked whether the corresponding platform interfaces have been correctly configured for multiple target platforms, so as to ensure that all target platforms can normally exchange data and communicate. During the checking process, if it is found that some target platforms have not yet configured platform interfaces, the target platforms that need not be configured with interfaces will be identified separately, regarded as independent platforms, and corresponding measures will be taken.
[0094] Specifically, when the platform to be logged in by the user has an independent platform, the login page corresponding to the independent platform will pop up automatically. The login page will clearly prompt the user to inform the user that they need to log in to the independent platform to continue using it. Through the user login operation, the user will be able to smoothly access and enjoy the various functions and services provided by the independent platform. During the login process, there will be clear instructions on the page to guide users to complete the login steps, ensuring that they can seamlessly access the platform and make full use of the various services provided by the platform.
[0095] The above independent platform login method ensures that when using multiple target platforms, users can clearly know which platforms need to be logged in separately, thereby improving user experience and convenience of operation. At the same time, this can also help to better manage and maintain the interface configuration of each target platform in the future, ensuring the stability and security of the system.
[0096] In an optional solution of the embodiment of the present invention, the step of executing the login process of at least one target platform according to the user's account information includes:
[0097] Determine a login main platform from at least one target platform;
[0098] On the main login platform, verifying the login password according to the user's account information;
[0099] In case the verification is successful, it is determined that the login is successful, and the user is assigned access control rights for the login process of at least one target platform.
[0100] In this embodiment, first, one is selected from multiple target platforms as the main login platform; specifically, the selection of the login platform can be based on multiple factors, such as the user's historical login habits, the stability and security of the platform, etc.
[0101] After selecting the main login platform, the login password is verified according to the user's account information. Specifically, the verification process involves comparing the password entered by the user with the password stored in the system. In order to ensure security, encryption technology can be used to protect the user's password information.
[0102] If the password verification is successful, that is, the password entered by the user is consistent with the password stored in the system, the user's login is confirmed to be successful; at this time, access control permissions are assigned to the user, allowing the user to access relevant functions and services of at least one target platform. Access control permissions will be assigned based on the user's account information and the platform's permission settings to ensure that the user can perform corresponding operations on each platform.
[0103] Furthermore, the user will be assigned access control permissions for login processing of at least one target platform, so that after successfully logging into the main platform, the user will automatically obtain permissions to access other associated target platforms through the platform interface without the need for identity authentication again. This simplifies the user's operating process, improves login efficiency, and ensures continuity and convenience when the user switches between different platforms.
[0104] In addition, in order to further enhance the security of the system and user experience, login processing also includes monitoring and logging of user login behavior, by recording the time, location, device type and other information of each login, and real-time monitoring and alarming of abnormal login behavior. For example, if the system detects that the same account frequently logs in from different locations within a short period of time, or the number of failed login attempts exceeds the preset threshold, the system will automatically trigger security mechanisms, such as requiring the user to perform secondary verification or temporarily locking the account, to prevent potential security threats.
[0105] Among them, process analysis is performed on various login methods such as account login, QR code scanning login, and single sign-on, and the same core processes are extracted, such as obtaining basic information before user identity authentication and establishing a session after verification.
[0106] For account login, after the user enters the account number and password, the system first performs the same information preprocessing, such as password encryption, data format verification, etc., and then performs targeted identity authentication based on the user category and platform type. For example, a single-institution user on an internal platform may directly authenticate with the local database, and a multi-institution user on an external platform may need to interact with an external authentication service for authentication, etc. After the verification is passed, a session is established and the login log is recorded.
[0107] For scanning code login, after the user scans the QR code, the system obtains the scanning device information and performs general device compatibility checks and other preprocessing, and then determines the subsequent verification and authorization process based on the user category and platform type. For example, multi-institutional users on the internal platform may require additional institutional authority verification, and single-institution users on the external platform may jump directly to the authorization page, etc. A session is established after success.
[0108] For single sign-on, the system receives the single sign-on request, performs unified token parsing and validity checking and other pre-operations, and then completes identity synchronization and session sharing operations with related systems according to user category and platform type. For example, internal platform users can achieve seamless single sign-on between multiple subsystems, and external platform users can perform limited single sign-on authorization based on the cooperation agreement.
[0109] In an optional solution of the embodiment of the present invention, determining the login main platform from at least one target platform includes:
[0110] In the case of one target platform, the target platform is the login main platform;
[0111] In case of multiple target platforms, a login main platform is determined from at least one target platform according to platform information of the multiple target platforms.
[0112] The main login platform will serve as the entry point for users to access other platforms, ensuring the continuity and security of the session state when users switch between different platforms.
[0113] In this embodiment, to determine the main login platform from at least one target platform, it is first necessary to determine the platform number of the target platform; when there is only one target platform, the user directly completes the login process on the target platform so as to be able to access and use the various services and functions provided by the platform.
[0114] When there are multiple target platforms, analysis and judgment need to be performed based on the specific information of the multiple target platforms.
[0115] Specifically, by collecting and evaluating relevant data of each target platform, including but not limited to the user base, functional characteristics, security and other factors of the platform, through such comprehensive evaluation, one is selected from the numerous target platforms as the main login platform;
[0116] Or, based on the user's historical login behavior and preference settings, the target platform that the user frequently visits is selected as the main login platform to provide a more personalized login experience. For example, if the platform that the user frequently visits is a social media platform, then this platform may be selected as the main platform. Specifically, through in-depth analysis of the user's jumping behavior between different platforms, the platform that the user most frequently visits and uses is identified, and this platform is usually regarded as the main platform because it occupies a core position in the user's usage habits.
[0117] Alternatively, by analyzing and identifying the jump logic relationship between multiple target platforms, determining which target platform is the main login platform from multiple target platforms can further optimize the user's login experience. For example, if a user often jumps to a specific news website after using a search engine, then the news website can be identified as the main login platform because it serves as a bridge in the user's online behavior. In addition, the selection of the main login platform can also be based on the user's activity frequency and stay time on different platforms, giving priority to platforms with high user activity as the main login platform, thereby improving the convenience and efficiency of user operations.
[0118] Figure 3 A schematic diagram of the structure of a multi-platform user login device provided in an embodiment of the present application, such as Figure 3 As shown, the device specifically includes:
[0119] The receiving module 301 is used to receive a login request, where the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and user account information;
[0120] A determination module 302, configured to determine at least one target user platform based on platform information of multiple user platforms;
[0121] A sending module 303, used to send the login request to at least one target platform;
[0122] The login execution module 304 is used to execute the login process of at least one target platform according to the user's account information.
[0123] In one possible implementation, the determination module 302 is also used to determine the user's account type based on the user's account information, where the account type is an internal account or an external account; based on the platform information of multiple user platforms, determine in turn whether multiple user platforms meet the account type; and based on the determination result, select a target user platform that meets the account type from the multiple user platforms.
[0124] In a possible implementation, the sending module 303 is also used to send the login request to the target platform in the case of one target platform; in the case of multiple target platforms, determine the platform interface between the target platforms, and send the login request to multiple target platforms through the platform interface.
[0125] In a possible implementation manner, the sending module 303 is further configured to sequentially acquire a connection identifier of each target platform according to platform information of multiple target platforms; and determine a platform interface between target platforms using the connection identifier.
[0126] In one possible implementation, the sending module 303 is also used to determine whether multiple target platforms are all configured with platform interfaces; when there is a target platform that is not configured with a platform interface among the multiple target platforms, the target platform that is not configured with a platform interface is treated as an independent platform, and a login page of the independent platform is popped up to prompt the user to log in to the independent platform.
[0127] In one possible implementation, the login execution module 304 is also used to determine a main login platform from at least one target platform; on the main login platform, the login password is verified according to the user's account information; if the verification is successful, the login is determined to be successful, and access control permissions for login processing of at least one target platform are allocated to the user.
[0128] In a possible implementation, the login execution module 304 is also used to, in the case of one target platform, determine the target platform as the login main platform; in the case of multiple target platforms, determine the login main platform from at least one target platform based on platform information of the multiple target platforms.
[0129] The system security scanning device provided in this embodiment can be as follows Figure 3 The multi-platform user login device shown in can be executed as follows Figure 1-2 All the steps of user login on multiple platforms, thus achieving Figure 1-2 The technical effect of multi-platform user login is shown. For details, please refer to Figure 1-2 For the sake of brevity, the relevant description is not repeated here.
[0130] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0131] Figure 4A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, an embodiment of the present application provides an electronic device, including a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402, and the memory 403 communicate with each other through the communication bus 404; the memory 403 is used to store computer programs; the processor 401 is used to execute the program stored in the memory 403, and implement the steps of the multi-platform user login method provided by any of the aforementioned method embodiments:
[0132] Receive a login request, where the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and the user's account information; determine at least one target user platform based on the platform information of the multiple user platforms; send the login request to the at least one target platform; and execute login processing of the at least one target platform according to the user's account information.
[0133] In one possible implementation, the user's account type is determined based on the user's account information, where the account type is an internal account or an external account; based on the platform information of multiple user platforms, it is determined in turn whether the multiple user platforms meet the account type; and based on the determination result, a target user platform that meets the account type is selected from the multiple user platforms.
[0134] In a possible implementation, in the case of one target platform, the login request is sent to the target platform; in the case of multiple target platforms, a platform interface between target platforms is determined, and the login request is sent to multiple target platforms through the platform interface.
[0135] In a possible implementation, according to the platform information of multiple target platforms, a connection identifier of each target platform is acquired in turn; and the platform interface between the target platforms is determined using the connection identifier.
[0136] In one possible implementation, it is determined whether multiple target platforms are all configured with platform interfaces; when there is a target platform that is not configured with a platform interface among the multiple target platforms, the target platform that is not configured with a platform interface is treated as an independent platform, and a login page of the independent platform is popped up to prompt the user to log in to the independent platform.
[0137] In one possible implementation, a main login platform is determined from at least one target platform; on the main login platform, the login password is verified based on the user's account information; if the verification is successful, the login is determined to be successful, and access control permissions for login processing of at least one target platform are allocated to the user.
[0138] In a possible implementation, in the case of one target platform, the target platform is the main login platform; in the case of multiple target platforms, the main login platform is determined from at least one target platform according to platform information of the multiple target platforms.
[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0140] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an", and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements, and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0141] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A multi-platform user login method, characterized in that: include: Receive a login request, where the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and user account information; Determining at least one target user platform based on platform information of multiple user platforms; Sending the login request to at least one target platform; According to the user's account information, a login process of at least one target platform is executed.
2. The method according to claim 1, characterized in that The determining at least one target user platform based on the platform information of the plurality of user platforms includes: Determine the user's account type based on the user's account information, where the account type is an internal account or an external account; Based on the platform information of the multiple user platforms, determine in turn whether the multiple user platforms meet the account type; Based on the judgment result, a target user platform that matches the account type is selected from multiple user platforms.
3. The method according to claim 1, characterized in that: The sending the login request to at least one target platform includes: In the case of a target platform, sending the login request to the target platform; In case of multiple target platforms, a platform interface between the target platforms is determined, and the login request is sent to the multiple target platforms through the platform interface.
4. The method according to claim 3, characterized in that The determining of the platform interface between the target platforms includes: According to the platform information of the multiple target platforms, obtaining the connection identifier of each target platform in turn; The platform interface between target platforms is determined using the connection identifier.
5. The method according to claim 4, characterized in that The method further comprises: Determine whether multiple target platforms are all configured with platform interfaces; When there is a target platform without a platform interface configured among the multiple target platforms, the target platform without a platform interface configured is used as an independent platform, and a login page of the independent platform is popped up to prompt a user to log in to the independent platform.
6. The method according to claim 1, characterized in that The performing of the login process of at least one target platform according to the user's account information includes: Determine a login main platform from at least one target platform; On the main login platform, verifying the login password according to the user's account information; In case the verification is successful, it is determined that the login is successful, and the user is assigned access control rights for the login process of at least one target platform.
7. The method according to claim 6, characterized in that The step of determining the login main platform from at least one target platform includes: In the case of one target platform, the target platform is the login main platform; In case of multiple target platforms, a login main platform is determined from at least one target platform according to platform information of the multiple target platforms.
8. A multi-platform user login device, characterized in that: include: A receiving module, configured to receive a login request, wherein the login request is login information initiated by a user to multiple user platforms, and the login request carries platform information of the multiple user platforms and the user's account information; A determination module, configured to determine at least one target user platform based on platform information of multiple user platforms; A sending module, used for sending the login request to at least one target platform; The login execution module is used to execute the login process of at least one target platform according to the user's account information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the multi-platform user login method according to any one of claims 1 to 7 are implemented.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multi-platform user login method according to any one of claims 1 to 7 are implemented.