CN109831494B - User data management method and device - Google Patents

User data management method and device Download PDF

Info

Publication number
CN109831494B
CN109831494B CN201910052361.3A CN201910052361A CN109831494B CN 109831494 B CN109831494 B CN 109831494B CN 201910052361 A CN201910052361 A CN 201910052361A CN 109831494 B CN109831494 B CN 109831494B
Authority
CN
China
Prior art keywords
user
registered
center server
area
registration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910052361.3A
Other languages
Chinese (zh)
Other versions
CN109831494A (en
Inventor
柳斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sengled Co Ltd
Original Assignee
Sengled Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sengled Co Ltd filed Critical Sengled Co Ltd
Priority to CN201910052361.3A priority Critical patent/CN109831494B/en
Publication of CN109831494A publication Critical patent/CN109831494A/en
Application granted granted Critical
Publication of CN109831494B publication Critical patent/CN109831494B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a user data management method and equipment, wherein the method comprises the steps of receiving access application information which contains a user identifier and is sent by a first user terminal in a region to which the first user terminal belongs; each area is provided with a data center server; determining whether user data corresponding to the user identification exists in a local database; if the user data corresponding to the user identification does not exist in the local database, sending a first query request to a user center server; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all the areas. The embodiment of the invention can improve the speed of cross-region access of the user terminal.

Description

User data management method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a user data management method and device.
Background
With the development of global society, the communication of people between various regions of the world is gradually increased. Users of smart devices may log on and transact business in different regions of the world.
In the prior art, an enterprise deploys data center servers in multiple regions to provide services for users in each region. User data of a user of the intelligent device is stored in a data center server in an original region. When a user logs in or transacts services in other areas in different places, the user accesses the data center server of the current area and performs data interaction with the data center server of the original area through the data center server of the current area to realize service processing.
In the current user data management technology, when a user terminal performs cross-regional access, a data center server in a current region is required to be used as a data transfer station, so that data interaction with a data center server in an original region is realized, and the cross-regional access speed of the user is low.
Disclosure of Invention
The embodiment of the invention provides a user data management method and device, which aim to solve the problem that the cross-region access speed of the existing user data management technology is low.
In a first aspect, an embodiment of the present invention provides a user data management method, applied to a data center server, including:
receiving access application information containing a user identifier sent by a first user terminal in the region to which the access application information belongs; each area is provided with a data center server;
determining whether user data corresponding to the user identification exists in a local database;
if the user data corresponding to the user identification does not exist in the local database, sending a first query request to a user center server; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all the areas.
In one possible design, further comprising:
and if the user data corresponding to the user identification exists in the local database, returning confirmation information to the first user terminal.
In one possible design, further comprising:
receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user terminal belongs;
determining whether the user identifier to be registered is registered;
and if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
In one possible design, the determining whether the to-be-registered user identifier is registered includes:
searching whether the user identification to be registered exists in a regional registration record of a local database;
if the user identification to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, wherein the second query request is used for indicating the user center server to search whether the user identification to be registered exists in the total registration record; the total registration record is stored in a database of the user center server;
if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
In a possible design, after searching whether the user identifier to be registered exists in the area registration record of the local database, the method further includes:
if the user identifier to be registered exists in the regional registration record of the local database, the user identifier to be registered is judged to be registered, and the registration failure information of the registration request is returned to the second user terminal.
In a second aspect, an embodiment of the present invention provides a user data management apparatus, applied to a data center server, including:
the receiving module is used for receiving access application information which contains a user identifier and is sent by a first user terminal in the region to which the first user terminal belongs; each area is provided with a data center server;
the processing module is used for determining whether user data corresponding to the user identification exists in a local database;
the first sending module is used for sending a first query request to the user center server if the user data corresponding to the user identifier does not exist in the local database; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all the areas.
In one possible design, the apparatus further includes a second sending module, and the second sending module is configured to:
and if the user data corresponding to the user identification exists in the local database, returning confirmation information to the first user terminal.
In one possible design, the system further includes a registration module configured to:
receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user terminal belongs;
determining whether the user identifier to be registered is registered;
and if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
In one possible design, the registration module is further to:
searching whether the user identification to be registered exists in a regional registration record of a local database;
if the user identification to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, wherein the second query request is used for indicating the user center server to search whether the user identification to be registered exists in the total registration record; the total registration record is stored in a database of the user center server;
if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
In one possible design, the registration module is further to:
if the user identifier to be registered exists in the regional registration record of the local database, the user identifier to be registered is judged to be registered, and the registration failure information of the registration request is returned to the second user terminal.
In a third aspect, an embodiment of the present invention provides a user data management device, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the user data management method as described above in the first aspect and various possible designs of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the user data management method according to the first aspect and various possible designs of the first aspect is implemented.
In the user data management method and device provided by this embodiment, a data center server is deployed in each area, the user center server stores the corresponding relationship between the user identifiers and the area information of all the areas, the data center server of each area receives the access application information containing the user identifier sent by the first user terminal in the area to which the data center server belongs, when the user data corresponding to the user identification does not exist in the local database, a first query request is sent to the user center server, the user center server is instructed to send the area information corresponding to the user identification to the first user terminal, therefore, the first user terminal can access the data center server in the corresponding area, the problem that the data center server in the current area needs to be used as a relay in the cross-area access of the user terminal can be avoided, and the cross-area access speed is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a user data management system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a user data management method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an account registration process in a user data management method according to another embodiment of the present invention;
fig. 4 is a schematic flowchart of an account registration process in a user data management method according to another embodiment of the present invention;
fig. 5 is an interactive signaling diagram of a user data management method according to yet another embodiment of the present invention;
fig. 6 is an interactive signaling diagram of an account registration process in a user data management method according to a next embodiment of the present invention;
fig. 7 is a schematic structural diagram of a user data management apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a user data management apparatus according to another embodiment of the present invention;
fig. 9 is a schematic hardware structure diagram of a user data management device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of a user data management system according to an embodiment of the present invention. As shown in fig. 1, the user data management system provided in the present embodiment includes a user terminal 11, a data center server 12, and a user center server 13. The user terminal 11 may be a mobile phone, a computer, a vehicle-mounted terminal, an intelligent home device, a robot, and other terminal devices, which are not limited herein. The user can perform service processing such as account registration, login, device setting, data query and the like through the user terminal 11.
The data center servers 12 are respectively deployed in each area, and the data center servers 12 correspond to the areas one by one. Each data center server 12 stores user data of users in the area. The user center server 13 stores the corresponding relationship between the user identifier of the user account in each area and each area.
The user may log in an account on the user terminal 11 in the original region to perform the service processing, or may log in an account on the user terminal 11 in another region other than the original region to perform the service processing. The original area refers to an area where a data center server storing user data is located, and the area where the user terminal is located when the user registers may be used as the original area, or an area set by the user may be used as the original area, which is not limited herein.
After the user logs in the account on the user terminal in the original area, the user can directly access the data center server 12 in the original area to perform service processing. After a user logs in an account on a user terminal in another area except the original area, the user firstly accesses the data center server 12 of the current area, the data center server 12 sends a query request to the user center server 13, the user center server 13 sends area information corresponding to a user identifier to the user terminal 11, and then the user terminal 11 accesses the data center server 12 of the original area according to the area information corresponding to the user identifier, so that cross-area access is realized.
Fig. 2 is a flowchart illustrating a user data management method according to an embodiment of the present invention. The execution subject of this embodiment is the data center server in the embodiment shown in fig. 1, and as shown in fig. 2, the method includes:
s201, receiving access application information containing a user identifier sent by a first user terminal in a region to which the first user terminal belongs; one data center server is deployed per area.
In this embodiment, the areas correspond to the data center servers one to one, and each area is deployed with one data center server. The division of the area may be determined according to an actual application scenario, and is not limited herein. For example, a continent on the earth can be divided into one region, the divided regions can be an asian region, a european region, an african region, a north america region, a south america region, an oceania region, and an antarctic region, and a data center server can be deployed in each continent; or one country is divided into one region, and one data center server is deployed in each country.
The first user terminal in the area where one data center server belongs is the user terminal in the area where the data center server is deployed. The user identifier may be an identifier that can uniquely determine the user account, such as an account name, a certificate number, and fingerprint information of the user, and is not limited herein. The user identification corresponds to the user account one by one.
The user can log in the account through the first user terminal to conduct business handling. The first user terminal sends the access application information carrying the user identification to a data center server of the area where the first user terminal is located. And the data center server of the current area receives the access application information.
S202, determining whether user data corresponding to the user identification exists in a local database.
In this embodiment, the local database is a database of the data center server. The data center server of each area corresponds to a local database, and the local database is used for storing the user identification of each account of the area and corresponding user data. The user data may include, but is not limited to, one or more of registration information for the account, historical login information, device setting parameters, business data.
After receiving the access application information containing the user identifier, the data center server can search whether user data corresponding to the user identifier exists in a local database.
S203, if the user data corresponding to the user identification does not exist in the local database, sending a first query request to a user center server; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all the areas.
In this embodiment, the area information corresponding to one user identifier is the area information of the original area of the account corresponding to the user identifier. The zone information may include, but is not limited to, one or more of a zone name, a zone number, and a communication address of a data center server in the zone. And the user identifications of all accounts in each area and the corresponding area information are stored in the user center server. For example, a corresponding relationship table may be formed by the user identifier and the area information, and stored in the user center server, and the user center server may obtain the area information corresponding to the user identifier by looking up the corresponding relationship table.
And if the user data corresponding to the user identification does not exist in the local database, the current area is not the original area of the account corresponding to the user identification. The data center server of the current area does not have the user data of the account, and the services such as login, business transaction and the like cannot be directly provided for the account. At this time, the data center server sends the first query information to the user center server. After receiving the first query information, the user center server searches for the area information corresponding to the user identifier, and sends the area information corresponding to the user identifier to the first user terminal. The first user terminal can determine the area corresponding to the account according to the area information corresponding to the user identifier, so as to access the data center server of the corresponding area.
Optionally, if the user data corresponding to the user identifier exists in the local database, a confirmation message is returned to the first user terminal.
In this embodiment, if the local database has the user data corresponding to the user identifier, it indicates that the current area is the original area of the account corresponding to the user identifier, and the data center server in the current area can provide services such as login and business transaction for the account. At this time, the data center server returns confirmation information about the access application information to the first user terminal. And after receiving the confirmation information, the first user terminal can access the data center server of the current region, and transact business through interaction with the data center server of the current region.
The embodiment of the invention arranges one data center server in each area, the user center server stores the corresponding relation between the user identification and the area information of all the areas, the data center server of each area receives the access application information containing the user identification sent by the first user terminal in the area, when the user data corresponding to the user identification does not exist in the local database, the first query request is sent to the user center server, the user center server is instructed to send the area information corresponding to the user identification to the first user terminal, so that the first user terminal can access the data center server in the corresponding area, the problem that the data center server in the area where the user terminal is located is required to be used as a transfer for cross-area access can be avoided, and the cross-area access speed is improved.
In an actual application scenario, before a user performs service processing such as account login and device setting through a user terminal, account registration may be performed through the user terminal. After the registration is successful, when the user is in any area, the user can log in an account through a user terminal in the any area to conduct service transaction. The account registration process will be described in detail with the embodiments shown in fig. 3 and 4.
Fig. 3 is a schematic flowchart of an account registration process in a user data management method according to another embodiment of the present invention. As shown in fig. 3, the method may further include:
s301, receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user belongs.
In this embodiment, the user may apply for account registration on the second user terminal. And the second user terminal sends the registration request containing the identification of the user to be registered to the data center server of the current area. The data center server of the current location area receives the registration request.
S302, determining whether the user identification to be registered is registered.
In this embodiment, the data center server may determine whether the to-be-registered user identifier is registered by looking up the registered user identifier.
And S303, if the user identifier to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identifier to be registered in an area registration record of a local database, and sending the user identifier to be registered and corresponding area information to the user center server.
In this embodiment, the area registration record is used to record the user identifier of the registered account in the area, and the area registration record is stored in the local database of the local area data center server. The area information corresponding to the user identifier to be registered is the area information of the area where the user terminal is located when the account is registered. In this embodiment, the area where the user terminal is located when the account is registered is used as the original area of the account, and the user data of the account is stored in the local database of the area data center server.
If the data center server determines that the user identifier to be registered is not registered, the data center server may return registration passing information about the registration request to the second user terminal to notify the user of the second user terminal that the account registration is completed. The data center server stores the user identification to be registered in the area registration record of the local database, and sends the user identification to be registered and the area information of the corresponding area to the user center server. The user center server can store the user identification to be registered and the corresponding area information.
In the embodiment, when the account registration passes, the user identifier to be registered is stored in the area registration record of the local database, and the user account registered in the area can be conveniently searched through the area registration record; and sending the user identification to be registered and the corresponding area information to a user center server for storage, so that when an access request of the user terminal is received, the area information corresponding to the account can be searched from the user center server, and the user terminal is instructed to perform cross-area access according to the area information corresponding to the account.
Fig. 4 is a schematic flowchart of an account registration process in a user data management method according to another embodiment of the present invention. The embodiment describes a specific implementation process of the embodiment in detail on the basis of the embodiment in fig. 3. As shown in fig. 4, the method includes:
s401, receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user belongs.
In this embodiment, S401 is similar to S301 in the embodiment of fig. 3, and is not described here again.
S402, searching whether the user identification to be registered exists in the area registration record of the local database.
In this embodiment, the data center server may search, in the area registration record of the local database, whether the user identifier to be registered exists.
S403, if the user identifier to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, where the second query request is used to instruct the user center server to search whether the user identifier to be registered exists in the total registration record; the total registration record is stored in a database of the user center server.
In this embodiment, the total registration record is used to record the user identification of the registered accounts of all areas. The total registration record is stored in a database of the user centric server.
If the user identifier to be registered does not exist in the area registration record of the local database, which indicates that the user identifier to be registered does not exist in the user identifiers of the registered accounts in the area, the data center server sends a second query request to the user center server so as to query whether the user identifiers of the registered accounts in all areas exist the user identifier to be registered. And after receiving the second query request, the user center server searches whether the user identifier to be registered exists in the total registration record.
S404, if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
In this embodiment, if the user center server does not find the to-be-registered user identifier in the total registration record, which indicates that the to-be-registered user identifier is not registered in all the areas, the user center server may return the first indication information to the data center server. And after receiving the first indication information, the data center server determines that the registered user identification is not registered.
S405, if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
In this embodiment, S405 is similar to S303 in the embodiment of fig. 3, and is not described herein again.
Optionally, if the to-be-registered user identifier exists in the area registration record of the local database, it is determined that the to-be-registered user identifier is registered, and registration failure information of the registration request is returned to the second user terminal.
In this embodiment, if the data center server finds the to-be-registered user identifier in the area registration record of the local database, it indicates that the to-be-registered user identifier is already registered in the current area, and it is not necessary to query the total registration record from the user center server, and then the data center server returns a registration failure message about the registration request to the second user terminal, and reminds the user that the registration application of the to-be-registered user identifier fails through the registration failure message.
In this embodiment, the user identifiers of the accounts registered in this area are stored in the area registration record of the data center server, and the user identifiers of the accounts registered in all the areas are stored in the total registration record of the user center server. In the account registration process, firstly, the area registration record of the area is searched, whether the user identification to be registered in the area is registered is confirmed, and then the total registration record is searched. By searching the regional registration records preferentially, the searching times of the total registration records in the registration process can be reduced, and the access times of the user center server can be reduced, so that the response speed to the user terminal in the registration process is increased, and the registration speed is increased. In addition, the condition that accounts with the same user identification appear in different areas can be avoided through the total registration records of the user center server, when a user performs service transaction such as account login in other areas except the original area, the user does not conflict with other accounts in the area, the uniqueness of the user accounts in all the areas is ensured, and the safety of cross-area access is improved.
The following describes the user data management method provided in this embodiment by taking an application scenario as an example, but the method is not limited thereto. In the application scenario, the world is used as an area to be divided, each continent in the world is divided into an area, a data center server is deployed in each continent, and a position is selected to deploy a global user center server. For example, a global user center server can be deployed at a position which has a higher access speed with each regional data center server in the global scope, so that the data interaction speed between each data center server and the global user center server can be ensured. The method can improve the access speed of users across continents, improve the user experience, ensure the uniqueness of global users, and configure the data center server and the corresponding database according to the number of regional users, thereby flexibly controlling the implementation cost; the data center server and the global user center server in each area can ensure the service support of the user in the cross-area process, so that the user can enjoy the best service experience in any global area.
Fig. 5 is an interaction signaling diagram of a user data management method according to still another embodiment of the present invention, as shown in fig. 5, the method may include:
s501, the first user terminal sends access application information containing user identification to a data center server of the current area.
S502, the data center server determines whether the user data corresponding to the user identification exists in the local database.
S503, if the data center server determines that the user data corresponding to the user identification does not exist in the local database, the data center server sends a first query request to the user center server.
S504, the user center server sends the area information corresponding to the user identification to the first user terminal.
And S505, the first user terminal accesses the data center server of the corresponding area according to the area information corresponding to the user identification.
The specific implementation manner of this embodiment is similar to that of the embodiment shown in fig. 2, and is not described here again.
Fig. 6 is an interactive signaling diagram of an account registration process in a user data management method according to the next embodiment of the present invention, as shown in fig. 6, the method according to this embodiment includes:
s601, the second user terminal sends a registration request containing the user identification to be registered to the data center server of the current area.
S602, the data center server searches whether the user identification to be registered exists in the area registration record of the local database.
S603, if the data center server determines that the user identifier to be registered does not exist in the area registration record of the local database, sending a second query request to the user center server.
S604, the user center server searches whether the user identification to be registered exists in the total registration record.
And S605, if the user center server determines that the user identifier to be registered does not exist in the total registration record, returning first indication information to the data center server.
S606, the data center server determines that the user identification to be registered is not registered, and returns the registration passing information of the registration request to the second user terminal.
S607, the data center server stores the user identification to be registered in the area registration record of the local database.
S608, the data center server sends the user identification to be registered and the corresponding area information to the user center server.
The specific implementation of this embodiment is similar to the embodiment shown in fig. 3 and fig. 4, and is not described herein again.
The embodiment of the invention arranges one data center server in each area, the user center server stores the corresponding relation between the user identification and the area information of all the areas, the data center server of each area receives the access application information containing the user identification sent by the first user terminal in the area, when the user data corresponding to the user identification does not exist in the local database, the first query request is sent to the user center server, the user center server is instructed to send the area information corresponding to the user identification to the first user terminal, so that the first user terminal can access the data center server in the corresponding area, the problem that the data center server in the area where the user terminal is located is required to be used as a transfer for cross-area access can be avoided, and the cross-area access speed is improved.
Fig. 7 is a schematic structural diagram of a user data management apparatus according to an embodiment of the present invention. As shown in fig. 7, the user data management apparatus 70 is applied to a data center server, and includes: a receiving module 701, a processing module 702 and a first transmitting module 703.
A receiving module 701, configured to receive access application information including a user identifier sent by a first user terminal in an area to which the first user terminal belongs; one data center server is deployed per area.
A processing module 702, configured to determine whether user data corresponding to the user identifier exists in a local database.
A first sending module 703, configured to send a first query request to the user center server if there is no user data corresponding to the user identifier in the local database; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all the areas.
The embodiment of the invention arranges a data center server in each area, the user center server stores the corresponding relation between the user identification and the area information of all the areas, the receiving module receives the access application information containing the user identification sent by the first user terminal in the area to which the receiving module belongs, the processing module determines whether the local database has the user data corresponding to the user identification, when the user data corresponding to the user identification does not exist in the local database, the first sending module sends a first query request to the user center server to instruct the user center server to send the area information corresponding to the user identification to the first user terminal, therefore, the first user terminal can access the data center server in the corresponding area, the problem that the data center server in the current area needs to be used as a relay in the cross-area access of the user terminal can be avoided, and the cross-area access speed is improved.
Fig. 8 is a schematic structural diagram of a user data management apparatus according to another embodiment of the present invention. As shown in fig. 8, the user data management apparatus 70 provided in this embodiment further includes, on the basis of the user data management apparatus provided in the embodiment shown in fig. 7: a second sending module 704 and a registering module 705.
Optionally, the second sending module 704 is configured to:
and if the user data corresponding to the user identification exists in the local database, returning confirmation information to the first user terminal.
Optionally, the registration module 705 is configured to:
receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user terminal belongs;
determining whether the user identifier to be registered is registered;
and if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
Optionally, the registration module 705 is further configured to:
searching whether the user identification to be registered exists in a regional registration record of a local database;
if the user identification to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, wherein the second query request is used for indicating the user center server to search whether the user identification to be registered exists in the total registration record; the total registration record is stored in a database of the user center server;
if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
Optionally, the registration module 705 is further configured to:
if the user identifier to be registered exists in the regional registration record of the local database, the user identifier to be registered is judged to be registered, and the registration failure information of the registration request is returned to the second user terminal.
The user data management device provided in the embodiment of the present invention may be configured to execute the method embodiments described above, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic hardware structure diagram of a user data management device according to an embodiment of the present invention. As shown in fig. 9, the present embodiment provides a user data management apparatus 90 including: at least one processor 901 and memory 902. The user data management apparatus 90 further includes a communication section 903. The processor 901, the memory 902, and the communication section 903 are connected by a bus 904.
In a specific implementation, the at least one processor 901 executes the computer executable instructions stored by the memory 902, so that the at least one processor 901 performs the user data management method as performed by the user data management device 90.
For a specific implementation process of the processor 901, reference may be made to the above method embodiments, which implement principles and technical effects are similar, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 9, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the voice endpoint detection method performed by the above voice endpoint detection device is implemented.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the voice endpoint detection method performed by the above voice endpoint detection device is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A user data management method is applied to a data center server and comprises the following steps:
receiving access application information containing a user identifier sent by a first user terminal in the region to which the access application information belongs; each area is provided with a data center server;
determining whether user data corresponding to the user identification exists in a local database;
if the user data corresponding to the user identification does not exist in the local database, sending a first query request to a user center server; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all areas;
the method further comprises the following steps:
receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user terminal belongs;
determining whether the user identifier to be registered is registered;
and if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
2. The method of claim 1, further comprising:
and if the user data corresponding to the user identification exists in the local database, returning confirmation information to the first user terminal.
3. The method according to claim 1 or 2, wherein the determining whether the to-be-registered user identifier is registered comprises:
searching whether the user identification to be registered exists in a regional registration record of a local database;
if the user identification to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, wherein the second query request is used for indicating the user center server to search whether the user identification to be registered exists in the total registration record; the total registration record is stored in a database of the user center server;
if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
4. The method according to claim 3, wherein after searching for whether the user identifier to be registered exists in the area registration record of the local database, the method further comprises:
if the user identifier to be registered exists in the regional registration record of the local database, the user identifier to be registered is judged to be registered, and the registration failure information of the registration request is returned to the second user terminal.
5. A user data management device is applied to a data center server and comprises:
the receiving module is used for receiving access application information which contains a user identifier and is sent by a first user terminal in the region to which the first user terminal belongs; each area is provided with a data center server;
the processing module is used for determining whether user data corresponding to the user identification exists in a local database;
the first sending module is used for sending a first query request to the user center server if the user data corresponding to the user identifier does not exist in the local database; the first query request is used for instructing the user center server to send the area information corresponding to the user identifier to the first user terminal so that the first user terminal can access the data center server of the area corresponding to the user identifier; the user center server stores the corresponding relation between the user identification and the area information of all areas;
the apparatus further comprises a registration module to:
receiving a registration request containing a user identifier to be registered, which is sent by a second user terminal in the region to which the user terminal belongs;
determining whether the user identifier to be registered is registered;
and if the user identification to be registered is not registered, returning registration passing information of the registration request to the second user terminal, storing the user identification to be registered in an area registration record of a local database, and sending the user identification to be registered and corresponding area information to the user center server.
6. The apparatus of claim 5, further comprising a second sending module configured to:
and if the user data corresponding to the user identification exists in the local database, returning confirmation information to the first user terminal.
7. The apparatus of claim 5 or 6, wherein the registration module is further configured to:
searching whether the user identification to be registered exists in a regional registration record of a local database;
if the user identification to be registered does not exist in the regional registration record of the local database, sending a second query request to the user center server, wherein the second query request is used for indicating the user center server to search whether the user identification to be registered exists in the total registration record; the total registration record is stored in a database of the user center server;
if first indication information returned by the user center server is received, judging that the user identification to be registered is not registered; the first indication information is used for representing that the user identification to be registered does not exist in the total registration record.
8. The apparatus of claim 7, wherein the registration module is further configured to:
if the user identifier to be registered exists in the regional registration record of the local database, the user identifier to be registered is judged to be registered, and the registration failure information of the registration request is returned to the second user terminal.
9. A user data management apparatus, characterized by comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the user data management method of any of claims 1 to 4.
10. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the user data management method of any one of claims 1 to 4.
CN201910052361.3A 2019-01-21 2019-01-21 User data management method and device Active CN109831494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910052361.3A CN109831494B (en) 2019-01-21 2019-01-21 User data management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910052361.3A CN109831494B (en) 2019-01-21 2019-01-21 User data management method and device

Publications (2)

Publication Number Publication Date
CN109831494A CN109831494A (en) 2019-05-31
CN109831494B true CN109831494B (en) 2021-11-02

Family

ID=66860512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910052361.3A Active CN109831494B (en) 2019-01-21 2019-01-21 User data management method and device

Country Status (1)

Country Link
CN (1) CN109831494B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741040B (en) * 2019-06-26 2022-09-09 腾讯科技(深圳)有限公司 Connection establishing method, address obtaining method, device, equipment and storage medium
CN110580257A (en) * 2019-09-11 2019-12-17 网易(杭州)网络有限公司 Data sharing method, server and medium
CN110879803A (en) * 2019-10-29 2020-03-13 杭州涂鸦信息技术有限公司 User data migration method and system
CN110809051B (en) * 2019-11-11 2020-11-13 广州华多网络科技有限公司 Service data processing method and system
CN112087484B (en) * 2020-07-28 2023-08-11 深圳拓邦股份有限公司 Method and system for rapidly positioning specific server
CN112214259B (en) * 2020-10-19 2024-03-01 珠海金山数字网络科技有限公司 Map loading system, method and device
CN112711635B (en) * 2020-12-29 2021-09-14 深圳杰睿联科技有限公司 Method for cross-regional data consistency of distributed Internet of things equipment and service cluster

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858744A (en) * 2006-03-14 2006-11-08 华为技术有限公司 Data inquire system and method
CN101626392A (en) * 2008-07-08 2010-01-13 中国移动通信集团公司 Methods and systems for storing and searching data
CN105049246A (en) * 2015-07-03 2015-11-11 北京遨迈网络科技有限公司 Group user management and service method and system
CN109062729A (en) * 2018-07-10 2018-12-21 中国建设银行股份有限公司 A kind of span centre heart job scheduling method, device, server and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272523A (en) * 2007-03-22 2008-09-24 华源润通(北京)科技有限公司 Mobile inquiry system and method thereof
CN102006317B (en) * 2010-07-09 2013-05-08 北京哈工大计算机网络与信息安全技术研究中心 Method for storing and inquiring object information
CN102760137A (en) * 2011-04-27 2012-10-31 上海特易信息科技有限公司 Distributed full-text search method and distributed full-text search system
CN102882750B (en) * 2012-09-18 2015-09-09 华为软件技术有限公司 A kind of method for network access of TV Network Based and device
CN108053088A (en) * 2017-10-26 2018-05-18 北京航天智造科技发展有限公司 A kind of Subscriber Management System, method and apparatus
CN109040068B (en) * 2018-08-02 2021-01-05 中国联合网络通信集团有限公司 Remote authentication method, authentication server and block chain for broadband user

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858744A (en) * 2006-03-14 2006-11-08 华为技术有限公司 Data inquire system and method
CN101626392A (en) * 2008-07-08 2010-01-13 中国移动通信集团公司 Methods and systems for storing and searching data
CN105049246A (en) * 2015-07-03 2015-11-11 北京遨迈网络科技有限公司 Group user management and service method and system
CN109062729A (en) * 2018-07-10 2018-12-21 中国建设银行股份有限公司 A kind of span centre heart job scheduling method, device, server and system

Also Published As

Publication number Publication date
CN109831494A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN109831494B (en) User data management method and device
EP3262552B1 (en) Methods, apparatus, and systems for identity authentication
EP3541098B1 (en) Processing method for communication identifier binding and terminal
CN110677492B (en) Access request processing method and device, electronic equipment and storage medium
CN104954322A (en) Account binding method, device and system
CN107197462B (en) Wireless network type detection method and device and electronic equipment
EP3163946A1 (en) Information transmission method and apparatus, device, computer program and recording medium
EP3253088A1 (en) Control method and terminal for short message reading
EP3968663A1 (en) Message reminding method and apparatus, control device, and storage medium
CN104602186A (en) Contact positioning method
CN111382008A (en) Virtual machine data backup method, device and system
CN111049822B (en) Short message verification code sending method and device, short message server and storage medium
CN111767481B (en) Access processing method, device, equipment and storage medium
CN109034759B (en) Data transfer method and related equipment
CN105474674A (en) Automatically detection of a network operator for a mobile network device
CN114298830A (en) Batch service processing method and device and batch service processing platform
CN112770277B (en) Forwarding number verification method and device, mobile terminal and computing equipment
CN112702735A (en) Registration information service method, equipment and computer readable storage medium
CN114048457A (en) Multi-platform user relationship creation method, device, system and storage medium
CN113986995A (en) Request distribution method and device, storage medium and electronic equipment
CN109246686B (en) Multi-card user address book updating method and device based on cloud technology
CN104660802A (en) Terminal
CN112995900B (en) SIM card distribution method, device, server and computer readable storage medium
CN110768834B (en) Method, system, device and medium for notifying upgrading result of virtual machine configuration
CN107766329B (en) Blacklist configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: User data management method and equipment

Effective date of registration: 20230227

Granted publication date: 20211102

Pledgee: Tongxiang Yunbei Investment Construction Co.,Ltd.

Pledgor: SENGLED Co.,Ltd.

Registration number: Y2023980033490

PE01 Entry into force of the registration of the contract for pledge of patent right