WO2019184120A1 - Account management method and apparatus, terminal device, and storage medium - Google Patents

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

Info

Publication number
WO2019184120A1
WO2019184120A1 PCT/CN2018/094191 CN2018094191W WO2019184120A1 WO 2019184120 A1 WO2019184120 A1 WO 2019184120A1 CN 2018094191 W CN2018094191 W CN 2018094191W WO 2019184120 A1 WO2019184120 A1 WO 2019184120A1
Authority
WO
WIPO (PCT)
Prior art keywords
account
group
query
sub
service system
Prior art date
Application number
PCT/CN2018/094191
Other languages
French (fr)
Chinese (zh)
Inventor
叶力
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019184120A1 publication Critical patent/WO2019184120A1/en

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

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an account management method, apparatus, terminal device, and storage medium.
  • the embodiment of the present invention provides an account management method, which solves the problem that the user repeatedly registers the different sub-service systems, resulting in cumbersome login operation, low efficiency, and a large number of duplicate account information, which causes server data redundancy and server maintenance inconvenience.
  • an embodiment of the present application provides an account management method, including:
  • the target sub-service system is subordinate to the group sub-service system, and the group sub-service system is at least Contains two sub-business systems;
  • Locating the identity identification information in the group account system wherein 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 identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the universal account table, supplement the basic user information required by the target sub-service system, and The account to be registered is upgraded to a group general account;
  • the target sub-service system is logged into using the group general account.
  • an account management apparatus including:
  • An identity information obtaining module configured to acquire, according to the registration request, identity identification information of an account to be registered, where the target sub-service system belongs to the group sub-service system, if the registration request of the target sub-service system is detected by the user
  • the group sub-business system includes at least two sub-business systems;
  • the identity information query module is configured to search the identity information in the 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-business system account table;
  • a group general account upgrade module configured to: if the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the general account table, supplement the target sub-service system Basic user information required, and the account to be registered is upgraded to a group general account;
  • a universal account login verification module is configured to log in to the target sub-service system using the group universal account.
  • an embodiment of the present application provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer
  • the steps of the account management method are implemented when the instruction is read.
  • the embodiment of the present application provides one or more non-volatile readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, such that the one or A plurality of processors execute the steps of the account management method.
  • FIG. 1 is a flowchart of an account management method provided in Embodiment 1 of the present application.
  • step S2 is a flowchart of an implementation of step S2 in the account management method provided in Embodiment 1 of the present application;
  • step S22 is a flowchart of an implementation of step S22 in the account management method provided in Embodiment 1 of the present application;
  • FIG. 4 is a schematic diagram of an account management apparatus provided in Embodiment 2 of the present application.
  • FIG. 5 is a schematic diagram of a terminal device according to Embodiment 4 of the present application.
  • FIG. 1 shows an implementation flow of an account management method provided by this embodiment. Details are as follows:
  • the client when the user registers the target sub-service system, the client sends a Request object to the server, and after receiving the Request object, the server uses the string query method to obtain the registration of the target sub-service system. Register the identity information of the account.
  • the Request object sends a request from the client to the server, including the information submitted by the user and the cookie information of the client.
  • the cookie information is data information stored by the server on the local terminal of the user in order to identify the identity of the user and perform session tracking.
  • the client can submit data via a HyperText Markup Language (HTML) form or by providing parameters after the page address.
  • HTML HyperText Markup Language
  • the identity information is a certificate for authenticating the user identity, including but not limited to: name, ID number, mobile phone number, and email address.
  • S2 Find the identity information of the account to be registered in the group account system, wherein 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.
  • each group sub-service system has an independent sub-service system account table
  • the group account system includes all group sub-service system account tables and group common account tables
  • the identity identifier obtained in step S1 is obtained in the group account system. The information is queried to get the query result.
  • the group general account table includes identity identification information, a password, and all basic data fields
  • a sub-service system account table includes an account number, a password, and a basic data field required by the sub-service system
  • the sub-service system The account number is any one of the identity information
  • the user basic data field required by the child service system is part of all the basic data fields of the user, that is, the field included in the sub-service system account table is a sub-field of the group common account table. set.
  • Table 1 shows the contents of the group general account table
  • the group general account table includes: a user number, a user name, a password, an ID card number, a mobile phone number, and a user level.
  • Table 2 shows The first sub-service system account table
  • Table 3 shows the contents of the second sub-service system account table, wherein the first sub-service system account table includes: user name, password and mobile phone number, and the second sub-service system account table Includes: user name, password, and user level.
  • step S2 if the query result in step S2 is that the identity identification information is queried in a sub-service system account table, and the identity identification information is not queried in the universal account table, that is, the user uses the identity identification information in other sub-services.
  • the registration in the system guides the user to supplement the basic user information required by the target sub-service system, and then upgrades the account to be registered into a group general account and deposits it into the group general account table.
  • the content of the field in the field set C supplemented by the user is checked, and the information is supplemented successfully, otherwise the information supplementation is deemed to be failed;
  • the sub-service system account with the same account identity information to be registered is upgraded to the group general account, and the field content supplemented by the user is entered into the group general account, and the group general account is deposited into the group.
  • the general account table In the general account table.
  • the target sub-service system account table includes a field set A of ⁇ user name, password, ID number, mobile phone number ⁇ , and a field included in the sub-service system M account table containing the identity information.
  • Set B is ⁇ user name, password, user level ⁇ .
  • the field set C in this example is ⁇ ID number, mobile phone number ⁇ , and then pushes the user with "ID card number" and "mobile phone number”.
  • the information perfection table of the fields after receiving the request of the user to submit the information perfect table, the content matching the contents of the "ID card number" and the "mobile phone number" in the information perfection table is regularly matched and matched.
  • the description of the identity identification information in step S1 indicates that the identity identification information includes, but is not limited to, a name, an ID card number, a mobile phone number, and a mailbox.
  • the target sub-service system When logging in to the target sub-service system, the user selects according to preferences. Any identity information is logged in as the account name. After receiving the login request from the user, the target sub-service system performs a regular match on the account name, determines the type of the identity information to which the account name belongs, and then verifies the identity information. If the verification is passed, jump to the interface after login.
  • the identity identification information of the account to be registered is obtained according to the registration request, and the identity identification information is searched in the group account system, if 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, the account to be registered is directly upgraded to the group general account, so that the user can log in to all groups through the account to be registered.
  • the sub-service system improves the efficiency of the user's login to the group's business system. At the same time, it also alleviates the server data redundancy caused by the large amount of account information generated by repeated registration of different sub-service systems, and improves the efficiency of server maintenance.
  • FIG. 2 shows a specific implementation process of step S2 provided by the embodiment of the present application, which is described in detail as follows:
  • S21 Detect the identity information of the registered account based on the preset regular expression, and obtain the type of the identity information.
  • the type identification of the identity information of the registered account is performed by using a preset regular expression.
  • the identification information is at least one of a mobile phone number, an ID card number, an email address, and a name, but is not limited thereto.
  • the identity identification information may further include other features for distinguishing the user identity, which may be specifically set according to actual application requirements. There are no restrictions here.
  • the regular expression of the mobile phone number is mainly composed of 11 digits.
  • the first 3 digits contain specific information, and the regular expression is:
  • A-Za-z0-9 and “ ⁇ u4e00- ⁇ u9fa5" use unicode encoding
  • A-Za-z0-9 means 0-9 digits and az uppercase and lowercase letters in unicode encoding
  • ⁇ u4e00- ⁇ u9fa5" means all Chinese characters in unicode encoding
  • "+" means at least once.
  • the regular expression of the ID card number is generally composed of 15 digits, 18 digits or "17 digits X”.
  • the regular expression is:
  • the acquired identity information is “15600002266”, and the type of the identity information is identified as a mobile phone number by a preset regular expression matching.
  • S22 Determine a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and query the identity identification information in the query scope.
  • step S21 in the fields of the group general account table and the sub-service system account table, find the fields included in the type, and search for the identity identification information in the fields. Get the query results.
  • the identity identification information is detected based on a preset regular expression, and the type of the identity identification information is obtained, and according to the type of the identity identification information, the group common account table and the sub-service system are obtained.
  • the scope of the query is determined in the account table, and the identity information is queried in the scope of the query, and the query time is reduced by narrowing the scope of the query, thereby improving the efficiency of the query.
  • step S22 the type of the identity identification information mentioned in step S22 is determined from the group general account table and the sub-service system account table by a specific embodiment.
  • the scope of the query is described in detail, and the specific implementation method for querying the identity information in the query scope is described in detail.
  • FIG. 3 shows a specific implementation process of step S22 provided by the embodiment of the present application, which is described in detail as follows:
  • S221 Obtain a field for identity identification in the group common account table and the sub-business system account table.
  • the name is used as the identity field
  • the second sub-service system account table and the fourth sub-service system account table are used. In the middle, use the mobile phone number as the identity field.
  • step S221 a group common account table and a field for identifying an account name in each sub-service system account table are obtained, and the fields used to identify the account name are filtered to find out the type of the identity information. The same field, these fields are used as the first query field. In this process, the query range of the account name field is narrowed, and the query efficiency is improved.
  • the obtained identity information is: “13600002266”, and the regular matching of step S21 is performed, and the type of the identity information is obtained as the mobile phone number, and the first sub-service system account in step S221 is used.
  • S223 Obtain a first query scope, where the first query scope is content included in the first query field.
  • the content included in each field in the first query field is obtained, and the content is used as the first query range.
  • the first query scope includes at least one group general account table or a sub-service system account table, and the field used by the account table in the first query scope for identity identification is consistent with the type of the identity identification information, and each The field used for identity identification contains multiple pieces of data, which are queried in the first scope, specifically, multiple pieces of data contained in the field used for identity identification in the first scope to find out whether the identity exists.
  • the identification information if the identity information exists, obtains the query result and ends the query process. If the identity information does not exist, the process proceeds to step S225 to perform the query operation.
  • the two account tables belong to the first query range.
  • the sub-service system B account table contains 33,000 data.
  • the sub-service system D account table contains 56,000 data, and contains a total of 89000 data.
  • the user identification information is queried in the first query range, only the 89,000 data needs to be queried for the identity information. It does not need to search in other fields, which improves the efficiency of the query.
  • the remaining account table needs to be further queried, and the field used for the identity in the remaining account table has been verified with the identity in step S221.
  • the identification information is inconsistent, so only the fields in the remaining account table that are not used for the identity identification need to be obtained, and the obtained fields are the remaining fields.
  • the remaining account table refers to the group common account table or the sub-business system account table in the group common account table and each sub-service system account table, which does not include the first query field.
  • the first query field is a field for the identity number of the mobile phone number
  • the qualified condition is found.
  • a query scope sub-service system B account table and a sub-service system D account table the identity information "13600002266" is not queried in the first scope, and the sub-service system A account table, the sub-service system C account table and the sub-services are found.
  • the fields in the system E account table that are not used for identity identification are used as the remaining fields to perform corresponding searches within these fields.
  • S226 Acquire a second query field, where the second query field is a field with the same field name as the identity identifier to be registered in the remaining fields.
  • Step S225 a field having the same field name as the identity information type is searched for as the second query field.
  • the specific process is as follows: Step S222, to avoid repeated cumbersome, it will not be specifically described herein.
  • S227 Obtain a second query scope, where the second query scope is content included in the second query field.
  • the content included in each field in the second query field is obtained, and the content is used as the second query range.
  • the second query field is queried for the second query field in the step S226.
  • the specific query process is as described in step S224.
  • the first query field is obtained by obtaining the fields for identifying the identity in the common account table and the sub-service system account table, and as the first query field in the fields corresponding to the identity information. All the contents are used as the first query range, and then the first search is performed within the first query range. If the identity information is queried, the query result is recorded and the query is terminated.
  • the fields in the remaining account table that are not used for the identity identifier are obtained, and if the identifier information type is consistent in the fields, the field is used as the second query field, and then all the second query fields are The content is queried as the second query scope, and the query result is used as the final query result, which is divided into two queries, each narrowing the scope, and improving the query efficiency.
  • the account management method further includes:
  • the group general account corresponding to the identity information is obtained, and an update operation is performed on the group general account, and the update operation is to add the target to the group general account.
  • Basic user information required by the business system if the query is performed in step S2, the identity identification information is queried in the group general account table, that is, the identity identification information is registered in the group general account, and the target sub-service system is required. The basic user information is compared with the group's general account, and the information to be updated is updated and updated.
  • the content of the field in the field set F supplemented by the user is checked, and the information is added successfully, and the information supplementation is considered successful; otherwise, the information supplementation failure is considered;
  • the supplemental information is entered into the group's general account.
  • step S2 by analyzing the result of the query in step S2, if the identity identification information is queried in the general account table, the group general account corresponding to the identity identification information is acquired, and an update operation is performed on the group general account, so that The user can add the user basic data required by the target sub-service system to the original group general account, and then log in to use the target sub-service system through the group general account, thereby improving the efficiency of the user logging into the group business system, and simultaneously improving the efficiency of the user logging into the group business system. It also avoids the problem of database data redundancy caused by repeated registrations, and improves the efficiency of server management.
  • the account management method further includes:
  • the identity information of the account to be registered is not queried in both the general account table and the sub-service system account table, the user is guided to use the identity information to register the group general account.
  • the identity identification information is not registered as any group business system, and is popped up.
  • Register the group's general account page to guide the user registration. This page contains the name, password and all user basic information of the registered group's general account. The account number, password and user basic data required by the sub-business system are required. Others For optional content.
  • the user identity information is 13600000066
  • the identity information is not queried in the existing group general account table and the sub-service system account table, and the system pops up the group general account registration page, including the account, Password, gender, date of birth, email, constellation, and personality signature
  • the target sub-business system account table contains accounts, passwords, and genders. It is easy to understand that users only need to fill in accounts, passwords, and genders on the registration page. Yes, other options are free to choose based on user preferences.
  • the group's general account can be used to log in to all group sub-business systems, improving the efficiency of users logging into the group's business systems.
  • FIG. 4 shows the account management apparatus corresponding to the account management method provided in the first embodiment, and for convenience of explanation, only the parts related to the embodiment of the present application are shown.
  • the account management apparatus includes: an identity information acquisition module 41, an identity information query module 42, a group universal account upgrade module 43, and a universal account login verification module 44.
  • Each function module is described in detail as follows:
  • the identity information obtaining module 41 is configured to: if the user requests the registration of the target sub-service system, obtain the identity identification information of the account to be registered according to the registration request, where the target sub-service system belongs to the group sub-service system, the group The business system contains at least two sub-business systems;
  • the identity information query module 42 is configured to search for identity identification information of the account to be registered in the group account system, wherein 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-business system account table;
  • the group general account upgrade module 43 is configured to: if the identity identification information of the account to be registered is queried in the sub-service system account table, and the identity identification information is not queried in the general account table, supplement the target sub-service system Basic user information and upgrade the account to be registered to a group general account;
  • the universal account login verification module 44 is configured to log in to the target sub-service system using the group general account.
  • the identity information query module 42 includes:
  • the identity information type obtaining sub-module 421 is configured to detect identity identification information based on a preset regular expression, to obtain a type of the identity identification information;
  • the identity information query sub-module 422 is configured to determine a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and query the identity identification information in the query scope.
  • identity information query sub-module 422 includes:
  • the identity field obtaining unit 4221 is configured to obtain a field for identity identification in the group common account table and the sub-service system account table;
  • the first query field obtaining unit 4222 is configured to: if the field attribute is the same as the type of the identity information in the field for the identity identifier, use the queried field as the first query field;
  • the first query scope obtaining unit 4223 is configured to obtain a first query scope, where the first query scope is content included in the first query field;
  • the first query range query unit 4224 is configured to query the identity identification information in the first query scope.
  • the remaining field obtaining unit 4225 is configured to: if the identity identification information is not queried in the first query scope, obtain the remaining fields of the group common account table and the sub-service system account table that do not include the first query field;
  • the second query field obtaining unit 4226 is configured to obtain a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
  • the second query range obtaining unit 4227 is configured to obtain a second query range, where the second query range is content included in the second query field;
  • the second query range query unit 4228 is configured to query the identity identification information in the second query range.
  • the account management device further includes:
  • the group general account update module 45 is configured to: if the identity information of the account to be registered is queried in the general account table, obtain the group general account corresponding to the identity information, and perform an update operation on the group general account, and the update operation is Supplementing the basic user information required by the target sub-business system to the group's general account;
  • the group general account registration module 46 is configured to guide the user to use the identity identification information to register the group general account if the identity information of the account to be registered is not queried in both the general account table and the sub-service system account table.
  • the embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon, the computer readable instructions being stored by one or more When the processor executes, causing the one or more processors to execute the account management method in Embodiment 1, or implementing the account management device in Embodiment 2 when the computer readable instructions are executed by one or more processors
  • the function of each module/unit To avoid repetition, we will not repeat them here.
  • non-volatile readable storage medium may include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, only Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signals, and telecommunication signals.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • FIG. 5 is a schematic diagram of a terminal device according to an embodiment of the present application.
  • the terminal device 5 of this embodiment includes a processor 51, a memory 52, and computer readable instructions 53 stored in the memory 52 and operable on the processor 51, such as an account management program.
  • the processor 51 implements the steps of the account management method of the above-described Embodiment 1 when the computer readable instructions 53 are executed, such as steps S1 to S4 shown in FIG.
  • the processor 51 executes the computer readable instructions 53
  • the functions of the modules/units of the account management apparatus in the above embodiment 2 are implemented, such as the functions of the modules 41 to 44 shown in FIG.
  • computer readable instructions 53 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 52 and executed by processor 51 to complete the application.
  • the one or more modules/units may be an instruction segment of a series of computer readable instructions capable of performing a particular function, which is used to describe the execution of computer readable instructions 53 in the terminal device 5.
  • the computer readable instruction 53 may be divided into an identity information acquisition module, an identity information query module, a group universal account upgrade module, and a general account login verification module.
  • the specific functions of each module are as shown in Embodiment 2, in order to avoid duplication. I will not repeat them here.
  • the terminal device 5 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device 5 may include, but is not limited to, a processor 51 and a memory 52. It will be understood by those skilled in the art that FIG. 5 is only an example of the terminal device 5, does not constitute a limitation of the terminal device 5, may include more or less components than the illustrated, or combine some components, or different components.
  • the terminal device 5 may further include an input/output device, a network access device, a bus, and the like.
  • the processor 51 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an off-the-shelf Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or 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 memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on.
  • the memory 52 may also include both an internal storage unit of the terminal device 5 and an external storage device.
  • the memory 52 is used to store computer readable instructions and other programs and data required by the terminal device 5.
  • the memory 52 can also be used to temporarily store data that has been or will be output.

Abstract

Disclosed are an account management method and apparatus, a terminal device, and a storage medium. The account management method comprises the following steps: if a registration request for a target sub-service system from a user is detected, obtaining identification information of an account to be registered according to the registration request, and then searching for the identification information in a group account system; and if the identification information is queried in a sub-service system account table and not queried in a general account table, supplementing basic user information required by the target sub-service system, and upgrading the account to be registered to a group general account, thereby enabling the user to log into all group sub-service systems by means of the account to be registered. In this way, the efficiency of user login to a group service system is improved; in addition, server data redundancy caused by a large amount of account information generated by repeated registration in different sub-service systems is relieved, and the efficiency of server maintenance is improved.

Description

一种账户管理方法、装置、终端设备及存储介质Account management method, device, terminal device and storage medium
本申请以2018年3月29日提交的申请号为201810268440.3,名称为“一种账户管理方法、装置、终端设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This application is based on the Chinese Patent Application No. 201810268440.3 filed on March 29, 2018, entitled "An Account Management Method, Apparatus, Terminal Equipment, and Storage Medium", and claims priority.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种账户管理方法、装置、终端设备及存储介质。The present application relates to the field of computer technologies, and in particular, to an account management method, apparatus, terminal device, and storage medium.
背景技术Background technique
目前,随着经济全球化和我国对外开放的步伐不断加快,许多集团公司得到了迅猛发展,这些集团公司拥有不同的子业务部门来管理不同的业务类型,因此,每个子业务系统都存在自己独立的账户体系,随着集团的进一步发展,可能会产生更多的子业务系统。At present, with the globalization of the economy and the pace of China's opening up to the outside world, many group companies have developed rapidly. These group companies have different sub-business units to manage different business types. Therefore, each sub-business system has its own independence. The account system, with the further development of the group, may generate more sub-business systems.
用户在第一次使用集团的这些子业务系统的时候,需要先申请对应子业务系统的账户,而使用多个子业务系统,则需要用户去开通多个子业务系统的账户,且开通账户流程较为繁琐,使得用户需要频繁进行注册操作,同时大量重复的账户信息也会造成服务器数据的冗余,给服务器的维护带来了不便。When users use these sub-service systems of the group for the first time, they need to apply for the account corresponding to the sub-service system. If multiple sub-service systems are used, the user needs to open the accounts of multiple sub-service systems, and the process of opening the account is cumbersome. Therefore, the user needs to perform registration operations frequently, and a large amount of repeated account information also causes redundancy of server data, which brings inconvenience to the maintenance of the server.
发明内容Summary of the invention
本申请实施例提供一种账户管理方法,以解决用户多次重复注册不同子业务系统导致登录操作繁琐、效率低,以及大量重复的账户信息造成服务器数据的冗余和服务器维护不便的问题。The embodiment of the present invention provides an account management method, which solves the problem that the user repeatedly registers the different sub-service systems, resulting in cumbersome login operation, low efficiency, and a large number of duplicate account information, which causes server data redundancy and server maintenance inconvenience.
第一方面,本申请实施例提供一种账户管理方法,包括:In a first aspect, an embodiment of the present application provides an account management method, including:
若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;And if the registration request of the target sub-service system is detected, obtaining identity identification information of the account to be registered according to the registration request, wherein the target sub-service system is subordinate to the group sub-service system, and the group sub-service system is at least Contains two sub-business systems;
在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;Locating the identity identification information in the group account system, wherein 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;
若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;If the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the universal account table, supplement the basic user information required by the target sub-service system, and The account to be registered is upgraded to a group general account;
使用所述集团通用账户登录所述目标子业务系统。The target sub-service system is logged into using the group general account.
第二方面,本申请实施例提供一种账户管理装置,包括:In a second aspect, an embodiment of the present application provides an account management apparatus, including:
身份标识信息获取模块,用于若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;An identity information obtaining module, configured to acquire, according to the registration request, identity identification information of an account to be registered, where the target sub-service system belongs to the group sub-service system, if the registration request of the target sub-service system is detected by the user The group sub-business system includes at least two sub-business systems;
身份标识信息查询模块,用于在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;The identity information query module is configured to search the identity information in the 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-business system account table;
集团通用账户升级模块,用于若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;a group general account upgrade module, configured to: if the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the general account table, supplement the target sub-service system Basic user information required, and the account to be registered is upgraded to a group general account;
通用账户登录验证模块,用于使用所述集团通用账户登录所述目标子业务系统。A universal account login verification module is configured to log in to the target sub-service system using the group universal account.
第三方面,本申请实施例提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现所述账户管理方法的步骤。In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor executes the computer The steps of the account management method are implemented when the instruction is read.
第四方面,本申请实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行所述账户管理方法的步骤。In a fourth aspect, the embodiment of the present application provides one or more non-volatile readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, such that the one or A plurality of processors execute the steps of the account management method.
本申请的一个或多个实施例的细节在下面的附图和描述中提出,本申请的其他特征和优点将从说明书、附图以及权利要求变得明显。The details of one or more embodiments of the present invention are set forth in the accompanying drawings and the description of the claims.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art based on these drawings without the inventive labor.
图1是本申请实施例1提供的账户管理方法的流程图;1 is a flowchart of an account management method provided in Embodiment 1 of the present application;
图2是本申请实施例1提供的账户管理方法中步骤S2的实现流程图;2 is a flowchart of an implementation of step S2 in the account management method provided in Embodiment 1 of the present application;
图3是本申请实施例1提供的账户管理方法中步骤S22的实现流程图;3 is a flowchart of an implementation of step S22 in the account management method provided in Embodiment 1 of the present application;
图4是本申请实施例2中提供的账户管理装置的示意图;4 is a schematic diagram of an account management apparatus provided in Embodiment 2 of the present application;
图5是本申请实施例4提供的终端设备的示意图。FIG. 5 is a schematic diagram of a terminal device according to Embodiment 4 of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
实施例1Example 1
请参阅图1,图1示出本实施例提供的账户管理方法的实现流程。详述如下:Please refer to FIG. 1. FIG. 1 shows an implementation flow of an account management method provided by this embodiment. Details are as follows:
S1:若检测到用户对目标子业务系统的注册请求,则根据该注册请求获取待注册账户的身份标识信息,其中,目标子业务系统从属于集团子业务系统,集团子业务系统至少包含两个子业务系统。S1: If the registration request of the target sub-service system is detected, the identity information of the account to be registered is obtained according to the registration request, wherein the target sub-service system belongs to the group sub-service system, and the group sub-service system includes at least two sub-services. business system.
具体地,在用户对目标子业务系统进行注册的时候,客户端会向服务器发送一个Request对象,服务器在接收到这个Request对象后,使用字符串查询的方式来获取注册该目标子业务系统的待注册账户的身份标识信息。Specifically, when the user registers the target sub-service system, the client sends a Request object to the server, and after receiving the Request object, the server uses the string query method to obtain the registration of the target sub-service system. Register the identity information of the account.
其中,Request对象是从客户端向服务器发出请求,包括用户提交的信息以及客户端的Cookie信息,Cookie信息是服务端为了辨别用户身份、进行session跟踪而储存在用户本地终端上的数据信息。客户端可通过超级文本标记语言(HyperText Markup Language,HTML)表单或在网页地址后面提供参数的方法提交数据。The Request object sends a request from the client to the server, including the information submitted by the user and the cookie information of the client. The cookie information is data information stored by the server on the local terminal of the user in order to identify the identity of the user and perform session tracking. The client can submit data via a HyperText Markup Language (HTML) form or by providing parameters after the page address.
其中,身份标识信息是用于对用户身份进行认证的凭证,包括但不限于:姓名、身份证号码、手机号码和邮箱等。The identity information is a certificate for authenticating the user identity, including but not limited to: name, ID number, mobile phone number, and email address.
S2:在集团账户体系中查找待注册账户的身份标识信息,其中,集团账户体系包括集团通用账户表和集团子业务系统账户表,集团子业务账户表至少包括两个子业务系统账户表。S2: Find the identity information of the account to be registered in the group account system, wherein 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.
具体地,每个集团子业务系统有独立的子业务系统账户表,集团账户体系包括所有集团子业务系统账户表和集团通用账户表,通过在集团账户体系中对步骤S1中获取到的身份标识信息进行查询,得到查询结果。Specifically, each group sub-service system has an independent sub-service system account table, and the group account system includes all group sub-service system account tables and group common account tables, and the identity identifier obtained in step S1 is obtained in the group account system. The information is queried to get the query result.
其中,集团通用账户表包括身份标识信息、密码和所有基础资料字段,某一子业务系统账户表包括该子业务系统的帐号、密码和该子业务系统所需的基础资料字段,该子业务系统的帐号为身份标识信息中的任一项,子业务系统所需的用户基础资料字段为用户所有基础资料字段的一部分,即子业务系统账户表包含的字段是集团通用账户表的字段集合的子集。The group general account table includes identity identification information, a password, and all basic data fields, and a sub-service system account table includes an account number, a password, and a basic data field required by the sub-service system, and the sub-service system The account number is any one of the identity information, and the user basic data field required by the child service system is part of all the basic data fields of the user, that is, the field included in the sub-service system account table is a sub-field of the group common account table. set.
例如,在一具体实施方式中,表一示出了集团通用账户表的内容,集团通用账户表包括:用户编号、用户姓名、密码、身份证号码、手机号码和用户级别等,表二示出了第一子业务系统账户表,表三示出了第二子业务系统账户表的内容,其中,第一子业务系统账户表包括:用户姓名、密码和手机号码,第二子业务系统账户表包括:用户姓名、密码和用户级别。For example, in a specific embodiment, Table 1 shows the contents of the group general account table, and the group general account table includes: a user number, a user name, a password, an ID card number, a mobile phone number, and a user level. Table 2 shows The first sub-service system account table, Table 3 shows the contents of the second sub-service system account table, wherein the first sub-service system account table includes: user name, password and mobile phone number, and the second sub-service system account table Includes: user name, password, and user level.
表一Table I
Figure PCTCN2018094191-appb-000001
Figure PCTCN2018094191-appb-000001
表二Table II
Figure PCTCN2018094191-appb-000002
Figure PCTCN2018094191-appb-000002
表三Table 3
Figure PCTCN2018094191-appb-000003
Figure PCTCN2018094191-appb-000003
值得说明的是,集团通用账户表中所有基础资料字段的内容可以为空。It is worth noting that the contents of all the basic data fields in the group's general account table can be empty.
S3:若在子业务系统账户表中查询到待注册账户的身份标识信息,并且在通用账户表中未查询到该身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将待注册账户升级为集团通用账户。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, the basic user information required by the target sub-service system is supplemented and will be The registered account is upgraded to a group general account.
具体地,若步骤S2的查询结果为在一子业务系统账户表中查询到该身份标识信息,并且在通用账户表中未查询到该身份标识信息,即用户使用该身份标识信息在其他子业务系统中进行过注册,则引导用户补充该目标子业务系统所需要的基础用户信息,进而将该待注册账户升级为集团通用账户并存入集团通用账户表中。Specifically, if the query result in step S2 is that the identity identification information is queried in a sub-service system account table, and the identity identification information is not queried in the universal account table, that is, the user uses the identity identification information in other sub-services. The registration in the system guides the user to supplement the basic user information required by the target sub-service system, and then upgrades the account to be registered into a group general account and deposits it into the group general account table.
其中,引导用户补充该目标子业务系统所需要的基础用户信息,进而将该身份标识信息升级为集团通用账户并存入集团通用账户表中的具体流程如下:The specific process of guiding the user to supplement the basic user information required by the target sub-service system, and then upgrading the identity identification information into a group general account and depositing it into the group common account table is as follows:
获取目标子业务系统所需的基础用户信息包含的字段集A,同时获取与该子业务系统账户表中所包含的基础用户信息的字段集B;Obtaining the field set A included in the basic user information required by the target sub-service system, and acquiring the field set B of the basic user information included in the sub-service system account table;
对比分析出属于字段集A,但不属于字段集B的字段集C,即字段集C为字段集A关于字段集B的相对补集,表示为:C=A-B;Comparing and analyzing the field set C belonging to the field set A but not belonging to the field set B, that is, the field set C is the relative complement of the field set A with respect to the field set B, expressed as: C=A-B;
向用户推送信息完善表,该表包含字段集C里面所有字段;Pushing the information to the user to complete the table, which contains all the fields in the field set C;
在收到用户的信息完善表提交请求后,对用户补充的字段集C里面的字段内容进行检验,符合预设条件,则认为信息补充成功,否则认为信息补充失败;After receiving the user's information perfect form submission request, the content of the field in the field set C supplemented by the user is checked, and the information is supplemented successfully, otherwise the information supplementation is deemed to be failed;
若信息补充成功,将与待注册账户身份标识信息相同的该子业务系统账户升级为集团通用账户,并将用户补充的字段内容录入该集团通用账户中,并将该集团通用账户存入到集团通用账户表中。If the information is successfully supplemented, the sub-service system account with the same account identity information to be registered is upgraded to the group general account, and the field content supplemented by the user is entered into the group general account, and the group general account is deposited into the group. In the general account table.
若信息补充失败,则向用户发送提醒,告之失败原因,并跳转到步骤向用户推送信息完善表。If the information is not replenished, a reminder is sent to the user, the reason for the failure is reported, and the step is jumped to the step of pushing the information to the user.
例如,在一具体实施方式中,目标子业务系统账户表包含的字段集A为{用户姓名, 密码,身份证号码,手机号码},包含该身份标识信息的子业务系统M账户表包含的字段集B为{用户姓名,密码,用户级别},通过对比分析得到本例中字段集C为{身份证号码,手机号码},进而向用户推送包含“身份证号码”和“手机号码”这两个字段的信息完善表,在收到用户提交该信息完善表的请求后,对该信息完善表中用户针对“身份证号码”和“手机号码”这两个字段填写的内容作正则匹配,匹配成功后,提取子业务系统M账户表中该身份标识信息对应的账户信息,并与用户完善的“身份证号码”和“手机号码”这两个字段的内容进行关联,得到集团通用账户,并将该集团通用账户存入到集团通用账户表中。For example, in a specific implementation, the target sub-service system account table includes a field set A of {user name, password, ID number, mobile phone number}, and a field included in the sub-service system M account table containing the identity information. Set B is {user name, password, user level}. By comparison analysis, the field set C in this example is {ID number, mobile phone number}, and then pushes the user with "ID card number" and "mobile phone number". The information perfection table of the fields, after receiving the request of the user to submit the information perfect table, the content matching the contents of the "ID card number" and the "mobile phone number" in the information perfection table is regularly matched and matched. After successful, extract the account information corresponding to the identity information in the M account table of the child service system, and associate with the content of the user's perfect "ID card number" and "mobile phone number" to obtain the group general account, and Deposit the group's general account into the group's general account form.
S4:使用该集团通用账户登录目标子业务系统。S4: Log in to the target sub-business system using the group general account.
在本申请实施例中,由步骤S1关于身份标识信息的描述可知,身份标识信息包括但不限于姓名、身份证号码、手机号码和邮箱等,在登录目标子业务系统时,用户根据喜好,选择任一身份标识信息作为账户名称进行登录,目标子业务系统在接收到用户的登录请求后,对账户名称进行正则匹配,确定账户名称所属的身份标识信息的类型,进而对该身份标识信息进行验证,若验证通过,则跳转到登录后的界面。In the embodiment of the present application, the description of the identity identification information in step S1 indicates that the identity identification information includes, but is not limited to, a name, an ID card number, a mobile phone number, and a mailbox. When logging in to the target sub-service system, the user selects according to preferences. Any identity information is logged in as the account name. After receiving the login request from the user, the target sub-service system performs a regular match on the account name, determines the type of the identity information to which the account name belongs, and then verifies the identity information. If the verification is passed, jump to the interface after login.
在图1对应的实施例中,在检测到用户对目标子业务系统的注册请求时,根据该注册请求获取待注册账户的身份标识信息,并在集团账户体系中查找该身份标识信息,若在子业务系统账户表中查询到该身份标识信息,并且在通用账户表中未查询到该身份标识信息,则将待注册账户直接升级为集团通用账户,使得用户通过该待注册账户能够登录所有集团子业务系统,从而提升了用户登录集团业务系统的效率,同时,也缓解了在不同子业务系统重复注册产生的大量账户信息造成的服务器数据冗余,提高了服务器维护的效率。In the embodiment corresponding to FIG. 1, when the registration request of the target sub-service system is detected by the user, the identity identification information of the account to be registered is obtained according to the registration request, and the identity identification information is searched in the group account system, if 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, the account to be registered is directly upgraded to the group general account, so that the user can log in to all groups through the account to be registered. The sub-service system improves the efficiency of the user's login to the group's business system. At the same time, it also alleviates the server data redundancy caused by the large amount of account information generated by repeated registration of different sub-service systems, and improves the efficiency of server maintenance.
接下来,在图1对应的实施例的基础之上,下面通过一个具体的实施例来对步骤S2中所提及的在集团账户体系中查找待注册账户的身份标识信息的具体实现方法进行详细说明。Next, on the basis of the corresponding embodiment of FIG. 1, the specific implementation method for finding the identity identification information of the account to be registered in the group account system mentioned in step S2 is detailed by a specific embodiment. Description.
请参阅图2,图2示出了本申请实施例提供的步骤S2的具体实现流程,详述如下:Referring to FIG. 2, FIG. 2 shows a specific implementation process of step S2 provided by the embodiment of the present application, which is described in detail as follows:
S21:基于预设的正则表达式对待注册账户的身份标识信息进行检测,得到该身份标识信息的类型。S21: Detect the identity information of the registered account based on the preset regular expression, and obtain the type of the identity information.
具体地,在获取到身份标识信息后,通过使用预设的正则表达式对待注册账户的身份标识信息进行类型检测。身份标识信息为手机号码、身份证号码、邮箱和姓名中的至少一个,但并不限于此,身份标识信息还可以包括其他用于区别用户身份的特征,其具体可以根据实际应用的需要进行设置,此处不做限制。Specifically, after the identity information is obtained, the type identification of the identity information of the registered account is performed by using a preset regular expression. The identification information is at least one of a mobile phone number, an ID card number, an email address, and a name, but is not limited thereto. The identity identification information may further include other features for distinguishing the user identity, which may be specifically set according to actual application requirements. There are no restrictions here.
下面分别就手机号码、身份证号码、邮箱和姓名这四项身份标识信息的正则表达式作具体说明。The following is a detailed description of the regular expressions of the four identification information of the mobile phone number, the ID number, the mailbox and the name.
a)手机号码的正则表达,国内目前手机号码主要由11位数字组成,其前3位包含特定信息,其正则表达式为:a) The regular expression of the mobile phone number. The current domestic mobile phone number is mainly composed of 11 digits. The first 3 digits contain specific information, and the regular expression is:
^1(3[0-9]|4[5,7]|5((?!4)[0-9])|7(0|1|[6-8])|8[0-9])\d{8}$^1(3[0-9]|4[5,7]|5((?!4)[0-9])|7(0|1|[6-8])|8[0-9] )\d{8}$
其中,符号“^”表示匹配的开始部分,符号“$”表示匹配结束部分用以确认其后不能有其他字符。“|”表示或者,“[0-9]”“[5,7]”表示在“[]”范围内的数据值中任选一个,“(?!4)[0-9]”表示0-9范围内排除4外的其他整数任选一个,“\d”是一个关于正值的表达式,表示0-9范围内的所有整数中的任意一个,可以理解地,“\d{8}”表示选取8个范围为0-9的整数。Wherein the symbol "^" indicates the beginning of the match, and the symbol "$" indicates the end of the match to confirm that no other characters can be followed. “|” means or, “[0-9]” “[5,7]” means any one of the data values in the range of “[]”, “(?!4)[0-9]” means 0 -9 range excludes any other integers other than 4, "\d" is an expression for positive values, indicating any one of all integers in the range of 0-9, understandably, "\d{8 } means that 8 integers ranging from 0-9 are selected.
b)邮箱的正则表达,邮箱的基本格式为“名称@域名”,其正则表达式为:b) The regular expression of the mailbox, the basic format of the mailbox is "name@domain name", and its regular expression is:
^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9])+$^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9])+$
其中,“A-Za-z0-9”和“\u4e00-\u9fa5”使用的是unicode编码,“A-Za-z0-9”表示unicode编码中0-9的数字和a-z大小写字母,“\u4e00-\u9fa5”表示unicode编码中的所有中文字符,“+”表示至少出现一次。Among them, "A-Za-z0-9" and "\u4e00-\u9fa5" use unicode encoding, "A-Za-z0-9" means 0-9 digits and az uppercase and lowercase letters in unicode encoding," \u4e00-\u9fa5" means all Chinese characters in unicode encoding, and "+" means at least once.
c)身份证证号的正则表达,中国大陆身份证号码一般由15位数字、18位数字或者“17位数字X”的方式组成,其正则表达式为:c) The regular expression of the ID card number, the mainland China ID card number is generally composed of 15 digits, 18 digits or "17 digits X". The regular expression is:
(^\d{15}$|^\d{18}$|^\d{17}(\d|X|x)$)(^\d{15}$|^\d{18}$|^\d{17}(\d|X|x)$)
d)姓名的正则表达,中国公民的姓名的用户名一般为两到5个字的中文,但有些少数民族的用户名中间用点号“·”隔开,其正则表达式为:d) The regular expression of the name, the name of the Chinese citizen's name is generally two to five words in Chinese, but some minority names are separated by a dot "·", and the regular expression is:
^[\u4E00-\u9FA5]{2,5}(?:·[\u4E00-\u9FA5]{2,5})$^[\u4E00-\u9FA5]{2,5}(?:·[\u4E00-\u9FA5]{2,5})$
例如,在一具体实施方式中,获取到的身份标识信息为“15600002266”,经过预设的正则表达式匹配,识别出该身份标识信息的类型为手机号码。For example, in a specific implementation, the acquired identity information is “15600002266”, and the type of the identity information is identified as a mobile phone number by a preset regular expression matching.
S22:根据身份标识信息的类型,从集团通用账户表和子业务系统账户表中确定查询范围,并在该查询范围中对该身份标识信息进行查询。S22: Determine a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and query the identity identification information in the query scope.
具体地,根据步骤S21中确定的身份标识信息的类型,在集团通用账户表和子业务系统账户表的字段中,找出该类型包含的字段,并在这些字段中对该身份标识信息进行查找,得到查询结果。Specifically, according to the type of the identity identification information determined in step S21, in the fields of the group general account table and the sub-service system account table, find the fields included in the type, and search for the identity identification information in the fields. Get the query results.
在图2对应的实施例中,基于预设的正则表达式对该身份标识信息进行检测,得到该身份标识信息的类型,进而根据该身份标识信息的类型,从该集团通用账户表和子业务系统账户表中确定查询范围,并在该查询范围中对该身份标识信息进行查询,通过缩小查询 范围,来节省查询时间,提高了查询的效率。In the embodiment corresponding to FIG. 2, the identity identification information is detected based on a preset regular expression, and the type of the identity identification information is obtained, and according to the type of the identity identification information, the group common account table and the sub-service system are obtained. The scope of the query is determined in the account table, and the identity information is queried in the scope of the query, and the query time is reduced by narrowing the scope of the query, thereby improving the efficiency of the query.
接下来,在图2对应的实施例的基础之上,下面通过一个具体的实施例来对步骤S22中所提及的根据身份标识信息的类型,从集团通用账户表和子业务系统账户表中确定查询范围,并在该查询范围中对该身份标识信息进行查询的具体实现方法进行详细说明。Next, based on the corresponding embodiment of FIG. 2, the type of the identity identification information mentioned in step S22 is determined from the group general account table and the sub-service system account table by a specific embodiment. The scope of the query is described in detail, and the specific implementation method for querying the identity information in the query scope is described in detail.
请参阅图3,图3示出了本申请实施例提供的步骤S22的具体实现流程,详述如下:Referring to FIG. 3, FIG. 3 shows a specific implementation process of step S22 provided by the embodiment of the present application, which is described in detail as follows:
S221:获取该集团通用账户表和子业务系统账户表中用于身份标识的字段。S221: Obtain a field for identity identification in the group common account table and the sub-business system account table.
在本申请实施例中,存在一个集团通用账户表和至少两个子业务系统账户表,集团通用账户表和每个子业务系统账户表分别使用各自预设的身份标识信息作为业务系统登录时的身份标识,即用于用户登录该子业务系统的账户名称的字段。例如,在第一子业务系统账户表、第三子业务系统账户和第五子业务系统账户表中,使用姓名作为身份标识字段,在第二子业务系统账户表和第四子业务系统账户表中,使用手机号码作为身份标识字段。In the embodiment of the present application, there is a group general account table and at least two sub-service system account tables, and the group common account table and each sub-service system account table respectively use respective preset identity information as the identity identifier when the business system logs in. Is the field for the user to log in to the account name of the sub-business 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, the name is used as the identity field, and the second sub-service system account table and the fourth sub-service system account table are used. In the middle, use the mobile phone number as the identity field.
S222:若在用于身份标识的字段中查询到字段属性与该身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段。S222: If the field attribute is the same as the type of the identity information in the field for the identity identifier, the queried field is used as the first query field.
具体地,在步骤S221中获取到了集团通用账户表和每个子业务系统账户表中用来标识账户名称的字段,对这些用来标识账户名称的字段进行筛选,找出与该身份标识信息的类型相同的字段,将这些字段作为第一查询字段,在这一过程中,缩小了账户名称字段的查询范围,提高了查询效率。Specifically, in step S221, a group common account table and a field for identifying an account name in each sub-service system account table are obtained, and the fields used to identify the account name are filtered to find out the type of the identity information. The same field, these fields are used as the first query field. In this process, the query range of the account name field is narrowed, and the query efficiency is improved.
例如,在一具体实施方式中,获取到的身份标识信息为:“13600002266”,经过步骤S21的正则匹配,得到该身份标识信息的类型为手机号码,以步骤S221中的第一子业务系统账户表至第五子业务系统账户表为例,其中使用手机号码作为身份标识字段的有第二子业务系统账户表和第四子业务系统账户表,将这两个账户表中的身份标识字段作为第一查询字段。For example, in a specific implementation, the obtained identity information is: “13600002266”, and the regular matching of step S21 is performed, and the type of the identity information is obtained as the mobile phone number, and the first sub-service system account in step S221 is used. For example, the table to the fifth sub-service system account table, wherein the mobile phone number is used as the identity field, and the second sub-service system account table and the fourth sub-service system account table are used, and the identity field in the two account tables is used as The first query field.
S223:获取第一查询范围,该第一查询范围为第一查询字段包含的内容。S223: Obtain a first query scope, where the first query scope is content included in the first query field.
具体地,获取第一查询字段中每个字段包含的内容,将这些内容作为第一查询范围。Specifically, the content included in each field in the first query field is obtained, and the content is used as the first query range.
S224:在第一查询范围中查询该身份标识信息。S224: Query the identity information in the first query scope.
在本申请实施例中,第一查询范围包括至少一个集团通用账户表或子业务系统账户表,第一查询范围中的账户表用来进行身份标识的字段与该身份标识信息的类型一致,每个用来进行身份标识的字段包含有多条数据,在第一范围中查询,具体来说,就是在第一范围内用来进行身份标识的字段中包含的多条数据里面查找是否存在该身份标识信息,若存在该身份标识信息,则获取查询结果并结束查询流程,若不存在该身份标识信息,则跳 转到步骤S225执行继续查询操作。In the embodiment of the present application, the first query scope includes at least one group general account table or a sub-service system account table, and the field used by the account table in the first query scope for identity identification is consistent with the type of the identity identification information, and each The field used for identity identification contains multiple pieces of data, which are queried in the first scope, specifically, multiple pieces of data contained in the field used for identity identification in the first scope to find out whether the identity exists. The identification information, if the identity information exists, obtains the query result and ends the query process. If the identity information does not exist, the process proceeds to step S225 to perform the query operation.
以步骤S222的子业务系统B账户表和子业务系统D账户表为例,这两个账户表均属于第一查询范围,在手机号码这个字段里面,子业务系统B账户表包含有33000个数据,子业务系统D账户表包含有56000个数据,一共包含89000个数据,在第一查询范围中进行查询该用户身份标识信息的时候,只需要在这89000个数据中查询该身份标识信息即可,而无需在其他字段内进行查找,提高了查询的效率。Taking the sub-service system B account table and the sub-service system D account table of step S222 as an example, the two account tables belong to the first query range. In the mobile phone number field, the sub-service system B account table contains 33,000 data. The sub-service system D account table contains 56,000 data, and contains a total of 89000 data. When the user identification information is queried in the first query range, only the 89,000 data needs to be queried for the identity information. It does not need to search in other fields, which improves the efficiency of the query.
S225:若在第一查询范围中未查询到该身份标识信息,则获取集团通用账户表和子业务系统账户表不包含该第一查询字段的其余字段。S225: If the identity information is not queried in the first query scope, the acquiring the group common account table and the sub-service system account table do not include the remaining fields of the first query field.
具体地,若在第一查询范围中未查询到该身份标识信息,则需要对剩余的账户表进行继续查询,而剩余的账户表中用以身份标识的字段在步骤S221中已经核实与该身份标识信息不一致,因而只需要获取剩余的账户表中非用于身份标识的字段即可,所获取的字段即为其余字段。Specifically, if the identity information is not queried in the first query range, the remaining account table needs to be further queried, and the field used for the identity in the remaining account table has been verified with the identity in step S221. The identification information is inconsistent, so only the fields in the remaining account table that are not used for the identity identification need to be obtained, and the obtained fields are the remaining fields.
其中,剩余的账户表是指所有集团通用账户表和每个子业务系统账户表中,不包含第一查询字段的集团通用账户表或子业务系统账户表。The remaining account table refers to the group common account table or the sub-business system account table in the group common account table and each sub-service system account table, which does not include the first query field.
可以理解地,由于在第一范围中的第一查询字段里未查询到该身份标识信息,因而第一范围内的其他字段也不会存在该身份标识信息,因而第一范围的账户表在后续查询中将不用查询。It can be understood that, since the identity information is not queried in the first query field in the first scope, the other identifiers in the first range do not exist, and the account list in the first scope is subsequently There will be no query in the query.
以步骤S221和步骤S224中的子业务系统A账户表至子业务系统E账户表为例,其中,第一查询字段为用于身份标识的为手机号码的字段,进而找出了符合条件的第一查询范围子业务系统B账户表和子业务系统D账户表,在第一范围中未查询到该身份标识信息“13600002266”,将找出子业务系统A账户表、子业务系统C账户表和子业务系统E账户表中非用于身份标识的字段,作为其余字段,以便在这些字段内进行相应查找。Taking the sub-service system A account table in step S221 and step S224 to the sub-service system E account table as an example, wherein the first query field is a field for the identity number of the mobile phone number, and then the qualified condition is found. A query scope sub-service system B account table and a sub-service system D account table, the identity information "13600002266" is not queried in the first scope, and the sub-service system A account table, the sub-service system C account table and the sub-services are found. The fields in the system E account table that are not used for identity identification are used as the remaining fields to perform corresponding searches within these fields.
S226:获取第二查询字段,第二查询字段为其余字段中字段名与待注册身份标识符类型相同的字段。S226: Acquire a second query field, where the second query field is a field with the same field name as the identity identifier to be registered in the remaining fields.
具体地,在步骤S225确定的其余字段中查找字段名与该身份标识信息类型相同的字段,作为第二查询字段,具体过程如步骤S222,为避免重复累赘,此处不再作具体说明。Specifically, in the remaining fields determined in step S225, a field having the same field name as the identity information type is searched for as the second query field. The specific process is as follows: Step S222, to avoid repeated cumbersome, it will not be specifically described herein.
S227:获取第二查询范围,第二查询范围为第二查询字段包含的内容。S227: Obtain a second query scope, where the second query scope is content included in the second query field.
具体地,获取第二查询字段中每个字段包含的内容,将这些内容作为第二查询范围。Specifically, the content included in each field in the second query field is obtained, and the content is used as the second query range.
S228:在第二查询范围中查询该身份标识信息。S228: Query the identity information in the second query scope.
具体地,在第二查询范围中针对步骤S226中的第二查询字段进行查询,具体查询过 程如步骤S224所述,为避免重复累赘,此处不再作具体说明。Specifically, the second query field is queried for the second query field in the step S226. The specific query process is as described in step S224.
值得说明的是,在此次查询中,无论是否查询到该身份标识信息,均将此次查询结果作为最终查询结果。It is worth noting that in this query, whether or not the identity information is queried, the result of the query is used as the final query result.
在图3对应的实施例中,通过获取通用账户表和子业务系统账户表中用于标识身份的字段,并将这些字段中与该身份标识信息一致的作为第一查询字段,将第一查询字段中的所有内容作为第一查询范围,进而在第一查询范围内进行第一次查找,若查询到该身份标识信息,则记录查询结果并结束本次查询,若未查询到该身份标识信息,则获取剩余的账户表中的非用于身份标识的字段,若在这些字段中找到与该身份标识信息类型一致的,则将该字段作为第二查询字段,进而将第二查询字段中的所有内容作为第二查询范围进行查询,将查询结果作为最终查询结果,分为两次查询,每次缩小范围,提高了查询效率。In the embodiment corresponding to FIG. 3, the first query field is obtained by obtaining the fields for identifying the identity in the common account table and the sub-service system account table, and as the first query field in the fields corresponding to the identity information. All the contents are used as the first query range, and then the first search is performed within the first query range. If the identity information is queried, the query result is recorded and the query is terminated. If the identity information is not queried, Then, the fields in the remaining account table that are not used for the identity identifier are obtained, and if the identifier information type is consistent in the fields, the field is used as the second query field, and then all the second query fields are The content is queried as the second query scope, and the query result is used as the final query result, which is divided into two queries, each narrowing the scope, and improving the query efficiency.
在图1至3对应的任一项实施例的基础之上,在步骤S2提及的在集团账户体系中查找该身份标识信息之后,该账户管理方法还包括:On the basis of any of the corresponding embodiments of FIG. 1 to FIG. 3, after the identifier information is searched in the group account system mentioned in step S2, the account management method further includes:
若在通用账户表中查询到待注册账户的身份标识信息,则获取该身份标识信息对应的集团通用账户,并对该集团通用账户执行更新操作,更新操作为向该集团通用账户中补充目标子业务系统所需要的基础用户信息。在本申请实施例中,若经过步骤S2中的查询,在集团通用账户表中查询到了该身份标识信息,即确认该身份标识信息注册过集团通用账户,则将目标子业务系统中所需要的基础用户信息与该集团通用账户相比较,获取需更新的信息并进行更新。If the identity information of the account to be registered is queried in the general account table, the group general account corresponding to the identity information is obtained, and an update operation is performed on the group general account, and the update operation is to add the target to the group general account. Basic user information required by the business system. In the embodiment of the present application, if the query is performed in step S2, the identity identification information is queried in the group general account table, that is, the identity identification information is registered in the group general account, and the target sub-service system is required. The basic user information is compared with the group's general account, and the information to be updated is updated and updated.
其中,将目标子业务系统中所需要的基础用户信息与该集团通用账户相比较,获取需更新的信息并进行更新的具体过程如下:The specific process of comparing the basic user information required in the target sub-service system with the general account of the group, obtaining the information to be updated, and updating is as follows:
获取目标子业务系统所需的基础用户信息包含的字段集D,同时获取与该集团通用账户中内容不为空的字段集E;Obtaining the field set D included in the basic user information required by the target sub-service system, and acquiring the field set E that is not empty with the contents of the group common account;
对比分析出属于字段集D,但不属于字段集E的字段集F,即字段集F为字段集E关于字段集E的相对补集,表示为:F=D-E;Comparing and analyzing the field set F belonging to the field set D but not belonging to the field set E, that is, the field set F is the relative complement of the field set E with respect to the field set E, expressed as: F=D-E;
向用户推送信息完善表,该表包含字段集F里面所有字段;Pushing the information to the user to complete the table, which contains all the fields in the field set F;
在收到用户的信息完善表提交请求后,对用户补充的字段集F里面的字段内容进行检验,符合预设条件,则认为信息补充成功,否则认为信息补充失败;After receiving the user's information perfect form submission request, the content of the field in the field set F supplemented by the user is checked, and the information is added successfully, and the information supplementation is considered successful; otherwise, the information supplementation failure is considered;
若信息补充成功,将补充的信息录入到该集团通用账户中。If the information is successfully replenished, the supplemental information is entered into the group's general account.
若信息补充失败,则向用户发送提醒,告之失败原因,并跳转到步骤向用户推送信息完善表。If the information is not replenished, a reminder is sent to the user, the reason for the failure is reported, and the step is jumped to the step of pushing the information to the user.
在本实施例中,通过分析步骤S2查询的结果,若在通用账户表中查询到该身份标识信息,则获取该身份标识信息对应的集团通用账户,并对该集团通用账户执行更新操作,使得用户可以通过将该目标子业务系统所需的用户基础资料补充到原有的集团通用账户中,然后通过该集团通用账户来登录使用目标子业务系统,提升了用户登录集团业务系统的效率,同时也避免了多次重复注册带来的数据库数据冗余的问题,提高了服务器管理的效率。In this embodiment, by analyzing the result of the query in step S2, if the identity identification information is queried in the general account table, the group general account corresponding to the identity identification information is acquired, and an update operation is performed on the group general account, so that The user can add the user basic data required by the target sub-service system to the original group general account, and then log in to use the target sub-service system through the group general account, thereby improving the efficiency of the user logging into the group business system, and simultaneously improving the efficiency of the user logging into the group business system. It also avoids the problem of database data redundancy caused by repeated registrations, and improves the efficiency of server management.
在图1至3对应的任一项实施例的基础之上,在步骤S2提及的在集团账户体系中查找该身份标识信息之后,该账户管理方法还包括:On the basis of any of the corresponding embodiments of FIG. 1 to FIG. 3, after the identifier information is searched in the group account system mentioned in step S2, the account management method further includes:
若在通用账户表和子业务系统账户表中均未查询到待注册账户的身份标识信息,则引导用户使用该身份标识信息注册集团通用账户。If the identity information of the account to be registered is not queried in both the general account table and the sub-service system account table, the user is guided to use the identity information to register the group general account.
具体地,若经过步骤S2中的查询,在集团通用账户表和子业务系统账户表中均未查询到该身份标识信息,即可认为该身份标识信息并未注册过任何一个集团业务系统,通过弹出注册集团通用账户的页面来引导用户注册,该页面包含注册集团通用账户的姓名、密码和所有用户基础信息,其中,帐号、密码和该子业务系统所需的用户基础资料为必填内容,其他为选填内容。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 step S2, the identity identification information is not registered as any group business system, and is popped up. Register the group's general account page to guide the user registration. This page contains the name, password and all user basic information of the registered group's general account. The account number, password and user basic data required by the sub-business system are required. Others For optional content.
例如,在一具体实施方式中,用户身份标识信息为13600000066,在现有的集团通用账户表和子业务系统账户表中均未查询到该身份标识信息,系统弹出集团通用账户注册页面,包含账户、密码、性别、出生日期、邮箱、星座和个性签名,而该目标子业务系统账户表包含的内容为账户、密码和性别,容易理解地,用户在该注册页面只需填写账户、密码和性别即可,其他选项则可根据用户偏好自由选择填写。For example, in a specific implementation, the user identity information is 13600000066, and the identity information is not queried in the existing group general account table and the sub-service system account table, and the system pops up the group general account registration page, including the account, Password, gender, date of birth, email, constellation, and personality signature, and the target sub-business system account table contains accounts, passwords, and genders. It is easy to understand that users only need to fill in accounts, passwords, and genders on the registration page. Yes, other options are free to choose based on user preferences.
在本实施例中,通过分析步骤S2查询的结果,若在通用账户表和子业务系统账户表中均未查询到该身份标识信息,则引导用户使用该身份标识信息注册集团通用账户,使得用户在使用该集团业务时,使用集团通用账户即可登录所有集团子业务系统,提高了用户登录集团业务系统的效率。In this embodiment, by analyzing the result of the 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 use the identity information to register the group general account, so that the user is When using the group's business, the group's general account can be used to log in to all group sub-business systems, improving the efficiency of users logging into the group's business systems.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence of the steps in the above embodiments does not mean that the order of execution is performed. The order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
实施例2Example 2
对应于实施例1中的账户管理方法,图4示出了与实施例1提供的账户管理方法一一对应的账户管理装置,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the account management method in the first embodiment, FIG. 4 shows the account management apparatus corresponding to the account management method provided in the first embodiment, and for convenience of explanation, only the parts related to the embodiment of the present application are shown.
如图4所示,该账户管理装置包括:身份标识信息获取模块41、身份标识信息查询模块42、集团通用账户升级模块43和通用账户登录验证模块44。各功能模块详细说明如下:As shown in FIG. 4, the account management apparatus includes: an identity information acquisition module 41, an identity information query module 42, a group universal account upgrade module 43, and a universal account login verification module 44. Each function module is described in detail as follows:
身份标识信息获取模块41,用于若检测到用户对目标子业务系统的注册请求,则根据注册请求获取待注册账户的身份标识信息,其中,目标子业务系统从属于集团子业务系统,集团子业务系统至少包含两个子业务系统;The identity information obtaining module 41 is configured to: if the user requests the registration of the target sub-service system, obtain the identity identification information of the account to be registered according to the registration request, where the target sub-service system belongs to the group sub-service system, the group The business system contains at least two sub-business systems;
身份标识信息查询模块42,用于在集团账户体系中查找待注册账户的身份标识信息,其中,该集团账户体系包括集团通用账户表和集团子业务系统账户表,集团子业务账户表至少包括两个子业务系统账户表;The identity information query module 42 is configured to search for identity identification information of the account to be registered in the group account system, wherein 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-business system account table;
集团通用账户升级模块43,用于若在子业务系统账户表中查询到待注册账户的身份标识信息,并且在通用账户表中未查询到该身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将该待注册账户升级为集团通用账户;The group general account upgrade module 43 is configured to: if the identity identification information of the account to be registered is queried in the sub-service system account table, and the identity identification information is not queried in the general account table, supplement the target sub-service system Basic user information and upgrade the account to be registered to a group general account;
通用账户登录验证模块44,用于使用集团通用账户登录目标子业务系统。The universal account login verification module 44 is configured to log in to the target sub-service system using the group general account.
进一步地,身份标识信息查询模块42包括:Further, the identity information query module 42 includes:
身份标识信息类型获取子模块421,用于基于预设的正则表达式对身份标识信息进行检测,得到该身份标识信息的类型;The identity information type obtaining sub-module 421 is configured to detect identity identification information based on a preset regular expression, to obtain a type of the identity identification information;
身份标识信息查询子模块422,用于根据身份标识信息的类型,从集团通用账户表和子业务系统账户表中确定查询范围,并在该查询范围中对该身份标识信息进行查询。The identity information query sub-module 422 is configured to determine a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and query the identity identification information in the query scope.
进一步地,身份标识信息查询子模块422包括:Further, the identity information query sub-module 422 includes:
身份标识字段获取单元4221,用于获取集团通用账户表和子业务系统账户表中用于身份标识的字段;The identity field obtaining unit 4221 is configured to obtain a field for identity identification in the group common account table and the sub-service system account table;
第一查询字段获取单元4222,用于若在用于身份标识的字段中查询到字段属性与该身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段;The first query field obtaining unit 4222 is configured to: if the field attribute is the same as the type of the identity information in the field for the identity identifier, use the queried field as the first query field;
第一查询范围获取单元4223,用于获取第一查询范围,该第一查询范围为第一查询字段包含的内容;The first query scope obtaining unit 4223 is configured to obtain a first query scope, where the first query scope is content included in the first query field;
第一查询范围查询单元4224,用于在第一查询范围中查询该身份标识信息。The first query range query unit 4224 is configured to query the identity identification information in the first query scope.
其余字段获取单元4225,用于若在第一查询范围中未查询到身份标识信息,则获取集团通用账户表和子业务系统账户表不包含第一查询字段的其余字段;The remaining field obtaining unit 4225 is configured to: if the identity identification information is not queried in the first query scope, obtain the remaining fields of the group common account table and the sub-service system account table that do not include the first query field;
第二查询字段获取单元4226,用于获取第二查询字段,第二查询字段为其余字段中字段名与待注册身份标识符类型相同的字段;The second query field obtaining unit 4226 is configured to obtain a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
第二查询范围获取单元4227,用于获取第二查询范围,第二查询范围为第二查询字段包含的内容;The second query range obtaining unit 4227 is configured to obtain a second query range, where the second query range is content included in the second query field;
第二查询范围查询单元4228,用于在第二查询范围中查询该身份标识信息。The second query range query unit 4228 is configured to query the identity identification information in the second query range.
进一步地,该账户管理装置还包括:Further, the account management device further includes:
集团通用账户更新模块45,用于若在通用账户表中查询到待注册账户的身份标识信息,则获取该身份标识信息对应的集团通用账户,并对该集团通用账户执行更新操作,更新操作为向该集团通用账户中补充目标子业务系统所需要的基础用户信息;The group general account update module 45 is configured to: if the identity information of the account to be registered is queried in the general account table, obtain the group general account corresponding to the identity information, and perform an update operation on the group general account, and the update operation is Supplementing the basic user information required by the target sub-business system to the group's general account;
集团通用账户注册模块46,用于若在通用账户表和子业务系统账户表中均未查询到待注册账户的身份标识信息,则引导用户使用该身份标识信息注册集团通用账户。The group general account registration module 46 is configured to guide the user to use the identity identification information to register the group general account if the identity information of the account to be registered is not queried in both the general account table and the sub-service system account table.
本实施例提供的一种账户管理装置中各模块实现各自功能的过程,具体可参考前述实施例1的描述,此处不再赘述。For the process of implementing the respective functions in the modules of the account management apparatus provided in this embodiment, refer to the description of the foregoing Embodiment 1, and details are not described herein again.
实施例3Example 3
本实施例提供一个或多个存储有计算机可读指令的非易失性可读存储介质,该非易失性可读存储介质上存储有计算机可读指令,该计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行执行实施例1中账户管理方法,或者,该计算机可读指令被被一个或多个处理器执行时实现实施例2中账户管理装置中各模块/单元的功能。为避免重复,这里不再赘述。The embodiment provides one or more non-volatile readable storage media having computer readable instructions stored thereon, the computer readable instructions being stored by one or more When the processor executes, causing the one or more processors to execute the account management method in Embodiment 1, or implementing the account management device in Embodiment 2 when the computer readable instructions are executed by one or more processors The function of each module/unit. To avoid repetition, we will not repeat them here.
可以理解地,所述非易失性可读存储介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号和电信信号等。It is to be understood that the non-volatile readable storage medium may include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, only Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signals, and telecommunication signals.
实施例4Example 4
图5是本申请一实施例提供的终端设备的示意图。如图5所示,该实施例的终端设备5包括:处理器51、存储器52以及存储在存储器52中并可在处理器51上运行的计算机可读指令53,例如账户管理程序。处理器51执行计算机可读指令53时实现上述实施例1中账户管理方法的步骤,例如图1所示的步骤S1至S4。或者,处理器51执行计算机可读指令53时实现上述实施例2中账户管理装置的各模块/单元的功能,例如图4所示模块41至模块44的功能。FIG. 5 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in FIG. 5, the terminal device 5 of this embodiment includes a processor 51, a memory 52, and computer readable instructions 53 stored in the memory 52 and operable on the processor 51, such as an account management program. The processor 51 implements the steps of the account management method of the above-described Embodiment 1 when the computer readable instructions 53 are executed, such as steps S1 to S4 shown in FIG. Alternatively, when the processor 51 executes the computer readable instructions 53, the functions of the modules/units of the account management apparatus in the above embodiment 2 are implemented, such as the functions of the modules 41 to 44 shown in FIG.
示例性的,计算机可读指令53可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器52中,并由处理器51执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令的指令段,该指令段用于描述计算机可读指令53在终端设备5中的执行过程。例如,计算机可读指令53可以被分割成身份标识信息获取模块、身份标识信息查询模块、集团通用账户升级模块和通用账户登录验证模块,各模块的具体功能如实施例2所示,为避免重复,此处不一一赘述。Illustratively, computer readable instructions 53 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 52 and executed by processor 51 to complete the application. The one or more modules/units may be an instruction segment of a series of computer readable instructions capable of performing a particular function, which is used to describe the execution of computer readable instructions 53 in the terminal device 5. For example, the computer readable instruction 53 may be divided into an identity information acquisition module, an identity information query module, a group universal account upgrade module, and a general account login verification module. The specific functions of each module are as shown in Embodiment 2, in order to avoid duplication. I will not repeat them here.
终端设备5可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备5可包括,但不仅限于,处理器51、存储器52。本领域技术人员可以理解,图5仅仅是终端设备5的示例,并不构成对终端设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备5还可以包括输入输出设备、网络接入设备、总线等。The terminal device 5 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device 5 may include, but is not limited to, a processor 51 and a memory 52. It will be understood by those skilled in the art that FIG. 5 is only an example of the terminal device 5, does not constitute a limitation of the terminal device 5, may include more or less components than the illustrated, or combine some components, or different components. For example, the terminal device 5 may further include an input/output device, a network access device, a bus, and the like.
处理器51可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 51 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), and an off-the-shelf Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器52可以是终端设备5的内部存储单元,例如终端设备5的硬盘或内存。存储器52也可以是终端设备5的外部存储设备,例如终端设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器52还可以既包括终端设备5的内部存储单元也包括外部存储设备。存储器52用于存储计算机可读指令以及终端设备5所需的其他程序和数据。存储器52还可以用于暂时地存储已经输出或者将要输出的数据。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 memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on. Further, the memory 52 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 52 is used to store computer readable instructions and other programs and data required by the terminal device 5. The memory 52 can also be used to temporarily store data that has been or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种账户管理方法,其特征在于,包括:An account management method, characterized in that it comprises:
    若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;And if the registration request of the target sub-service system is detected, obtaining identity identification information of the account to be registered according to the registration request, wherein the target sub-service system is subordinate to the group sub-service system, and the group sub-service system is at least Contains two sub-business systems;
    在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;Locating the identity identification information in the group account system, wherein 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;
    若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;If the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the universal account table, supplement the basic user information required by the target sub-service system, and The account to be registered is upgraded to a group general account;
    使用所述集团通用账户登录所述目标子业务系统。The target sub-service system is logged into using the group general account.
  2. 如权利要求1所述的账户管理方法,其特征在于,所述在集团账户体系中查找所述身份标识信息包括:The account management method according to claim 1, wherein the searching for the identity identification information in the group account system comprises:
    基于预设的正则表达式对所述身份标识信息进行检测,得到所述身份标识信息的类型;And detecting, by using a preset regular expression, the identity identification information, to obtain a type of the identity identification information;
    根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询。Determining a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and querying the identity identification information in the query scope.
  3. 如权利要求2所述的账户管理方法,其特征在于,所述根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询,包括:The account management method according to claim 2, wherein said determining a query range from said group general account table and said sub-service system account table according to said type of identity identification information, and said Querying the identity information in the query scope, including:
    获取所述集团通用账户表和所述子业务系统账户表中用于身份标识的字段;Obtaining a field for the identity identifier in the group common account table and the sub-service system account table;
    若在所述用于身份标识的字段中查询到字段属性与所述身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段;If the field attribute is the same as the type of the identity information in the field for the identity identifier, the queried field is used as the first query field;
    获取第一查询范围,所述第一查询范围为所述第一查询字段包含的内容;Obtaining a first query scope, where the first query scope is content included in the first query field;
    在所述第一查询范围中查询所述身份标识信息;Querying the identity identification information in the first query range;
    若在所述第一查询范围中未查询到所述身份标识信息,则获取所述集团通用账户表和所述子业务系统账户表不包含所述第一查询字段的其余字段;If the identity information is not queried in the first query scope, obtaining the group common account table and the sub-service system account table do not include the remaining fields of the first query field;
    获取第二查询字段,所述第二查询字段为所述其余字段中字段名与待注册身份标识符类型相同的字段;Obtaining a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
    获取第二查询范围,所述第二查询范围为第二查询字段包含的内容;Obtaining a second query scope, where the second query scope is content included in the second query field;
    在所述第二查询范围中查询所述身份标识信息。Querying the identity identification information in the second query scope.
  4. 如权利要求1至3任一项所述的账户管理方法,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述账户管理方法还包括:The account management method according to any one of claims 1 to 3, wherein after the searching for the identity identification information in the group account system, the account management method further comprises:
    若在所述通用账户表中查询到所述身份标识信息,则获取所述身份标识信息对应的集团通用账户,并对所述集团通用账户执行更新操作,所述更新操作为向所述集团通用账户中补充目标子业务系统所需要的基础用户信息。And if the identity information is queried in the universal account table, acquiring a group general account corresponding to the identity information, and performing an update operation on the group universal account, where the update operation is performed to the group The basic user information required to supplement the target sub-business system in the account.
  5. 如权利要求1至3任一项所述的账户管理方法,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述账户管理方法还包括:The account management method according to any one of claims 1 to 3, wherein after the searching for the identity identification information in the group account system, the account management method further comprises:
    若在所述通用账户表和所述子业务系统账户表中均未查询到所述身份标识信息,则引导用户使用所述身份标识信息注册集团通用账户。If the identity information is not queried in the general account table and the sub-service system account table, the user is guided to use the identity information to register the group general account.
  6. 一种账户管理装置,其特征在于,所述账户管理装置包括:An account management apparatus, wherein the account management apparatus comprises:
    身份标识信息获取模块,用于若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;An identity information obtaining module, configured to acquire, according to the registration request, identity identification information of an account to be registered, where the target sub-service system belongs to the group sub-service system, if the registration request of the target sub-service system is detected by the user The group sub-business system includes at least two sub-business systems;
    身份标识信息查询模块,用于在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;The identity information query module is configured to search the identity information in the 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-business system account table;
    集团通用账户升级模块,用于若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;a group general account upgrade module, configured to: if the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the general account table, supplement the target sub-service system Basic user information required, and the account to be registered is upgraded to a group general account;
    通用账户登录验证模块,用于使用所述集团通用账户登录所述目标子业务系统。A universal account login verification module is configured to log in to the target sub-service system using the group universal account.
  7. 如权利要6所述的账户管理装置,其特征在于,所述身份标识信息查询模块包括:The account management apparatus according to claim 6, wherein the identity identification information query module comprises:
    身份标识信息类型获取子模块,用于基于预设的正则表达式对所述身份标识信息进行检测,得到所述身份标识信息的类型;An identity information type obtaining submodule, configured to detect the identity identification information according to a preset regular expression, to obtain a type of the identity identification information;
    身份标识信息查询子模块,用于根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询。The identity information query sub-module is configured to determine a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and identify the identity in the query scope Information is queried.
  8. 如权利要7所述的账户管理装置,其特征在于,所述身份标识信息查询子模块包括:The account management apparatus according to claim 7, wherein the identity identification information query sub-module comprises:
    身份标识字段获取单元,用于获取所述集团通用账户表和所述子业务系统账户表中用 于身份标识的字段;An identity field obtaining unit, configured to obtain a field used in the group common account table and the sub-service system account table for the identity identifier;
    第一查询字段获取单元,用于若在所述用于身份标识的字段中查询到字段属性与所述身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段;a first query field obtaining unit, configured to: if the field attribute is the same as the type of the identity information in the field for the identity, the queried field is used as the first query field;
    第一查询范围获取单元,用于获取第一查询范围,所述第一查询范围为所述第一查询字段包含的内容;a first query scope obtaining unit, configured to obtain a first query scope, where the first query scope is content included in the first query field;
    第一查询范围查询单元,用于在所述第一查询范围中查询所述身份标识信息;其余字段获取单元,用于若在所述第一查询范围中未查询到所述身份标识信息,则获取所述集团通用账户表和所述子业务系统账户表不包含所述第一查询字段的其余字段;a first query range query unit, configured to query the identity identification information in the first query scope; and a remaining field obtaining unit, configured to: if the identity identification information is not queried in the first query scope, Obtaining the group common account table and the sub-service system account table not including the remaining fields of the first query field;
    第二查询字段获取单元,用于获取第二查询字段,所述第二查询字段为所述其余字段中字段名与待注册身份标识符类型相同的字段;a second query field obtaining unit, configured to obtain a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
    第二查询范围获取单元,用于获取第二查询范围,所述第二查询范围为所述第二查询字段包含的内容;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;
    第二查询范围查询单元,用于在所述第二查询范围中查询所述身份标识信息。The second query range query unit is configured to query the identity identification information in the second query range.
  9. 如权利要6至8任一项所述的账户管理装置,其特征在于,所述账户管理装置还包括:The account management apparatus according to any one of claims 6 to 8, wherein the account management apparatus further comprises:
    集团通用账户更新模块,用于若在所述通用账户表中查询到所述身份标识信息,则获取所述身份标识信息对应的集团通用账户,并对所述集团通用账户执行更新操作,所述更新操作为向所述集团通用账户中补充目标子业务系统所需要的基础用户信息。a group general account update module, configured to acquire a group general account corresponding to the identity identification information, and perform an update operation on the group universal account, if the identity identification information is queried in the universal account table, The update operation is to supplement the basic user information required by the target sub-service system to the group general account.
  10. 如权利要6至8任一项所述的账户管理装置,其特征在于,所述账户管理装置还包括:The account management apparatus according to any one of claims 6 to 8, wherein the account management apparatus further comprises:
    集团通用账户注册模块,用于若在所述通用账户表和所述子业务系统账户表中均未查询到所述身份标识信息,则引导用户使用所述身份标识信息注册集团通用账户。The group universal account registration module is configured to guide the user to register the group general account by using the identity identification information if the identity identification information is not queried in the general account table and the sub-service system account table.
  11. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operable on the processor, wherein the processor executes the computer readable instructions as follows step:
    若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;And if the registration request of the target sub-service system is detected, obtaining identity identification information of the account to be registered according to the registration request, wherein the target sub-service system is subordinate to the group sub-service system, and the group sub-service system is at least Contains two sub-business systems;
    在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;Locating the identity identification information in the group account system, wherein 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;
    若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;If the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the universal account table, supplement the basic user information required by the target sub-service system, and The account to be registered is upgraded to a group general account;
    使用所述集团通用账户登录所述目标子业务系统。The target sub-service system is logged into using the group general account.
  12. 如权利要求11所述的终端设备,其特征在于,所述在集团账户体系中查找所述身份标识信息包括:The terminal device according to claim 11, wherein the searching for the identity identification information in the group account system comprises:
    基于预设的正则表达式对所述身份标识信息进行检测,得到所述身份标识信息的类型;And detecting, by using a preset regular expression, the identity identification information, to obtain a type of the identity identification information;
    根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询。Determining a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and querying the identity identification information in the query scope.
  13. 如权利要求12所述的终端设备,其特征在于,所述根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询,包括:The terminal device according to claim 12, wherein said determining a query range from said group general account table and said sub-service system account table according to said type of identity identification information, and in said query Querying the identity information in the range, including:
    获取所述集团通用账户表和所述子业务系统账户表中用于身份标识的字段;Obtaining a field for the identity identifier in the group common account table and the sub-service system account table;
    若在所述用于身份标识的字段中查询到字段属性与所述身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段;If the field attribute is the same as the type of the identity information in the field for the identity identifier, the queried field is used as the first query field;
    获取第一查询范围,所述第一查询范围为所述第一查询字段包含的内容;Obtaining a first query scope, where the first query scope is content included in the first query field;
    在所述第一查询范围中查询所述身份标识信息;Querying the identity identification information in the first query range;
    若在所述第一查询范围中未查询到所述身份标识信息,则获取所述集团通用账户表和所述子业务系统账户表不包含所述第一查询字段的其余字段;If the identity information is not queried in the first query scope, obtaining the group common account table and the sub-service system account table do not include the remaining fields of the first query field;
    获取第二查询字段,所述第二查询字段为所述其余字段中字段名与待注册身份标识符类型相同的字段;Obtaining a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
    获取第二查询范围,所述第二查询范围为第二查询字段包含的内容;Obtaining a second query scope, where the second query scope is content included in the second query field;
    在所述第二查询范围中查询所述身份标识信息。Querying the identity identification information in the second query scope.
  14. 如权利要求11至13任一项所述的终端设备,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述处理器执行所述计算机可读指令时还包括实现如下步骤:The terminal device according to any one of claims 11 to 13, wherein after the processor searches for the identity identification information in the group account system, the processor further includes the implementation when the computer readable instructions are executed The following steps:
    若在所述通用账户表中查询到所述身份标识信息,则获取所述身份标识信息对应的集团通用账户,并对所述集团通用账户执行更新操作,所述更新操作为向所述集团通用账户中补充目标子业务系统所需要的基础用户信息。And if the identity information is queried in the universal account table, acquiring a group general account corresponding to the identity information, and performing an update operation on the group universal account, where the update operation is performed to the group The basic user information required to supplement the target sub-business system in the account.
  15. 如权利要求11至13任一项所述的终端设备,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述处理器执行所述计算机可读指令时还包括实现如下步骤:The terminal device according to any one of claims 11 to 13, wherein after the processor searches for the identity identification information in the group account system, the processor further includes the implementation when the computer readable instructions are executed The following steps:
    若在所述通用账户表和所述子业务系统账户表中均未查询到所述身份标识信息,则引导用户使用所述身份标识信息注册集团通用账户。If the identity information is not queried in the general account table and the sub-service system account table, the user is guided to use the identity information to register the group general account.
  16. 一个或多个存储有计算机可读指令的非易失性可读存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:One or more non-transitory readable storage mediums storing computer readable instructions, wherein when the computer readable instructions are executed by one or more processors, cause the one or more processors to execute The following steps:
    若检测到用户对目标子业务系统的注册请求,则根据所述注册请求获取待注册账户的身份标识信息,其中,所述目标子业务系统从属于集团子业务系统,所述集团子业务系统至少包含两个子业务系统;And if the registration request of the target sub-service system is detected, obtaining identity identification information of the account to be registered according to the registration request, wherein the target sub-service system is subordinate to the group sub-service system, and the group sub-service system is at least Contains two sub-business systems;
    在集团账户体系中查找所述身份标识信息,其中,所述集团账户体系包括集团通用账户表和集团子业务系统账户表,所述集团子业务账户表至少包括两个子业务系统账户表;Locating the identity identification information in the group account system, wherein 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;
    若在所述子业务系统账户表中查询到所述身份标识信息,并且在所述通用账户表中未查询到所述身份标识信息,则补充目标子业务系统所需要的基础用户信息,并将所述待注册账户升级为集团通用账户;If the identity identification information is queried in the sub-service system account table, and the identity identification information is not queried in the universal account table, supplement the basic user information required by the target sub-service system, and The account to be registered is upgraded to a group general account;
    使用所述集团通用账户登录所述目标子业务系统。The target sub-service system is logged into using the group general account.
  17. 如权利要求16所述的非易失性可读存储介质,其特征在于,所述在集团账户体系中查找所述身份标识信息包括:The non-volatile readable storage medium according to claim 16, wherein the searching for the identity identification information in the group account system comprises:
    基于预设的正则表达式对所述身份标识信息进行检测,得到所述身份标识信息的类型;And detecting, by using a preset regular expression, the identity identification information, to obtain a type of the identity identification information;
    根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询。Determining a query range from the group common account table and the sub-service system account table according to the type of the identity identification information, and querying the identity identification information in the query scope.
  18. 如权利要求17所述的非易失性可读存储介质,其特征在于,所述根据所述身份标识信息的类型,从所述集团通用账户表和所述子业务系统账户表中确定查询范围,并在所述查询范围中对所述身份标识信息进行查询,包括:The non-volatile readable storage medium according to claim 17, wherein said determining a query range from said group general account table and said sub-service system account table according to said type of identity identification information And querying the identity identification information in the query scope, including:
    获取所述集团通用账户表和所述子业务系统账户表中用于身份标识的字段;Obtaining a field for the identity identifier in the group common account table and the sub-service system account table;
    若在所述用于身份标识的字段中查询到字段属性与所述身份标识信息的类型相同的字段,则将查询到的该字段作为第一查询字段;If the field attribute is the same as the type of the identity information in the field for the identity identifier, the queried field is used as the first query field;
    获取第一查询范围,所述第一查询范围为所述第一查询字段包含的内容;Obtaining a first query scope, where the first query scope is content included in the first query field;
    在所述第一查询范围中查询所述身份标识信息;Querying the identity identification information in the first query range;
    若在所述第一查询范围中未查询到所述身份标识信息,则获取所述集团通用账户表和所述子业务系统账户表不包含所述第一查询字段的其余字段;If the identity information is not queried in the first query scope, obtaining the group common account table and the sub-service system account table do not include the remaining fields of the first query field;
    获取第二查询字段,所述第二查询字段为所述其余字段中字段名与待注册身份标识符类型相同的字段;Obtaining a second query field, where the second query field is a field in which the field name in the remaining field is the same as the identity identifier to be registered;
    获取第二查询范围,所述第二查询范围为第二查询字段包含的内容;Obtaining a second query scope, where the second query scope is content included in the second query field;
    在所述第二查询范围中查询所述身份标识信息。Querying the identity identification information in the second query scope.
  19. 如权利要求16至18任一项所述的非易失性可读存储介质,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The non-volatile readable storage medium according to any one of claims 16 to 18, wherein said computer readable instructions are one or after said locating said identity information in said group account system When the plurality of processors are executed, the one or more processors are further configured to perform the following steps:
    若在所述通用账户表中查询到所述身份标识信息,则获取所述身份标识信息对应的集团通用账户,并对所述集团通用账户执行更新操作,所述更新操作为向所述集团通用账户中补充目标子业务系统所需要的基础用户信息。And if the identity information is queried in the universal account table, acquiring a group general account corresponding to the identity information, and performing an update operation on the group universal account, where the update operation is performed to the group The basic user information required to supplement the target sub-business system in the account.
  20. 如权利要求16至18任一项所述的非易失性可读存储介质,其特征在于,在所述在集团账户体系中查找所述身份标识信息之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The non-volatile readable storage medium according to any one of claims 16 to 18, wherein said computer readable instructions are one or after said locating said identity information in said group account system When the plurality of processors are executed, the one or more processors are further configured to perform the following steps:
    若在所述通用账户表和所述子业务系统账户表中均未查询到所述身份标识信息,则引导用户使用所述身份标识信息注册集团通用账户。If the identity information is not queried in the general account table and the sub-service system account table, the user is guided to use the identity information to register the group general account.
PCT/CN2018/094191 2018-03-29 2018-07-03 Account management method and apparatus, terminal device, and storage medium WO2019184120A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2019184120A1 true WO2019184120A1 (en) 2019-10-03

Family

ID=63533255

Family Applications (1)

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

Country Status (2)

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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110992022A (en) * 2019-11-27 2020-04-10 中国银行股份有限公司 Method and device for obtaining verification result
CN110990380A (en) * 2019-11-27 2020-04-10 杭州安恒信息技术股份有限公司 Account information monitoring method and system
CN112597159A (en) * 2020-12-22 2021-04-02 深圳集智数字科技有限公司 Method and device for maintaining unique user identification information
CN113138990A (en) * 2021-05-17 2021-07-20 青岛海信网络科技股份有限公司 Data blood margin construction and tracing method, device and equipment
CN114116918A (en) * 2021-11-23 2022-03-01 西安热工研究院有限公司 Power generation group technology standard digital management method, system, equipment and storage medium
CN114253951A (en) * 2020-09-21 2022-03-29 腾讯科技(深圳)有限公司 Data processing method and system and second server
CN114900490A (en) * 2022-04-02 2022-08-12 广州市网星信息技术有限公司 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

Families Citing this family (8)

* 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
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

Citations (4)

* 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
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
CN103778162A (en) * 2012-10-26 2014-05-07 广州市邦富软件有限公司 Internet people search information integration and analysis method

Family Cites Families (4)

* 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
CN103297410B (en) * 2012-03-05 2018-05-01 盛趣信息技术(上海)有限公司 Account intercommunication system and its application method
CN105049210B (en) * 2015-06-30 2018-11-23 百度在线网络技术(北京)有限公司 A kind of general account register method and device
CN105389351A (en) * 2015-10-30 2016-03-09 北京奇虎科技有限公司 Account number upgrading method and apparatus for specified platform

Patent Citations (4)

* 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
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
CN103778162A (en) * 2012-10-26 2014-05-07 广州市邦富软件有限公司 Internet people search information integration and analysis method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990380A (en) * 2019-11-27 2020-04-10 杭州安恒信息技术股份有限公司 Account information monitoring method and system
CN110992022A (en) * 2019-11-27 2020-04-10 中国银行股份有限公司 Method and device for obtaining verification result
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
CN114253951B (en) * 2020-09-21 2023-09-19 腾讯科技(深圳)有限公司 Data processing method, system and second server
CN114253951A (en) * 2020-09-21 2022-03-29 腾讯科技(深圳)有限公司 Data processing method and system and second server
CN112597159A (en) * 2020-12-22 2021-04-02 深圳集智数字科技有限公司 Method and device for maintaining unique user identification information
CN113138990A (en) * 2021-05-17 2021-07-20 青岛海信网络科技股份有限公司 Data blood margin construction and tracing method, device and equipment
CN113138990B (en) * 2021-05-17 2023-04-18 青岛海信网络科技股份有限公司 Data blood margin construction and tracing method, device and equipment
CN114116918A (en) * 2021-11-23 2022-03-01 西安热工研究院有限公司 Power generation group technology standard digital management method, system, equipment and storage medium
CN114116918B (en) * 2021-11-23 2024-03-01 西安热工研究院有限公司 Digital management method, system, equipment and storage medium for power generation group technical standard
CN114900490A (en) * 2022-04-02 2022-08-12 广州市网星信息技术有限公司 Identification information generation method, system, equipment and storage medium
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

Also Published As

Publication number Publication date
CN108564339A (en) 2018-09-21
CN108564339B (en) 2023-05-12

Similar Documents

Publication Publication Date Title
WO2019184120A1 (en) Account management method and apparatus, terminal device, and storage medium
US20190327094A1 (en) Information authentication method and system
US10740411B2 (en) Determining repeat website users via browser uniqueness tracking
US9313226B2 (en) Method and system for network validation of information
US9785989B2 (en) Determining a characteristic group
US20140122684A1 (en) Early access to user-specific data for behavior prediction
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
US20240029086A1 (en) Discovery of new business openings using web content analysis
EP3396558B1 (en) Method for user identifier processing, terminal and nonvolatile computer readable storage medium thereof
CN111949541A (en) Multi-source database statement checking method and device
US8763098B2 (en) Mechanism for facilitating dynamic and continuous testing of security assertion markup language credentials in an on-demand services environment
WO2019136802A1 (en) Password changing method and apparatus, terminal device, and storage medium
JP2016129038A (en) Method and apparatus for processing multi-step authentication sequence
EP3557437B1 (en) Systems and methods for search template generation
AU2018403177B2 (en) Data isolation in distributed hash chains
WO2019056496A1 (en) Method for generating picture review probability interval and method for picture review determination
US20100256974A1 (en) Automated screen scraping via grammar induction
US20190362442A1 (en) System and method for prediction of email addresses of certain individuals and verification thereof
CN116993523A (en) Configurable account checking method, device, equipment and storage medium
CN111045660B (en) Method, device and storage medium for checking tax declaration data on network
CN109274681B (en) Information synchronization method and device, storage medium and server
WO2020024824A1 (en) Method and device for determining user status identifier
CN109446054B (en) Processing method and terminal equipment for override operation request based on big data
US11687574B2 (en) Record matching in a database system
US9961087B2 (en) Third party paywall authentication system

Legal Events

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

Ref document number: 18913122

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18913122

Country of ref document: EP

Kind code of ref document: A1