Method and device for making clients rapidly access to the peer-to-peer network
First Claim
1. A method for making clients rapidly access to a peer-to-peer network by grouping clients for entering comprising the following steps:
- A1, establishing, by a hardware processor, one or more normal state groups for accessed (logged in) clients;
B1, establishing, by a hardware processor, one or more login groups for clients that intend to log in;
C1, selectively transmitting, by a hardware processor, required contents, variant of the contents or content-related information to the members of the login groups immediately;
D1, selecting, by a hardware processor, after a certain logging group becomes stable, the normal state groups which the login groups intend to add into;
in the step D1 whether the login group is stable is determined through the following steps;
D11, the number of the members in the login group is detected,D12, whether the number of the members in a login group is larger than or equal to the predetermined value is determined, if yes, the login group can be regarded as stable, if not, a step D13 is executed,D13, whether the time during which the login group waits to be added into the normal state group is longer than or equal to a first predetermined time is determined, if yes, the login group can be regarded as stable;
if not, the process continues to wait;
the normal state group which the login group intends to be added into is selected in step D1 through the following steps;
the normal state group with the same attributes is selected,if there exists the normal state group, determining whether the number of the members in a login group is less than a predetermined value;
if yes, the normal state group with fewer members is selected as one that the login group intends to be added into for system balance, if there is no normal state groups whose number of members is less than a predetermined value, another group with the same attribute is added as the normal state group which the login group intending to be added into,if there is no normal state group with the same attributes, a new such normal state group is created as the normal state group which the login group intends to be added into;
for both each normal state group and each login group, control datasets are established, which record the attributes of each member in the state and login groups, and at least comprise necessary data for mutual communication among each member and marks of reflecting changes of the control dataset;
andE1, adding, by a hardware processor, each member of the login groups into the selected normal state groups.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and device for making clients rapidly access to the peer-to-peer network comprise that the accessed clients, which are separated into one or more normal state groups; the clients that intend to log in are separated into one or more login groups; and the required contents, the variant of the contents or the content-related information are selectively transmitted to the members of the login groups immediately. After a certain login group becomes stable, the normal state groups which the login groups intend to be added into are selected and each member of the login groups is added into the selected normal state groups. In this invention, there is no need to frequently send notification individually when each client loges in, rather than send group notification, thus it can reduce network dithering, at the same time the user can receive the content or the related variant of the content immediately and watch the playing of the content without any wait when accessing to the network.
-
Citations
10 Claims
-
1. A method for making clients rapidly access to a peer-to-peer network by grouping clients for entering comprising the following steps:
-
A1, establishing, by a hardware processor, one or more normal state groups for accessed (logged in) clients; B1, establishing, by a hardware processor, one or more login groups for clients that intend to log in; C1, selectively transmitting, by a hardware processor, required contents, variant of the contents or content-related information to the members of the login groups immediately; D1, selecting, by a hardware processor, after a certain logging group becomes stable, the normal state groups which the login groups intend to add into; in the step D1 whether the login group is stable is determined through the following steps; D11, the number of the members in the login group is detected, D12, whether the number of the members in a login group is larger than or equal to the predetermined value is determined, if yes, the login group can be regarded as stable, if not, a step D13 is executed, D13, whether the time during which the login group waits to be added into the normal state group is longer than or equal to a first predetermined time is determined, if yes, the login group can be regarded as stable;
if not, the process continues to wait;the normal state group which the login group intends to be added into is selected in step D1 through the following steps; the normal state group with the same attributes is selected, if there exists the normal state group, determining whether the number of the members in a login group is less than a predetermined value;
if yes, the normal state group with fewer members is selected as one that the login group intends to be added into for system balance, if there is no normal state groups whose number of members is less than a predetermined value, another group with the same attribute is added as the normal state group which the login group intending to be added into,if there is no normal state group with the same attributes, a new such normal state group is created as the normal state group which the login group intends to be added into; for both each normal state group and each login group, control datasets are established, which record the attributes of each member in the state and login groups, and at least comprise necessary data for mutual communication among each member and marks of reflecting changes of the control dataset; and E1, adding, by a hardware processor, each member of the login groups into the selected normal state groups. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A device for making clients rapidly access to peer-to-peer network comprising:
-
means for establishing one or more normal state groups for accessed (logged in) clients; means for establishing one or more login groups for the clients that intend to log in; means for selectively transmitting required contents, variant of the contents or content-related information to the members of the login groups immediately; means for selecting, after a certain logging group becomes stable, the normal state groups which the login groups intend to add into; means for adding each member of the login groups into the selected normal state groups; and means establishing control datasets which record the attributes of each member in the state and login groups, and at least comprise necessary data for mutual communication among each member and marks of reflecting changes of the control dataset for both of each normal state group and each login group.
-
Specification