Account login method and device related to user identity, equipment and storage medium

Through the binding and selection function of the user identity type table, the problem of users needing to register multiple accounts between multiple enterprises is solved, and the convenience and experience of account login is improved.

CN119172094APending Publication Date: 2024-12-20王晓光
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410771672.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-15
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Users need to register multiple accounts between multiple companies to meet the needs of different identities, which makes the account login process cumbersome and inconvenient.

Method used

Through the pre-established user identity type table, the user account is bound to multiple identity types. Users can choose any identity type to log in, and the server displays the corresponding web pages, reducing the burden of account switching and registration.

Benefits of technology

It improves the user's experience of logging in to the account, simplifies the management and switching process of multiple identity types, and reduces the burden on users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172094A_ABST
    Figure CN119172094A_ABST
Patent Text Reader

Abstract

The invention discloses an account login method related to user identity, and the method comprises the steps that a server receives a login request sent by a user through user equipment, and the login request comprises a user account; when the user account passes verification, a user identity type table corresponding to the user account is inquired in a preset user identity type library, the preset user identity type library comprises a corresponding relation between the user account and the user identity type table, and the user identity type table comprises a first identity type; the first identity type is any identity type in the user identity type table; receiving a selection instruction of a first identity type sent by a user through user equipment; after the first identity type passes verification, login operation of the first identity type is executed, a first webpage corresponding to the first identity type is configured, and the first webpage comprises an information format and information content corresponding to the first identity type; and sending the first webpage display to the user equipment, so that the user equipment displays the first webpage to a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet account technology, and specifically to an account login method, device, equipment and storage medium involving user identity. Background Art

[0002] At present, Internet users are accustomed to logging into various websites or application software through accounts. Each user account corresponds to a user identity type, such as corporate user, individual member user, individual ordinary user, corporate VIP user, etc. In other words, there is a strong correlation between user accounts and user identity types.

[0003] However, when a user needs to log in to a certain industry website or application software, there will be a scenario where a user has multiple identity types, and the user needs to register an account for any user identity type. For example: User A owns multiple companies A, B, and C. These companies are located in the upper, middle, and lower reaches of the same industrial chain. The relevant information of each company is different. User A needs to register an account for each company to facilitate user A to log in as company A, company B, and company C. At this time, for the user, it is inconvenient to switch between three different accounts to log in.

[0004] Therefore, an account login method involving user identity is used to solve the above problem. Summary of the invention

[0005] The present application provides an account login method involving user identities, in which a user account is bound to multiple user identity types through a pre-established user identity type table, and the user can choose any identity type to log in, and the server displays the web page corresponding to the identity type selected by the user; thereby avoiding the tediousness of switching back and forth between accounts corresponding to different identity types when the user needs to log in to the server with different identity types, reducing the burden of account switching and registering multiple accounts of different identity types for the user, and greatly improving the user's login account usage experience.

[0006] The first aspect of the present application discloses an account login method involving user identity, which is applied to a server, and the method includes: receiving a login request sent by a user through a user device, the login request including a user account; when the user account passes the verification, querying a user identity type table corresponding to the user account in a preset user identity type library, the preset user identity type library including a correspondence between the user account and the user identity type table, the user identity type table including a first identity type, and the first identity type is any one of the identity types in the user identity type table; receiving a selection instruction of the first identity type sent by the user through the user device; when the first identity type passes the verification, executing a login operation of the first identity type, and configuring a first web page corresponding to the first identity type, the first web page including an information format and information content corresponding to the first identity type; and displaying and sending the first web page to the user device so that the user device displays the first web page to the user.

[0007] At this time, the user can select the user identity type that he wants to use for this login in the user identity type table. After verifying the user account and the identity type selected by the user (such as the first identity type above), the server configures a web page corresponding to the selected identity type and displays it to the user. This makes it easier for the user to log in with the selected identity type and improves the user's experience of logging in with different identity types.

[0008] In a possible implementation, before querying the user identity type table corresponding to the user account in the preset user identity type library, the user identity type table is constructed; the method for constructing the user identity type table also includes: receiving an identity type setting request sent by the user device, the identity type setting request including at least one identity type, the at least one identity type including one or two of a personal identity type and a corporate identity type; assigning at least one identity code to the at least one identity type, one identity type corresponding to one identity code; the personal identity type corresponds to a personal identity code, and the corporate identity type corresponds to a corporate identity code; constructing the user identity type table corresponding to the user account, the user identity type table including the correspondence between the user account and the at least one identity type and the at least one identity code.

[0009] The above shows the structure of the user identity type table through the construction method of the user identity type table. The preset user identity type library includes multiple user identity type tables, and one user identity type table corresponds to one user. A user identity type table includes three corresponding relationships, a corresponding relationship between a user account and at least one user identity type, and one identity type also corresponds to an identity code. There is a corresponding relationship between the identity code and the user's information on the identity type corresponding to the identity code. When the server performs identity coding for a certain identity type, it needs the user's information under the identity type to ensure that any identity code is unique.

[0010] In a possible implementation, the method for constructing the user identity type table also includes: receiving an identity type addition request sent by the user device, the identity type addition request is a request to add a personal identity type in an enterprise to the user identity type table, and the personal identity type in the enterprise is the employee identity type of the enterprise where the user is located; when the identity type of the user does not include the enterprise identity type of the enterprise where the user is located, sending the identity type addition request to a target user device, where the target user device is a user device used by a target user with the enterprise identity type; when a confirmation instruction sent by the target user device is received, configuring the personal identity type in the enterprise for the user in the user identity type table; when the identity type of the user includes the enterprise identity type of the enterprise where the user is located, configuring the personal identity type in the enterprise for the user in the user identity type table.

[0011] The above discussion discusses how to set up personal identity types in an enterprise. Personal identity types in an enterprise are different from enterprise identity types and personal identity types. Personal identity types indicate that the user is a purely personal identity and has no association with the enterprise, such as a freelancer, etc.; enterprise identity types indicate that the user is the owner of the enterprise, a corporate legal person, a corporate shareholder, etc., indicating that the user is the owner of the enterprise; personal identity types in an enterprise indicate that the user is an employee of a certain enterprise. Therefore, when setting up personal identity types in an enterprise, the owner of the enterprise (that is, the user with the enterprise identity type) needs to verify and pass.

[0012] In a possible implementation, after sending the first web page display to the user device, the method further includes: receiving a switching request sent by the user device, the switching request being used to switch the first identity type to a second identity type, the first identity type and the second identity type being different identity types; when the second identity type passes verification, performing a login operation for the second identity type, and configuring a second web page corresponding to the second identity type, the second web page including an information format and information content corresponding to the second identity type; and sending the second web page display to the user device so that the user device displays the second web page to the user.

[0013] The above discussion discusses the way in which a user switches between different identity types, and the first identity type and the second identity type are different identity types. After the user selects, a web page corresponding to the switched identity type needs to be configured and then displayed to the user.

[0014] In a possible implementation, when the first identity type is a personal identity type, the verification of the first identity type specifically includes: verifying the personal identity type through a preset personal identity type verification method, the preset personal identity type verification method includes one or more of a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; when the personal identity type verification passes, it is confirmed that the first identity type verification passes.

[0015] The above describes the verification method of personal identity type. The verification of personal identity type is a verification outside the user account. Of course, users can also choose not to verify the personal identity type. The verification of personal identity type focuses on the use security of personal identity type; in some application scenarios (for example: in the chip field, chip design, chip research and development, chip production and other scenarios with high security or confidentiality requirements), it is very necessary to verify the personal identity type in multiple ways.

[0016] In a possible implementation, when the first identity type is an enterprise identity type, the verification of the first identity type specifically includes: verifying the enterprise identity type through a preset enterprise identity type verification method, the preset enterprise identity type verification method including one or more of a login IP address verification method, a login device verification method, and a verification code verification method for binding a mobile phone number; when the enterprise identity type verification passes, it is confirmed that the first identity type verification passes.

[0017] At this point, the verification method of the enterprise identity type is explained. The verification of the enterprise identity type is also a verification outside the user account. Similarly, the user can also choose not to verify the enterprise identity type. The verification of the enterprise identity type focuses on the security of the use of the enterprise identity type.

[0018] In a possible implementation, when the first identity type is a personal identity type in an enterprise, the verification of the first identity type specifically includes: verifying the personal identity type in the enterprise through a preset personal identity type verification method in the enterprise, the preset personal identity type verification method in the enterprise includes one or more of an enterprise preset verification method, a fingerprint verification method, an iris verification method, a voiceprint verification method and a face verification method; the enterprise preset verification method includes one or more of a login IP address verification method, a login device verification method and a verification code verification method for binding a mobile phone number; when the personal identity type verification in the enterprise passes, it is confirmed that the first identity type verification passes.

[0019] At this time, the personal identity verification in the enterprise is also a verification outside the user account. Similarly, the user can also choose not to perform personal identity verification in the enterprise.

[0020] It should be noted that due to the particularity of personal identity types in an enterprise, when verifying personal identity types in an enterprise, it is necessary to consider the verification method preset by the enterprise and the verification method of the personal identity type. The personal identity type in an enterprise is the employee in the enterprise. Different employees have different job information. Different job information often requires different security levels or confidentiality registrations, so the verification methods required are also different.

[0021] The second aspect of the present application discloses an account login device involving user identity, wherein the account login device is a server, and the server includes a receiving unit, a processing unit, and a sending unit; wherein:

[0022] The receiving unit is used to receive a login request sent by a user through a user device, wherein the login request includes a user account;

[0023] The processing unit is configured to query a user identity type table corresponding to the user account in a preset user identity type library when the user account passes the verification, wherein the preset user identity type library includes a correspondence between user accounts and user identity type tables, and the user identity type table includes a first identity type, and the first identity type is any identity type in the user identity type table;

[0024] The receiving unit is further configured to receive a selection instruction of the first identity type sent by the user through the user equipment;

[0025] The processing unit is further configured to, when the first identity type passes verification, perform a login operation of the first identity type and configure a first webpage corresponding to the first identity type, wherein the first webpage includes an information format and information content corresponding to the first identity type;

[0026] The sending unit is used to send the first web page display to the user equipment, so that the user equipment displays the first web page to the user.

[0027] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.

[0028] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.

[0029] In this application, a user account is bound to multiple user identity types through a pre-established user identity type table. The user can choose any identity type to log in, and the server displays the web page corresponding to the identity type selected by the user; thereby avoiding the tediousness of switching back and forth between accounts corresponding to different identity types when the user needs to log in to the server with different identity types, reducing the user's burden of account switching and registering multiple accounts of different identity types, and greatly improving the user's login account usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of an account login framework structure involving user identity disclosed in this application specification;

[0031] Figure 2 A flowchart of an account login method involving user identity disclosed in this application specification;

[0032] Figure 3 A flowchart of another method for logging in to an account involving a user identity disclosed in this application specification;

[0033] Figure 4 A flowchart of another method for logging in to an account involving a user identity disclosed in this application specification;

[0034] Figure 5 A schematic diagram of the structure of an account login device involving user identity disclosed in this application specification;

[0035] Figure 6 A schematic diagram of the structure of an electronic device for logging into an account involving a user identity disclosed in this application specification. DETAILED DESCRIPTION

[0036] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0037] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0038] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0039] The user device in this application is an electronic device that can connect to the Internet and display web pages or download application software, such as a mobile phone, tablet computer, personal computer, etc. The server in this application is an electronic device that can provide web page services or application software download services.

[0040] The scenario of this application is as follows Figure 1 As shown, information is exchanged between the server 101 and a plurality of user devices 102; the user devices 102 may also directly access the web page service provided by 101, or directly download application software.

[0041] The server 101 will configure different pages for members of different identities, because members of different identity types have different needs for information. Of course, in actual configuration, the server will configure some common information formats, but this specification specifically refers to data that the information format and information content will vary with different identity types.

[0042] For example, in vertical websites in the chip field, corporate members need to undergo corporate certification, which is done by corporate managers, legal persons, or shareholders. They often focus on industry policies (domestic or foreign policies, policies of various departments or regions), as well as macro issues such as the development trend of the chip field; for individual members, they focus on micro issues in the chip field, which may be job opportunities, salary issues in the chip field, chip R&D direction, market demand for chips, etc. In addition, for different identity types under the website operator, the displayed data is still different. System administrators need to see website visits, website hot posts, and customer feedback messages on the website, etc. System customer service needs to see user problem type statistics, which problem type users have more questions under, and which user questions have not been answered, etc.

[0043] Therefore, the server configures a user identity type table for each user, as shown in Table 1. A user's user account can correspond to multiple identity types, and one identity type corresponds to one identity code. The user account can be a mobile phone number SMS verification login, a website registration account login, or an authorized third-party authorized account login, which is not limited in this manual.

[0044] In addition, the identity type can be set according to the needs of the user, and the server will also set some common identity types. For the common identity types set by the server, the identity code corresponding to each identity type can be encoded with UUID algorithm or serial number to distinguish the same identity type of different users; for the identity type set by the user according to his own needs or the common identity type set by the server, the hash value obtained after hashing the user's information under the identity type can also be used as the user code.

[0045] Table 1

[0046]

[0047] The user accounts shown in Table 1 include mobile phone numbers (login after SMS authentication), registered accounts, and third-party authorized accounts (such as authorized WeChat accounts or Alipay accounts, etc.); of course, other third-party authorized accounts can also be included. Identity types include individual members, corporate members, system administrators, and system customer service; any identity type corresponds to an identity code (this method makes the identity code of users under any identity type unique). The identity type can be selected by the user. The system provides some commonly used identity type templates. Table 1 illustrates some identity type templates (any identity type corresponds to the information content under the identity type). Of course, it can also be some identity type templates defined by the user.

[0048] The application scenario of Table 1 may be a test user of a website or application software, which is convenient for the test user to view the page configuration under various identity types, and further conveniently provides the user with information templates corresponding to the identity types of the system.

[0049] This specification discloses an account login method involving user identity, which is applied in a server.

[0050] like Figure 2 As shown, the method includes steps S201-S205.

[0051] S201. Receive a login request sent by a user through a user device, where the login request includes a user account.

[0052] S202. When the user account passes the verification, query a user identity type table corresponding to the user account in a preset user identity type library, wherein the preset user identity type library includes a correspondence between user accounts and user identity type tables, and the user identity type table includes a first identity type, which is any identity type in the user identity type table.

[0053] In this step, the verification of the user account is similar to the verification of the user name and password, and no further explanation is given again.

[0054] S203: Receive a selection instruction for the first identity type sent by the user through the user equipment.

[0055] S204: When the first identity type passes verification, a login operation of the first identity type is performed, and a first webpage corresponding to the first identity type is configured, wherein the first webpage includes an information format and information content corresponding to the first identity type.

[0056] At this time, the first identity type will also be verified; different user identity types often correspond to different security levels in actual scenarios, and multiple verification methods need to be provided for users to choose from to ensure the security of a certain identity type. The verification of user identity type and the verification of user account are often clearly distinguished or differentiated, that is, these two verifications are often verified in different ways; however, when the user sets the same verification method, this manual does not exclude such a setting.

[0057] In one example, when the first identity type is a personal identity type, the verification of the first identity type specifically includes: verifying the personal identity type through a preset personal identity type verification method, the preset personal identity type verification method includes one or more of a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; when the personal identity type verification passes, it is confirmed that the first identity type verification passes.

[0058] The above describes the verification method of personal identity type. The verification of personal identity type is a verification outside the user account. Of course, users can also choose not to verify the personal identity type. The verification of personal identity type focuses on the use security of personal identity type; in some application scenarios (for example: in the chip field, chip design, chip research and development, chip production and other scenarios with high security or confidentiality requirements), it is very necessary to verify the personal identity type in multiple ways.

[0059] In one example, when the first identity type is an enterprise identity type, the verification of the first identity type specifically includes: verifying the enterprise identity type through a preset enterprise identity type verification method, the preset enterprise identity type verification method including one or more of a login IP address verification method, a login device verification method, and a verification code verification method for binding a mobile phone number; when the enterprise identity type verification passes, it is confirmed that the first identity type verification passes.

[0060] At this point, the verification method of the enterprise identity type is explained. The verification of the enterprise identity type is also a verification outside the user account. Similarly, the user can also choose not to verify the enterprise identity type. The verification of the enterprise identity type focuses on the security of the use of the enterprise identity type.

[0061] In one example, when the first identity type is a personal identity type in an enterprise, the verification of the first identity type specifically includes: verifying the personal identity type in the enterprise by using a preset personal identity type verification method in the enterprise, the preset personal identity type verification method in the enterprise includes one or more of an enterprise preset verification method, a fingerprint verification method, an iris verification method, a voiceprint verification method and a face verification method; the enterprise preset verification method includes one or more of a login IP address verification method, a login device verification method and a verification code verification method for binding a mobile phone number; when the personal identity type verification in the enterprise passes, it is confirmed that the first identity type verification passes.

[0062] In actual application scenarios, the login IP address verification method can be one or more IPs, or an IP range, which is set by the user himself, and is often the company's network IP; the login device verification method is a fixed login device in the company, which is also set by the user himself; in the verification code verification method of the mobile phone number bound to the mobile phone, the mobile phone number is the company's dedicated mobile phone number (for example, in the chip confidentiality scenario, to enter a specific area, you must use the company's mobile phone number). It should be noted that in the enterprise's preset verification method, it is set by the enterprise user. In the fingerprint, iris, voiceprint and face verification methods, they are all personal information of individual users, and are also set by individual users themselves.

[0063] At this time, the personal identity verification in the enterprise is also a verification outside the user account. Similarly, the user can also choose not to perform personal identity verification in the enterprise.

[0064] It should be noted that due to the particularity of personal identity types in an enterprise, when verifying personal identity types in an enterprise, it is necessary to consider the verification method preset by the enterprise and the verification method of the personal identity type. The personal identity type in an enterprise is the employee in the enterprise. Different employees have different job information. Different job information often requires different security levels or confidentiality registrations, so the verification methods required are also different.

[0065] S205: Send the first webpage display to the user equipment, so that the user equipment displays the first webpage to the user.

[0066] At this time, the user can select the user identity type that he wants to use for this login in the user identity type table. After verifying the user account and the identity type selected by the user (such as the first identity type above), the server configures a web page corresponding to the selected identity type and displays it to the user. This makes it easier for the user to log in with the selected identity type and improves the user's experience of logging in with different identity types.

[0067] In one example, before searching a preset user identity type library for a user identity type table corresponding to the user account, the user identity type table is constructed.

[0068] Construction method as Figure 3 As shown, the method for constructing the user identity type table includes steps S301-S303.

[0069] S301. Receive an identity type setting request sent by the user equipment, where the identity type setting request includes at least one identity type, and the at least one identity type includes one or both of a personal identity type and an enterprise identity type.

[0070] S302: Allocate at least one identity code for the at least one identity type, one identity type corresponds to one identity code; the personal identity type corresponds to a personal identity code, and the corporate identity type corresponds to a corporate identity code.

[0071] It should be pointed out that in the server website, the personal identity code is unique under the personal identity type; similarly, the corporate identity code is unique under the corporate identity type. However, the personal identity code and the corporate identity code may be the same or different; they can be set according to the actual situation. In most cases, the personal identity code and the corporate identity code are different. In this case, any identity code is unique and easy to store.

[0072] S303: Construct the user identity type table corresponding to the user account, wherein the user identity type table includes a correspondence between the user account and the at least one identity type and the at least one identity code.

[0073] The above shows the structure of the user identity type table through the construction method of the user identity type table. The preset user identity type library includes multiple user identity type tables, and one user identity type table corresponds to one user. A user identity type table includes three corresponding relationships, a corresponding relationship between a user account and at least one user identity type, and one identity type also corresponds to an identity code. There is a corresponding relationship between the identity code and the user's information on the identity type corresponding to the identity code. When the server performs identity coding for a certain identity type, it needs the user's information under the identity type to ensure that any identity code is unique.

[0074] The following uses Table 2 as an example for explanation.

[0075] Table 2

[0076]

[0077] In Table 2, the user account is explained using a mobile phone number as an example. When a user has multiple companies, that is, company A membership, company B membership, and company C membership shown in the table, different company memberships are required to access the same website or application software. In this case, the company A membership code, company B membership code, and company C membership code are all any three membership codes under the company membership code.

[0078] It should be noted that users own multiple different companies, and the information that any two companies need to process is often different; for example: Company A is a company that sells products, and needs to publish information such as sales prices, sales preferential policies, sales areas, and sales methods. It also needs to pay attention to the sales prices, sales preferential policies, sales areas, and sales methods of other sales companies in the same field, so that users can conduct differentiated sales and pricing; Company B is a company that purchases raw materials for products, and needs to pay attention to the prices of raw materials, the transportation prices of raw materials, and other related information. It will also pay attention to the operating information of raw material-related production companies, and will also publish information on the purchase of raw materials, etc. In addition, any company needs to register with its real name to be displayed as a corporate member.

[0079] At this point, it is equivalent to binding the user account to multiple corporate identity types; when the user logs in, he first logs in to the account, and then can choose any corporate identity type to log in, and can view the information corresponding to the identity type.

[0080] In one example, the method for constructing the user identity type table also includes: receiving an identity type addition request sent by the user device, the identity type addition request is a request to add a personal identity type in an enterprise to the user identity type table, and the personal identity type in the enterprise is an employee identity type of the enterprise where the user is located; when the identity type of the user does not include the enterprise identity type of the enterprise where the user is located, sending the identity type addition request to a target user device, where the target user device is a user device used by a target user with the enterprise identity type; when a confirmation instruction sent by the target user device is received, configuring the personal identity type in the enterprise for the user in the user identity type table; when the identity type of the user includes the enterprise identity type of the enterprise where the user is located, configuring the personal identity type in the enterprise for the user in the user identity type table.

[0081] The above discussion discusses how to set up personal identity types in an enterprise. Personal identity types in an enterprise are different from enterprise identity types and personal identity types. Personal identity types indicate that the user is a purely personal identity and has no association with the enterprise, such as a freelancer, etc.; enterprise identity types indicate that the user is the owner of the enterprise, a corporate legal person, a corporate shareholder, etc., indicating that the user is the owner of the enterprise; personal identity types in an enterprise indicate that the user is an employee of a certain enterprise. Therefore, when setting up personal identity types in an enterprise, the owner of the enterprise (that is, the user with the enterprise identity type) needs to verify and pass.

[0082] The following uses Table 3 as an example to explain individual members in an enterprise. The identity types shown in Table 3 are individual identity types in an enterprise (in Table 3, individual members in enterprise a).

[0083] Table 3

[0084]

[0085] In Table 3, the user account is explained using a mobile phone number as an example. Generally speaking, the server can also assign a user code to a user, and the user number can correspond to multiple user accounts, which can include a mobile phone number, a registered username and password for a website or application software, an authorized third-party account, etc. However, when a user has multiple identity information, this manual uses one user account for explanation. The users in Table 3 have multiple identity types, including individual members, individual members in enterprise a, individual members in enterprise b, etc.; individual members in enterprise a correspond to individual member codes in enterprise a, and individual members in enterprise b correspond to individual member codes in enterprise b. The encoding format and number of encodings for an individual member code in an enterprise are set by the user himself, and of course the server can provide some preset encoding methods. The server often only needs to set the enterprise member code, which corresponds to multiple different individual members under a certain enterprise member code, which is set by the enterprise itself.

[0086] In one example, this specification also discloses a switching method for different identity types. Figure 4 As shown, the switching method includes steps S401-S403.

[0087] S401. Receive a switching request sent by the user equipment, where the switching request is used to switch the first identity type to a second identity type, where the first identity type and the second identity type are different identity types.

[0088] S402: When the second identity type passes verification, a login operation of the second identity type is performed, and a second webpage corresponding to the second identity type is configured, wherein the second webpage includes an information format and information content corresponding to the second identity type.

[0089] S403: Send the second webpage display to the user equipment, so that the user equipment displays the second webpage to the user.

[0090] The above discussion discusses the way in which a user switches between different identity types, and the first identity type and the second identity type are different identity types. After the user selects, a web page corresponding to the switched identity type needs to be configured and then displayed to the user.

[0091] At this time, the difference between the first webpage and the second webpage lies in the information format and information content. As shown in Table 2, different identity types have different requirements for information, so the information format and information content are different.

[0092] In this application, a user account is bound to multiple user identity types through a pre-established user identity type table. The user can choose any identity type to log in, and the server displays the web page corresponding to the identity type selected by the user; thereby avoiding the tediousness of switching back and forth between accounts corresponding to different identity types when the user needs to log in to the server with different identity types, reducing the user's burden of account switching and registering multiple accounts of different identity types, and greatly improving the user's login account usage experience.

[0093] This specification also discloses an account login device related to user identity. Figure 5 The account login device is a server, and the server includes a receiving unit 501, a processing unit 502 and a sending unit 503.

[0094] The receiving unit 501 is used to receive a login request sent by a user through a user device, wherein the login request includes a user account;

[0095] The processing unit 502 is configured to query a user identity type table corresponding to the user account in a preset user identity type library when the user account passes the verification, wherein the preset user identity type library includes a correspondence between the user account and the user identity type table, and the user identity type table includes a first identity type, and the first identity type is any identity type in the user identity type table;

[0096] The receiving unit 501 is further configured to receive a selection instruction of the first identity type sent by the user through the user equipment;

[0097] The processing unit 502 is further configured to, when the first identity type passes verification, perform a login operation of the first identity type and configure a first webpage corresponding to the first identity type, wherein the first webpage includes an information format and information content corresponding to the first identity type;

[0098] The sending unit 503 is configured to send the first web page display to the user equipment, so that the user equipment displays the first web page to the user.

[0099] In one example, before querying the user identity type table corresponding to the user account in the preset user identity type library, the processing unit 502 is also used to construct the user identity type table; the construction of the user identity type table is specifically: the receiving unit 501 receives the identity type setting request sent by the user device, and the identity type setting request includes at least one identity type, and the at least one identity type includes one or two of a personal identity type and an enterprise identity type; the processing unit 502 assigns at least one identity code to the at least one identity type, and one identity type corresponds to one identity code; the personal identity type corresponds to a personal identity code, and the enterprise identity type corresponds to an enterprise identity code; the processing unit 502 is also used to construct the user identity type table corresponding to the user account, and the user identity type table includes the correspondence between the user account and the at least one identity type and the at least one identity code.

[0100] In one example, the receiving unit 501 receives an identity type addition request sent by the user device, wherein the identity type addition request is a request to add a personal identity type in an enterprise to the user identity type table, and the personal identity type in the enterprise is the employee identity type of the enterprise to which the user is located; the processing unit 502 is also used to send the identity type addition request to a target user device when the identity type of the user does not include the enterprise identity type of the enterprise to which the user is located, and the target user device is a user device used by a target user with the enterprise identity type; the processing unit 502 is also used to configure the personal identity type in the enterprise for the user in the user identity type table when receiving a confirmation instruction sent by the target user device; the processing unit 502 configures the personal identity type in the enterprise for the user in the user identity type table when the identity type of the user includes the enterprise identity type of the enterprise to which the user is located.

[0101] In one example, after the first web page display is sent to the user device, it also includes: a receiving unit 501 receives a switching request sent by the user device, the switching request is used to switch the first identity type to a second identity type, and the first identity type and the second identity type are different identity types; a processing unit 502 executes a login operation of the second identity type after the second identity type passes the verification, and configures a second web page corresponding to the second identity type, the second web page includes an information format and information content corresponding to the second identity type; a sending unit 503 sends the second web page display to the user device, so that the user device displays the second web page to the user.

[0102] In one example, when the first identity type is a personal identity type, the verification of the first identity type specifically includes: the processing unit 502 verifies the personal identity type through a preset personal identity type verification method, and the preset personal identity type verification method includes one or more of a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; the processing unit 502 is also used to confirm that the first identity type verification has passed when the personal identity type verification passes.

[0103] In one example, when the first identity type is an enterprise identity type, the verification of the first identity type specifically includes: the processing unit 502 verifies the enterprise identity type through a preset enterprise identity type verification method, and the preset enterprise identity type verification method includes one or more of a login IP address verification method, a login device verification method, and a verification code verification method for binding a mobile phone number; the processing unit 502 is also used to confirm that the first identity type verification has passed when the enterprise identity type verification passes.

[0104] In one example, when the first identity type is a personal identity type in an enterprise, the verification of the first identity type specifically includes: the processing unit 502 verifies the personal identity type in the enterprise through a preset personal identity type verification method in the enterprise, and the preset personal identity type verification method in the enterprise includes one or more of an enterprise preset verification method, a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; the enterprise preset verification method includes one or more of a login IP address verification method, a login device verification method, and a verification code verification method for binding a mobile phone number; the processing unit 502 is also used to confirm that the first identity type verification has passed when the personal identity type verification in the enterprise passes.

[0105] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0106] The specification also discloses a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the above methods is executed.

[0107] This embodiment also discloses an electronic device, referring to Figure 6The electronic device may include: at least one processor 601 , at least one communication bus 602 , a user interface 603 , a network interface 604 , and at least one memory 605 .

[0108] The communication bus 602 is used to realize the connection and communication between these components.

[0109] The user interface 603 may include a display screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.

[0110] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0111] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 601 can integrate one or more combinations of a central processing unit 601 (Central Processing Unit, CPU), an image processor 601 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and it can be implemented by a single chip.

[0112] Among them, the memory 605 may include a random access memory 605 (Random Access Memory, RAM), and may also include a read-only memory 605 (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above various method embodiments, etc. The memory 605 may also be optionally at least one storage device located away from the aforementioned processor 601. As shown in the figure, the memory 605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a method for calculating engineering construction costs.

[0113] exist Figure 6 In the electronic device shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 601 can be used to call the application program of the method for calculating the engineering construction cost stored in the memory 605. When executed by one or more processors 601, the electronic device executes one or more methods in the above-mentioned embodiments.

[0114] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0115] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0116] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0117] 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 units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0118] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory 605. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 605 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory 605 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.

[0120] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for logging into an account involving a user identity, characterized in that: Applied in a server, the method comprises: Receiving a login request sent by a user through a user device, wherein the login request includes a user account; When the user account passes the verification, querying a user identity type table corresponding to the user account in a preset user identity type library, the preset user identity type library including a correspondence between user accounts and user identity type tables, the user identity type table including a first identity type, the first identity type being any one of the identity types in the user identity type table; receiving a selection instruction of the first identity type sent by the user through the user equipment; When the first identity type passes the verification, a login operation of the first identity type is performed, and a first webpage corresponding to the first identity type is configured, wherein the first webpage includes an information format and information content corresponding to the first identity type; The first web page display is sent to the user equipment so that the user equipment displays the first web page to the user.

2. The account login method according to claim 1, characterized in that: Before searching the preset user identity type library for the user identity type table corresponding to the user account, constructing the user identity type table; the method for constructing the user identity type table further includes: receiving an identity type setting request sent by the user equipment, wherein the identity type setting request includes at least one identity type, and the at least one identity type includes one or both of a personal identity type and an enterprise identity type; Allocate at least one identity code for the at least one identity type, one identity type corresponds to one identity code; the personal identity type corresponds to the personal identity code, and the corporate identity type corresponds to the corporate identity code; The user identity type table corresponding to the user account is constructed, wherein the user identity type table includes a correspondence between the user account and the at least one identity type and the at least one identity code.

3. The account login method according to claim 2, characterized in that: The method for constructing the user identity type table further includes: receiving an identity type adding request sent by the user device, wherein the identity type adding request is a request to add a personal identity type in an enterprise to the user identity type table, and the personal identity type in the enterprise is an employee identity type of the enterprise where the user is located; When the identity type of the user does not include the enterprise identity type of the enterprise to which the user belongs, sending the identity type addition request to a target user device, where the target user device is a user device used by a target user with the enterprise identity type; when receiving a confirmation instruction sent by the target user device, configuring the personal identity type in the enterprise for the user in the user identity type table; When the identity type of the user includes the enterprise identity type of the enterprise to which the user belongs, the personal identity type in the enterprise is configured for the user in the user identity type table.

4. The account login method according to any one of claims 1 to 3, characterized in that: After sending the first web page presentation to the user device, the method further includes: receiving a switching request sent by the user equipment, where the switching request is used to switch the first identity type to a second identity type, where the first identity type and the second identity type are different identity types; When the second identity type passes the verification, a login operation of the second identity type is performed, and a second webpage corresponding to the second identity type is configured, wherein the second webpage includes an information format and information content corresponding to the second identity type; The second web page display is sent to the user equipment so that the user equipment displays the second web page to the user.

5. The account login method according to claim 1, characterized in that: When the first identity type is a personal identity type, the first identity type passing the verification specifically includes: Verifying the personal identity type by a preset personal identity type verification method, wherein the preset personal identity type verification method includes one or more of a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; When the personal identity type verification passes, it is confirmed that the first identity type verification passes.

6. The account login method according to claim 1, characterized in that: When the first identity type is an enterprise identity type, the first identity type passing the verification specifically includes: Verify the enterprise identity type by a preset enterprise identity type verification method, wherein the preset enterprise identity type verification method includes one or more of a login IP address verification method, a login device verification method, and a verification code verification method for binding a mobile phone number; When the enterprise identity type verification passes, it is confirmed that the first identity type verification passes.

7. The account login method according to claim 1, characterized in that: When the first identity type is a personal identity type in an enterprise, the first identity type passing the verification specifically includes: Verify the personal identity type in the enterprise by using a preset personal identity type verification method in the enterprise, wherein the preset personal identity type verification method in the enterprise includes one or more of a verification method preset by the enterprise, a fingerprint verification method, an iris verification method, a voiceprint verification method, and a face verification method; the verification method preset by the enterprise includes one or more of a login IP address verification method, a login device verification method, and a verification code verification method bound to a mobile phone number; When the personal identity type verification in the enterprise passes, it is confirmed that the first identity type verification passes.

8. An account login device involving user identity, characterized in that: The account login device is a server, and the server includes a receiving unit, a processing unit and a sending unit; wherein, The receiving unit is used to receive a login request sent by a user through a user device, wherein the login request includes a user account; The processing unit is configured to query a user identity type table corresponding to the user account in a preset user identity type library when the user account passes the verification, wherein the preset user identity type library includes a correspondence between user accounts and user identity type tables, and the user identity type table includes a first identity type, and the first identity type is any identity type in the user identity type table; The receiving unit is further configured to receive a selection instruction of the first identity type sent by the user through the user equipment; The processing unit is further configured to, when the first identity type passes verification, perform a login operation of the first identity type and configure a first webpage corresponding to the first identity type, wherein the first webpage includes an information format and information content corresponding to the first identity type; The sending unit is used to send the first web page display to the user equipment, so that the user equipment displays the first web page to the user.

9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.