CN108564339B - Account management method, device, terminal equipment and storage medium - Google Patents

Account management method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108564339B
CN108564339B CN201810268440.3A CN201810268440A CN108564339B CN 108564339 B CN108564339 B CN 108564339B CN 201810268440 A CN201810268440 A CN 201810268440A CN 108564339 B CN108564339 B CN 108564339B
Authority
CN
China
Prior art keywords
account
sub
query
group
service system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810268440.3A
Other languages
Chinese (zh)
Other versions
CN108564339A (en
Inventor
叶力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810268440.3A priority Critical patent/CN108564339B/en
Priority to PCT/CN2018/094191 priority patent/WO2019184120A1/en
Publication of CN108564339A publication Critical patent/CN108564339A/en
Application granted granted Critical
Publication of CN108564339B publication Critical patent/CN108564339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses an account management method, an account management device, terminal equipment and a storage medium, wherein the account management method comprises the following steps: if a registration request of a user to a target sub-service system is detected, acquiring identity information of an account to be registered according to the registration request, searching the identity information in a group account system, and if the identity information is inquired in a sub-service system account table and the identity information is not inquired in a general account table, supplementing basic user information required by the target sub-service system, upgrading the account to be registered into a group general account, so that the user can log in all group sub-service systems through the account to be registered, the efficiency of logging in the group service system by the user is improved, and simultaneously, the server data redundancy caused by a large amount of account information generated by repeated registration of different sub-service systems is also relieved, and the maintenance efficiency of a server is improved.

Description

Account management method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an account management method, an account management device, a terminal device, and a storage medium.
Background
At present, with the continuous acceleration of globalization of economy and the pace of opening China to the outside, many group companies are rapidly developed, and the group companies have different sub-business departments to manage different business types, so that each sub-business system has an independent account system, and with the further development of groups, more sub-business systems can be generated.
When users use the sub-service systems of the group for the first time, the users need to apply for accounts of the corresponding sub-service systems, and use a plurality of sub-service systems, the users need to open accounts of the plurality of sub-service systems, and the account opening process is complicated, so that the users need to frequently register, and meanwhile, a large amount of repeated account information also causes redundancy of server data, so that inconvenience is brought to maintenance of the server.
Disclosure of Invention
The embodiment of the invention provides an account management method, which aims to solve the problems of complex login operation and low efficiency caused by repeated registration of different sub-service systems by a user for a plurality of times, and redundancy of server data and inconvenience in server maintenance caused by a large amount of repeated account information.
In a first aspect, an embodiment of the present invention provides an account management method, including:
If a registration request of a user to a target sub-service system is detected, acquiring identity information of an account to be registered according to the registration request, wherein the target sub-service system belongs to a group sub-service system, and the group sub-service system at least comprises two sub-service systems;
searching the identity information in a group account system, wherein the group account system comprises a group general account table and a group sub-service system account table, and the group sub-service account table at least comprises two sub-service system account tables;
if the identity information is queried in the sub-service system account table and the identity information is not queried in the general account table, supplementing basic user information required by a target sub-service system, and upgrading the account to be registered into a group general account;
logging in the target sub-business system by using the group general account.
In a second aspect, an embodiment of the present invention provides an account management apparatus, including:
the system comprises an identity information acquisition module, a registration request acquisition module and a registration module, wherein the identity information acquisition module is used for acquiring identity information of an account to be registered according to the registration request if detecting the registration request of a user to a target sub-service system, wherein the target sub-service system belongs to a group sub-service system, and the group sub-service system at least comprises two sub-service systems;
The system comprises an identity information inquiry module, a group account system and a group sub-service system account table, wherein the identity information inquiry module is used for searching the identity information in the group account system, the group account system comprises a group general account table and a group sub-service system account table, and the group sub-service account table at least comprises two sub-service system account tables;
the group general account upgrading module is used for supplementing basic user information required by a target sub-service system and upgrading the account to be registered into a group general account if the identity information is inquired in the sub-service system account table and the identity information is not inquired in the general account table;
and the general account login verification module is used for logging in the target sub-service system by using the group general account.
In a third aspect, an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the account management method when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the account management method.
According to the account management method, the device, the terminal equipment and the storage medium, when the registration request of a user to a target sub-service system is detected, the identity information of the account to be registered is acquired according to the registration request, the identity information is searched in a group account system, if the identity information is searched in a sub-service system account table and the identity information is not searched in a general account table, the account to be registered is directly updated into the group general account, so that the user can log in all group sub-service systems through the account to be registered, the efficiency of logging in the group service system by the user is improved, and meanwhile, the server data redundancy caused by a large amount of account information generated by repeated registration in different sub-service systems is also relieved, and the server maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an account management method provided in embodiment 1 of the present invention;
fig. 2 is a flowchart of step S2 in the account management method provided in embodiment 1 of the present invention;
fig. 3 is a flowchart of the implementation of step S22 in the account management method provided in embodiment 1 of the present invention;
FIG. 4 is a schematic diagram of an account management apparatus provided in embodiment 2 of the present invention;
fig. 5 is a schematic diagram of a terminal device provided in embodiment 4 of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 shows an implementation flow of the account management method provided in the present embodiment. The details are as follows:
s1: if a registration request of a user to a target sub-service system is detected, acquiring the identity information of an account to be registered according to the registration request, wherein the target sub-service system belongs to a group sub-service system, and the group sub-service system at least comprises two sub-service systems.
Specifically, when a user registers a target sub-service system, a client sends a Request object to a server, and the server acquires identity information of an account to be registered, which registers the target sub-service system, by using a character string query mode after receiving the Request object.
The Request object is a Request sent from the client to the server, and comprises information submitted by a user and Cookie information of the client, wherein the Cookie information is data information stored on a local terminal of the user by the server for distinguishing the identity of the user and carrying out session tracking. The client may submit the data via a hypertext markup language (HyperText Markup Language, HTML) form or by providing parameters behind the web page address.
Wherein the identity information is a credential for authenticating the identity of the user, including but not limited to: name, identification card number, phone number, mailbox, etc.
S2: the method comprises the steps of searching identification information of an account to be registered in a group account system, wherein the group account system comprises a group general account table and a group sub-service system account table, and the group sub-service account table at least comprises two sub-service system account tables.
Specifically, each group sub-service system is provided with an independent sub-service system account table, the group account system comprises all group sub-service system account tables and a group general account table, and the identification information acquired in the step S1 is inquired in the group account system to obtain an inquiry result.
The group general account table comprises identity information, passwords and all basic data fields, a certain sub-service system account table comprises an account number and passwords of the sub-service system and basic data fields required by the sub-service system, the account number of the sub-service system is any item of the identity information, the basic data fields required by the sub-service system are part of all basic data fields of a user, namely, the fields contained in the sub-service system account table are subsets of a field set of the group general account table.
For example, in one embodiment, table one shows the contents of a group general account table, which includes: the user number, the user name, the password, the identity card number, the mobile phone number, the user level and the like, the second table shows a first sub-service system account table, and the third table shows the content of a second sub-service system account table, wherein the first sub-service system account table comprises: the user name, the password and the mobile phone number, and the second sub-service system account table comprises: user name, password, and user level.
List one
Figure GDA0004172554100000061
Watch II
Figure GDA0004172554100000062
Watch III
Figure GDA0004172554100000063
It should be noted that the contents of all the basic data fields in the group general account table may be empty.
S3: if the identity information of the account to be registered is queried in the sub-service system account table and the identity information is not queried in the general account table, supplementing basic user information required by the target sub-service system and upgrading the account to be registered into a group general account.
Specifically, if the query result in step S2 is that the identity information is queried in an account table of a sub-service system, and the identity information is not queried in a general account table, that is, the user uses the identity information to register in other sub-service systems, the user is guided to supplement basic user information required by the target sub-service system, and the account to be registered is updated into a group general account and stored in the group general account table.
The specific flow of guiding the user to supplement basic user information required by the target sub-service system, upgrading the identity information into a group general account and storing the group general account into a group general account table is as follows:
acquiring a field set A contained in basic user information required by a target sub-service system, and simultaneously acquiring a field set B contained in basic user information contained in an account table of the sub-service system;
The comparison analysis shows that a field set C belongs to the field set a, but does not belong to the field set B, namely the field set C is a relative complement of the field set a with respect to the field set B, and is expressed as follows: c=a-B;
pushing an information perfecting table to a user, wherein the table comprises all fields in a field set C;
after receiving a request of submitting an information perfecting table of a user, checking field contents in a field set C supplemented by the user, and considering that the information supplementation is successful if the field contents meet preset conditions, or else, considering that the information supplementation is failed;
if the information supplementation is successful, upgrading the sub-service system account which is the same as the identity information of the account to be registered into a group general account, inputting the field content supplemented by the user into the group general account, and storing the group general account into a group general account table.
If the information supplement fails, a prompt is sent to the user to inform the user of the failure reason, and the step is skipped to push the information perfecting table to the user.
For example, in a specific embodiment, a field set a included in an account table of a target sub-service system is { user name, password, identification card number, and mobile phone number }, a field set B included in an account table of a sub-service system M including the identification card information is { user name, password, user level }, a field set C in this example is { identification card number, mobile phone number }, further, an information improvement table including two fields of "identification card number" and "mobile phone number" is pushed to a user, after a request of the user submitting the information improvement table is received, contents of the two fields of "identification card number" and "mobile phone number" filled in by the user in the information improvement table are regularly matched, account information corresponding to the identification card information in the account table of the sub-service system M is extracted after the matching is successful, and the contents of the two fields of "identification card number" and "mobile phone number" of the user are correlated, so as to obtain a group general account, and the group general account is stored in the group general account table.
S4: and logging in the target sub-business system by using the group general account.
In the embodiment of the invention, as shown in the description of the identity information in the step S1, the identity information includes, but is not limited to, a name, an identity card number, a mobile phone number, a mailbox and the like, when a target sub-service system is logged in, a user selects any identity information as an account name to log in according to preference, the target sub-service system regularly matches the account name after receiving a login request of the user, the type of the identity information to which the account name belongs is determined, the identity information is verified, and if the verification is passed, the interface after logging in is skipped.
In the embodiment corresponding to fig. 1, when a registration request of a user to a target sub-service system is detected, the identity information of an account to be registered is obtained according to the registration request, the identity information is searched in a group account system, if the identity information is searched in a sub-service system account table and the identity information is not searched in a general account table, the account to be registered is directly updated into a group general account, so that the user can log in all group sub-service systems through the account to be registered, the efficiency of logging in the group service system by the user is improved, and meanwhile, the server data redundancy caused by a large amount of account information generated by repeated registration in different sub-service systems is also relieved, and the efficiency of server maintenance is improved.
Next, on the basis of the corresponding embodiment of fig. 1, a specific implementation method for searching the identity information of the account to be registered in the group account system mentioned in step S2 is described in detail below through a specific embodiment.
Referring to fig. 2, fig. 2 shows a specific implementation flow of step S2 provided in the embodiment of the present invention, which is described in detail below:
s21: and detecting the identity information of the account to be registered based on a preset regular expression to obtain the type of the identity information.
Specifically, after the identity information is acquired, the identity information of the account to be registered is subjected to type detection by using a preset regular expression. The identification information is at least one of a mobile phone number, an identification card number, a mailbox and a name, but is not limited thereto, and the identification information may further include other features for distinguishing the identity of the user, which may be specifically set according to the needs of practical applications, and is not limited herein.
The regular expressions of the four identification information of the mobile phone number, the identification number, the mailbox and the name are respectively described in detail below.
a) The regular expression of the mobile phone number in China mainly comprises 11 digits, the first 3 digits of the mobile phone number comprise specific information, and the regular expression is as follows:
^1(3[0-9]|4[5,7]|5((?!4)[0-9])|7(0|1|[6-8])|8[0-9])\d{8}$
Where the symbol "≡" represents the beginning of the match and the symbol "$" represents the ending of the match to confirm that no other characters are available thereafter. "|" means alternatively "[0-9]" "[5,7]" means optional one of the data values in the "[ ]" range, "(.
b) The regular expression of the mailbox, wherein the basic format of the mailbox is a name @ domain name, and the regular expression is as follows:
^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9])+$
wherein, "A-Za-z0-9" and "\u4e00\u9fa 5" use unicode codes, "A-Za-z0-9" represent numbers of 0-9 and a-z case letters in the unicode codes, "\u4e00\u9fa 5" represent all Chinese characters in the unicode codes, and "+" represents at least one occurrence.
c) The regular expression of the identification card number is generally composed of 15 digits, 18 digits or 17 digits X, and the regular expression is as follows:
(^\d{15}$|^\d{18}$|^\d{17}(\d|X|x)$)
d) The regular expression of the names, the user names of the names of Chinese citizens are generally Chinese with two to 5 words, but the user names of some minority nationalities are separated by a dot number "·", and the regular expression is as follows:
^[\u4E00-\u9FA5]{2,5}(?:·[\u4E00-\u9FA5]{2,5})$
For example, in a specific embodiment, the obtained identification information is "15600002266", and the type of the identification information is identified as a mobile phone number through matching with a preset regular expression.
S22: and determining a query range from the group general account table and the sub-service system account table according to the type of the identification information, and querying the identification information in the query range.
Specifically, according to the type of the identification information determined in step S21, the fields included in the type are found out from the fields of the group general account table and the sub-service system account table, and the identification information is searched in the fields to obtain the query result.
In the embodiment corresponding to fig. 2, the identification information is detected based on a preset regular expression to obtain the type of the identification information, and then a query range is determined from the group general account table and the sub-service system account table according to the type of the identification information, and the identification information is queried in the query range, so that the query time is saved by reducing the query range, and the query efficiency is improved.
Next, based on the corresponding embodiment of fig. 2, a specific embodiment is used to determine a query scope from the group general account table and the sub-service system account table according to the type of the id information mentioned in step S22, and a specific implementation method for querying the id information in the query scope is described in detail below.
Referring to fig. 3, fig. 3 shows a specific implementation flow of step S22 provided in the embodiment of the present invention, which is described in detail below:
s221: and acquiring fields for identity identification in the group general account table and the sub-service system account table.
In the embodiment of the invention, a group general account table and at least two sub-service system account tables exist, and the group general account table and each sub-service system account table respectively use the respective preset identity information as the identity of the service system when logging in, namely the field of the account name for the user to log in the sub-service system. For example, in the first sub-service system account table, the third sub-service system account, and the fifth sub-service system account table, names are used as the identification fields, and in the second sub-service system account table and the fourth sub-service system account table, mobile phone numbers are used as the identification fields.
S222: if a field with the same field attribute as the type of the identification information is queried in the fields for identification, the queried field is used as a first query field.
Specifically, in step S221, fields for identifying account names in the group general account table and each sub-service system account table are obtained, the fields for identifying account names are screened, fields with the same type as the identity information are found out, and the fields are used as the first query field, so that in the process, the query scope of the account name fields is reduced, and the query efficiency is improved.
For example, in one embodiment, the obtained identification information is: and 13600002266, obtaining the identity information with the mobile phone number as the type through regular matching in the step S21, taking the first to fifth sub-service system account tables in the step S221 as an example, wherein the mobile phone number is used as the identity field and provided with a second sub-service system account table and a fourth sub-service system account table, and the identity fields in the two account tables are used as the first query field.
S223: a first query scope is obtained, wherein the first query scope is the content contained in the first query field.
Specifically, the content contained in each field in the first query field is obtained, and the content is used as the first query scope.
S224: and inquiring the identification information in the first inquiring range.
In the embodiment of the present invention, the first query range includes at least one group general account table or sub-service system account table, the fields of the account table in the first query range for performing identity identification are consistent with the type of the identity identification information, each field for performing identity identification includes a plurality of pieces of data, and in the first query range, specifically, whether the identity identification information exists in the plurality of pieces of data included in the fields for performing identity identification in the first range is searched, if the identity identification information exists, the query result is obtained and the query flow is ended, and if the identity identification information does not exist, the step S225 is skipped to execute the continuous query operation.
Taking the sub-service system B account table and the sub-service system D account table of step S222 as examples, both of the account tables belong to the first query range, the sub-service system B account table contains 33000 data in the field of the mobile phone number, the sub-service system D account table contains 56000 data in total, and when the user identification information is queried in the first query range, only the identification information needs to be queried in the 89000 data without searching in other fields, thereby improving the query efficiency.
S225: if the identification information is not queried in the first query range, acquiring a group general account table and a sub-service system account table without containing other fields of the first query field.
Specifically, if the identification information is not queried in the first query range, the remaining account table needs to be queried continuously, and the fields for identification in the remaining account table are verified to be inconsistent with the identification information in step S221, so that only the fields which are not used for identification in the remaining account table need to be acquired, and the acquired fields are the remaining fields.
The remaining account tables refer to all group general account tables and group general account tables or sub-service system account tables which do not contain the first query field in each sub-service system account table.
It will be appreciated that since the identification information is not queried in the first query field in the first range, the identification information will not be present in other fields in the first range, and thus the account table in the first range will not be queried in subsequent queries.
Taking the sub-service system a account table to the sub-service system E account table in step S221 and step S224 as an example, wherein the first query field is a field for identification, which is a mobile phone number, so as to find out a sub-service system B account table and a sub-service system D account table which meet the first query range, and the identification information "13600002266" is not queried in the first range, and fields in the sub-service system a account table, the sub-service system C account table and the sub-service system E account table, which are not used for identification, are found out, and are used as the rest fields, so as to perform corresponding searching in the fields.
S226: and acquiring a second query field, wherein the second query field is a field with the same field name as the identity identifier to be registered in the other fields.
Specifically, in the step S225, the other fields determined in the step S225 are searched for a field having the same field name as the id information type, and the specific process is as in the step S222, and in order to avoid redundancy, a specific description is omitted here.
S227: and acquiring a second query range, wherein the second query range is the content contained in the second query field.
Specifically, the content contained in each field in the second query field is acquired, and the content is taken as the second query scope.
S228: and inquiring the identification information in the second inquiry range.
Specifically, the second query field in step S226 is queried in the second query scope, and the specific query process is as described in step S224, so that no specific description is given here to avoid redundancy.
It should be noted that, in this query, whether the id information is queried or not, the query result is taken as the final query result.
In the embodiment corresponding to fig. 3, the fields for identifying the identity in the general account table and the sub-service system account table are obtained, the fields are used as first query fields consistent with the identity information, all the contents in the first query fields are used as first query ranges, further, the first query is performed within the first query ranges, if the identity information is queried, the query result is recorded and the query is finished, if the identity information is not queried, the fields which are not used for the identity in the rest account table are obtained, if the fields are found to be consistent with the identity information type, the fields are used as second query fields, further, all the contents in the second query fields are used as second query ranges, the query result is used as final query result, the two queries are performed, each time of the query ranges is narrowed, and the query efficiency is improved.
On the basis of any one of the embodiments corresponding to fig. 1 to 3, after searching the group account system for the identification information mentioned in step S2, the account management method further includes:
if the identity information of the account to be registered is queried in the general account table, acquiring a group general account corresponding to the identity information, and executing updating operation on the group general account, wherein the updating operation is to supplement basic user information required by a target sub-service system into the group general account. In the embodiment of the present invention, if the identity information is queried in the group general account table through the query in step S2, that is, it is confirmed that the identity information is registered in the group general account, then the basic user information required in the target sub-service system is compared with the group general account, and the information to be updated is obtained and updated.
The specific process of comparing the basic user information required in the target sub-service system with the group general account, obtaining the information to be updated and updating is as follows:
acquiring a field set D contained in basic user information required by a target sub-service system, and simultaneously acquiring a field set E which is not empty with the content in the group general account;
The comparison analysis shows that the field set F belongs to the field set D, but does not belong to the field set E, namely the field set F is the relative complement of the field set E with respect to the field set E, and is expressed as follows: f=d-E;
pushing an information perfecting table to a user, wherein the table comprises all fields in a field set F;
after receiving a request of submitting an information perfecting table of a user, checking field contents in a field set F supplemented by the user, and considering that the information supplementation is successful if the field contents meet preset conditions, or else, considering that the information supplementation is failed;
if the information supplementation is successful, the supplemented information is input into the group general account.
If the information supplement fails, a prompt is sent to the user to inform the user of the failure reason, and the step is skipped to push the information perfecting table to the user.
In this embodiment, by analyzing the result of the query in step S2, if the identity information is queried in the general account table, a group general account corresponding to the identity information is obtained, and an update operation is performed on the group general account, so that the user can supplement the user basic data required by the target sub-service system to the original group general account, and log in to use the target sub-service system through the group general account, thereby improving the efficiency of logging in the group service system by the user, avoiding the problem of database data redundancy caused by repeated registration for many times, and improving the management efficiency of the server.
On the basis of any one of the embodiments corresponding to fig. 1 to 3, after searching the group account system for the identification information mentioned in step S2, the account management method further includes:
if the identity information of the account to be registered is not queried in the general account table and the sub-service system account table, guiding the user to register the group general account by using the identity information.
Specifically, if the identity information is not queried in the group general account table and the sub-service system account table after the query in the step S2, it can be considered that the identity information is not registered in any group service system, the user registration is guided by popping up a page registering the group general account, the page includes the name, the password and all user basic information of the registered group general account, wherein the account number, the password and the user basic information required by the sub-service system are the necessary filling content, and the other is the optional filling content.
For example, in a specific embodiment, the user id information is 13600000066, the id information is not queried in the existing group general account table and the sub-service system account table, the system pops up a group general account registration page, which includes account, password, gender, birth date, mailbox, constellation and personalized signature, and the target sub-service system account table includes account, password and gender, so that the user can easily understand that only needs to fill in account, password and gender in the registration page, and other options can be freely selected to fill in according to user preference.
In this embodiment, by analyzing the result of the query in step S2, if the identity information is not queried in the general account table and the sub-service system account table, the user is guided to register the group general account by using the identity information, so that when using the group service, the user can log in all the group sub-service systems by using the group general account, and the efficiency of logging in the group service system by the user is improved.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
Example 2
Corresponding to the account management method in embodiment 1, fig. 4 shows an account management apparatus corresponding to the account management method provided in embodiment 1 one by one, and for convenience of explanation, only the portions related to the embodiments of the present invention are shown.
As shown in fig. 4, the account management device includes: the system comprises an identification information acquisition module 41, an identification information query module 42, a group general account upgrading module 43 and a general account login verification module 44. The functional modules are described in detail as follows:
The identity information obtaining module 41 is configured to obtain, if a registration request of a user to a target sub-service system is detected, identity information of an account to be registered according to the registration request, where the target sub-service system belongs to a group sub-service system, and the group sub-service system at least includes two sub-service systems;
the identity information query module 42 is configured to search identity information of an account to be registered in a group account system, where the group account system includes a group general account table and a group sub-service system account table, and the group sub-service account table includes at least two sub-service system account tables;
the group general account upgrading module 43 is configured to supplement basic user information required by the target sub-service system and upgrade the account to be registered into a group general account if the identity information of the account to be registered is queried in the sub-service system account table and the identity information is not queried in the general account table;
the general account login verification module 44 is configured to login to the target sub-service system using the group general account.
Further, the identification information query module 42 includes:
the identity information type obtaining sub-module 421 is configured to detect identity information based on a preset regular expression, and obtain a type of the identity information;
The id information query sub-module 422 is configured to determine a query range from the group general account table and the sub-service system account table according to the type of the id information, and query the id information in the query range.
Further, the identification information query sub-module 422 includes:
an identity field acquiring unit 4221, configured to acquire fields for identity in the group general account table and the sub-service system account table;
a first query field obtaining unit 4222, configured to, if a field having a field attribute identical to a type of the identity information is queried in the fields for identity, take the queried field as a first query field;
a first query scope obtaining unit 4223, configured to obtain a first query scope, where the first query scope is content contained in the first query field;
a first query scope querying unit 4224, configured to query the identification information in the first query scope.
A remaining field obtaining unit 4225, configured to obtain, if the identity information is not queried in the first query range, a group general account table and a sub-service system account table do not include the remaining fields of the first query field;
A second query field obtaining unit 4226, configured to obtain a second query field, where the second query field is a field with a field name of the other fields being the same as the type of the identifier to be registered;
a second query scope obtaining unit 4227, configured to obtain a second query scope, where the second query scope is content contained in the second query field;
a second query scope query unit 4228, configured to query the identification information in the second query scope.
Further, the account management device further includes:
the group general account updating module 45 is configured to, if the identity information of the account to be registered is queried in the general account table, obtain a group general account corresponding to the identity information, and perform an updating operation on the group general account, where the updating operation is to supplement basic user information required by the target sub-service system into the group general account;
the group general account registration module 46 is configured to guide the user to register the group general account with the identification information if the identification information of the account to be registered is not queried in the general account table and the sub-service system account table.
The process of implementing respective functions by each module in the account management device provided in this embodiment may refer to the description of embodiment 1, and will not be repeated here.
Example 3
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the account management method in embodiment 1, or which, when executed by a processor, implements the functions of the modules/units in the account management apparatus in embodiment 2. In order to avoid repetition, a description thereof is omitted.
It will be appreciated that the computer readable storage medium may comprise: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier wave signal, a telecommunications signal, and the like.
Example 4
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 51, a memory 52, and a computer program 53, such as an account management program, stored in the memory 52 and executable on the processor 51. The steps of the account management method in embodiment 1 described above, such as steps S1 to S4 shown in fig. 1, are implemented when the processor 51 executes the computer program 53. Alternatively, the processor 51 implements the functions of the modules/units of the account management apparatus in embodiment 2 described above, such as the functions of the modules 41 to 44 shown in fig. 4, when executing the computer program 53.
By way of example, the computer program 53 may be divided into one or more modules/units, which are stored in the memory 52 and executed by the processor 51 to complete the present invention. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 53 in the terminal device 5. For example, the computer program 53 may be divided into an id information acquisition module, an id information query module, a group general account upgrade module, and a general account login verification module, and specific functions of each module are as shown in embodiment 2, and are not described in detail herein to avoid repetition.
The terminal device 5 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. The terminal device 5 may include, but is not limited to, a processor 51, a memory 52. It will be appreciated by those skilled in the art that fig. 5 is merely an example of the terminal device 5 and does not constitute a limitation of the terminal device 5, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device 5 may also include input-output devices, network access devices, buses, etc.
The processor 51 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 52 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 52 may also be an external storage device of the terminal device 5, such as a plug-in hard disk provided on the terminal device 5, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like. Further, the memory 52 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 52 is used for storing computer programs and other programs and data required by the terminal device 5. The memory 52 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. An account management method, comprising:
if a registration request of a user to a target sub-service system is detected, acquiring identity information of an account to be registered according to the registration request, wherein the target sub-service system belongs to a group sub-service system, and the group sub-service system at least comprises two sub-service systems;
Searching the identity information in a group account system, wherein the group account system comprises a group general account table and a group sub-service system account table, and the group sub-service account table at least comprises two sub-service system account tables;
if the identity information is queried in the sub-service system account table and the identity information is not queried in the general account table, supplementing basic user information required by a target sub-service system, and upgrading the account to be registered into a group general account;
logging in the target sub-business system by using the group general account.
2. The account management method of claim 1, wherein the searching the group account system for the identification information comprises:
detecting the identity information based on a preset regular expression to obtain the type of the identity information;
and determining a query range from the group general account table and the sub-service system account table according to the type of the identification information, and querying the identification information in the query range.
3. The account management method of claim 2, wherein the determining a query range from the group general account table and the sub-service system account table according to the type of the identification information, and querying the identification information in the query range, comprises:
Acquiring fields for identity identification in the group general account table and the sub-service system account table;
if a field with the same field attribute as the type of the identity information is queried in the field for the identity, taking the queried field as a first query field;
acquiring a first query range, wherein the first query range is the content contained in the first query field;
inquiring the identification information in the first inquiring range;
if the identity information is not queried in the first query range, acquiring the group general account table and the sub-service system account table without containing other fields of the first query field;
acquiring a second query field, wherein the second query field is a field with the same field name as the identity identifier to be registered in the other fields;
acquiring a second query range, wherein the second query range is the content contained in a second query field;
and inquiring the identification information in the second inquiry range.
4. The account management method of any one of claims 1 to 3, wherein after the searching for the identification information in the group account system, the account management method further comprises:
And if the identity information is queried in the general account table, acquiring a group general account corresponding to the identity information, and executing updating operation on the group general account, wherein the updating operation is to supplement basic user information required by a target sub-service system into the group general account.
5. The account management method of any one of claims 1 to 3, wherein after the searching for the identification information in the group account system, the account management method further comprises:
and if the identity information is not queried in the general account table and the sub-service system account table, guiding the user to register the group general account by using the identity information.
6. An account management apparatus, the account management apparatus comprising:
the system comprises an identity information acquisition module, a registration request acquisition module and a registration module, wherein the identity information acquisition module is used for acquiring identity information of an account to be registered according to the registration request if detecting the registration request of a user to a target sub-service system, wherein the target sub-service system belongs to a group sub-service system, and the group sub-service system at least comprises two sub-service systems;
The system comprises an identity information inquiry module, a group account system and a group sub-service system account table, wherein the identity information inquiry module is used for searching the identity information in the group account system, the group account system comprises a group general account table and a group sub-service system account table, and the group sub-service account table at least comprises two sub-service system account tables;
the group general account upgrading module is used for supplementing basic user information required by a target sub-service system and upgrading the account to be registered into a group general account if the identity information is inquired in the sub-service system account table and the identity information is not inquired in the general account table;
and the general account login verification module is used for logging in the target sub-service system by using the group general account.
7. The account management apparatus of claim 6, wherein the identification information query module comprises:
the identity information type acquisition sub-module is used for detecting the identity information based on a preset regular expression to obtain the type of the identity information;
and the identity information inquiry sub-module is used for determining an inquiry range from the group general account table and the sub-service system account table according to the type of the identity information and inquiring the identity information in the inquiry range.
8. The account management apparatus of claim 7, wherein the identification information query submodule includes:
the identity identification field acquisition unit is used for acquiring fields for identity identification in the group general account table and the sub-service system account table;
a first query field obtaining unit, configured to, if a field having a field attribute identical to the type of the identity information is queried in the field for identity, take the queried field as a first query field;
the first query range acquisition unit is used for acquiring a first query range, wherein the first query range is the content contained in the first query field;
a first query scope query unit, configured to query the identity information in the first query scope; the other field obtaining unit is used for obtaining the other fields of the group general account table and the sub-service system account table which do not contain the first query field if the identity information is not queried in the first query range;
a second query field obtaining unit, configured to obtain a second query field, where the second query field is a field with a field name that is the same as a type of an identifier to be registered in the other fields;
A second query scope obtaining unit, configured to obtain a second query scope, where the second query scope is content included in the second query field;
and the second query range query unit is used for querying the identification information in the second query range.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the account management method according to any of claims 1 to 5 when executing the computer program.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the account management method of any of claims 1 to 5.
CN201810268440.3A 2018-03-29 2018-03-29 Account management method, device, terminal equipment and storage medium Active CN108564339B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810268440.3A CN108564339B (en) 2018-03-29 2018-03-29 Account management method, device, terminal equipment and storage medium
PCT/CN2018/094191 WO2019184120A1 (en) 2018-03-29 2018-07-03 Account management method and apparatus, terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810268440.3A CN108564339B (en) 2018-03-29 2018-03-29 Account management method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108564339A CN108564339A (en) 2018-09-21
CN108564339B true CN108564339B (en) 2023-05-12

Family

ID=63533255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810268440.3A Active CN108564339B (en) 2018-03-29 2018-03-29 Account management method, device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108564339B (en)
WO (1) WO2019184120A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472121A (en) * 2018-10-25 2019-03-15 平安科技(深圳)有限公司 Method, apparatus, system and the terminal device of subscriber authentication
CN109658081B (en) * 2018-12-18 2023-03-07 广东中安金狮科创有限公司 Account management method and device and readable storage medium
CN109842482B (en) * 2019-01-14 2022-02-11 深圳市科联智通科技有限公司 Information synchronization method, system and terminal equipment
CN110535652A (en) * 2019-07-01 2019-12-03 广州昆仑科技有限公司 A kind of system and method by each operation system data integration displaying and unified login
CN110493319B (en) * 2019-07-23 2022-07-12 视联动力信息技术股份有限公司 Data synchronization method, system and device
CN110889771A (en) * 2019-10-30 2020-03-17 泰康保险集团股份有限公司 Account processing method and device, electronic equipment and computer readable medium
CN110990380B (en) * 2019-11-27 2023-11-03 杭州安恒信息技术股份有限公司 Account information monitoring method and system
CN110992022B (en) * 2019-11-27 2023-09-19 中国银行股份有限公司 Verification result acquisition method and device
CN111324875A (en) * 2020-02-17 2020-06-23 支付宝(杭州)信息技术有限公司 User data operation authority control and account management method, device and system
CN111459976A (en) * 2020-04-02 2020-07-28 中国人民银行清算总中心 Account information query method and device based on database table
CN114253951B (en) * 2020-09-21 2023-09-19 腾讯科技(深圳)有限公司 Data processing method, system and second server
CN112597159A (en) * 2020-12-22 2021-04-02 深圳集智数字科技有限公司 Method and device for maintaining unique user identification information
CN113138990B (en) * 2021-05-17 2023-04-18 青岛海信网络科技股份有限公司 Data blood margin construction and tracing method, device and equipment
CN114116918B (en) * 2021-11-23 2024-03-01 西安热工研究院有限公司 Digital management method, system, equipment and storage medium for power generation group technical standard
CN114900490B (en) * 2022-04-02 2023-12-26 广州市网星信息技术有限公司 Identification information generation method, system, equipment and storage medium
CN116149621A (en) * 2023-04-21 2023-05-23 云账户技术(天津)有限公司 Access method, system, equipment and medium of bank virtual account

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051975A (en) * 2007-05-21 2007-10-10 王伟 Shared registration method for network account
CN102238213A (en) * 2010-04-29 2011-11-09 腾讯科技(深圳)有限公司 Internet application login method and system
CN102299936A (en) * 2010-06-25 2011-12-28 腾讯科技(深圳)有限公司 Method and device for accessing application websites
CN103297410A (en) * 2012-03-05 2013-09-11 盛大计算机(上海)有限公司 Account intercommunication system and using method thereof
CN105049210A (en) * 2015-06-30 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for registration of universal account number
CN105389351A (en) * 2015-10-30 2016-03-09 北京奇虎科技有限公司 Account number upgrading method and apparatus for specified platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360276A (en) * 2008-09-26 2009-02-04 腾讯科技(深圳)有限公司 Community login method, community identity system and identity interconnecting server
CN103778162A (en) * 2012-10-26 2014-05-07 广州市邦富软件有限公司 Internet people search information integration and analysis method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051975A (en) * 2007-05-21 2007-10-10 王伟 Shared registration method for network account
CN102238213A (en) * 2010-04-29 2011-11-09 腾讯科技(深圳)有限公司 Internet application login method and system
CN102299936A (en) * 2010-06-25 2011-12-28 腾讯科技(深圳)有限公司 Method and device for accessing application websites
CN103297410A (en) * 2012-03-05 2013-09-11 盛大计算机(上海)有限公司 Account intercommunication system and using method thereof
CN105049210A (en) * 2015-06-30 2015-11-11 百度在线网络技术(北京)有限公司 Method and device for registration of universal account number
CN105389351A (en) * 2015-10-30 2016-03-09 北京奇虎科技有限公司 Account number upgrading method and apparatus for specified platform
WO2017071554A1 (en) * 2015-10-30 2017-05-04 北京奇虎科技有限公司 Upgrade method and device for account of designated platform

Also Published As

Publication number Publication date
WO2019184120A1 (en) 2019-10-03
CN108564339A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN108564339B (en) Account management method, device, terminal equipment and storage medium
US10402163B2 (en) Intelligent data extraction
CN110602052A (en) Micro-service processing method and server
CN110929125A (en) Search recall method, apparatus, device and storage medium thereof
CN108667840B (en) Injection vulnerability detection method and device
EP3557437B1 (en) Systems and methods for search template generation
US20130318098A1 (en) Method and system to analyze email addresses
CN109614327B (en) Method and apparatus for outputting information
CN111767350A (en) Data warehouse testing method and device, terminal equipment and storage medium
WO2019056496A1 (en) Method for generating picture review probability interval and method for picture review determination
CN115827084A (en) Data processing method, device, equipment and storage medium
US20190362442A1 (en) System and method for prediction of email addresses of certain individuals and verification thereof
CN115391439A (en) Document data export method, device, electronic equipment and storage medium
CN114491646A (en) Data desensitization method and device, electronic equipment and storage medium
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN109274681B (en) Information synchronization method and device, storage medium and server
CN108804889B (en) Website registration method and device
CN111355709A (en) Data verification method and device, electronic equipment and computer readable storage medium
US11687574B2 (en) Record matching in a database system
CN111737542B (en) Medicine entity information searching method and storage medium
CN115294586A (en) Invoice identification method and device, storage medium and electronic equipment
CN113821692A (en) Data processing method, device, server and storage medium
CN109962907B (en) User identity recognition method based on big data and terminal equipment
CN112860722A (en) Data checking method and device, electronic equipment and readable storage medium
CN106713217B (en) Verification method and device

Legal Events

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