CN103678242A - User data sending method and device - Google Patents

User data sending method and device Download PDF

Info

Publication number
CN103678242A
CN103678242A CN201310661685.XA CN201310661685A CN103678242A CN 103678242 A CN103678242 A CN 103678242A CN 201310661685 A CN201310661685 A CN 201310661685A CN 103678242 A CN103678242 A CN 103678242A
Authority
CN
China
Prior art keywords
user name
data
sign
subscriber data
amended
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.)
Granted
Application number
CN201310661685.XA
Other languages
Chinese (zh)
Other versions
CN103678242B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310661685.XA priority Critical patent/CN103678242B/en
Publication of CN103678242A publication Critical patent/CN103678242A/en
Application granted granted Critical
Publication of CN103678242B publication Critical patent/CN103678242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a user data sending method and device which belong to the technical field of computers. The method includes the steps of receiving the request, sent by a terminal, of checking the data including a modified user name, obtaining the identification corresponding to the modified user name when the modified user name does not exist in the stored data, obtaining the user data with the identification as the primary key from the stored data, and sending the user data to the terminal. According to the method, through the steps of receiving the request, sent by the terminal, of checking the data including the modified user name, obtaining the identification corresponding to the modified user name when the modified user name does not exist in the stored data, obtaining the user data with the identification as the primary key from the stored data, and sending the user data to the terminal, the problem of so much inconvenience in management and use of user data in the prior art is solved, and user data can be managed and used conveniently.

Description

Subscriber data sending method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of subscriber data sending method and device.
Background technology
In a lot of network applications, conventionally with user name, identify different users, and in some network application, allow user to revise the user name of oneself, after old user name is modified, in data storage server, do not preserve the corresponding subscriber data of new user name, terminal cannot be checked by new user name request this user's subscriber data.
A kind of subscriber data acquisition methods existing at present, comprise: user is at terminal input original subscriber's name and new user name, and click transfer button, corresponding, terminal receives the data migration request that includes original subscriber's name and new user producing when user clicks transfer button, now terminal can send the data migration request that includes original subscriber's name and new user name to data migration server, this data migration server, after obtaining this Data Migration request, notifies data storage server to carry out the synchronous of new user name respective user data; Like this, when this user searches the subscriber data of new user name to data storage server request, data storage server can find the subscriber data of this new user name, and the subscriber data finding to user feedback.
In realizing process of the present invention, inventor finds that prior art at least exists following problem: after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused inconvenience to the management and using of subscriber data.
Summary of the invention
In order to solve in prior art after user revises user name, must manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data, and the embodiment of the present invention provides a kind of subscriber data sending method and device.Described technical scheme is as follows:
First aspect, provides a kind of subscriber data sending method, and described method comprises:
The data that includes amended user name that receiving terminal sends is checked request;
While there is not described amended user name in the data of storage, obtain the sign corresponding with described amended user name, in the data of described storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
From the data of described storage, obtain and using the subscriber data of described sign as major key;
To described terminal, send described subscriber data.
Second aspect, provides a kind of subscriber data dispensing device, is applied in subscriber data change system, and described device comprises:
The first receiver module, the data that includes amended user name sending for receiving terminal is checked request;
Identifier acquisition module, while there is not described amended user name for the data when storage, obtain the sign corresponding with described amended user name, in the data of described storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
Data acquisition module, usings the subscriber data of described sign as major key for obtaining from the data of described storage;
Sending module, for sending described subscriber data to described terminal.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of the related implementation environment of the subscriber data sending method that provides in one embodiment of the invention;
Fig. 2 is the method flow diagram of the subscriber data sending method that provides in one embodiment of the invention;
Fig. 3 is the method flow diagram of the subscriber data sending method that provides in another embodiment of the present invention;
Fig. 4 A is the method flow diagram of the subscriber data sending method that provides in another embodiment of the present invention;
Fig. 4 B is that the data that provide in part embodiment of the present invention are moved towards schematic diagram;
Fig. 5 is the structural representation of the subscriber data dispensing device that provides in one embodiment of the invention;
Fig. 6 is the structural representation of the subscriber data dispensing device that provides in another embodiment of the present invention;
Fig. 7 is the block diagram of the data storage server that provides in part embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Shown in Figure 1, schematic diagram of the related implementation environment of the subscriber data sending method that provides in one embodiment of the invention is provided for it.This implementation environment can include but not limited to: terminal 102, network application server 104, user name server 106 and data storage server 108.
The terminal that terminal 102 is used for user, this terminal can be smart mobile phone, panel computer, intelligent television, E-book reader, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), MP4(Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.
Network application server 104 is for the treatment of the related content of network application, and this related content is decided by network application, different network applications, and its related content also can be different.
User name server 106 is preserved user name and the ID corresponding with user name conventionally, and this ID is the sign of unique identification user in network application, such as user's email address or other application program accounts of user etc.User can carry out in terminal 102 registration and the modification of user name, corresponding, user name server 106 can finally complete the registration of user name and modification, such as user is when registered network is applied, user name server 106 can receive the data informations such as user name, mailbox and password that user inputs in terminal 102, whether user name server 106 can detect this user name and be registered, if be not registered, and in the situation that other data are no problem, determine that this user name succeeds in registration.
Data storage server 108 is for storing user at all subscriber datas of network application, the information such as the file of preserving such as virtual wealth, good friend, the user of sex, acquisition or picture, grade, military success.
Above-mentioned various servers can be implemented as separately different servers, also can be used as a server cluster, or as a cloud computing service center.
Shown in Figure 2, method flow diagram of the subscriber data sending method providing in one embodiment of the invention is provided for it, and this subscriber data sending method can be applied in the data storage server 108 of implementation environment shown in Fig. 1.This subscriber data sending method can comprise:
201, the data that includes amended user name that receiving terminal sends is checked request;
In some network applications, allow user to revise the user name of oneself, user can be revised as original user name amended user name, then can check according to this amended user name the subscriber data of oneself.Now, user is after terminal is inputted amended user name, and subscriber data is checked in request, terminal can send the data include amended user name to data storage server and check request, corresponding, data storage server can receive the data that includes amended user name of middle terminal transmission and check request.
202, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name;
Generally, in the data of storage, include and using user name as the subscriber data of major key and the subscriber data of sign as major key of usining, each user name all, corresponding to a sign, that is to say, the data of the storage said here comprise each user's subscriber data.These subscriber datas can be stored in the database in data storage server, also can store with other form.
Be designated can be unique identification user's sign, the email address such as can register for user time or the account of other application programs, can also be the unique sign in network application that the user of network application after for registration arranges.
When data storage server lookup does not exist amended user name in the data of storage, now obtain the sign corresponding with amended user name.
203, from the data of storage, obtain and using the subscriber data of this sign as major key;
204, to terminal, send this subscriber data.
In the possible implementation of the first in an embodiment, obtain to identify the subscriber data as major key the data from storage after, also comprise:
Using amended user name as major key, copy subscriber data and preserve.
In the possible implementation of the second in an embodiment, the data that includes amended user name sending at receiving terminal also comprises before checking request:
Receive the storage resource request of the subscriber data of storage original user name;
The original user name of usining is stored subscriber data as major key;
The sign of original user name of usining is stored subscriber data as major key, and the sign of original user name is identical with the sign of amended user name.
In the third possible implementation in an embodiment, obtain the sign corresponding with amended user name, comprising:
According to the corresponding relation of the user name prestoring and sign, search the sign corresponding with amended user name.
In the 4th kind of possible implementation in an embodiment, the sign prestoring in basis and the corresponding relation of user name, before searching the sign corresponding with amended user name, also comprise:
Reception includes the registration request of original user name and the sign corresponding with original user name;
Original user name and sign are stored as to one group of corresponding relation;
Receive for original user name being revised as to the modification request of amended user name;
Amended user name and the sign corresponding with original user name are stored as to one group of corresponding relation.
In sum, the subscriber data sending method providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
Shown in Figure 3, method flow diagram of the subscriber data sending method providing in another embodiment of the present invention is provided for it, and this subscriber data sending method can be applied in the data storage server 108 of implementation environment shown in Fig. 1.This subscriber data sending method can comprise:
301, receive the registration request include original user name and the sign corresponding with original user name;
Generally, the user name of original user user by name when network application is registered, the sign corresponding with original user name can be unique identification user's sign, such as sign can be user's email address or the account of other application programs of user etc.Conventionally, user is when registering by original user name and sign, data storage server need to be verified this sign, if this original user name and sign are all unique in this network application, can allow user to register this original user name.
302, original user name and sign are stored as to one group of corresponding relation;
When data storage server is when definite this original user name can be registered, this original user name and sign are stored as to one group of corresponding relation.
303, the storage resource request of the subscriber data of reception storage original user name;
After user has registered, because user is in using the process of network application, can constantly accumulate subscriber data, in order to guarantee integrality and the security of subscriber data, network application server all can will be stored in data storage server with user-dependent subscriber data, be that network application server can send to data storage server the storage resource request of the subscriber data of storage original user name, corresponding, data storage server can receive the storage resource request of the subscriber data of storage original user name.
304, the original user name of usining is stored subscriber data as major key;
Data storage server is after the storage resource request of subscriber data that receives storage original user name, and the original user name of usining is stored subscriber data as major key.
Here conventionally by using original user name as the subscriber data of major key storage the data as storage, be stored in the storehouse in a private database or with other dedicated form storages.
305, the sign of original user name of usining is stored subscriber data as major key;
Meanwhile, data storage server is also usingd the sign of original user name and is stored subscriber data as major key.
Also, in data storage server, include < original user name, the sign of subscriber data > and < original user name, the storage data of subscriber data > simultaneously.
306, receive for original user name being revised as to the modification request of amended user name;
Some network applications allow user to revise the user name of oneself conventionally, when user wants to revise the user name of oneself, can send for original user name being revised as to the modification request of amended user name to Information Service device, corresponding, Information Service device can receive for original user name being revised as to the modification request of amended user name.
307, amended user name and the sign corresponding with original user name are stored as to one group of corresponding relation;
Here the sign of original user name said is identical with the sign of amended user name.
In general, user is after revising the user name of oneself, and its sign does not change.By way of example, when user need to revise original user name, can send and include original user name, log-in password and amended user name to data storage server, data storage server is at definite this original user name and log-in password correct in the situation that, can directly original user name be repaiied and be replaced with amended user name, now corresponding relation be amended user name and the sign corresponding with original user name; Obviously, data storage server is at definite this original user name and log-in password correct in the situation that, can original user name not repaiied and be replaced with amended user name yet, but directly generate one group of corresponding relation, in this corresponding relation, include amended user name and the sign corresponding with original user name.
Here it should be noted that, because user may repeatedly revise user name, therefore for each modification, the user name before by name modification of original user said here, after revising, this user name is amended user name.
308, the data that includes amended user name that receiving terminal sends is checked request;
When user is after being revised as amended user name by original user name; can use this amended user name; if user need to check the subscriber data of oneself; now; user can directly input amended user name to terminal conventionally; terminal sends to data storage server the data include amended user name and checks request, corresponding, and data storage server can receive the data that includes amended user name that terminal sends and check request.
309, while there is not amended user name in the data of storage,, according to the user name prestoring and the corresponding relation of sign, search the sign corresponding with amended user name;
In the data of the storage said here, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign.
From step 302, when user registers, in data storage server, corresponding stored has the corresponding relation of original user name and sign; From step 307, when user changes user name, in data storage server corresponding stored have revise after the corresponding relation of user name and the sign corresponding with original user name, while therefore there is not amended user name in the data (such as being the database of special user's storage with the subscriber data of user's major key by name) of storage, in the data that show to store, also to using the subscriber data of amended user name as major key, now, according to the user name prestoring and the corresponding relation of sign, search the sign corresponding with amended user name.
310, from the data of storage, obtain to identify the subscriber data as major key;
From step 304 and step 305, because storage is usingd original user name during as the subscriber data of major key, stored simultaneously and usingd the sign corresponding with original user name as the subscriber data of major key, therefore can from the data of storage, obtain to identify the subscriber data as major key.
311, using amended user name as major key, copy this subscriber data and preserve;
After user name modification, other subscriber data does not change, or this user's subscriber data, therefore now the subscriber data that is designated major key with original user name can be copied to amended user name, be about to amended user name and copy this subscriber data and preserve as major key.
312, to terminal, send this subscriber data.
After finding user's the corresponding subscriber data of sign, can send subscriber data to terminal, and because step 311 copies this subscriber data and preserves using amended user name as major key, therefore in use after this, with finding by amended user name the subscriber data of oneself per family.Realized: after user name is revised, when user uses amended user name to search the subscriber data of oneself for the first time, data storage server can be automatically that amended user name is carried out to subscriber data is synchronous, do not need user oneself to carry out the migration operation of subscriber data data, make user's simplified control, and can guarantee that user is according to the subscriber data that finds oneself of amended username good.
Here it should be noted that, each above-mentioned step all be take data storage server and is described as executive agent, and in actual applications, because this subscriber data sending method can be embodied in the implementation environment shown in Fig. 1, and the server in this implementation environment can be the server disperseing, also can be centralized server, therefore above-mentioned part steps can be dispersed in other the server in the implementation environment shown in Fig. 1 and realize, by way of example, step 301, step 302, step 306 and step 307 item can realize etc. in user name server 106.
In sum, the subscriber data sending method providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
Refer to shown in Fig. 4 A, method flow diagram of the subscriber data sending method providing in another embodiment of the present invention is provided for it, and this subscriber data sending method can be applied to shown in Fig. 1 in implementation environment.This subscriber data sending method can comprise:
401, terminal sends the registration request include original user name and the sign corresponding with original user name to user name server;
Generally, the user name of original user user by name when network application is registered, the sign corresponding with original user name can be unique identification user's sign, such as sign can be user's email address or the account of other application programs of user etc.When user is during to terminal input original user name and the sign corresponding with original user name request registration, terminal can send the registration request that includes original user name and the sign corresponding with original user name to user name server.
402, user name server receives and comprises this registration request;
Corresponding, user name server can receive that terminal sends includes the registration request of original user name and the sign corresponding with original user name.Conventionally, user is when registering by original user name and sign, data storage server need to be verified this sign, if this original user name and sign are all unique in this network application, can allow user to register this original user name.
403, user name server is stored as one group of corresponding relation by original user name and sign;
When user name server is when definite this original user name can be registered, this original user name and sign are stored as to one group of corresponding relation.
404, terminal sends the storage resource request of the subscriber data of storage original user name to data storage server;
After user has registered, because user is in using the process of network application, can constantly accumulate subscriber data, in order to guarantee integrality and the security of subscriber data, terminal all can will be stored in data storage server with user-dependent subscriber data, and terminal can send to data storage server the storage resource request of the subscriber data of storage original user name.
405, data storage server receives this storage resource request;
Corresponding, data storage server can receive the storage resource request of the subscriber data of the storage original user name that terminal sends.
406, data storage server is usingd original user name and is stored subscriber data as major key;
Data storage server is after the storage resource request of subscriber data that receives storage original user name, and the original user name of usining is stored subscriber data as major key.
Here conventionally by using original user name as the subscriber data of major key storage the data as storage, be stored in the storehouse in a private database or with other dedicated form storages.
407, data storage server is usingd the sign of original user name and is stored subscriber data as major key;
Meanwhile, data storage server is also usingd the sign of original user name and is stored subscriber data as major key.
Also, in data storage server, include < original user name, the sign of subscriber data > and < original user name, the storage data of subscriber data > simultaneously.
408, terminal sends the modification request that original user name is revised as to amended user name to user name server;
Some network applications allow user to revise the user name of oneself conventionally, and when user wants to revise the user name of oneself, terminal can send for original user name being revised as to the modification request of amended user name to Information Service device.
409, user name server receives this modification request;
Corresponding, Information Service device can receive for original user name being revised as to the modification request of amended user name.
410, user name server is stored as one group of corresponding relation by amended user name and the sign corresponding with original user name;
Here the sign of original user name said is identical with the sign of amended user name.
In general, user is after revising the user name of oneself, and its sign does not change.By way of example, when user need to revise original user name, terminal can send and include original user name, log-in password and amended user name to user name server, user name server is at definite this original user name and log-in password correct in the situation that, can directly original user name be repaiied and be replaced with amended user name, now corresponding relation be amended user name and the sign corresponding with original user name; Obviously, user name server is at definite this original user name and log-in password correct in the situation that, can original user name not repaiied and be replaced with amended user name yet, but directly generate one group of corresponding relation, in this corresponding relation, include amended user name and the sign corresponding with original user name.
Here it should be noted that, because user may repeatedly revise user name, therefore for each modification, the user name before by name modification of original user said here, after revising, this user name is amended user name.
411, the data that terminal includes amended user name to the transmission of data storage server is checked request;
When user is after being revised as amended user name by original user name; can use this amended user name; if user need to check the subscriber data of oneself; now; user can directly input amended user name to terminal conventionally, and terminal sends to data storage server the data include amended user name and checks request.
412, data storage server receives this data and checks request;
Corresponding, data storage server can receive the data that includes amended user name of terminal transmission and check request.
413, while there is not amended user name in the data of storage, data storage server sends the sign inquiry request that includes amended user name to user name server;
In the data of the storage said, include that to using user name known as the use 403 of major key as the subscriber data of major key and the sign of usining here, when user registers, in user name server, corresponding stored has the corresponding relation of original user name and sign, from step 410, when user changes user name, in user name server corresponding stored have revise after the corresponding relation of user name and the sign corresponding with original user name, while not there is not amended user name in the data of therefore storing in data storage server (such as being the database of special user's storage with the subscriber data of user's major key by name), in the data that show to store, also to using the subscriber data of amended user name as major key, now data storage server sends to user name server the sign inquiry request that includes amended user name.
414, user name server, according to the user name prestoring and the corresponding relation of sign, is searched the sign corresponding with amended user name;
In the data of the storage said here, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign.
Owing to storing the corresponding relation of original user name and sign in user name server, and store the corresponding relation of amended user name and the sign corresponding with original user name, therefore user name server can, according to the corresponding relation of the user name prestoring and sign, be searched the sign corresponding with amended user name.
415, user name server sends to data storage server by the sign inquiring;
416, data storage server receives this sign;
417, data storage server obtains to identify the subscriber data as major key from the data of storage;
418, data storage server copies this subscriber data and preserves using amended user name as major key;
After user name modification, other subscriber data does not change, or this user's subscriber data, therefore now the subscriber data that is designated major key with original user name can be copied to amended user name, be about to amended user name and copy this subscriber data and preserve as major key.
419, data storage server sends this subscriber data to terminal.
After data storage whois lookup arrives user's the corresponding subscriber data of sign, can send subscriber data to terminal, and because step 418 copies this subscriber data and preserves using amended user name as major key, therefore in use after this, with finding by amended user name the subscriber data of oneself per family in data storage server.Realized: after user name is revised, when user uses amended user name to search the subscriber data of oneself for the first time, data storage server can be automatically that amended user name is carried out to subscriber data is synchronous, do not need user oneself to carry out the migration operation of subscriber data data, make user's simplified control, and can guarantee that user is according to the subscriber data that finds oneself of amended username good.
In a possible implementation, refer to shown in Fig. 4 B, it data that provide in part embodiment of the present invention is provided and moves towards schematic diagram, in Fig. 4 B, original user first user name by name in terminal 102 input registrations, in user name server 106, corresponding stored has the corresponding relation 1 that includes first user name and be somebody's turn to do the sign 1 corresponding with this user name, corresponding, in data storage server 108, store to using this first user name as the subscriber data 1 of major key and using and identify 1 subscriber data 1 as major key, after first user name is revised as the second user name, corresponding, 106 corresponding stored of user name server include the corresponding relation 2 of the second user name and sign 1, when terminal 102 is according to the second user name during to data storage server 108 acquisition request subscriber data, data storage server 108 is searched less than usining the subscriber data of the second user name as major key, therefore data storage server 108 sends to user name server 106 the sign inquiry request that includes the second user name, user name server 106 is after getting this sign inquiry request, according to corresponding relation 2, determine that be designated corresponding with the second user name identifies 1, and sign 1 is fed back to data storage server 108, this data storage server 108 finds to identify 1 subscriber data 1 as major key, and as major key, copy this subscriber data 1 for usining the second user name, then can feed back to terminal 102 these subscriber datas 1.
In sum, the subscriber data sending method providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
Shown in Figure 5, structural representation of the subscriber data dispensing device providing in one embodiment of the invention is provided for it, and this subscriber data dispensing device can be applied in the data storage server 108 of implementation environment shown in Fig. 1.This subscriber data dispensing device can comprise: the first receiver module 502, identifier acquisition module 504, data acquisition module 506 and sending module 508.
The first receiver module 502, the data that includes amended user name that can send for receiving terminal is checked request;
Identifier acquisition module 504, can be in the data when storage while there is not amended user name, obtain the sign corresponding with amended user name, in the data of storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
Data acquisition module 506, can be for obtaining to identify the subscriber data as major key the data from storage;
Sending module 508, can be for sending subscriber data to terminal.
In sum, the subscriber data dispensing device providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
Shown in Figure 6, structural representation of the subscriber data dispensing device providing in another embodiment of the present invention is provided for it, and this subscriber data dispensing device can be applied in the data storage server 108 of implementation environment shown in Fig. 1.This subscriber data dispensing device can comprise: the first receiver module 602, identifier acquisition module 604, data acquisition module 606 and sending module 608.
The first receiver module 602, the data that includes amended user name that can send for receiving terminal is checked request;
Identifier acquisition module 604, can be in the data when storage while there is not amended user name, obtain the sign corresponding with amended user name, in the data of storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
Data acquisition module 606, can be for obtaining to identify the subscriber data as major key the data from storage;
Sending module 608, can be for sending subscriber data to terminal.
In the possible implementation of the first in the present embodiment, this subscriber data dispensing device can also comprise: replication module 610.
Replication module 610, can be for copying subscriber data and preserving using amended user name as major key.
In the possible implementation of the second in the present embodiment, this subscriber data dispensing device can also comprise: the second receiver module 612, the first memory module 614 and the second memory module 616.
The second receiver module 612, can be for receiving the storage resource request of the subscriber data of storage original user name;
The first memory module 614, can store subscriber data as major key for usining original user name;
The second memory module 616, can store subscriber data as major key for usining the sign of original user name, and the sign of original user name is identical with the sign of amended user name.
In the third possible implementation in the present embodiment, identifier acquisition module 604 can also be for:
According to the corresponding relation of the user name prestoring and sign, search the sign corresponding with amended user name.
In the 4th kind of possible implementation in the present embodiment, this subscriber data dispensing device can also comprise: the 3rd receiver module 618, the 3rd memory module 620, the 4th receiver module 622 and the 4th memory module 624.
The 3rd receiver module 618, can be for receiving the registration request include original user name and the sign corresponding with original user name;
The 3rd memory module 620, can be stored as one group of corresponding relation for original user name and the sign that the 3rd receiver module 618 is received;
The 4th receiver module 622, can be for receiving for original user name being revised as to the modification request of amended user name;
The 4th memory module 624, can be for being stored as one group of corresponding relation by amended user name and the sign corresponding with original user name.
In sum, the subscriber data dispensing device providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
It should be noted that: the subscriber data dispensing device providing in above-described embodiment is when sending subscriber data, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to data storage server is divided into different functional modules, to complete all or part of function described above.In addition, the subscriber data dispensing device that above-described embodiment provides and subscriber data sending method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Shown in Figure 7, block diagram of the data storage server providing in part embodiment of the present invention is provided for it.The sorter update method that this server 700 provides for implementing above-described embodiment.Described server 700 comprises CPU (central processing unit) (CPU) 701, comprises the system storage 704 of random-access memory (ram) 702 and ROM (read-only memory) (ROM) 703, and the system bus 705 of connected system storer 704 and CPU (central processing unit) 701.Described server 700 also comprises the basic input/output (I/O system) 706 of transmission information between each device helping in computing machine, and for the mass-memory unit 707 of storage operation system 713, application program 714 and other program modules 715.
Described basic input/output 706 includes for showing the display 708 of information and for the input equipment such as mouse, keyboard 709 of user's input information.Wherein said display 708 and input equipment 709 are all connected to CPU (central processing unit) 701 by being connected to the i/o controller 710 of system bus 705.Described basic input/output 706 can also comprise that input/output control unit 710 is for receiving and process the input from a plurality of other equipment such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 710 also provides the output device that outputs to display screen, printer or other types.
Described mass-memory unit 707 is connected to CPU (central processing unit) 701 by being connected to the bulk memory controller (not shown) of system bus 705.Described mass-memory unit 707 and the computer-readable medium that is associated thereof provide non-volatile memories for server 700.That is to say, described mass-memory unit 707 can comprise the computer-readable medium (not shown) such as hard disk or CD-ROM drive.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises volatibility and non-volatile, the removable and irremovable medium for any method of information such as computer-readable instruction, data structure, program module or other data of storage or technology realization.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 704 and mass-memory unit 707 can be referred to as storer.
According to various embodiment of the present disclosure, server 700 can also move by the remote computer being connected on network such as networks such as the Internets.Also be that server 700 can be connected to network 712 by the network interface unit 711 being connected on system bus 705, in other words, also can be connected to by network interface unit 711 network or the remote computer system (not shown) of other types.
Storer also comprises one or more than one program, and more than one or one program is stored in storer, and is configured to by one or above CPU (central processing unit) 701 execution.Above-mentioned one or more CPU (central processing unit) 701 has following function:
The data that includes amended user name that receiving terminal sends is checked request;
While there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, in the data of storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
From the data of storage, obtain to identify the subscriber data as major key;
To terminal, send subscriber data.
In the possible implementation of the first in the present embodiment, obtain to identify the subscriber data as major key the data from storage after, above-mentioned one or more CPU (central processing unit) 701 also has following function:
Using amended user name as major key, copy subscriber data and preserve.
In the possible implementation of the second in the present embodiment, before the data that includes amended user name sending at receiving terminal is checked request, above-mentioned one or more CPU (central processing unit) 701 also has following function:
Receive the storage resource request of the subscriber data of storage original user name;
The original user name of usining is stored subscriber data as major key;
The sign of original user name of usining is stored subscriber data as major key, and the sign of original user name is identical with the sign of amended user name.
In the third possible implementation in the present embodiment, obtain the sign corresponding with amended user name, comprising:
According to the corresponding relation of the user name prestoring and sign, search the sign corresponding with amended user name.
In the 4th kind of possible implementation in the present embodiment, the sign prestoring in basis and the corresponding relation of user name, before searching the sign corresponding with amended user name, above-mentioned one or more CPU (central processing unit) 701 also has following function:
Reception includes the registration request of original user name and the sign corresponding with original user name;
Original user name and sign are stored as to one group of corresponding relation;
Receive for original user name being revised as to the modification request of amended user name;
Amended user name and the sign corresponding with original user name are stored as to one group of corresponding relation.
In sum, the data storage server providing in the embodiment of the present invention, the data that includes amended user name sending by receiving terminal is checked request, while there is not amended user name in the data of storage, obtain the sign corresponding with amended user name, from the data of storage, obtain and using this sign as the subscriber data of major key, to described terminal, send described subscriber data; Solved in prior art after user revises user name, must first manually carry out the operation of subscriber data migration, could find subscriber data according to new user name, therefore this technology has caused the problem of inconvenience to the management and using of subscriber data; After original user name is revised as amended user name, for the first time when obtaining subscriber data by this amended user name, can automatically by the sign corresponding with this amended user name, as major key, remove to search subscriber data, and subscriber data is fed back to terminal, after original user name is modified, even when there is no synchronous data storage server, also can be correct to terminal feedback subscriber data, thereby reached the effect that can easily subscriber data be managed and be used.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a subscriber data sending method, is characterized in that, described method comprises:
The data that includes amended user name that receiving terminal sends is checked request;
While there is not described amended user name in the data of storage, obtain the sign corresponding with described amended user name, in the data of described storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
From the data of described storage, obtain and using the subscriber data of described sign as major key;
To described terminal, send described subscriber data.
2. method according to claim 1, is characterized in that, described obtaining from the data of described storage, usings after the subscriber data of described sign as major key, also comprises:
Using described amended user name as major key, copy described subscriber data and preserve.
3. method according to claim 2, is characterized in that, the data that includes amended user name sending at described receiving terminal also comprises before checking request:
Receive the storage resource request of the subscriber data of storage original user name;
The described original user name of usining is stored described subscriber data as major key;
The sign of described original user name of usining is stored described subscriber data as major key, and the sign of described original user name is identical with the sign of described amended user name.
4. according to arbitrary described method in claims 1 to 3, it is characterized in that, described in obtain the sign corresponding with described amended user name, comprising:
According to the corresponding relation of the user name prestoring and sign, search the sign corresponding with described amended user name.
5. method according to claim 4, is characterized in that, the sign prestoring in described basis and the corresponding relation of user name, before searching the sign corresponding with described amended user name, also comprise:
Reception includes the registration request of original user name and the sign corresponding with described original user name;
Described original user name and described sign are stored as to one group of corresponding relation;
Receive for described original user name being revised as to the modification request of amended user name;
Described amended user name and the described sign corresponding with described original user name are stored as to one group of corresponding relation.
6. a subscriber data dispensing device, is applied to, in subscriber data change system, it is characterized in that, described device comprises:
The first receiver module, the data that includes amended user name sending for receiving terminal is checked request;
Identifier acquisition module, while there is not described amended user name for the data when storage, obtain the sign corresponding with described amended user name, in the data of described storage, include and using user name as the subscriber data of major key and using sign as the subscriber data of major key, each user name is all corresponding to a sign;
Data acquisition module, usings the subscriber data of described sign as major key for obtaining from the data of described storage;
Sending module, for sending described subscriber data to described terminal.
7. device according to claim 6, is characterized in that, described device also comprises:
Replication module, for copying described subscriber data and preserving using described amended user name as major key.
8. device according to claim 7, is characterized in that, described device also comprises:
The second receiver module, for receiving the storage resource request of the subscriber data of storage original user name;
The first memory module, stores described subscriber data for usining described original user name as major key;
The second memory module, stores described subscriber data for usining the sign of described original user name as major key, and the sign of described original user name is identical with the sign of described amended user name.
9. according to arbitrary described device in claim 6 to 8, it is characterized in that, described identifier acquisition module also for:
According to the corresponding relation of the user name prestoring and sign, search the sign corresponding with described amended user name.
10. device according to claim 9, is characterized in that, described device also comprises:
The 3rd receiver module, for receiving the registration request that includes original user name and the sign corresponding with described original user name;
The 3rd memory module, is stored as one group of corresponding relation for described original user name and the described sign that described the 3rd receiver module is received;
The 4th receiver module, for receiving for described original user name being revised as to the modification request of amended user name;
The 4th memory module, for being stored as one group of corresponding relation by described amended user name and the described sign corresponding with described original user name.
CN201310661685.XA 2013-12-09 2013-12-09 Subscriber data sending method and device Active CN103678242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310661685.XA CN103678242B (en) 2013-12-09 2013-12-09 Subscriber data sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310661685.XA CN103678242B (en) 2013-12-09 2013-12-09 Subscriber data sending method and device

Publications (2)

Publication Number Publication Date
CN103678242A true CN103678242A (en) 2014-03-26
CN103678242B CN103678242B (en) 2017-07-21

Family

ID=50315858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310661685.XA Active CN103678242B (en) 2013-12-09 2013-12-09 Subscriber data sending method and device

Country Status (1)

Country Link
CN (1) CN103678242B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1141091A (en) * 1994-02-16 1997-01-22 英国电讯有限公司 A method and apparatus for controlling access to a database
CN1265495A (en) * 1998-12-23 2000-09-06 电脑相关想象公司 Method and device for enabling accession of automatic acknowledge service unit for foreign country system
CN1917711A (en) * 2006-08-29 2007-02-21 中国移动通信集团公司 Method for processing information of user's ID
CN101387961A (en) * 2008-10-31 2009-03-18 金蝶软件(中国)有限公司 Method and system for regulating mapping relationship in system integration
CN101387960A (en) * 2008-10-31 2009-03-18 金蝶软件(中国)有限公司 Method and system for establishing or updating user login information in system integration
CN101707597A (en) * 2009-10-30 2010-05-12 中兴通讯股份有限公司 Method, server and terminal for processing user information
US20100325556A1 (en) * 2009-06-19 2010-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and device for modifying a personal data repository in a network
CN102331993A (en) * 2011-06-23 2012-01-25 北京新媒传信科技有限公司 Data migration method of distributed database and distributed database migration system
CN102461121A (en) * 2009-06-11 2012-05-16 瑞典爱立信有限公司 User data convergence (udc) notification management
CN102541952A (en) * 2010-12-29 2012-07-04 北大方正集团有限公司 Method and device for acquiring history data on basis of database
CN103353887A (en) * 2013-06-28 2013-10-16 贵阳朗玛信息技术股份有限公司 Method and device for searching user data
CN103414732A (en) * 2013-09-02 2013-11-27 用友软件股份有限公司 Application integration device and application integration processing method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1141091A (en) * 1994-02-16 1997-01-22 英国电讯有限公司 A method and apparatus for controlling access to a database
CN1265495A (en) * 1998-12-23 2000-09-06 电脑相关想象公司 Method and device for enabling accession of automatic acknowledge service unit for foreign country system
CN1917711A (en) * 2006-08-29 2007-02-21 中国移动通信集团公司 Method for processing information of user's ID
CN101387961A (en) * 2008-10-31 2009-03-18 金蝶软件(中国)有限公司 Method and system for regulating mapping relationship in system integration
CN101387960A (en) * 2008-10-31 2009-03-18 金蝶软件(中国)有限公司 Method and system for establishing or updating user login information in system integration
CN102461121A (en) * 2009-06-11 2012-05-16 瑞典爱立信有限公司 User data convergence (udc) notification management
US20100325556A1 (en) * 2009-06-19 2010-12-23 Telefonaktiebolaget Lm Ericsson (Publ) Method and device for modifying a personal data repository in a network
CN101707597A (en) * 2009-10-30 2010-05-12 中兴通讯股份有限公司 Method, server and terminal for processing user information
CN102541952A (en) * 2010-12-29 2012-07-04 北大方正集团有限公司 Method and device for acquiring history data on basis of database
CN102331993A (en) * 2011-06-23 2012-01-25 北京新媒传信科技有限公司 Data migration method of distributed database and distributed database migration system
CN103353887A (en) * 2013-06-28 2013-10-16 贵阳朗玛信息技术股份有限公司 Method and device for searching user data
CN103414732A (en) * 2013-09-02 2013-11-27 用友软件股份有限公司 Application integration device and application integration processing method

Also Published As

Publication number Publication date
CN103678242B (en) 2017-07-21

Similar Documents

Publication Publication Date Title
US9654577B2 (en) Techniques to generate mass push notifications
US9559992B2 (en) System and method for updating information in an instant messaging application
US20190370096A1 (en) Distributed Processing in a Messaging Platform
US10129264B2 (en) Method and apparatus for implementing document sharing between user groups
CN104572278B (en) The method, device and equipment of light application calling local side ability
RU2701124C2 (en) Composite functions of partition
US10380551B2 (en) Mixed collaboration teams
US20140365523A1 (en) Push subscriptions
US20130283267A1 (en) Virtual machine construction
US9930063B2 (en) Random identifier generation for offline database
CN112036125B (en) Document management method and device and computer equipment
US20150326620A1 (en) Media presentation in a virtual shared space
EP3497586A1 (en) Discovery of calling application for control of file hydration behavior
US10078663B2 (en) Dual overlay query processing
US10929412B2 (en) Sharing content based on extracted topics
KR101614890B1 (en) Method of creating multi tenancy history, server performing the same and storage media storing the same
CN103365892A (en) Method and device for processing multiple contact objects
CN109213955B (en) Data processing method and related equipment
CN103678242A (en) User data sending method and device
CN111078736A (en) Data aggregation processing method and device, terminal and storage medium
US20180007130A1 (en) Peer-to-Peer Assisted Personal Synchronization
US11138189B2 (en) Method for managing contents and cloud server for executing the same
US10769586B2 (en) Implementation of rolling key to identify systems inventories
CN104951449A (en) Data processing method and device
CN104516659A (en) Information processing method and device

Legal Events

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