CN104518873A - Anonymous login method and device - Google Patents

Anonymous login method and device Download PDF

Info

Publication number
CN104518873A
CN104518873A CN201310457013.7A CN201310457013A CN104518873A CN 104518873 A CN104518873 A CN 104518873A CN 201310457013 A CN201310457013 A CN 201310457013A CN 104518873 A CN104518873 A CN 104518873A
Authority
CN
China
Prior art keywords
terminal equipment
anonymous
account
anonymous account
login
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
CN201310457013.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.)
Beijing Feinno Communication Technology Co Ltd
Original Assignee
Beijing Feinno Communication Technology 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 Beijing Feinno Communication Technology Co Ltd filed Critical Beijing Feinno Communication Technology Co Ltd
Priority to CN201310457013.7A priority Critical patent/CN104518873A/en
Publication of CN104518873A publication Critical patent/CN104518873A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an anonymous login method and device, and belongs to the technical field of networks. The method comprises the steps that when anonymous login request sent by terminal equipment is received, an anonymous account number is selected from an account number resource pool, and the account number resource pool comprises multiple anonymous account numbers; the anonymous account number is sent to the terminal equipment so that the anonymous account number is cached by the terminal equipment; the terminal equipment is arranged to be in an anonymous account number login state; and when an operation request of the terminal equipment is received, the operation request is responded according to operation authority corresponding to the anonymous account number. The anonymous account number is allocated for the terminal equipment, and the terminal equipment is arranged to be in the anonymous account number login state without manual entry so that operation is simple and convenient, instantaneity is high, a problem that login cannot be performed if the account number is not registered is solved, and thus the login threshold is lowered.

Description

Anonymous login method and apparatus
Technical field
The present invention relates to networking technology area, particularly a kind of anonymous login method and apparatus.
Background technology
While Internet technology development, occur that a large amount of take user as the website of core, as friend-making sites or shopping website etc.And constantly perfect along with these web sites function, the demand of user to the instant communication function of website is also more and more higher.
For shopping website, when user needs the details understanding product, a session can be initiated to contact staff, to seek advice from relevant information to contact staff.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
General when each initiation session, all need user to log in this website according to registered account information, login process is inevitable, and register is loaded down with trivial details, for the user of also this website unregistered, also need first to register this website and log in, instantaneity is poor.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of anonymous login method and apparatus.Described technical scheme is as follows:
First aspect, provide a kind of anonymous login method, described method comprises:
When receiving the anonymous login request that terminal equipment sends, from account resource pool, choose an anonymous account, described account resource pool comprises multiple anonymous account;
Described anonymous account is sent to described terminal equipment, makes anonymous account described in described terminal equipment buffer memory;
Described terminal equipment is set to the state being in described anonymous account login;
When receiving the operation requests of described terminal equipment, the operating right corresponding according to described anonymous account responds described operation requests.
Second aspect, provide a kind of anonymous login device, described device comprises:
Account chooses module, and for when receiving the anonymous login request that terminal equipment sends, from account resource pool, choose an anonymous account, described account resource pool comprises multiple anonymous account;
Account sending module, for described anonymous account is sent to described terminal equipment, makes anonymous account described in described terminal equipment buffer memory;
State setting module, for being set to the state being in described anonymous account login by described terminal equipment;
Operation requests respond module, for when receiving the operation requests of described terminal equipment, the operating right corresponding according to described anonymous account responds described operation requests.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method and apparatus that the embodiment of the present invention provides, by distributing anonymous account for terminal equipment, terminal equipment is set to the state being in this anonymous account login, without the need to carrying out manual entry process, easy and simple to handle, instantaneity is strong, and the problem that can not log in when solving unregistered account, reduce the threshold of login.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of anonymous login method that the embodiment of the present invention provides;
Fig. 2 is the flow chart of a kind of anonymous login method that the embodiment of the present invention provides;
Fig. 3 is a kind of anonymous login apparatus structure schematic diagram that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of a kind of anonymous login method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is server, and see Fig. 1, described method comprises:
101, when receiving the anonymous login request that terminal equipment sends, from account resource pool, choose an anonymous account, this account resource pool comprises multiple anonymous account;
102, this anonymous account is sent to this terminal equipment, make this anonymous account of this terminal equipment buffer memory;
103, this terminal equipment is set to the state being in this anonymous account login;
104, when receiving the operation requests of this terminal equipment, this operation requests is responded according to the operating right that this anonymous account is corresponding.
The method that the embodiment of the present invention provides, by distributing anonymous account for terminal equipment, terminal equipment is set to the state being in this anonymous account login, without the need to carrying out manual entry process, easy and simple to handle, instantaneity is strong, and the problem that can not log in when solving unregistered account, reduce the threshold of login.
Alternatively, when receiving the anonymous login request that terminal equipment sends, choose an anonymous account from account resource pool before, described method also comprises:
According to the traffic carrying capacity of server, determine the preset number of anonymous account;
According to described preset number, generate a described preset number anonymous account, and a described preset number anonymous account is kept in described account resource pool.
Alternatively, from account resource pool, choose an anonymous account to comprise:
According to the access times of the multiple anonymous account in described account resource pool, from described multiple anonymous account, choose the minimum anonymous account of access times; Or,
Obtain the facility information of described terminal equipment, from described account resource pool, choose the anonymous account of mating with described facility information; Or,
Obtain the positional information of described terminal equipment, from described account resource pool, choose the anonymous account of mating with described positional information; Or,
Obtain the phone number of described terminal equipment, from described account resource pool, choose the anonymous account of mating with the regional number section of described phone number.
Alternatively, after described anonymous account is sent to described terminal equipment, described method also comprises:
When not receiving arbitrary operation requests of described terminal equipment in the first preset duration, control the state that described terminal equipment exits described anonymous account login; And/or,
When receive described terminal equipment send exit request time, control described terminal equipment and exit anonymous login state, and the state of described anonymous account is adjusted to idle condition.
Alternatively, after described anonymous account is sent to described terminal equipment, described method also comprises:
When receiving the refresh requests that described terminal equipment sends in the second preset duration, described terminal equipment is set to the state being in the login of anonymous account, described refresh requests carries the anonymous account of described terminal equipment buffer memory; And/or,
When receiving the anonymous login request of described terminal equipment transmission, and determine that the described terminal equipment last time exits anonymous login state and this time interval received between described anonymous login request when being less than the 3rd preset duration, described terminal equipment is set to the state being in anonymous login.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the flow chart of a kind of anonymous login method that the embodiment of the present invention provides.The interaction agent of this inventive embodiments is server and terminal equipment, and see Fig. 2, described method comprises:
201, server is according to the traffic carrying capacity of this server, determines the preset number of anonymous account;
The embodiment of the present invention be applied to user use terminal equipment access this server association application scene under, this server be used for for access this application terminal equipment distribute anonymous account.Wherein, this server can be any one in the software of association or the server cluster of website service, and also can be the functional module in the software of association or the server of website service, the embodiment of the present invention limit this.
In embodiments of the present invention, this server can when the anonymous login request receiving this terminal equipment, and an interim generation anonymous account, sends to this terminal equipment.But, it is the time that this terminal equipment distributes anonymous account to reduce this server further, simplify the flow process logged in, preferred mode can be: this server generates multiple anonymous account in advance, when this server receives the anonymous login request of this terminal equipment, an anonymous account can be chosen from the multiple anonymous account generated in advance, send to this terminal equipment.Then in step 201, this server according to the traffic carrying capacity of this server, can be determined the anonymous preset number needing to generate, so that follow-up according to this preset number, generates anonymous account.
In addition, those skilled in the art can be known, user can this application of registered in advance, namely user sends registration request by terminal equipment to this server, and this registration request carries the account information of user's setting, and this server is according to this account information, generate regular account number, complete the registration process of this user, terminal equipment this regular account number that can input according to this user and the information such as password, validation problem corresponding to this regular account number, log in this application afterwards.Then in order to determine the anonymous preset number required for this server exactly, this step 201 can also comprise: this server, according to the number of traffic carrying capacity and registered regular account number, determines this preset number.The determination mode of the embodiment of the present invention to this preset number does not limit.
202, this server is according to this preset number, generates this preset number anonymous account, and is kept in account resource pool by this preset number anonymous account;
In embodiments of the present invention, in order to distinguish regular account number and anonymous account, this server can set up account resource pool, and this preset number generated anonymous account is kept in this account resource pool.And in actual applications, can classify to account, the account of generation is divided into regular account number and anonymous account, and add in corresponding resource pool respectively, regular account number to be distributed to registered terminal equipment user, anonymous account is distributed to the terminal equipment sending anonymous login request.
Wherein, this account resource pool can also comprise the information such as access times, service time of each anonymous account, and the embodiment of the present invention does not limit this.
Alternatively, after generating this preset number anonymous account by execution above-mentioned steps 201 and step 202, can also according to the increase of the growth of this server service amount or reduction and this conventional preset number or minimizing, this preset number is adjusted, and then according to the preset number after adjustment, generate anonymous account accordingly or delete anonymous account.
It should be noted that, the above-mentioned step generating anonymous account according to this preset number is optional step, and this server can also generate multiple anonymous account according to other parameters such as current network conditions, and the embodiment of the present invention does not limit this.
203, when this terminal equipment receives login instruction, anonymous login request is sent to this server;
Wherein, this terminal equipment can provide conventional login option and anonymous login option, this login instruction can be triggered the clicking operation of this anonymous login option by user, or automatically triggers when user enters the page needing logon rights, and the embodiment of the present invention does not limit this.
In embodiments of the present invention, this anonymous login request can also carry the information such as facility information or positional information of this terminal equipment, so that this server information of carrying according to this anonymous login request chooses anonymous account for this terminal equipment, the embodiment of the present invention does not limit the information that this anonymous login request is specifically carried.
204, when this server receives the anonymous login request of this terminal equipment transmission, from this account resource pool, choose an anonymous account, this anonymous account is sent to this terminal equipment, this account resource pool comprises multiple anonymous account;
Now, the number of the plurality of anonymous account may be identical with this preset number, also may be different from this preset number.
Particularly, this step 204 can comprise the following steps any one or multinomial in (1)-(4):
(1) when this server receives the anonymous login request of this terminal equipment transmission, according to the access times of the multiple anonymous account in this account resource pool, from the plurality of anonymous account, choose the anonymous account that access times are minimum, anonymous account minimum for these access times is sent to this terminal equipment;
In embodiments of the present invention, usually, this account resource pool comprises multiple anonymous account.In order to ensure the load balancing of anonymous account, be that terminal equipment distributes in the process of anonymous account at this server, the access times of each anonymous account can be added up, then when this server receives the anonymous login request of this terminal equipment transmission, can sort to the anonymous account in this account resource pool according to access times, and choose the minimum anonymous account of access times, send to this terminal equipment.
This server sends to terminal equipment by the anonymous account choosing access times minimum, the plurality of anonymous account is made to be balancedly multiple terminal equipment service, avoid and occur a certain anonymous account long idle, and the situation that a certain anonymous account is too busy.
Choose anonymous account according to the access times of the plurality of anonymous account in above-mentioned steps (1), and in actual applications, can also further terminal equipment be classified, and set up the matching relationship of anonymous account and terminal equipment type.Wherein, a kind of terminal equipment type can mate multiple anonymous account, an anonymous account also can mate one or more terminal equipment type, makes each anonymous account to be the terminal equipment service of type matching, is convenient to this server to the management of anonymous account and distribution.
Wherein, the criteria for classification of this terminal equipment can ownership place belonging to the phone number of terminal equipment model or terminal equipment, can also the combination of ownership place belonging to terminal equipment model and phone number, the embodiment of the present invention does not limit this criteria for classification.Terminal equipment is classified to this server according to several different criteria for classification below, and the process choosing the anonymous account of mating with terminal equipment type is described.
(2) when this server receives the anonymous login request of this terminal equipment transmission, obtain the facility information of this terminal equipment, from this account resource pool, choose the anonymous account of mating with this facility information, the anonymous account of mating with this facility information is sent to this terminal equipment;
Wherein, this facility information can be the model of this terminal equipment, the IP(InternetProtocol of this terminal equipment, the agreement interconnected between network) ownership place etc. belonging to phone number of address or this terminal equipment, the embodiment of the present invention does not limit this.
In embodiments of the present invention, this server can be classified to terminal equipment according to facility information in advance, and set up the matching relationship of this anonymous account and this facility information, when this server receives the anonymous login request of this terminal equipment transmission, obtain the facility information of this terminal equipment, choose the anonymous account of mating with this facility information.To three kinds of modes of carrying out classifying according to facility information be listed below:
A () this server is classified to terminal equipment according to terminal equipment model, and determine the terminal equipment model that each anonymous account is mated, then when this server receives the anonymous login request of this terminal equipment transmission, obtain the terminal equipment model that this anonymous login request is carried, and determine according to this terminal equipment model that each anonymous account is mated, determine the multiple anonymous account that this terminal equipment model is mated, therefrom random selecting anonymous account, sends to this terminal equipment, b () this server is classified to terminal equipment according to the IP address affiliated area of terminal equipment, and determine the region that each anonymous account is mated, then when this server receives the anonymous login request of this terminal equipment transmission, obtain the IP address of the terminal equipment that this anonymous login request is carried, and according to the region that this each anonymous account is mated, determine the multiple anonymous account of this Region Matching, therefrom random selecting anonymous account, sends to this terminal equipment, c () this server is classified to terminal equipment according to the ownership place belonging to terminal equipment model and phone number, and determine the terminal equipment model that each anonymous account is mated and ownership place, then when this server receives the anonymous login request of this terminal equipment transmission, obtain terminal equipment model that this anonymous login request carries and the ownership place belonging to phone number, and the terminal equipment model of mating according to this each anonymous account and ownership place, determine the multiple anonymous account that this terminal equipment model and ownership place all mate, therefrom random selecting anonymous account, send to this terminal equipment, or determine the multiple anonymous account that any one of this terminal equipment model and ownership place is mated, therefrom random selecting anonymous account, send to this terminal equipment.
As, the ownership place belonging to phone number that anonymous account " account 1 " and " account 2 " is mated is Beijing, the ownership place belonging to phone number that " account 3 " and " account 4 " mates is Shanghai, then when this server receives the anonymous login request of this terminal equipment transmission, and the ownership place belonging to phone number determining this terminal equipment according to this anonymous login request is when being Beijing, " account 1 " or " account 2 " is sent to this terminal equipment.
(3) when this server receives the anonymous login request of this terminal equipment transmission, obtain the positional information of this terminal equipment, from this account resource pool, choose the anonymous account of mating with this positional information, the anonymous account of mating with this positional information is sent to this terminal equipment;
In embodiments of the present invention, this server can be classified to terminal equipment according to positional information, and determine the positional information that each anonymous account is mated, then when this server receives the anonymous login request of this terminal equipment transmission, obtain the positional information of this terminal equipment, and according to the positional information that this each anonymous account is mated, determine the multiple anonymous account that this positional information is mated, therefrom random selecting anonymous account, sends to this terminal equipment.
It should be noted that, this positional information can according to province, city, city, the expressions such as small towns, according to the difference of coverage, hierarchical relationship can be had between positional information, the region that the positional information of the region overlay next stage that the positional information of upper level is corresponding is corresponding, accordingly, when the positional information of this terminal equipment is identical with the positional information that anonymous account arbitrary in the matching relationship that this server is set up is mated, can determine that this anonymous account is mated with the positional information of this terminal equipment, and when the positional information of this terminal equipment is the lower position information of the positional information of arbitrary anonymous account coupling in this matching relationship, also can determine that this anonymous account is mated with the positional information of this terminal equipment.
As this server determines that each anonymous account mates a province, then, when this server determines the positional information of this terminal equipment for " Qingdao ", the anonymous account can choosing coupling " Shandong Province " sends to this terminal equipment.
(4) when this server receives the anonymous login request of this terminal equipment transmission, obtain the phone number of this terminal equipment, from this account resource pool, choose the anonymous account of mating with the regional number section of this phone number, the anonymous account of mating with the regional number section of this phone number is sent to this terminal equipment.
Those skilled in the art can be known, different according to the regional number section of this phone number, and this phone number is to having different service providers or different regions etc., and the front three number as phone number can corresponding with service business, and four can corresponding region to seven.
This server can be classified to terminal equipment according to the regional number section of phone number, and determine the regional number section that each anonymous account is mated, then when this server receives the anonymous login request of this terminal equipment transmission, obtain the regional number section of the phone number of this terminal equipment, and according to the regional number section that this each anonymous account is mated, determine the multiple anonymous account that the regional number section of this phone number is mated, therefrom random selecting anonymous account, sends to this terminal equipment.
In addition, this terminal equipment can also adopt the combining form of above-mentioned steps (1)-(4) to choose anonymous account, as based on above-mentioned steps (1) and (2), when this server receives the anonymous login request of this terminal equipment transmission, obtain the facility information of this terminal equipment, determine the multiple anonymous account of mating with this facility information in this account resource pool, and anonymous account minimum for access times in the multiple anonymous account of mating with this facility information is sent to this terminal equipment.The embodiment of the present invention does not limit this combining form.
In embodiments of the present invention, history in order to avoid this anonymous account uses information (as historical session record) to reveal, this step 204 can comprise: when this server receives the anonymous login request of this terminal equipment transmission, an anonymous account is chosen from this account resource pool, the history of this anonymous account is used information deletion, and this anonymous account is sent to this terminal equipment.
205, this terminal equipment is set to the state being in this anonymous account login by this server;
In embodiments of the present invention, this terminal equipment can be in the state that anonymous account logs in, and can also be in the state exiting anonymous account and log in.When this terminal equipment is in the state of anonymous account login, the operation needing the page of logon rights or execution to need logon rights can be entered, and when this terminal equipment exits the state of anonymous account login, then can not enter the operation needing the page of logon rights or execution to need logon rights.
During the state that this anonymous account logs in as being in when this terminal equipment, can according to the online customer service initiation session of this anonymous account to website, then cannot initiation session when exiting the state that anonymous account logs in.
After this step 205, described method can also comprise: the state of this anonymous account is adjusted to busy condition by this server, to avoid when distributing anonymous account for the other-end equipment outside this terminal equipment, occur this anonymous account duplicate allocation to the problem of this other-end equipment.
It should be noted that, in step 204 and step 205, perform after the process sending this anonymous account for the process arranging the state being in this anonymous account login and be described, and in actual applications, above-mentioned two processes can perform simultaneously, can also one in front and one in back perform, the embodiment of the present invention does not limit this.
206, when this terminal equipment receives the anonymous account of this server transmission, this anonymous account of buffer memory;
Alternatively, this terminal equipment is when receiving the anonymous account that this server sends, this anonymous account is buffered in the cookie of the browser of current application, so that this server obtains the use information of this anonymous account, and safeguards the logging status of this terminal equipment.
In embodiments of the present invention, this terminal equipment, can also the information such as login time, the operation that triggers when being in this anonymous account logging status of this anonymous account of buffer memory when this anonymous account of buffer memory, and the embodiment of the present invention does not limit this.
207, when this terminal equipment receives operational order, corresponding operation requests is sent to this server;
Wherein, this operational order can be the instruction of the instruction of the scroll through pages of user's triggering, initiation session, the instruction etc. entering commodity details page, and the embodiment of the present invention does not limit this.
208, when this server receives the operation requests of this terminal equipment, respond this operation requests according to the operating right that this anonymous account is corresponding, perform step 209;
In embodiments of the present invention, terminal equipment status can be divided at least three kinds of states by this server, at least can comprise non-logging status, anonymous account logging status, regular account number logging status, can also, according to the difference of account rank, be member account logging status, senior member account logging status etc. by regular account number logging status Further Division.For the terminal equipment being in different conditions, this server is that the operating right that terminal equipment opens is also different, and accordingly, when receiving the operation requests of terminal equipment, the operation response of this server is also different.
Particularly, when this server receives the operation requests of this terminal equipment, obtain the current status of this terminal equipment, according to the operating right that the current status of this terminal equipment is corresponding, respond this operation requests.
As, based on a shopping website, when this server receives the operation requests entering commodity details page of this terminal equipment, and this terminal equipment is when being in anonymous account logging status, because this commodity details page is open to the account of all ranks, then this server shows this commodity details page on this terminal equipment; And when this server receive this terminal equipment enter payment the page operation requests time, because this payment page is only open to regular account number, then this server sends failed message to terminal equipment, and display reminding information, prompting user carries out regular account number register.
209, when this server does not receive arbitrary operation requests of this terminal equipment in the first preset duration, the state that this terminal equipment exits this anonymous account login is controlled;
Wherein, this first preset duration can be determined according to the traffic carrying capacity of this server or the current anonymous preset number being in idle condition of this server, and the embodiment of the present invention does not limit this.
In embodiments of the present invention, when this server does not receive arbitrary operation requests of this terminal equipment in this first preset duration, when that is to say that this terminal user does not trigger any operation in this first preset duration, control the state that this terminal equipment exits this anonymous account login.
Alternatively, when this server does not receive arbitrary operation requests of this terminal equipment in this first preset duration, display reminding window on this terminal equipment, whether inquiry user continues to use anonymous login state, this prompt window comprises confirmation option or denies option, when this server determines that this terminal equipment receives user to when confirming the clicking operation of option, this terminal equipment is kept to be in the state of this anonymous account login, and when this server determines that this terminal equipment receives user to the clicking operation denying option, or when not receiving arbitrary operation requests yet within a period of time, control the state that this terminal equipment exits this anonymous account login.
Alternatively, when this terminal equipment exits the state of this anonymous account login, this server can allow this terminal equipment in predetermined duration, retain the anonymous account of this buffer memory and the information of this anonymous account, with when the operation requests of this terminal equipment being detected, this anonymous account can be retained for this terminal equipment, and when having exceeded this predetermined duration, this terminal equipment is again by the anonymous account of this buffer memory and the information deletion of this anonymous account, and the state of this anonymous account is adjusted to idle condition by this server, to reuse this anonymous account.
210, when this terminal equipment receives refreshing instruction, send refresh requests to this server, this refresh requests carries the anonymous account of this terminal equipment buffer memory;
Wherein, the refresh option that this refreshing instruction can be provided by user's click browser triggers, and automatically can also be triggered by the operation of opening the page after abnormal closedown, the embodiment of the present invention does not limit this.
211, when this server receives the refresh requests of this terminal equipment transmission in this second preset duration, this terminal equipment is set to the state being in this anonymous account login;
In embodiments of the present invention, in order to ensure when this terminal equipment refreshes this application, there will not be because anonymous account changes and cause unnecessary traffic carrying capacity, this server is when receiving the refresh requests that this terminal equipment sends, can be set to be in the state that same anonymous account logs in by this terminal equipment, instead of redistribute an anonymous account for this terminal equipment.
In embodiments of the present invention, this second preset duration can for last operation requests before receiving this refresh requests of this server for the determined duration of start time point.Wherein, this refresh requests can think one of them operation requests of this terminal equipment, namely this step 210 and step 211 can realize by performing step 208 before this step 209, but be greater than this first preset duration, this step 211 for this second preset duration in embodiments of the present invention to perform after this step 209 and be described, to illustrate that this server is after this terminal equipment of control exits the state of this anonymous account login, receives the processing procedure during refresh requests of this terminal equipment.
Particularly, when this server does not receive arbitrary operation requests of this terminal equipment in the first preset duration, control the state that this terminal equipment exits this anonymous account login, now, this terminal equipment is this anonymous account of buffer memory still, and when this server receives the refresh requests of this terminal equipment transmission in this second preset duration, according to the anonymous account of this buffer memory, again this terminal equipment is set to the state being in this anonymous account login.Or, if when this server receives the refresh requests of this terminal equipment transmission when exceeding this second preset duration, because this terminal equipment and this server are by the anonymous account of this buffer memory and the information deletion of this anonymous account, then this server can redistribute an anonymous account for this terminal equipment.
Such as, suppose that this first preset duration is 30 minutes, this second preset duration is 40 minutes, then receive the time point of an operation requests of this terminal equipment with this server for t0(minute), if then this server is when time point t0+30, when not receiving arbitrary operation requests of this terminal equipment yet, this terminal equipment of this server controls exits the state that this anonymous account logs in, when putting t0+40 the time of advent, the anonymous account of this terminal equipment by buffer memory and the information deletion of anonymous account, then (1) is when this server receives the refresh requests of this terminal equipment transmission at time point t0+32, this terminal equipment is set to the state being in this anonymous account login by this server, (2) when this server receives at time point t0+50 the refresh requests that this terminal equipment sends, this server redistributes an anonymous account for this terminal equipment.
Further, this server can also controlling in a period of time that this terminal equipment exits after the state of anonymous login by step 209 or when the exit instruction of this terminal equipment being detected, for the anonymous account used when this terminal equipment retains last anonymous login, so that this terminal equipment logs in again according to identical anonymous account again.
Particularly, it is the 3rd preset duration that this server is previously determined to be the duration that this terminal equipment retains this anonymous account, then when this server receives the anonymous login request of this terminal equipment, judge that this terminal equipment last time exits anonymous login state and whether this time interval received between this anonymous login request is less than the 3rd preset duration, if, the state that the anonymous account being then set to this terminal equipment be in this reservation logs in, if not, again for this terminal equipment distributes an anonymous account.
212, when this terminal equipment receives exit instruction, send to this server and exit request, this exits request and carries this anonymous account;
Wherein, this exit instruction can be closed the triggering such as operation or power-off operation of browser by user, the embodiment of the present invention does not limit this.
Particularly, when this terminal equipment receives this exit instruction, obtain this anonymous account of this terminal equipment buffer memory, and send this to this server and exit request, this exits request and carries this anonymous account, in addition, this exits the information such as login time that request can also carry this anonymous account, the operation that triggers when being in this anonymous account logging status.
213, when this server receive this terminal equipment send exit request time, control this terminal equipment and exit anonymous login state, and the state of this anonymous account is adjusted to idle condition, perform step 213;
In embodiments of the present invention, the state of this anonymous account, by when receiving this and exiting request, is adjusted to idle condition, achieves the recovery of anonymous account, so that reuse this anonymous account, save account resource by this server.
Alternatively, based on step 209 and step 211, when reaching the 3rd preset duration after this terminal equipment of this server controls exits anonymous login state, this terminal equipment this anonymous account by buffer memory and the information deletion of this anonymous account, and the state of this anonymous account is adjusted to idle condition.
The method that the embodiment of the present invention provides, by distributing anonymous account for terminal equipment, terminal equipment is set to the state being in this anonymous account login, without the need to carrying out manual entry process, easy and simple to handle, instantaneity is strong, and the problem that can not log in when solving unregistered account, reduce the threshold of login, and by the state of anonymous account is adjusted to idle condition, achieve recovery and the recycling of anonymous account, save account resource.
Fig. 3 is a kind of anonymous login apparatus structure schematic diagram that the embodiment of the present invention provides, and see Fig. 3, described device comprises: account chooses module 301, account sending module 302, state setting module 303, operation requests respond module 304,
Wherein, account chooses module 301 for when receiving the anonymous login request that terminal equipment sends, and from account resource pool, choose an anonymous account, this account resource pool comprises multiple anonymous account;
Account sending module 302 and account are chosen module 301 and are connected, and for this anonymous account is sent to this terminal equipment, make this anonymous account of this terminal equipment buffer memory; State setting module 303 and account are chosen module 301 and are connected, for this terminal equipment being set to the state being in this anonymous account login; Operation requests respond module 304 is connected with state setting module 303, for when receiving the operation requests of this terminal equipment, responds this operation requests according to the operating right that this anonymous account is corresponding.
Alternatively, this device also comprises:
Anonymous account quantity determination module, for the traffic carrying capacity according to server, determines the preset number of anonymous account;
Account generation module, for according to this preset number, generates this preset number anonymous account, and this preset number anonymous account is kept in this account resource pool.
Alternatively, this account is chosen module 301 and is comprised:
First chooses unit, for the access times according to the multiple anonymous account in this account resource pool, chooses the anonymous account that access times are minimum from the plurality of anonymous account; Or,
Second chooses unit, for obtaining the facility information of this terminal equipment, chooses the anonymous account of mating with this facility information from this account resource pool; Or,
3rd chooses unit, for obtaining the positional information of this terminal equipment, chooses the anonymous account of mating with this positional information from this account resource pool; Or,
4th chooses unit, for obtaining the phone number of this terminal equipment, chooses the anonymous account of mating with the regional number section of this phone number from this account resource pool.
Alternatively, this device also comprises:
First exits module, for when not receiving arbitrary operation requests of this terminal equipment in the first preset duration, controlling this terminal equipment and exiting anonymous login state; And/or,
Second exits module, for when receive that this terminal equipment sends exit request time, control this terminal equipment and exit the state that this anonymous account logs in, and the state of this anonymous account is adjusted to idle condition.
Alternatively, this device also comprises:
Refresh module, for when receiving the refresh requests that this terminal equipment sends in the second preset duration, this terminal equipment is set to the state being in the login of anonymous account, this refresh requests carries the anonymous account of this terminal equipment buffer memory; And/or,
Module is set again, for working as the anonymous login request receiving this terminal equipment and send, and determine that this terminal equipment last time exits anonymous login state and this time interval received between this anonymous login request when being less than the 3rd preset duration, this terminal equipment is set to the state being in anonymous login.
It should be noted that: the anonymous login device that above-described embodiment provides is when anonymous login, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by server is divided into different functional modules, to complete all or part of function described above.In addition, the anonymous login device that above-described embodiment provides and anonymous login embodiment of the method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an anonymous login method, is characterized in that, described method comprises:
When receiving the anonymous login request that terminal equipment sends, from account resource pool, choose an anonymous account, described account resource pool comprises multiple anonymous account;
Described anonymous account is sent to described terminal equipment, makes anonymous account described in described terminal equipment buffer memory;
Described terminal equipment is set to the state being in described anonymous account login;
When receiving the operation requests of described terminal equipment, the operating right corresponding according to described anonymous account responds described operation requests.
2. method according to claim 1, is characterized in that, when receiving the anonymous login request that terminal equipment sends, choose an anonymous account from account resource pool before, described method also comprises:
According to the traffic carrying capacity of server, determine the preset number of anonymous account;
According to described preset number, generate a described preset number anonymous account, and a described preset number anonymous account is kept in described account resource pool.
3. method according to claim 1, is characterized in that, chooses an anonymous account and comprise from account resource pool:
According to the access times of the multiple anonymous account in described account resource pool, from described multiple anonymous account, choose the minimum anonymous account of access times; Or,
Obtain the facility information of described terminal equipment, from described account resource pool, choose the anonymous account of mating with described facility information; Or,
Obtain the positional information of described terminal equipment, from described account resource pool, choose the anonymous account of mating with described positional information; Or,
Obtain the phone number of described terminal equipment, from described account resource pool, choose the anonymous account of mating with the regional number section of described phone number.
4. method according to claim 1, is characterized in that, after described anonymous account is sent to described terminal equipment, described method also comprises:
When not receiving arbitrary operation requests of described terminal equipment in the first preset duration, controlling described terminal equipment and exiting anonymous login state; And/or,
When receive that described terminal equipment sends exit request time, control described terminal equipment and exit the state that described anonymous account logs in, and the state of described anonymous account is adjusted to idle condition.
5. method according to claim 1, is characterized in that, after described anonymous account is sent to described terminal equipment, described method also comprises:
When receiving the refresh requests that described terminal equipment sends in the second preset duration, described terminal equipment is set to the state being in the login of anonymous account, described refresh requests carries the anonymous account of described terminal equipment buffer memory; And/or,
When receiving the anonymous login request of described terminal equipment transmission, and determine that the described terminal equipment last time exits anonymous login state and this time interval received between described anonymous login request when being less than the 3rd preset duration, described terminal equipment is set to the state being in anonymous login.
6. an anonymous login device, is characterized in that, described device comprises:
Account chooses module, and for when receiving the anonymous login request that terminal equipment sends, from account resource pool, choose an anonymous account, described account resource pool comprises multiple anonymous account;
Account sending module, for described anonymous account is sent to described terminal equipment, makes anonymous account described in described terminal equipment buffer memory;
State setting module, for being set to the state being in described anonymous account login by described terminal equipment;
Operation requests respond module, for when receiving the operation requests of described terminal equipment, the operating right corresponding according to described anonymous account responds described operation requests.
7. device according to claim 6, is characterized in that, described device also comprises:
Anonymous account quantity determination module, for the traffic carrying capacity according to server, determines the preset number of anonymous account;
Account generation module, for according to described preset number, generates a described preset number anonymous account, and a described preset number anonymous account is kept in described account resource pool.
8. device according to claim 6, is characterized in that, described account is chosen module and comprised:
First chooses unit, for the access times according to the multiple anonymous account in described account resource pool, chooses the minimum anonymous account of access times from described multiple anonymous account; Or,
Second chooses unit, for obtaining the facility information of described terminal equipment, chooses the anonymous account of mating with described facility information from described account resource pool; Or,
3rd chooses unit, for obtaining the positional information of described terminal equipment, chooses the anonymous account of mating with described positional information from described account resource pool; Or,
4th chooses unit, for obtaining the phone number of described terminal equipment, chooses the anonymous account of mating with the regional number section of described phone number from described account resource pool.
9. device according to claim 6, is characterized in that, described device also comprises:
First exits module, for when not receiving arbitrary operation requests of described terminal equipment in the first preset duration, controlling described terminal equipment and exiting anonymous login state; And/or,
Second exits module, for when receive that described terminal equipment sends exit request time, control described terminal equipment and exit the state that described anonymous account logs in, and the state of described anonymous account is adjusted to idle condition.
10. device according to claim 6, is characterized in that, described device also comprises:
Refresh module, for when receiving the refresh requests that described terminal equipment sends in the second preset duration, described terminal equipment is set to the state being in the login of anonymous account, described refresh requests carries the anonymous account of described terminal equipment buffer memory; And/or,
Module is set again, for working as the anonymous login request receiving described terminal equipment and send, and determine that the described terminal equipment last time exits anonymous login state and this time interval received between described anonymous login request when being less than the 3rd preset duration, described terminal equipment is set to the state being in anonymous login.
CN201310457013.7A 2013-09-29 2013-09-29 Anonymous login method and device Pending CN104518873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310457013.7A CN104518873A (en) 2013-09-29 2013-09-29 Anonymous login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310457013.7A CN104518873A (en) 2013-09-29 2013-09-29 Anonymous login method and device

Publications (1)

Publication Number Publication Date
CN104518873A true CN104518873A (en) 2015-04-15

Family

ID=52793654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310457013.7A Pending CN104518873A (en) 2013-09-29 2013-09-29 Anonymous login method and device

Country Status (1)

Country Link
CN (1) CN104518873A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483389A (en) * 2016-06-07 2017-12-15 武汉斗鱼网络科技有限公司 A kind of temporary authority management method and device
WO2018072375A1 (en) * 2016-10-21 2018-04-26 武汉斗鱼网络科技有限公司 Method and system for controlling user identity change
CN108153775A (en) * 2016-12-05 2018-06-12 北大方正集团有限公司 META Search Engine high frequency accesses the method and META Search Engine of single website
CN108156273A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of anonymous ID generation methods, device and electronic equipment
CN108683587A (en) * 2018-05-11 2018-10-19 腾讯科技(深圳)有限公司 A kind of account management method and device
CN109358933A (en) * 2018-09-28 2019-02-19 北京小米移动软件有限公司 The creation method and device applied fastly
CN111200610A (en) * 2020-01-03 2020-05-26 北京字节跳动网络技术有限公司 Login method, login device, computer equipment and storage medium
CN114650148A (en) * 2020-12-02 2022-06-21 腾讯科技(深圳)有限公司 Data communication method and device based on social application and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923842A (en) * 1997-03-06 1999-07-13 Citrix Systems, Inc. Method and apparatus for simultaneously providing anonymous user login for multiple users
US20130042312A1 (en) * 2011-08-09 2013-02-14 Mobileframe Llc Authentication in a smart thin client server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5923842A (en) * 1997-03-06 1999-07-13 Citrix Systems, Inc. Method and apparatus for simultaneously providing anonymous user login for multiple users
US20130042312A1 (en) * 2011-08-09 2013-02-14 Mobileframe Llc Authentication in a smart thin client server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483389A (en) * 2016-06-07 2017-12-15 武汉斗鱼网络科技有限公司 A kind of temporary authority management method and device
CN107483389B (en) * 2016-06-07 2020-03-17 武汉斗鱼网络科技有限公司 Temporary authority management method and device
WO2018072375A1 (en) * 2016-10-21 2018-04-26 武汉斗鱼网络科技有限公司 Method and system for controlling user identity change
CN108153775A (en) * 2016-12-05 2018-06-12 北大方正集团有限公司 META Search Engine high frequency accesses the method and META Search Engine of single website
CN108156273A (en) * 2017-12-14 2018-06-12 北京奇艺世纪科技有限公司 A kind of anonymous ID generation methods, device and electronic equipment
CN108683587A (en) * 2018-05-11 2018-10-19 腾讯科技(深圳)有限公司 A kind of account management method and device
CN109358933A (en) * 2018-09-28 2019-02-19 北京小米移动软件有限公司 The creation method and device applied fastly
CN111200610A (en) * 2020-01-03 2020-05-26 北京字节跳动网络技术有限公司 Login method, login device, computer equipment and storage medium
CN111200610B (en) * 2020-01-03 2022-04-26 北京字节跳动网络技术有限公司 Login method, login device, computer equipment and storage medium
CN114650148A (en) * 2020-12-02 2022-06-21 腾讯科技(深圳)有限公司 Data communication method and device based on social application and readable storage medium

Similar Documents

Publication Publication Date Title
CN104518873A (en) Anonymous login method and device
CN108494703B (en) Access frequency control method, device and storage medium
RU2376627C2 (en) Architecture for controlling access to services by competing clients
CN104243405B (en) A kind of request processing method, apparatus and system
US8683544B2 (en) System and method for providing access to a network using flexible session rights
EP2633422B1 (en) Unified policy over heterogenous device types
CN103955405B (en) A kind of application management method and its device
JP2001282756A (en) Mobile agent control method
CN105847277A (en) Service account share management method and system used for third party application
CN105243559A (en) Customer distribution method and device
US10277529B2 (en) Visualization of computer resource quotas
US10063601B2 (en) Client identification for enforcing computer resource quotas
US20170272541A1 (en) Local enforcement of computer resource quotas
CN102017546B (en) Discontinuous access management method using waiting ticket for resource allocation control, waiting ticket management method, and resource allocation control method
CN105119886A (en) Account ownership determination method and device
CN107026879A (en) A kind of data cache method and background application system
US8725868B2 (en) Interactive service management
CN110618838A (en) Configuration method based on block chain service platform
CN107995295B (en) Network video application sharing management system based on cell virtualization server
CN105357239A (en) Method and device for providing service, and method and device for acquiring service
CN103095833B (en) Cloud service system update method and device
CN105636031A (en) Packet communication management method, apparatus and system
CN105917694B (en) Service in telecommunication network provides and activation
CN113656770A (en) Authorization processing method and device, electronic equipment and computer readable storage medium
CN104753964A (en) Network product display method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150415

RJ01 Rejection of invention patent application after publication