CN104767672A - Account relation establishing method and device - Google Patents

Account relation establishing method and device Download PDF

Info

Publication number
CN104767672A
CN104767672A CN201410009644.7A CN201410009644A CN104767672A CN 104767672 A CN104767672 A CN 104767672A CN 201410009644 A CN201410009644 A CN 201410009644A CN 104767672 A CN104767672 A CN 104767672A
Authority
CN
China
Prior art keywords
intercommunion platform
message
log
platform log
intercommunion
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.)
Pending
Application number
CN201410009644.7A
Other languages
Chinese (zh)
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.)
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN201410009644.7A priority Critical patent/CN104767672A/en
Publication of CN104767672A publication Critical patent/CN104767672A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a mapping relation establishing method and device, belonging to the field of computer technology. The method comprises that communication platform log-in information is successively selected from a pre-stored communication platform log-in information set; the selected communication platform log-in information is sent to a communication platform server; after an authority value, corresponding to the selected communication platform log-in information, returned by the communication platform server is received, a mapping relation between the selected communication platform log-in information and a selected communication platform subscriber identity is established. Thus, the mapping relation between the communication platform log-in information and the communication platform subscriber identity can be automatically instead of manually established, and the efficiency is greatly improved.

Description

A kind of account relation establishing method and equipment
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of account relation establishing method and equipment.
Background technology
Along with the development of Internet technology, interpersonal interchange becomes more timely, frequent.Microblogging application, as a kind of popular intercommunion platform, is changing the interchange custom of people, and microblog users can be found friend, be shared idea by microblogging application.Therefore, statistical analysis can be carried out to the idea of people, interest and hobby by the collection of the information issued microblog users.
In microblogging application, if obtain the information that microblog users is issued, need to add the account of this microblog users to pay close attention to, but, manual mode can only be adopted in prior art to add the account of microblog users pay close attention to, efficiency is low, if needing to add the account of thousands of microblog users pays close attention to, will consume a large amount of man power and materials.
Summary of the invention
Embodiments provide a kind of account relation establishing method and equipment, in order to solve the employing manual mode existed in prior art, the inefficient problem of concern is added to the account of microblog users.
A kind of mapping relations method for building up, described method comprises:
From the intercommunion platform log-on message set prestored, select intercommunion platform log-on message successively; After selection intercommunion platform log-on message, send the intercommunion platform log-on message of described selection to intercommunion platform server; After the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to the intercommunion platform log-on message of described authority credentials, described selection and an intercommunion platform user ID selecting from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.
Employing such scheme can set up the mapping relations between intercommunion platform log-on message and intercommunion platform user ID automatically, and does not need user manually to set up, and substantially increases efficiency.
Particularly, from the intercommunion platform log-on message set prestored, select intercommunion platform log-on message successively, specifically comprise: after setting up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message; Or, when the quantity of the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message and the set of described intercommunion platform user ID of the described selection of setting up reaches predetermined number threshold value, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message.
So, after mapping relations can being set up between an intercommunion platform log-on message and an intercommunion platform user ID, mapping relations are set up by between another intercommunion platform log-on message and another intercommunion platform user ID; Or when the quantity of the mapping relations set up between an intercommunion platform log-on message and intercommunion platform user ID reaches predetermined number threshold value, set up mapping relations by between another intercommunion platform log-on message and other intercommunion platform user ID.
Particularly, described amount threshold is obtained by following manner: send to described intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of described selection and set up request; The mapping relations receiving amount threshold corresponding to the intercommunion platform log-on message comprising described selection that described intercommunion platform server returns set up response.
So, the quantity of the amount threshold that can return according to intercommunion platform server to the mapping relations set up between the intercommunion platform log-on message selected and intercommunion platform user ID controls.
Particularly, the set of described intercommunion platform log-on message is determined according to following manner: send the registration request comprising described intercommunion platform log-on message to described intercommunion platform server; After receiving the response of succeeding in registration that described intercommunion platform server returns, described intercommunion platform log-on message is stored in the set of described intercommunion platform log-on message.
So, can guarantee that the intercommunion platform log-on message in the set of intercommunion platform log-on message is successful at intercommunion platform server registration.
Particularly, described intercommunion platform log-on message is email address or phone number.
So, suitable intercommunion platform log-on message can be selected according to the requirement of intercommunion platform server to intercommunion platform log-on message.
Described intercommunion platform log-on message is email address, before comprising the registration request of described intercommunion platform log-on message to described intercommunion platform server transmission, described method also comprises: according to the mailbox user name create-rule pre-set, and generates mailbox user name; The registration request comprising described mailbox user name is sent to mailbox server; After receiving the response of succeeding in registration that described mailbox server returns, determine that described intercommunion platform log-on message is the email address of described mailbox user name correspondence.
So, the email address of the mailbox user name correspondence succeeded in registration can be sent registration request as intercommunion platform log-on message to intercommunion platform server, and intercommunion platform log-on message need not be regenerated.
Described intercommunion platform log-on message is described email address, after receiving the response of succeeding in registration that described intercommunion platform server returns, before described intercommunion platform log-on message being stored in the set of described intercommunion platform log-on message, described method also comprises: according to described intercommunion platform log-on message, obtains the activation link that described intercommunion platform log-on message is corresponding from described mailbox server; Activation request is sent to described intercommunion platform server according to described activation link.
So, in intercommunion platform log-on message after the success of intercommunion platform server registration, directly can obtain the activation link that intercommunion platform log-on message is corresponding from mailbox server, thus realize the activation to intercommunion platform log-on message.
A kind of mapping relations apparatus for establishing, described equipment comprises: select module, for from the intercommunion platform log-on message set prestored, selects intercommunion platform log-on message successively, mapping relations set up module, for after described selection model choice intercommunion platform log-on message, the intercommunion platform log-on message of described selection is sent to intercommunion platform server, and after the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to described authority credentials, the intercommunion platform log-on message of described selection and the intercommunion platform user ID selected from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.
Adopt this equipment automatically can set up mapping relations between intercommunion platform log-on message and intercommunion platform user ID, and do not need user manually to set up, substantially increase efficiency.
Described selection module specifically for: after described mapping relations set up the mapping relations that module sets up between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message; Or, when the quantity setting up the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message of described selection and the set of described intercommunion platform user ID that module sets up in described mapping relations reaches predetermined number threshold value, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message.
So, after mapping relations can being set up between an intercommunion platform log-on message and an intercommunion platform user ID, mapping relations are set up by between another intercommunion platform log-on message and another intercommunion platform user ID; Or when the quantity of the mapping relations set up between an intercommunion platform log-on message and intercommunion platform user ID reaches predetermined number threshold value, set up mapping relations by between another intercommunion platform log-on message and other intercommunion platform user ID.
Described selection module is also for determining described amount threshold by following manner: send to described intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of described selection and set up request, and receive the mapping relations that described intercommunion platform server returns and set up response, wherein, the amount threshold that the intercommunion platform log-on message of described selection is corresponding is comprised in described mapping relations foundation response.
So, the quantity of the amount threshold that can return according to intercommunion platform server to the mapping relations set up between the intercommunion platform log-on message selected and intercommunion platform user ID controls.
Described equipment also comprises: determination module, for sending the registration request comprising described intercommunion platform log-on message to described intercommunion platform server, and after receiving the response of succeeding in registration that described intercommunion platform server returns, described intercommunion platform log-on message is stored in the set of described intercommunion platform log-on message.
So, can guarantee that the intercommunion platform log-on message in the set of intercommunion platform log-on message is successful at intercommunion platform server registration.
Described intercommunion platform log-on message is email address or phone number.
So, suitable intercommunion platform log-on message can be selected according to the requirement of intercommunion platform server to intercommunion platform log-on message.
Described intercommunion platform log-on message is email address; Described determination module also for: before sending to described intercommunion platform server and comprising the registration request of described intercommunion platform log-on message, according to the mailbox user name create-rule pre-set, generate mailbox user name; The registration request comprising described mailbox user name is sent to mailbox server; After receiving the response of succeeding in registration that described mailbox server returns, determine that described intercommunion platform log-on message is the email address of described mailbox user name correspondence.
So, the email address of the mailbox user name correspondence succeeded in registration can be sent registration request as intercommunion platform log-on message to intercommunion platform server, and intercommunion platform log-on message need not be regenerated.
Described intercommunion platform log-on message is described email address; Described determination module also for: after receiving the response of succeeding in registration that described intercommunion platform server returns, before described intercommunion platform log-on message being stored in the set of described intercommunion platform log-on message, according to described intercommunion platform log-on message, from described mailbox server, obtain the activation link that described intercommunion platform log-on message is corresponding, and send activation request according to described activation link to described intercommunion platform server.
So, in intercommunion platform log-on message after the success of intercommunion platform server registration, directly can obtain the activation link that intercommunion platform log-on message is corresponding from mailbox server, thus realize the activation to intercommunion platform log-on message.
Accompanying drawing explanation
Fig. 1 is the step schematic diagram of mapping relations method for building up in the embodiment of the present invention one;
Fig. 2 is the embody rule flow chart of mapping relations method for building up in embodiment of the present invention scheme;
Fig. 3 is the flow chart registering email address in embodiment of the present invention scheme;
Fig. 4 is the flow chart registering microblog account in embodiment of the present invention scheme;
Fig. 5 is the flow chart setting up the mapping relations between the microblog account of selection and the microblogging ID of selection in embodiment of the present invention scheme;
Fig. 6 is the structural representation of mapping relations apparatus for establishing in the embodiment of the present invention two;
Fig. 7 is the structural representation of mapping relations apparatus for establishing in embodiment of the present invention scheme.
Embodiment
The scheme of the embodiment of the present invention, from the intercommunion platform log-on message set prestored, selects intercommunion platform log-on message successively; After selection intercommunion platform log-on message, send the intercommunion platform log-on message of described selection to intercommunion platform server; After the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to the intercommunion platform log-on message of described authority credentials, described selection and an intercommunion platform user ID selecting from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.The employing program can set up the mapping relations between intercommunion platform log-on message and intercommunion platform user ID automatically, and does not need user manually to set up, and substantially increases efficiency.
It should be noted that, the intercommunion platform server in embodiment of the present invention scheme can be micro blog server or micro-telecommunications services device.
Below in conjunction with Figure of description, embodiments of the present invention is further illustrated, but the present invention is not limited to the following examples.
As shown in Figure 1, be the step schematic diagram of mapping relations method for building up in the embodiment of the present invention one, described method mainly comprises the following steps:
Step 101: from the intercommunion platform log-on message set prestored, selects intercommunion platform log-on message successively;
Step 102: after selection intercommunion platform log-on message, sends the intercommunion platform log-on message selected to intercommunion platform server;
Step 103: after the authority credentials that the intercommunion platform log-on message receiving the selection that intercommunion platform server returns is corresponding, according to the intercommunion platform log-on message of authority credentials, selection and an intercommunion platform user ID selecting from the intercommunion platform user ID set prestored, the interface that access intercommunion platform server provides, sets up the mapping relations between intercommunion platform log-on message and the intercommunion platform user ID of selection selected.
Step 101 can comprise following two kinds of implementations:
Mode one: after setting up the mapping relations between intercommunion platform log-on message and the intercommunion platform user ID of selection selected, select next intercommunion platform log-on message from the set of intercommunion platform log-on message.If what select is last intercommunion platform log-on message in the set of intercommunion platform log-on message, then restart to select from first intercommunion platform log-on message the set of intercommunion platform log-on message, until the quantity of mapping relations between intercommunion platform user ID in the intercommunion platform log-on message selected and the set of intercommunion platform user ID reaches predetermined number threshold value.
Such as, suppose to comprise intercommunion platform log-on message 1 in the intercommunion platform log-on message set prestored, intercommunion platform log-on message 2 and intercommunion platform log-on message 3, intercommunion platform user ID 1 is comprised in the intercommunion platform user ID set prestored, intercommunion platform user ID 2 ... intercommunion platform user ID 10, predetermined number threshold value is 2, then after intercommunion platform log-on message 1 and intercommunion platform user ID 1 set up mapping relations, from the set of intercommunion platform log-on message, select intercommunion platform log-on message 2 and intercommunion platform user ID 2 to set up mapping relations, from the set of intercommunion platform log-on message, select intercommunion platform log-on message 3 and intercommunion platform user ID 3 to set up mapping relations afterwards again.
If intercommunion platform log-on message 3 is last the intercommunion platform log-on message in the set of intercommunion platform log-on message, then from the set of intercommunion platform log-on message, intercommunion platform log-on message 1 and intercommunion platform user ID 4 is selected next time to set up mapping relations.Because intercommunion platform log-on message 1 establishes mapping relations with intercommunion platform user ID 1 and intercommunion platform user ID 4 respectively, the quantity establishing the intercommunion platform user ID of mapping relations with intercommunion platform log-on message 1 reaches predetermined number threshold value, then no longer select intercommunion platform log-on message 1 after.
Mode two: when the quantity of the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message and the set of intercommunion platform user ID of the selection of setting up reaches predetermined number threshold value, select next intercommunion platform log-on message from the set of intercommunion platform log-on message.
Such as, suppose to comprise intercommunion platform log-on message 1 in the intercommunion platform log-on message set prestored, intercommunion platform log-on message 2 and intercommunion platform log-on message 3, intercommunion platform user ID 1 is comprised in the intercommunion platform user ID set prestored, intercommunion platform user ID 2 ... intercommunion platform user ID 10, predetermined number threshold value is 2, then after intercommunion platform log-on message 1 sets up mapping relations with intercommunion platform user ID 1 and intercommunion platform user ID 2 respectively, from the set of intercommunion platform log-on message, select intercommunion platform log-on message 2 to set up mapping relations with intercommunion platform user ID 3 and intercommunion platform user ID 4 respectively, from the set of intercommunion platform log-on message, select intercommunion platform log-on message 3 to set up mapping relations with intercommunion platform user ID 5 and intercommunion platform user ID 6 respectively afterwards again.
In step 102, the intercommunion platform log-on message of selection can be carried in the logging request sending to intercommunion platform server, and wherein, this logging request can be HTML (Hypertext Markup Language) (HTTP, HypertextTransfer Protocol) request.
In step 103, the authority credentials that the intercommunion platform log-on message of the selection that intercommunion platform server returns is corresponding can be carried in login response, and wherein, this login response can be http response.If intercommunion platform server is micro blog server, then described authority credentials is Token value.The intercommunion platform user ID comprised in the intercommunion platform user ID set prestored is by intercommunion platform server authentication, and its quantity can be far longer than the quantity of the intercommunion platform log-on message comprised in the set of intercommunion platform log-on message in embodiment of the present invention scheme.
For the intercommunion platform log-on message that is selected, after receiving authority credentials corresponding to this intercommunion platform log-on message that intercommunion platform server returns, can according to this authority credentials, this intercommunion platform log-on message and the intercommunion platform user ID selected from the set of above-mentioned intercommunion platform user ID, the interface that access intercommunion platform server provides, sets up the mapping relations between this intercommunion platform log-on message and intercommunion platform user ID of selection.Wherein, if the interface needing access intercommunion platform server to provide, the authority credentials that intercommunion platform server returns must be possessed.
It should be noted that, the authority credentials that intercommunion platform server returns is corresponding with intercommunion platform log-on message, the authority credentials that different intercommunion platform log-on message meetings is corresponding different, further, above-mentioned authority credentials can only in preset time period effectively, if exceed above-mentioned preset time period, need again corresponding to the intercommunion platform log-on message of intercommunion platform server application selection authority credentials.
Further, because intercommunion platform server is to the limited amount system setting up mapping relations between intercommunion platform log-on message and intercommunion platform user ID, therefore, after the authority credentials that the intercommunion platform log-on message obtaining selection is corresponding, also need to obtain this intercommunion platform log-on message can set up the amount threshold of mapping relations with intercommunion platform user ID.
Particularly, above-mentioned amount threshold is obtained by following manner:
Send to intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of selection and set up request, and the mapping relations receiving amount threshold corresponding to the intercommunion platform log-on message comprising selection that intercommunion platform server returns set up response.Wherein, this amount threshold can for this intercommunion platform log-on message same day can set up the maximum of the quantity of mapping relations with intercommunion platform user ID, also can in current hour of this intercommunion platform log-on message can set up the maximum of the quantity of mapping relations with intercommunion platform user ID, also can for this intercommunion platform log-on message altogether can set up the maximum of the quantity of mapping relations with intercommunion platform user ID.
The intercommunion platform log-on message set of embodiment of the present invention scheme can be determined according to following manner:
Send to intercommunion platform server and comprise the registration request of intercommunion platform log-on message, and after receiving the response of succeeding in registration that intercommunion platform server returns, intercommunion platform log-on message is stored in the set of intercommunion platform log-on message.
The intercommunion platform log-on message of embodiment of the present invention scheme can be email address or phone number.Particularly, if intercommunion platform log-on message is email address, then can before comprising the registration request of intercommunion platform log-on message to the transmission of intercommunion platform server, first register email address, and utilize the email address succeeded in registration to send registration request as intercommunion platform log-on message to intercommunion platform server.Wherein, the specific implementation registering email address can be as:
Step one: according to the mailbox user name create-rule pre-set, generates mailbox user name;
Step 2: send the registration request comprising mailbox user name to mailbox server;
Step 3: after receiving the response of succeeding in registration that mailbox server returns, determine that intercommunion platform log-on message is the email address of mailbox user name correspondence.
In step, mailbox user name create-rule can be Stochastic choice word (comprising English word or the Chinese phonetic alphabet) stochastic generation 8 bit digital from the dictionary prestored, as mailbox user name, such as, the form of mailbox user name can be word _ 8 bit digital (as jenny_20130101).And password can be acquiescence, the password of different user names can be identical.
In step 2, registration request can be HTTP request, wherein, before sending registration request to mailbox server, first can verify whether the mailbox user name of generation can be used, and its specific implementation process can be:
Mailbox user name step one generated sends to mailbox server, mailbox server is after receiving mailbox user name, can judge whether this mailbox user name exists, if existed (namely this mailbox user name is conflicted with the mailbox user name registered before), then return user name and there is message; If there is no (namely this mailbox user name is not conflicted with the mailbox user name registered before), then return user name and can use message.
If receive the user name that mailbox server returns there is message, then go to step a continuation and generate new mailbox user name, until receive the user name that mailbox server returns can use message, and mailbox user name can be used to carry send to mailbox server in the registration request.In addition, in registration request except comprising mailbox user name, out of Memory (as authorization information) can also be comprised.
In step 3, after receiving the response of succeeding in registration that mailbox server returns, can determine that the mailbox user name comprised in above-mentioned registration request succeeds in registration in mailbox server, therefore, can using the email address of this mailbox user name correspondence as intercommunion platform log-on message.Such as, suppose that the domain name of above-mentioned mailbox server is 163.com, the above-mentioned mailbox user succeeded in registration in mailbox server is called jenny_20130101, then can determine that intercommunion platform log-on message is jenny_20130101@163.com.
Further, if above-mentioned intercommunion platform log-on message is the email address of the mailbox user name correspondence succeeded in registration, then after receiving the response of succeeding in registration that intercommunion platform server returns, before intercommunion platform log-on message being stored in the set of intercommunion platform log-on message, can according to intercommunion platform log-on message, the activation link that this intercommunion platform log-on message is corresponding is obtained from mailbox server, and send activation request, to realize the activation to intercommunion platform log-on message according to above-mentioned activation link to intercommunion platform server.
Below for intercommunion platform server be micro blog server, intercommunion platform log-on message is microblog account, intercommunion platform user ID is described for microblogging ID.
As shown in Figure 2, in embodiment of the present invention scheme, the embody rule flow process of mapping relations method for building up comprises the following steps:
Step 201: registration email address, and the email address succeeded in registration is stored in email address list.
Step 202: select an email address from email address list, the email address of selection is carried out the registration of microblogging as microblog account, activates successful microblog account be stored in registration in microblog account list.
Step 203: select a microblog account from microblog account list, sets up the mapping relations between microblog account and the microblogging ID of selection selected.
In step 201, the flow chart of registration email address as shown in Figure 3, comprises the following steps:
Step 301: the download request sending mailbox registration page content to mailbox server, this download request is HTTP request.
Step 302: the mailbox registration page content returned according to mailbox server, generates the URL(uniform resource locator) (URL, Uniform Resource Locator) downloading identifying code picture.
Wherein, text message can only be comprised in the mailbox registration page content that mailbox server returns, pictorial information can not be comprised, therefore, in order to obtain identifying code picture, the IP address of the server that identifying code picture is provided, port numbers and URL parameter information need be extracted from mailbox registration page content, and generate URL according to the information extracted.In order to ensure the consistency of session, in the mailbox registration page content that mailbox server returns, also Cookies information can be comprised.
Step 303: use the URL generated to obtain identifying code picture, and identifying code picture is shown to user, so that the manual input validation code of user.
Step 304: the identifying code receiving user's input, and store.
Step 305: generate mailbox user name according to the mailbox user name create-rule pre-set, and send to mailbox server.
Wherein, mailbox user name create-rule can be Stochastic choice word (comprising English word or the Chinese phonetic alphabet) stochastic generation 8 bit digital from the dictionary prestored, as mailbox user name, such as, the form of mailbox user name can be word _ 8 bit digital (as jenny_20130101).And password can be acquiescence, the password of different user names can be identical.
Step 306: judge whether to receive the user name that mailbox server returns and can use message, if so, then go to step 307; If not, then 305 are gone to step.
Mailbox server, after receiving mailbox user name, can judge whether this mailbox user name exists, if existed (namely this mailbox user name is conflicted with the mailbox user name registered before), then returns user name and there is message; If there is no (namely this mailbox user name is not conflicted with the mailbox user name registered before), then return user name and can use message.
Step 307: send registration request to mailbox server, comprises the identifying code that operable mailbox user name, password and user input in this registration request.
Step 308: judge whether to receive the response of succeeding in registration that mailbox server returns, if so, then go to step 309; If not, then go to step 301, restart email address registration process.
Step 309: determine that mailbox user name succeeds in registration, is stored in email address list by the email address of the mailbox user name correspondence succeeded in registration, and wherein this email address list can exist with the form of text.
Further, after successful registration email address, renewable proxy server, utilize the IP address of proxy server to send HTTP request to mailbox server and register new email address, to avoid the number of times of same IP address access mailboxes server too much, mailbox server is caused not allow access.
In step 202, the flow chart of registration microblog account as shown in Figure 4, comprises the following steps:
Step 401: the download request sending microblogging registration page content to micro blog server, this download request is HTTP request.
Step 402: the microblogging registration page content returned according to micro blog server, generates the URL downloading identifying code picture.
Wherein, text message can only be comprised in the microblogging registration page content that micro blog server returns, pictorial information can not be comprised, therefore, in order to obtain identifying code picture, the IP address of the server that identifying code picture is provided, port numbers and URL parameter information need be extracted from microblogging registration page content, and generate URL according to the information extracted.In order to ensure the consistency of session, in the mailbox registration page content that micro blog server returns, also Cookies information can be comprised.
Step 403: use the URL generated to obtain identifying code picture, and identifying code picture is shown to user, so that the manual input validation code of user.
Step 404: the identifying code receiving user's input, and store.
Step 405: to micro blog server send registration request, wherein, comprise in this registration request succeed in registration email address, password, the pet name, phone number and user input identifying code.Wherein, the pet name and phone number can be stored in advance in text.
Because phone number can only receive at most three identifying codes, therefore, record can be carried out to the number of times of the phone number comprised in the registration request sent, if a phone number arrives the upper limit used the same day, then the phone number that selection one is new from the phone number list prestored carries out microblogging registration.
Step 406: judge whether to receive that micro blog server returns is proved to be successful message, if so, then goes to step 407.If not, then go to step 401, restart microblogging registration process.
Wherein, after micro blog server receives registration request, first can the identifying code comprised in registration request be verified, if by checking, then return and be proved to be successful message, and the phone number comprised in registration request sends a mobile phone identifying code; Otherwise return authentication failed message.
Step 407: the mobile phone identifying code receiving user's input, and the mobile phone identifying code that user inputs is sent to micro blog server.
Step 408: judge whether to receive the response of succeeding in registration that micro blog server returns, if so, then go to step 409; If not, then go to step 405, continue to send registration request to micro blog server.
Wherein, micro blog server can be verified the mobile phone identifying code received, if by checking, then return response of succeeding in registration, represents that microblog account succeeds in registration; Otherwise return unsuccessfully success response.
Step 409: activate the microblog account succeeded in registration.
Because microblog account is the email address succeeded in registration, therefore, after microblog account succeeds in registration, the activation link URL that this microblog account is corresponding can be obtained from mailbox server, and send activation request according to this activation link to micro blog server.Receiving the activation response that micro blog server returns, can determine that this microblog account activates successfully.
Step 410: successful for activation microblog account is stored in microblog account list.Wherein, this microblog account location list can exist with the form of text.
In step 203, the flow chart setting up the mapping relations (microblog account namely selected adds the concern of the microblogging ID selected) between microblog account and the microblogging ID of selection selected as shown in Figure 5, comprises the following steps:
Step 501: obtain the Token value that the microblog account of selection is corresponding.
Wherein, the specific implementation of step 501 can be:
The microblog account selected is sent to micro blog server, and the Token value that the microblog account receiving the selection that micro blog server returns is corresponding.The Token value that micro blog server returns is corresponding with microblog account, the Token value that different microblog account meetings is corresponding different, and Token value can only in preset time period effectively, if exceed this preset time period, need again to apply for micro blog server the authority credentials that the microblog account of selection is corresponding.
Step 502: after acquisition Token value, obtain the amount threshold that the microblog account of selection is corresponding.
Because micro blog server adds the limited amount system paid close attention to microblog account, therefore, after the Token value that the microblog account obtaining selection is corresponding, also need to obtain this microblog account can set up the amount threshold of mapping relations with microblogging ID.
Particularly, above-mentioned amount threshold is obtained by following manner:
Send to micro blog server the mapping relations comprising the microblog account of selection and set up request, and the mapping relations receiving amount threshold corresponding to the microblog account comprising selection that micro blog server returns set up response.Wherein, this amount threshold can for this microblog account same day can set up the maximum of the quantity of mapping relations with microblogging ID, also can in current hour of this microblog account can set up the maximum of the quantity of mapping relations with microblogging ID, also can for this microblog account altogether can set up the maximum of the quantity of mapping relations with microblogging ID.
Step 503: according to the Token value obtained, the microblog account of selection, a microblogging ID selecting from the microblogging ID list prestored, the interface of access micro blog server, set up the mapping relations between microblog account and the microblogging ID of selection selected, and the mapping relations of foundation are stored.Wherein, the quantity of the microblogging ID in the microblogging ID list prestored can be far longer than the quantity of the microblog account comprised in microblog account list.
After setting up the mapping relations between microblog account and the microblogging ID of selection selected, next microblog account can be selected from microblog account list, repeated execution of steps 501 ~ step 503, also after the quantity can setting up mapping relations between the microblog account of this selection and microblogging ID reaches above-mentioned amount threshold, next microblog account is selected again, repeated execution of steps 501 ~ step 503 from microblog account list.
Embodiment two:
The present embodiment two is a kind of mapping relations apparatus for establishing belonging to same inventive concept with embodiment one, and therefore the enforcement of embodiment two see the enforcement of embodiment one, can repeat part and repeat no more.
As shown in Figure 6, described equipment comprises:
Select module 61, for from the intercommunion platform log-on message set prestored, select intercommunion platform log-on message successively;
Mapping relations set up module 62, for after described selection model choice intercommunion platform log-on message, the intercommunion platform log-on message of described selection is sent to intercommunion platform server, and after the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to described authority credentials, the intercommunion platform log-on message of described selection and the intercommunion platform user ID selected from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.
Described selection module 61 specifically for: after described mapping relations set up the mapping relations that module sets up between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message; Or, when the quantity setting up the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message of described selection and the set of described intercommunion platform user ID that module sets up in described mapping relations reaches predetermined number threshold value, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message.
Described selection module 61 is also for determining described amount threshold by following manner: send to described intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of described selection and set up request, and receive the mapping relations that described intercommunion platform server returns and set up response, wherein, the amount threshold that the intercommunion platform log-on message of described selection is corresponding is comprised in described mapping relations foundation response.
Described equipment also comprises:
Determination module 63, for sending the registration request comprising described intercommunion platform log-on message to described intercommunion platform server, and after receiving the response of succeeding in registration that described intercommunion platform server returns, described intercommunion platform log-on message is stored in the set of described intercommunion platform log-on message.
Described intercommunion platform log-on message is email address or phone number.
Described intercommunion platform log-on message is email address; Described determination module 63 also for:
Before comprising the registration request of described intercommunion platform log-on message to described intercommunion platform server transmission, according to the mailbox user name create-rule pre-set, generate mailbox user name; The registration request comprising described mailbox user name is sent to mailbox server; After receiving the response of succeeding in registration that described mailbox server returns, determine that described intercommunion platform log-on message is the email address of described mailbox user name correspondence.
Described intercommunion platform log-on message is described email address;
Described determination module 63 also for:
After receiving the response of succeeding in registration that described intercommunion platform server returns, before described intercommunion platform log-on message being stored in the set of described intercommunion platform log-on message, according to described intercommunion platform log-on message, from described mailbox server, obtain the activation link that described intercommunion platform log-on message is corresponding, and send activation request according to described activation link to described intercommunion platform server.
Wherein, the mapping relations apparatus for establishing in the embodiment of the present invention two can be client.
It should be noted that, the description to each part major function to the description of each part of mapping relations apparatus for establishing in the embodiment of the present invention two, in the embodiment of the present invention two, each part also possesses the function of the method step realized described in embodiment one, meanwhile, the mapping relations apparatus for establishing in the embodiment of the present invention two also has the logic module performing each step of embodiment one.
Below for intercommunion platform server be micro blog server, intercommunion platform log-on message is microblog account, intercommunion platform user ID for microblogging ID, the structure of mapping relations apparatus for establishing is described, comprises with lower module as shown in Figure 7:
HTTP interactive module 701, for to carry out HTTP mutual with server, such as to the http response that server transmission HTTP request or reception server return, wherein, this server can be platform exchange service device, mailbox server or micro blog server in embodiment one.
Format conversion administration module 702, the http response for receiving HTTP interactive module 701 carries out the conversion of required form.
Proxy server administration module 703, for obtaining the IP address of proxy server, and filters it, ensures that client and server can be communicated normally by proxy server.
Mailbox Registering modules 704, for downloading mailbox registration page content, downloading identifying code picture, safeguarding local Cookies, guarantee the consistency of session between client and server.
Microblogging Registering modules 705, for downloading microblogging registration page content, downloading identifying code picture, safeguarding local Cookies, guarantee the consistency of session between client and server.
Microblog account active module 706, for activating the microblogging account succeeded in registration.
Microblog account preserves module 707: for registration is activated successful microblog account and is saved in this locality.
Abnormality processing module 708, for processing the various exceptions (as error code) occurred in HTTP reciprocal process.
Token value administration module 709, for sending HTTP request to micro blog server, obtains Token value, can access the interface that micro blog server provides.
Access interface module 710, for the interface provided according to the Token value access micro blog server obtained.
Amount threshold obtains module 711, for sending HTTP request to micro blog server, obtain microblog account can set up the amount threshold of mapping relations with microblogging ID.
Microblogging account management module 712: for setting up microblog account, password, Token value, and microblog account can and microblogging ID set up mapping relations amount threshold between corresponding relation.
Mapping relations set up module 713, for setting up the mapping relations between microblog account and microblogging ID.
Mapping relations logging modle 714, for recording the mapping relations set up between microblog account and microblogging ID.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. a mapping relations method for building up, is characterized in that, described method comprises:
From the intercommunion platform log-on message set prestored, select intercommunion platform log-on message successively;
After selection intercommunion platform log-on message, send the intercommunion platform log-on message of described selection to intercommunion platform server;
After the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to the intercommunion platform log-on message of described authority credentials, described selection and an intercommunion platform user ID selecting from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.
2. the method for claim 1, is characterized in that, from the intercommunion platform log-on message set prestored, selects intercommunion platform log-on message successively, specifically comprises:
After setting up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message; Or,
When the quantity of the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message and the set of described intercommunion platform user ID of the described selection of setting up reaches predetermined number threshold value, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message.
3. method as claimed in claim 2, is characterized in that, obtain described amount threshold by following manner:
Send to described intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of described selection and set up request;
The mapping relations receiving amount threshold corresponding to the intercommunion platform log-on message comprising described selection that described intercommunion platform server returns set up response.
4. the method as described in as arbitrary in claims 1 to 3, is characterized in that, determine the set of described intercommunion platform log-on message according to following manner:
The registration request comprising described intercommunion platform log-on message is sent to described intercommunion platform server;
After receiving the response of succeeding in registration that described intercommunion platform server returns, described intercommunion platform log-on message is stored in the set of described intercommunion platform log-on message.
5. method as claimed in claim 4, it is characterized in that, described intercommunion platform log-on message is email address or phone number.
6. method as claimed in claim 5, it is characterized in that, described intercommunion platform log-on message is email address, and before comprising the registration request of described intercommunion platform log-on message to described intercommunion platform server transmission, described method also comprises:
According to the mailbox user name create-rule pre-set, generate mailbox user name;
The registration request comprising described mailbox user name is sent to mailbox server;
After receiving the response of succeeding in registration that described mailbox server returns, determine that described intercommunion platform log-on message is the email address of described mailbox user name correspondence.
7. method as claimed in claim 6, it is characterized in that, described intercommunion platform log-on message is described email address, after receiving the response of succeeding in registration that described intercommunion platform server returns, before described intercommunion platform log-on message being stored in the set of described intercommunion platform log-on message, described method also comprises:
According to described intercommunion platform log-on message, from described mailbox server, obtain the activation link that described intercommunion platform log-on message is corresponding;
Activation request is sent to described intercommunion platform server according to described activation link.
8. a mapping relations apparatus for establishing, is characterized in that, described equipment comprises:
Select module, for from the intercommunion platform log-on message set prestored, select intercommunion platform log-on message successively;
Mapping relations set up module, for after described selection model choice intercommunion platform log-on message, the intercommunion platform log-on message of described selection is sent to intercommunion platform server, and after the authority credentials that the intercommunion platform log-on message receiving the described selection that described intercommunion platform server returns is corresponding, according to described authority credentials, the intercommunion platform log-on message of described selection and the intercommunion platform user ID selected from the intercommunion platform user ID set prestored, access the interface that described intercommunion platform server provides, set up the mapping relations between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection.
9. equipment as claimed in claim 8, is characterized in that, described selection module specifically for:
After described mapping relations set up the mapping relations that module sets up between the intercommunion platform log-on message of described selection and the intercommunion platform user ID of described selection, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message; Or,
When the quantity setting up the mapping relations between the intercommunion platform user ID in the intercommunion platform log-on message of described selection and the set of described intercommunion platform user ID that module sets up in described mapping relations reaches predetermined number threshold value, from the set of described intercommunion platform log-on message, select next intercommunion platform log-on message.
10. equipment as claimed in claim 9, it is characterized in that, described selection module is also for determining described amount threshold by following manner:
Send to described intercommunion platform server the mapping relations comprising the intercommunion platform log-on message of described selection and set up request, and receive the mapping relations that described intercommunion platform server returns and set up response, wherein, the amount threshold that the intercommunion platform log-on message of described selection is corresponding is comprised in described mapping relations foundation response.
11. as arbitrary in claim 8 ~ 10 as described in equipment, it is characterized in that, described equipment also comprises:
Determination module, for sending the registration request comprising described intercommunion platform log-on message to described intercommunion platform server, and after receiving the response of succeeding in registration that described intercommunion platform server returns, described intercommunion platform log-on message is stored in the set of described intercommunion platform log-on message.
12. equipment as claimed in claim 11, it is characterized in that, described intercommunion platform log-on message is email address or phone number.
13. equipment as claimed in claim 12, it is characterized in that, described intercommunion platform log-on message is email address;
Described determination module also for:
Before comprising the registration request of described intercommunion platform log-on message to described intercommunion platform server transmission, according to the mailbox user name create-rule pre-set, generate mailbox user name; The registration request comprising described mailbox user name is sent to mailbox server; After receiving the response of succeeding in registration that described mailbox server returns, determine that described intercommunion platform log-on message is the email address of described mailbox user name correspondence.
14. equipment as claimed in claim 13, it is characterized in that, described intercommunion platform log-on message is described email address;
Described determination module also for:
After receiving the response of succeeding in registration that described intercommunion platform server returns, before described intercommunion platform log-on message being stored in the set of described intercommunion platform log-on message, according to described intercommunion platform log-on message, from described mailbox server, obtain the activation link that described intercommunion platform log-on message is corresponding, and send activation request according to described activation link to described intercommunion platform server.
CN201410009644.7A 2014-01-08 2014-01-08 Account relation establishing method and device Pending CN104767672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410009644.7A CN104767672A (en) 2014-01-08 2014-01-08 Account relation establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410009644.7A CN104767672A (en) 2014-01-08 2014-01-08 Account relation establishing method and device

Publications (1)

Publication Number Publication Date
CN104767672A true CN104767672A (en) 2015-07-08

Family

ID=53649297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410009644.7A Pending CN104767672A (en) 2014-01-08 2014-01-08 Account relation establishing method and device

Country Status (1)

Country Link
CN (1) CN104767672A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341431A (en) * 2016-11-30 2017-01-18 北京恒华伟业科技股份有限公司 Login method, platform and system
WO2017063531A1 (en) * 2015-10-14 2017-04-20 阿里巴巴集团控股有限公司 Account mapping method and device based on address information
CN106899708A (en) * 2017-03-02 2017-06-27 上海时年信息科技有限公司 The method and system for preventing the game pet name from repeating
CN108600244A (en) * 2018-05-03 2018-09-28 惠龙易通国际物流股份有限公司 A kind of identity identifying method, equipment, system and computer storage media
CN113141251A (en) * 2020-01-20 2021-07-20 北京京东振世信息技术有限公司 Method and device for logging in website

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902455A (en) * 2012-09-25 2013-01-30 鲁赤兵 Method for paying attention in social contact system
CN103209114A (en) * 2012-01-11 2013-07-17 何劲 Novel microblog system and method
CN103338250A (en) * 2013-06-26 2013-10-02 惠州Tcl移动通信有限公司 Method and mobile terminal for paying attention in social contact system
CN103391237A (en) * 2012-05-08 2013-11-13 腾讯科技(深圳)有限公司 Method and device for showing microblog messages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209114A (en) * 2012-01-11 2013-07-17 何劲 Novel microblog system and method
CN103391237A (en) * 2012-05-08 2013-11-13 腾讯科技(深圳)有限公司 Method and device for showing microblog messages
CN102902455A (en) * 2012-09-25 2013-01-30 鲁赤兵 Method for paying attention in social contact system
CN103338250A (en) * 2013-06-26 2013-10-02 惠州Tcl移动通信有限公司 Method and mobile terminal for paying attention in social contact system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017063531A1 (en) * 2015-10-14 2017-04-20 阿里巴巴集团控股有限公司 Account mapping method and device based on address information
US10725737B2 (en) 2015-10-14 2020-07-28 Alibaba Group Holding Limited Address information-based account mapping method and apparatus
US10990353B2 (en) 2015-10-14 2021-04-27 Advanced New Technologies Co., Ltd. Address information-based account mapping method and apparatus
CN106341431A (en) * 2016-11-30 2017-01-18 北京恒华伟业科技股份有限公司 Login method, platform and system
CN106341431B (en) * 2016-11-30 2019-07-12 北京恒华伟业科技股份有限公司 A kind of login method, platform and system
CN106899708A (en) * 2017-03-02 2017-06-27 上海时年信息科技有限公司 The method and system for preventing the game pet name from repeating
CN108600244A (en) * 2018-05-03 2018-09-28 惠龙易通国际物流股份有限公司 A kind of identity identifying method, equipment, system and computer storage media
CN113141251A (en) * 2020-01-20 2021-07-20 北京京东振世信息技术有限公司 Method and device for logging in website

Similar Documents

Publication Publication Date Title
CN109639740B (en) Login state sharing method and device based on equipment ID
CN102231746B (en) Method for validating identification information and terminal thereof
EP3402136B1 (en) Information interaction method, client and device
CN102594817A (en) Password agent method, user terminal equipment and password agent server
CN102238007A (en) Method, device and system for acquiring session token of user by third-party application
CN107241336B (en) Identity verification method and device
CN105357110B (en) E-mail sending method, apparatus and system
CN104253686A (en) Account number login method, equipment and system
CN104767672A (en) Account relation establishing method and device
CN106357699A (en) Network system, service platform and login method and system of service platform
CN104038503A (en) Cross-site logging method, cross-site logging device and cross-site logging system
CN104253741A (en) Information sending method and device and system thereof
CN104599086A (en) Online storage cabinet grid inventory management and grid resource reservation method
US10277663B1 (en) Management of asynchronous media file transmissions
WO2019205555A1 (en) Method and apparatus for pushing message
CN102355509A (en) Method and device for transmitting and receiving message according to mobile number in contact list
CN103179099A (en) Unified certification method for accessing to open website platforms and website platform
CN107196909A (en) Invitation registration method and device
CN104852926A (en) Method and device for registering account
CN103605549A (en) Interface exit display method and device
CN103856454B (en) IP IP multimedia subsystem, IMSs and the method and business intercommunication gateway of Internet service intercommunication
US8060570B2 (en) Systems and methods for sending and receiving e-mail on a network community platform
CN105184559B (en) A kind of payment system and method
CN105721274B (en) The fusion method and device of one kind of multiple instant messagings
CN104348613A (en) User verification method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150708