One kind is unbinded, binding method and device
Technical field
The application is related to field of computer technology, more particularly to one kind is unbinded, binding method and device.
Background technology
Current most e-commerce website (hereinafter referred to as website), user often fills in registration
The bound objects such as E-mail address, instant messaging account or cell-phone number that some users are commonly used, by will be upper
State register account number of the bound object with registering on website to bind, user can be easily by above-mentioned bound object
Receive logistics information, website sales promotion information either check information etc. that user does shopping on website.
Above-mentioned logistics information, website sales promotion information either check information etc., its information content be typically by
Web editor, then as the server belonging to website is sent to bound object, then is finally sent out by above-mentioned server
Give user.For example current site is A, and above-mentioned bound object is specially the cell-phone number of user, then website A
When the user for desiring to cell-phone number sends pushed information, pushed information is sent to the electricity belonging to cell-phone number first
Believe operator, the content of PUSH message is then ultimately sent to cellphone subscriber by telecom operators again.
Because bound object is often limited resources, when not used by active user if be possible to affiliated
Server, which is reclaimed, is issued to other users, but bound object is at present it is also possible that the registration account registered with website
Number be in binding state.The other users for obtaining this bound object right to use are possible to also come on same website
The new user of registration, but be due to the binding for the register account number that this bound object is registered with active user in website
Relation, registration behavior is possible to meet with obstruction.The method that unbinds conventional at present is typically to be existed by active user
Actively unbinded on website, for website, tend not to determine that bound object is used by active user,
Or bound object has been recovered or distributed to other users and used, therefore and can not judge bound object
Whether can be unbinding between the register account number that website is registered with active user.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application, which provides one kind, unbinds method and apparatus, for determining
Whether binding relationship that can be between de-registration account and bound object.
The embodiment of the present application also provides a kind of binding method and device.
The embodiment of the present application uses following technical proposals:
One kind unbinds method, and methods described is used for register account number and has binding relationship with the register account number
Unbinding between bound object, methods described includes:The bound object is inquired about according to the bound object
Use state is recorded, described in server of the use state record according to belonging to the bound object is known
The use state generation of bound object, the use state includes normal operating condition and abnormal using state;
Very first time when acquisition state generates for the use state record of abnormal using state;According to the note
The pass between the second time and very first time when volume account and the bound object set up binding relationship
System, it is determined whether the binding relationship between the register account number and the bound object can be released.
Preferably, the second time when setting up binding relationship according to the register account number and the bound object with
Relation between the very first time, it is determined whether can release the register account number and the bound object it
Between binding relationship, specifically include:Binding relationship is set up according to the register account number and the bound object
Second time and the very first time away from current time in preset duration, it is determined whether the registration can be released
Binding relationship between account and the bound object.
Preferably, the second time and the institute of binding relationship are set up according to the register account number and the bound object
State the relation between the very first time, it is determined whether can release between the register account number and the bound object
Binding relationship, specifically include:If the register account number and the bound object set up the of binding relationship
Two times are earlier than the very first time, it is determined that can release between the register account number and the bound object
Binding relationship;And/or, if the register account number and the bound object set up the second of binding relationship
Between be later than the very first time, it is determined that tying up between the register account number and the bound object can not be released
Determine relation.
Preferably, be determined to release binding relationship between the register account number and the bound object it
Afterwards, methods described also includes:Release the binding relationship between the register account number and the bound object.
Preferably, if the register account number has tying up for binding relationship including multiple with multiple register account numbers
It is same to determine object, then when releasing the binding relationship between a register account number and the bound object,
Release other register account numbers in the multiple register account number and the binding relationship of the bound object.
Preferably, the use state for the bound object that the server according to belonging to the bound object is known
Use state record is generated, is specifically included:Predetermined information is sent to the bound object, according to the binding
The state that the bound object that server belonging to object is known receives the predetermined information generates the use shape
State is recorded;And/or, the use state information that the bound object is sent is received, according to the bound object institute
The use state information that the server of category is known generates the use state record;And/or, according to predetermined
Rule specifies use state, the institute that the server according to belonging to the bound object is known for the bound object
State specified use state and generate the use state record.
Preferably, before sending predetermined information to the bound object, methods described also includes:Tied up to described
The server push information belonging to object is determined, so that the server belonging to the bound object is pushed according to described
Information generates the predetermined information sent to the bound object, and server belonging to the bound object to
The bound object sends predetermined information.
Preferably, the use state record is located at the server belonging to the bound object, then according to institute
State bound object to inquire about before the use state record of the bound object, methods described also includes:Receive institute
State the use state record for the bound object that the server belonging to bound object is sent.
A kind of binding method, methods described is used for former register account number and with the former register account number there is binding to close
Unbinding between the bound object of system, and foundation binding is closed between the bound object and new registration account
System, methods described includes:Receiving the binding that new registration account and the bound object are set up into binding relationship please
Ask;Judge whether the bound object has binding relationship with the former register account number;If it is, according to
Former register account number and the bound object are set up the second time of binding relationship, and the bound object shape
Very first time when state generates for the use state record of abnormal using state, it is determined whether can release described
Binding relationship between former register account number and the bound object, the use state record is according to the binding
The use state generation for the bound object that server belonging to object is known, the use state is included just
Normal use state and abnormal using state;When can release between the former register account number and the bound object
Binding relationship when, release the binding relationship between the bound object and the former register account number, and set up
Binding relationship between the bound object and the new registration account.
One kind unbinds device, and described device is used for register account number and has binding relationship with the register account number
Unbinding between bound object, described device includes enquiry module, acquisition module and determining module, wherein:
The enquiry module, the use state for inquiring about the bound object according to the bound object is recorded, institute
State the use for the bound object that server of the use state record according to belonging to the bound object is known
State is generated, and the use state includes normal operating condition and abnormal using state;The acquisition module,
For obtaining the very first time when use state that state is abnormal using state records generation;The determination mould
Block, for set up according to the register account number and the bound object the second time during binding relationship with it is described
Relation between the very first time, it is determined whether can release between the register account number and the bound object
Binding relationship.
Preferably, the determining module, binds for being set up according to the register account number and the bound object
The relation between the second time and very first time during relation, it is determined whether the registration account can be released
Binding relationship number between the bound object, is specifically included:According to the register account number and the binding
Object sets up the second time of binding relationship and the very first time away from current time in preset duration, it is determined that being
It is no to release the binding relationship between the register account number and the bound object.
Preferably, the determining module, binds for being set up according to the register account number and the bound object
The relation between the second time and very first time during relation, it is determined whether the registration account can be released
Binding relationship number between the bound object, is specifically included:If the register account number and the binding
Object sets up the second time of binding relationship earlier than the very first time, it is determined that can release the registration account
Binding relationship number between the bound object;And/or, if the register account number and the bound object
The second time for setting up binding relationship is later than the very first time, it is determined that can not release the register account number and
Binding relationship between the bound object.
A kind of binding device, described device is used for former register account number and with the former register account number there is binding to close
Unbinding between the bound object of system, and foundation binding is closed between the bound object and new registration account
System, described device includes receiving module, judge module, determination releasing module and binding module, wherein:Institute
Receiving module is stated, please for receiving the binding that new registration account and the bound object are set up into binding relationship
Ask;The judge module, is closed for judging whether the bound object has binding with the former register account number
System;It is described to determine to release module, for when the judged result of judge module is to be, according to former register account number
Set up with the bound object the second time of binding relationship, and the state of the bound object makes to be abnormal
Very first time during generation is recorded with the use state of state, it is determined whether the former register account number can be released
Binding relationship between the bound object, the use state record is according to belonging to the bound object
The use state generation for the bound object that server is known, the use state includes normal operating condition
And abnormal using state;The binding module, for being determined to release the original annotation it is determined that releasing module
Volume account and the bound object between binding relationship when, release the bound object and the original annotation volume account
Binding relationship between number, and the binding relationship set up between the bound object and the new registration account.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:First
The use state record of the bound object is inquired about according to bound object, making for abnormal using state is then obtained
The very first time generated with state recording, binding relationship is set up finally according to the register account number and bound object
When the second time and the very first time relation can be determined whether to release the register account number and
Binding relationship between the bound object.In addition, for current site, determining to release and tying up
After determining relation, the binding relationship that current site can be between de-registration account and bound object, relative to
The method for being merely able to actively unbind by user in the prior art, bound object resource can be discharged in time, improved
The resource utilization of current site.For the other users for being re-assigned to bound object, due to current
Website relieve before register account number and bound object between binding relationship, the user current site note
When volume is assigned to new register account number, the binding that can be set up between bound object and new register account number is closed
System, it is to avoid because binding relationship before influences binding of the user to bound object and new register account number
Behavior, further lifts Consumer's Experience.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes one of the application
Point, the schematic description and description of the application is used to explain the application, does not constitute to the application not
Work as restriction.In the accompanying drawings:
Fig. 1 is a kind of implementation process schematic diagram for unbinding method that the embodiment of the present application 1 is provided;
Fig. 2 is a kind of implementation process schematic diagram for unbinding method that the embodiment of the present application 2 is provided;
Fig. 3 be the embodiment of the present application 2 in time relationship a kind of situation schematic diagram;
Fig. 4 be the embodiment of the present application 2 in time relationship another situation schematic diagram;
Fig. 5 is a kind of embodiment schematic flow sheet for unbinding method that the embodiment of the present application 3 is provided;
Fig. 6 is a kind of implementation process schematic diagram for binding method that the embodiment of the present application 4 is provided;
Fig. 7 is a kind of structural representation for unbinding device that the embodiment of the present application 5 is provided;
Fig. 8 is a kind of structural representation for binding device that the embodiment of the present application 6 is provided.
Embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer
Apply example and technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, it is described
Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application
Example, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of the application protection.
Embodiment 1
As it was previously stated, user can be assigned to register account number after being succeeded in registration in website, these register account numbers are also
Would generally be bound with bound object, but bound object when not used by active user if be possible to bound
Object subordinate server system reclaims and is issued to other users, for website, tends not to judge to tie up
It is currently, using still having been used by other users, binding can not to be judged therefrom by active user to determine object
Whether object and active user can be unbinding between the register account number that website is registered.To solve above-mentioned skill
Art problem, the present embodiment 1 unbinds method there is provided one kind, be used to determine whether can de-registration account and
Binding relationship between bound object, the idiographic flow schematic diagram of this method is as shown in figure 1, including following steps
Suddenly:
Step S11:The use state record of the bound object is inquired about according to the bound object;
The bound object that server of the above-mentioned use state record according to belonging to the bound object is known
Use state generation, the use state include normal operating condition and abnormal using state.
Can be for E-mail address, instant messaging account or cell-phone number etc., accordingly referred to herein as bound object
Ground, the server (system) also having belonging to bound object corresponding with bound object, above-mentioned server then may be used
With respectively mail server corresponding with above-mentioned E-mail address, instant messaging account server or mobile phone
Number number section belonging to telecom operators' server.
In addition, bound object is further divided into normal operating condition and abnormal using state, for example, binding pair
As for E-mail address (abbreviation mailbox A), the server belonging to mailbox A is the corresponding mails of mailbox A
Server A, mailbox A be in normal operating condition when, other users can by mail server A to
Mailbox A sends mail, and mailbox A user can receive above-mentioned mail, and same user can utilize above-mentioned
Mailbox A sends mail by mail server A.When mailbox A is in abnormal using state, then this mailbox
A may be reclaimed by mail server A, be used with to be allocated to new user, and now mailbox A then can be with
It is to be in address blank state.
Use state records making for the bound object that the server according to belonging to the bound object is known
Generated with state, wherein, use state record can be generated by current site, can also be by binding pair
As affiliated server is generated, but bound object use state can only be according to belonging to bound object server
Know at place.The generating process of the use state record can include the combination of one or more of situation:
1) predetermined information is sent to the bound object, the server according to belonging to the bound object is known
Bound object receive the state of the predetermined information and generate the use state record, idiographic flow can divide
Following two situations:
1. current site (a certain submodule in the server belonging to current site, or current site system etc.,
It is other similar) server push information first belonging to the bound object, wrap in the information pushed certainly
Predetermined information content and bound object are included, then the server belonging to the bound object is pushed according to described
Information generates the predetermined information sent to the bound object, and server belonging to the bound object to
The bound object sends predetermined information, with the state generation use state record sent according to predetermined information.It is right
In above-mentioned transmission state, for example, send successfully, the bound object of transmission is not present etc..Generate use state note
After record, the use state record can be located at the server belonging to the bound object, bound object
Affiliated server can also send above-mentioned use state record to current site, and current site can then connect
Receive and store above-mentioned use state record.
2. the server belonging to bound object need not receive the pushed information of current site, and its active is to binding
Object sends predetermined information, the state generation use state record sent according to predetermined information.For example send letter
Cease successfully, then show that bound object is in normal operating condition, the bound object of transmission is not present, then illustrated
Bound object is in abnormal using state.
2) the use state information that the bound object is sent, the clothes according to belonging to the bound object are received
The use state information that business device is known generates the use state record.
Specifically, bound object can send to the server belonging to it and represent to stop using this account
Use state information, now affiliated server can receive above-mentioned use state information and respond, example
Such as generate and represent that this bound object records for the use state of address blank, while above-mentioned bound object is nullified,
Used with to be allocated to new user, now then above-mentioned bound object is changed into using extremely from normal operating condition
State.
3) it is that the bound object specifies use state according to pre-defined rule, according to belonging to the bound object
The specified use state known of server generate the use state record.
So that bound object is cell-phone number as an example, its clear and definite affiliated number section of carrier server of each cell-phone number
The use state of all cell-phone numbers, it is corresponding to have generated expression normally for the cell-phone number normally used
The use state record used, is used, as the cell-phone number of spacing extremely, corresponding to have generated table
It is shown as the use state record of spacing.Certainly, at some in particular cases, the server belonging to bound object
Judge that the user of bound object carries out some illegal acts (such as commonly using bound object according to preset rules
Swindle) when, its use state that bound object actively can also be assigned as into abnormal using state is recorded, i.e.,
By the use state of bound object by normal operating condition unsteady state operation be abnormal using state.
For the combination of three cases above or three kinds of situations, use state record can be stored in bound object
In affiliated server, now current site sends bound object described in requesting query to above-mentioned server
The request of use state record, can inquire about described tie up after the server mandate belonging to bound object
Determine the use state record of object.
Use state record can also be stored in current site, specifically, can be to the binding pair
After affiliated server push information, then the server belonging to bound object sends predetermined to bound object
Information, with the state generation use state record sent according to predetermined information, and use state record is sent extremely
Current site, use state record can reflect the transmission state of predetermined information.For example send successfully, now
Expression bound object is normal operating condition;The account of transmission is spacing, and it is exception now to represent bound object
Use state etc..For example for bound object is the cell-phone number of China Mobile, above-mentioned use state note
Record can then be returned to the transmission conditional code of website for the server or system of commmunication company, such as send conditional code
For MK:0001 can represent that the cell-phone number sent is spacing.In addition, use state record storage is being worked as
When in preceding website, the record that can be automatically generated for current site, specially current site are from the binding pair
As the use state generation for the bound object that affiliated server is known.
It should be noted that the use state record inquired about in step S11 can be that one of those is treated point
The corresponding all use state records of bound object of analysis.Can certainly be bound object sometime
In section, the use state of such as nearly 1 year or nearly six months periods are recorded.
Step S12:Very first time when acquisition state generates for the use state record of abnormal using state;
All use state records corresponding with bound object can be inquired in step s 11, in step
The when bound object is in the use state record generation of abnormal using state can be then obtained in S12
One time.Can be that the server belonging to bound object determines making for bound object for the above-mentioned very first time
Corresponding standard time during with state recording, such as the Beijing time for being accurate to the second.
It should be noted that the use state of bound object can be in dynamic variation relation, for example,
It is probably, in the normal operating condition stage, abnormal make then to be likely to be in subsequent time period in current slot
With state phase, then it is probably and in the normal operating condition stage in the next but one period.In addition, right
For between the server belonging to bound object and bound object, bound object often undergoes once abnormal use
State phase, the server belonging to bound object, which may then withdraw above-mentioned bound object, is reallocated to it
He is user, i.e. the user of bound object is that user may have occurred that change.For above-mentioned use shape
State, so that bound object is cell-phone number as an example, bound object is in normal operating condition and can be in for cell-phone number
States such as normal use, shutdown, shutdown and no signal etc., cell-phone number during in abnormal using state is usual
It is shown as the state of spacing.
It should be noted that the step S11 and S12 of embodiment 1 may also have many in actual application
Change is planted, such as two steps directly are merged into a step, i.e., query actions are acted one with acquisition
Completed in individual step.
Step S13:The second time during binding relationship is set up according to the register account number and the bound object
With the relation between the very first time, it is determined whether the register account number and the bound object can be released
Between binding relationship.
The very first time and the second time are mentioned in this step, below by the related content of two concept of time
It is described in detail:
For the very first time, because the very first time got in step s 12 is probably to have multiple, each
The very first time then can be to that should have a use state record, and use state record and its very first time generated can
To be one-to-one relationship.In addition, the above-mentioned very first time can be away from current time in preset duration (such as
Three months, one month, ten days or five days etc.) the very first time, will likely now have one or many
Individual very first time or away from nearest very first time at current time, here away from current time it is nearest the
The time interval of one time, the i.e. very first time and current time are minimum.
The second time during binding relationship is set up for the register account number and bound object.User is in net first
When station is succeeded in registration, you can acquire the register account number that current site distributes to the user, user passes through registration
Account can log in above-mentioned website and carry out shopping online, online transaction, some activities such as online chat.For
Second time, when can be that user registers in above-mentioned website, namely current site distributes to the registration of the user
The time during binding relationship between bound object and register account number is set up during account;Or existed in user
Register the time for bound object and register account number being bound after a period of time in website.In addition, above-mentioned second
The concrete numerical value of time can be stored in current site.
Between the second time and very first time when setting up binding relationship according to register account number and bound object
Relation, you can determine whether can be between de-registration account and bound object binding relationship.For example, such as
The second time when really described register account number and bound object set up binding relationship earlier than the very first time, then
It is determined to release the binding relationship between the register account number and the bound object;If the registration account
Number and second time of bound object when setting up binding relationship be later than the very first time, it is determined that can not solve
Except the binding relationship between the register account number and the bound object.
The method provided using embodiment 1, inquires about the use shape of the bound object according to bound object first
State is recorded, and the very first time of the use state record generation of abnormal using state is then obtained, finally according to institute
State register account number and the relation of the second time when bound object sets up binding relationship and the very first time i.e.
It can be determined whether that the binding relationship between the register account number and the bound object can be released.
In addition, for current site, determining can be after unbinding relation, current site
Binding relationship between de-registration account and bound object, relative to being merely able in the prior art by using householder
The dynamic method unbinded, the bound object resource of current site storage can be discharged in time, improve current site
Resource utilization.
For the other users for being re-assigned to bound object, the note before being relieved due to current site
Binding relationship between volume account and bound object, the user is assigned to new registration account in current site registration
Number when, the binding relationship that can set up between bound object and new register account number, it is to avoid due to before
Binding relationship influences binding behavior of the user to bound object and new register account number, further lifts user
Experience.
Embodiment 2
Mentioned in the step S13 of embodiment 1 and binding is set up according to the register account number and the bound object
The relation between the second time and very first time during relation, it is determined whether the registration account can be released
Binding relationship number between the bound object.In specific operated, there may be situations below:
The very first time be later than or be earlier than the second time, so as to form another embodiment of the present invention, such as Fig. 2
Shown, the present embodiment 2 is distinguished as with embodiment 1:The step S13 of embodiment 1 is in the present embodiment 2
Change is turned to:Judged for the second time earlier than the very first time is still later than, if the second time is earlier than the very first time,
Then perform step S231;If the second time was later than the very first time, step S232 is performed.Below to two
Individual step is illustrated:
Step S231:It is determined to release the binding relationship between the register account number and the bound object;
Here time shaft relation is specific as shown in figure 3, after explanation bound object and register account number binding,
Bound object there are the abnormal using state stage, then bound object is likely to be belonging to bound object
Server, which is withdrawn, turns into spacing, or is that bound object is reassigned to by server belonging to bound object
Other users are used.Now, the use register account number registered using the user of bound object and in the website
User be not then same user (be in actual conditions same user probability it is almost nil, this implementation
Example can not considered), now, then it can be determined to release the register account number and the bound object
Between binding relationship
Step S232:It is determined that the binding relationship between the register account number and the bound object can not be released.
Here time shaft relation is specific as shown in figure 4, after explanation bound object and register account number binding,
Bound object is always to be in the normal operating condition stage, then the user of bound object does not change.This
When, the user for the use register account number registered using the user of bound object and in the website is then still same
Individual user, now, then can determine that bound object and register account number can not being capable of unbinding relations.
In addition to above-mentioned steps S231 and step S232, the step of embodiment 1 is there is likely to be certainly
Very first time when recording generation for the use state of abnormal using state less than state is obtained in S12, this says
Bright bound object is constantly in normal operating condition, can equally determine between bound object and register account number not
Being capable of unbinding relation.
The method provided using embodiment 2, inquires about the use shape of the bound object according to bound object first
State is recorded, and the very first time of the use state record generation of abnormal using state is then obtained, finally according to institute
State register account number and the relation of the second time when bound object sets up binding relationship and the very first time i.e.
It can be determined whether that the binding relationship between the register account number and the bound object can be released.
In addition, for current site, determining that bound object and register account number unbinding can be related to it
Afterwards, methods described can also comprise the following steps:Release between the register account number and the bound object
Binding relationship.Relative to the method for being merely able to actively unbind by user in the prior art, it can in time discharge and deposit
The bound object resource of storage, improves the resource utilization of current site.
If the register account number include it is multiple, the bound object for having binding relationship with multiple register account numbers is
When same, it is determined to release the register account number and the binding in the step S231 of embodiment 2
Binding relationship between object, then releasing the binding relationship between a register account number and the bound object
When, release other register account numbers in the multiple register account number and the binding relationship of the bound object.
Embodiment 3
To describe the method that unbinds of embodiment 2 with cutting more thoroughly, illustrated below with a specific example.
Wherein bound object is cell-phone number B, correspondingly, number that the server belonging to bound object is cell-phone number B
Section corresponding to telecom operators' server, register account number be user when e-commerce website is registered, website
The account C distributed to user.
Before this embodiment 3, cell-phone number B and account C establish binding relationship, and user passes through mobile phone
Number C can receive the related sales promotion information in website, the logistics information of user's shopping etc., i.e., from cell-phone number B
After account C bindings, above-mentioned e-commerce website timing (such as daily or weekly), or be
Information is sent to user when user needs, the telecom operators that approach still passes through cell-phone number B are sent certainly,
Above-mentioned telecom operators can also send the transmission conditional code of every information to current site simultaneously, certainly current
Website can also receive and store above-mentioned transmission conditional code, and store simultaneously it is each send conditional code it is corresponding when
Between, the above-mentioned time can be that current site receives the time of above-mentioned transmission conditional code or above-mentioned electricity
Believe that operator's generation sends the time of conditional code.It can be mentioning in embodiment before to send conditional code
Use state is recorded.
In addition, clearly each sending the implication that conditional code is represented before embodiment 3, for example, send shape
State code can then represent that message is sent successfully for DELIVRD, i.e. the user of cell-phone number B is successfully received short
Letter;Transmission conditional code is MK:0001 can represent that the cell-phone number sent is spacing etc..Embodiment 3 can
For judge cell-phone number B and account C whether can unbinding relation, as shown in figure 5, this implementation
The method of example includes following steps:
Step S51:Transmission conditional code corresponding with cell-phone number B is inquired about according to cell-phone number B;
Substantial amounts of transmission conditional code would generally be stored in above-mentioned e-commerce website, is corresponded respectively to different
Cell-phone number, and corresponding to the short message state not sent in the same time of a cell-phone number.Then may be used in this step
First to inquire about all transmission conditional codes corresponding with cell-phone number B, one and B pairs of cell-phone number often there are
The transmission conditional code answered then represents that website was once transmitted across a message to cell-phone number B.
Step S52:Obtain the very first time for representing that cell-phone number B generates for the transmission conditional code of spacing;
Represent cell-phone number B for spacing transmission conditional code it is equally possible have it is a lot, in this step then can be with
It is multiple very first times corresponding to the transmission conditional code of spacing to obtain all expression cell-phone number B.
Step S53:According to away from the very first time of the current time in preset duration and cell-phone number B and account C
The second time during binding determines whether cell-phone number B and account C being capable of unbinding relation.
The very first time away from current time in preset duration, can be away from nearest very first time at current time
(time interval at the very first time and current time is preset duration), it is also possible to apart from current time one
Week, the concrete numerical value of several very first times in two weeks etc. in preset duration.
If be later than second when cell-phone number B and account C is bound away from the nearest very first time at current time
Between, or be when one or several very first times away from current time in preset duration being later than second
Between, illustrate after cell-phone number B and account C bindings, cell-phone number B had the record for being changed into spacing, so
Cell-phone number B and account C binding relationship can be released.
If when being bound away from nearest very first time at current time earlier than cell-phone number B and account C second when
Between, or be away from one or several very first times of the current time in preset duration earlier than second when
Between, illustrate to be bound to before cell-phone number B on another user, but cell-phone number B is returned by operator later
After discharge is received to this user, so the binding relationship between this cell-phone number B and account C can not be released, because
Used for cell-phone number B by this user.
In addition, if the very first time is not present, i.e., did not received and represent that cell-phone number B sends out for the operator of spacing
Conditional code is sent, illustrates that cell-phone number B does not become the record of spacing, between same cell-phone number B and account C
Binding relationship can not release.
The method provided using embodiment 3, is inquired about transmission conditional code corresponding with cell-phone number, then obtained first
Take represent cell-phone number be spacing the transmission conditional code corresponding very first time, finally according to away from current time pre-
If the second time when the very first time in duration binds with cell-phone number and account determines that cell-phone number and account are
It is no being capable of unbinding relation.
In addition, for current site, determine cell-phone number and account can after unbinding relation, when
Preceding website can release the binding relationship between cell-phone number and account, relative to be merely able in the prior art by use
The dynamic method unbinded of householder, the cell-phone number resource of storage can be discharged in time, improve the resource profit of current site
With rate.
For the user for being re-assigned to cell-phone number, cell-phone number and account before being relieved due to current site
Binding relationship between number, the user current site registration be assigned to account when, can set up cell-phone number and
Binding relationship between the account being assigned to, it is to avoid due to binding relationship before between cell-phone number and account
Binding behavior of the user to cell-phone number and the account being assigned to is influenceed, Consumer's Experience is further lifted.
Embodiment 4
Based on identical inventive concept, embodiment 4 provides a kind of binding method, and methods described is used for original annotation
Volume account and there is unbinding between the bound object of binding relationship with the former register account number, and described
Binding relationship is set up between bound object and new registration account, as shown in fig. 6, this method is including following
Step:
Step S61:Receive the bind request that new registration account and the bound object are set up to binding relationship;
When user succeeds in registration in website, website is that can distribute to above-mentioned user's new registration account, and this user is also
Can be the access right for possessing above-mentioned bound object, now, user can be sent bound object and distribution
To new registration account set up the request of binding relationship, now, current site can receive above-mentioned bind request.
Step S62:Judge whether the bound object has binding relationship with the former register account number;
Website is after above-mentioned bind request is received, you can judge binding feelings of the bound object in current site
Condition, can be first specifically when whether judge above-mentioned bound object is there is binding relationship with former register account number
All bindings that bound object is inquired about in current site are recorded, and judge that the bound object is according to binding record
No is there is binding relationship with former register account number.
Step S63:Determine whether that the binding between the former register account number and the bound object can be released
Relation;
If step S62 judged result is when being, set up according to former register account number and the bound object
Second time of binding relationship, and the state of the bound object are remembered for the use state of abnormal using state
Very first time during record generation, it is determined whether can release between the former register account number and the bound object
Binding relationship, server of the use state record according to belonging to the bound object know described in tie up
Determine the use state generation of object, the use state includes normal operating condition and abnormal using state.
The specific determination method of this step is referring to embodiment 1 or the method for embodiment 2, to avoid repeating,
This is repeated no more, and " the former register account number " wherein in the embodiment is the " note in embodiment 1 or embodiment 2
Volume account ".
Step S64:The binding relationship between the bound object and the former register account number is released, and is set up
Binding relationship between the bound object and the new registration account.
Closed when being determined to release the binding between the former register account number and the bound object in step S63
When being, the binding relationship between the bound object and the former register account number is released, and set up the binding
Binding relationship between object and the new registration account.
The method provided using embodiment 4, for the user for being re-assigned to bound object, the user
When current site registration is assigned to new registration account, due to the unbinding object of current site and original annotation volume account
Binding relationship between number, the binding relationship that can be set up between new registration account and bound object, it is to avoid
Because the binding relationship between bound object before and former register account number influences the user to bound object and new
The binding behavior of register account number, lifts Consumer's Experience.
Embodiment 5
Based on identical inventive concept, embodiment 5 unbinds device there is provided one kind, and being used to determine whether can
Binding relationship between de-registration account and bound object, as shown in fig. 7, the device includes:Inquire about mould
Block 71, acquisition module 72 and determining module 73, wherein:
The enquiry module 71, can be used for the use shape that the bound object is inquired about according to the bound object
State is recorded, the binding pair that server of the use state record according to belonging to the bound object is known
The use state generation of elephant, the use state includes normal operating condition and abnormal using state;
The acquisition module 72, can be used for the use state record generation that acquisition state is abnormal using state
When the very first time;
The determining module 73, can be used for setting up binding pass according to the register account number and the bound object
The relation between the second time and very first time when being, it is determined whether the register account number can be released
Binding relationship between the bound object.
When present apparatus embodiment works, enquiry module inquires about all use states corresponding with bound object first
Record, then use state record generation of the acquisition module acquisition bound object in abnormal using state
When the very first time, when last determining module sets up binding relationship according to the register account number and bound object
Second time and the very first time determine whether to release between the register account number and the bound object
Binding relationship.
Determining module 73 in embodiment 5, which is used to be set up according to the register account number and the bound object, ties up
The relation between the second time and very first time when determining relation, it is determined whether the registration can be released
Binding relationship between account and the bound object, can specifically include:According to the register account number and institute
State bound object and set up the second time of binding relationship and the very first time away from current time in preset duration,
Determine whether that the binding relationship between the register account number and the bound object can be released.
In addition, determining module 73 is used to set up binding relationship according to the register account number and the bound object
When the second time and the very first time between relation, it is determined whether can release the register account number and
Binding relationship between the bound object, can specifically include:If the register account number and the binding
Object sets up the very first time of binding relationship earlier than second time, it is determined that can release the registration account
Binding relationship number between the bound object;And/or, if the register account number and the bound object
The very first time for setting up binding relationship is later than second time, it is determined that can not release the register account number and
Binding relationship between the bound object.
Embodiment 6
Based on identical inventive concept, embodiment 6 provides a kind of binding device, and described device is used for original annotation
Volume account and there is unbinding between the bound object of binding relationship with the former register account number, and described
Binding relationship is set up between bound object and new registration account, as shown in figure 8, the device includes receiving module
81st, judge module 82, determination release module 83 and binding module 84, wherein:
The receiving module 81, can be used for receiving and new registration account and the bound object is set up into binding pass
The bind request of system;
The judge module 82, can be used for judging whether the bound object exists with the former register account number
Binding relationship;
It is described to determine to release module 83, it can be used for when the judged result of judge module is is, according to original annotation
Volume account and the bound object set up the second time of binding relationship, and the state of the bound object is
The very first time during use state record generation of abnormal using state, it is determined whether the original annotation can be released
Binding relationship between volume account and the bound object, the use state record is according to the bound object
The use state generation for the bound object that affiliated server is known, the use state includes normally making
With state and abnormal using state;
The binding module 84, can be used for being determined to release the former register account number it is determined that releasing module
During binding relationship between the bound object, release between the bound object and the former register account number
Binding relationship, and the binding relationship set up between the bound object and the new registration account.
When present apparatus embodiment works, receiving module is received to set up new registration account and the bound object and tied up
Determine the bind request of relation, judge module judges whether the bound object exists with the former register account number and tied up
Relation is determined, it is then determined that releasing module when the judged result of judge module is is, it is determined whether can release
Binding relationship between the former register account number and the bound object, last binding module is it is determined that release mould
When block is determined to release the binding relationship between the former register account number and the bound object, release described
Binding relationship between bound object and the former register account number, and set up the bound object and the new note
Binding relationship between volume account.The device embodiment can obtain identical with foregoing embodiment of the method 4
Or similar technique effect.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or meter
Calculation machine program product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or knot
The form of embodiment in terms of conjunction software and hardware.Wherein wrapped one or more moreover, the application can be used
Containing computer usable program code computer-usable storage medium (include but is not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
The application is produced with reference to according to the method, equipment (system) and computer program of the embodiment of the present application
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and
/ or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion
Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set
In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place
Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique realizes that information is stored.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
Random access memory (RAM), read-only storage (ROM), the electrically erasable of his type are read-only
Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage
(CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be calculated available for storage
The information that equipment is accessed.Defined according to herein, computer-readable medium does not include temporary computer-readable matchmaker
The data-signal and carrier wave of body (transitory media), such as modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, commodity or equipment including a series of key elements are not only wrapped
Include those key elements, but also other key elements including being not expressly set out, or also include for this process,
Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including
One ... " limit key element, it is not excluded that in the process including key element, method, commodity or equipment
Also there is other identical element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more
Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM,
Optical memory etc.) on the form of computer program product implemented.
Embodiments herein is these are only, the application is not limited to.For people in the art
For member, the application can have various modifications and variations.It is all to be made within spirit herein and principle
Any modification, equivalent substitution and improvements etc., should be included within the scope of claims hereof.