CN103095688A - Control method of client terminal and server - Google Patents

Control method of client terminal and server Download PDF

Info

Publication number
CN103095688A
CN103095688A CN 201210563941 CN201210563941A CN103095688A CN 103095688 A CN103095688 A CN 103095688A CN 201210563941 CN201210563941 CN 201210563941 CN 201210563941 A CN201210563941 A CN 201210563941A CN 103095688 A CN103095688 A CN 103095688A
Authority
CN
China
Prior art keywords
client
server
time
login user
access
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
CN 201210563941
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN 201210563941 priority Critical patent/CN103095688A/en
Publication of CN103095688A publication Critical patent/CN103095688A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a control method of a client terminal and a server. The control method of the client terminal includes the following steps: a. the server receives a server-access request message sent by the client terminal when the client is accessed into operational process, b. the server updates access time of the client terminal in the a registration information table of a log-on user according to the time receiving the request message, c. the server scans the registration information table of the log-on user at preset intervals and judges whether the time interval between the access time of the client terminal and present time exceeds set threshold, d. the server releases the interlinkage of the client terminal and deletes the information of the client terminal from the registration information table of the log-on user if the time interval between the access time of the client terminal and present time exceeds the set threshold. By means of the control method of the client terminal and the server, processing performances of the server and the client terminal are improved.

Description

Client control method and server
Technical field
The present invention relates to communication technical field, particularly relate to a kind of client control method and a kind of server.
Background technology
In network technology, mutual by with server end of client realized various operations, completes various tasks.
Client and server generally include alternately that client game server, client and server carry out alternately, client withdraws from server.
Wherein:
The process of client game server comprises as shown in Figure 1: step S102: the user carries out server side operation by client game server end, input username and password information; Step S104: after input username and password information, send login user decision request message by client to server end, wherein attached the IP information of client and the username and password information of login user; Step S106: after server end is received, check whether the number of the client of current login has surpassed the number that allows to log in client; Step S108: server end sends login user according to check result to client and judges response message; Step S110: if the number of the client of current login has surpassed the number that allows to log in client, server end returns the response message that refusal logs in to client, and after client was received, the prompting user logged in limited; If the number of the client of current login does not surpass the number that allows to log in client, server end checks the current username and password information that has logged in the client of registration in the login user Registry, see the log-on message that logs in that whether has the active user, if exist, return the response message that the client user has logged in for this client, after client was received, the prompting user logged in other client; If do not find that in the login user Registry this logs in client user's information, reply to accept the response message that logs in to client, after client is received, will present the client operation interface to the user; Step S112: if do not find in the login user Registry that this logs in client user's information, after server end replys the response message of accepting to log in to client, server end increases this and logs in client user's information in the login user Registry, simultaneously the current client user's of logging in number is added up.The information of server end registration login user is used in the time of can and nullifying in the detection of carrying out the online situation of subsequent client.
Client and server carry out mutual process respectively as shown in Figures 2 and 3.At first, as shown in Figure 2, consider the situation that client process may maliciously be killed, in order to guarantee the correctness of the current client user's of the logging in number of server end, this process need client regularly (as 5 minutes) sends online indication information to server end, wherein, server end is identified corresponding client situation in place by the port numbers of the judgement message of receiving.Particularly, comprising: step S202: client determines that online indication timer time arrives; Step S204: the user end to server end sends online indication information; Step S206: server end sends online indication response message to client after receiving the online Indication message that client sends; Step S208: server end is made corresponding online sign to corresponding client, confirms the online situation of certain client; Step S210: for not receiving the client of online indication information in three cycles, server end will regular (three cycles) initiatively be deleted the log-on message of corresponding client in the login user Registry, upgrade simultaneously the current client user's of logging in number, and disconnect the link with client.Moreover as shown in Figure 3, if user's certain hour does not have operating mouse or keyboard, think that the user withdraws from the operation to server, comprising: step S302: client determines that mouse or keyboard monitoring timer time arrive; Step S304: client sends and withdraws from the request message of access to server end; Step S306: after server end is received this message, reply response message to client, simultaneously, execution in step S308: server end is deleted the user of correspondence from the logon information table, upgrade simultaneously the operation of current login user number, and disconnect the link with client; Step S310: simultaneously, after client is received this message, disconnect the link with server end.Need to prove, step S310 and S308 can be two synchronous processes of carrying out, and its execution sequence in no particular order.In said process, in case user's operation stops, mouse or keyboard operation timer will start.If the user has operated mouse or keyboard again, mouse or keyboard operation timer will reset.
The process that client withdraws from server comprises: step S402 as shown in Figure 4: when the user has carried out the operation of withdrawing from client, sent the request message that logs in cancellation by the user end to server end, the announcement server end is nullified the operation to client; Step S404: server end is replied the response message of nullifying to client after receiving; And execution in step S406: server end upgrades the current client user's number that logs in, and upgrades simultaneously the information in the login user Registry, the user profile of correspondence is deleted from the login user Registry, and disconnection is with the link of client; Step S408: simultaneously, after client is received the server end response message, carry out the linked operation of closing with server side, then close client.Need to prove, step S406 and S408 can be two synchronous processes of carrying out, and its execution sequence in no particular order.
by said process as seen, after client user's game server end, the request message that withdraws from access that client can be regularly sends online Indication message and triggers due to not operating mouse or keyboard to server end, server end can be carried out corresponding operation after receiving this message, this operation meeting is along with timer then and frequently triggers, in case the online user number of client access is more, some processing delay that will cause server end, strengthen the processing load of server end, reduce the handling property of server end, the situation that will cause in other words the machine of delaying of server end.Simultaneously, cause certain potential safety hazard also for the processing of server end business and the normal operation of equipment.And, process for some message trigger regularly of client, also increased the weight of the processing load of client, lowered the quick request of client and the speed of response, caused the decline of client process performance, cause the variation of experiencing that the user operates.
Summary of the invention
The invention provides a kind of client control method and a kind of server, one of to address the above problem at least.
In order to address the above problem, the invention discloses a kind of client control method, comprising: server receives the request message that described client conducts interviews to described server in client access running; According to the time that receives described request message, upgrade the access time of client described in the login user Registry; Every the described login user Registry of setting-up time traversal, judge whether the access time of described client surpasses setting threshold apart from the current time; If discharge the link of described client, and the information of described client deleted from described login user Registry.
Preferably, access in running in client at described server, before receiving the step of the request message that described client conducts interviews to described server, also comprise: described server is after accepting the logging in of described client, increase the information of described client in described login user Registry, the information of described client comprises that described client logs in the landing time of described server.
Preferably, after described server is being accepted logging in of described client, increase the step of information of described client in described login user Registry before, also comprise: the access time field that increases client in the original login user Registry of described server, described access time field is used for recording the time of the described server of the last access of described client, wherein, when described client logged in described server, described access time field was used for recording the landing time of described client.
Preferably, after described server is being accepted logging in of described client, after the step of the information of the described client of increase, also comprise: the current number of clients that logs in of described server is added up in described login user Registry; After the described step that the information of described client is deleted from described login user Registry, also comprise: the number that upgrades the current client that logs in of described server.
Preferably, the scope of described setting-up time is 20 minutes to 30 minutes; The scope of described setting threshold is 0.5 hour to 1 hour.
In order to address the above problem, the invention also discloses a kind of server, comprising: receiver module is used for receiving at client access running the request message that described client conducts interviews to described server; Update module is used for upgrading the access time of client described in the login user Registry according to the time that receives described request message; Detection module is used for every the described login user Registry of setting-up time traversal, judges whether the access time of described client surpasses setting threshold apart from the current time; Executive Module is to discharge the link of described client, and the information of described client is deleted from described login user Registry if be used for judgment result is that of described detection module.
Preferably, described server also comprises: log in module, be used at described receiver module at client access running, before receiving the request message that described client conducts interviews to described server, after accepting the logging in of described client, increase the information of described client in described login user Registry, described information comprises that described client logs in the landing time of described server.
Preferably, described server also comprises: module is set, be used for described log in module and accepting logging in of described client after, increase the information of described client in described login user Registry before, increase the access time field of client in the original login user Registry of described server, described access time field is used for recording the time of the described server of the last access of described client, wherein, when described client logged in described server, described access time field was used for recording the landing time of described client.
Preferably, described server also comprises: counting module, be used for described log in module and accepting logging in of described client after, increase the information of described client in described login user Registry after, the current number of clients that logs in of described server is added up; And, described Executive Module is deleted the information of described client from described login user Registry after, upgrade the number of the current client that logs in of described server.
Preferably, the scope of described setting-up time is 20 minutes to 30 minutes; The scope of described setting threshold is 0.5 hour to 1 hour.
Compared with prior art, the present invention has the following advantages:
Server of the present invention is in client access running, the time of the request message that conducts interviews according to the client that receives, the access time of the client that records in the login user Registry of update server, and then whether the difference that judges this time and current time surpasses setting threshold, if surpass, discharge the link of client, the information of client is deleted from the login user Registry.By the present invention, on the one hand, the request message that withdraws from access that client need not be regularly sends online Indication message and/or triggers due to not operating mouse or keyboard to server, alleviated the processing load of client, the quick request of client and the speed of response have been improved, promote the client process performance, improved user's operating experience; On the other hand, server need not be frequently mutual with client, also need not process the frequent mutual information that sends of client, effectively avoided the processing delay of server, alleviated the processing load of server, improve the handling property of server, also avoided the machine of delaying of server, and then avoided the potential safety hazard of the normal operation of the processing of the server service that may cause because of frequent mutual and process information and equipment.
Description of drawings
Fig. 1 is the flow chart of a kind of client game server of prior art;
Fig. 2 is that a kind of client and the server of prior art carries out mutual flow chart;
Fig. 3 is that another kind of client and the server of prior art carries out mutual flow chart;
Fig. 4 is the flow chart that a kind of client of prior art withdraws from server;
Fig. 5 is the flow chart of steps according to a kind of client control method of the embodiment of the present invention one;
Fig. 6 is the flow chart of steps according to a kind of client control method of the embodiment of the present invention two;
Fig. 7 is the flow chart according to a kind of client control method of the embodiment of the present invention three;
Fig. 8 is the structured flowchart according to a kind of server of the embodiment of the present invention four.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Embodiment one
With reference to Fig. 5, show the flow chart of steps according to a kind of client control method of the embodiment of the present invention one.
The client control method of the present embodiment comprises the following steps:
Step S102: server receives the request message that client conducts interviews to server in client access running.
After the present embodiment mainly was described in the client access server, in the client running, server was processed the control of client.
In this step, request message can be that any client sends to server, the message that server is conducted interviews.
Step S104: server upgrades the access time of client in the login user Registry according to the time that receives request message.
There is the login user Registry in existing server, but be not provided for recording user to the access time of server access, in the present embodiment, former login user Registry improved, increase the access time field, record the time of the last access services device of client.Certainly, be not limited to this, in actual applications, those skilled in the art also can arrange the access time of the file record client of new list or other form.But use the access time of login user log-on message table record client, little to the existing procedure change, realize simply saving and realizing cost.
Step S106: server is every setting-up time traversal login user Registry, the access time that judge client apart from the current time whether over setting threshold, if, execution in step S108; If not, execution in step S110.
Wherein, setting-up time and setting threshold all can suitably be arranged according to actual conditions by those skilled in the art, as, according to the interacting message set of frequency between the server and client side, perhaps, according to Business Processing set of frequency of server etc.
Step S108: if the access time of client surpasses setting threshold apart from the current time, server discharges the link of client, and the information of client is deleted from the login user Registry, finishes this flow process.
Step S110: if the access time of client does not surpass setting threshold apart from the current time, server is carried out routine operation, client is not done any processing.
Pass through the present embodiment, server is in client access running, the time of the request message that conducts interviews according to the client that receives, the access time of the client that records in the login user Registry of update server, and then whether the difference that judges this time and current time surpasses setting threshold, if surpass, discharge the link of client, the information of client is deleted from the login user Registry.Pass through the present embodiment, on the one hand, the request message that withdraws from access that client need not be regularly sends online Indication message and/or triggers due to not operating mouse or keyboard to server, alleviated the processing load of client, the quick request of client and the speed of response have been improved, promote the client process performance, improved user's operating experience; On the other hand, server need not be frequently mutual with client, also need not process the frequent mutual information that sends of client, effectively avoided the processing delay of server, alleviated the processing load of server, improve the handling property of server, also avoided the machine of delaying of server, and then avoided the potential safety hazard of the normal operation of the processing of the server service that may cause because of frequent mutual and process information and equipment.
Embodiment two
With reference to Fig. 6, show the flow chart of steps according to a kind of client control method of the embodiment of the present invention two.
The client control method of the present embodiment comprises the following steps:
Step S202: the access time field that increases client in the login user Registry of server original (having now).
Newly-increased access time field is used for recording the time of the last access services device of client, and wherein, when the client game server, the access time field is used for recording the landing time of client.After the client game server, during access first after server is logged in, landing time is updated to the access time first, along with follow-up access, client-access time field is also upgraded along with access, records the access time of the last access services device of client.
Step S204: server increases the information of client in the login user Registry after accepting the logging in of client.
Wherein, client can be wireless client such as mobile terminal, can be also that the cable customer holds as individual PC.The client game server can be the server of wireless access such as mobile terminal access of radio network, can be also to use access, as the applications client access server etc.
In the present embodiment, the information of client comprises that client logs in the landing time of described server.
Preferably, after server is being accepted logging in of client, increase the information of client in the login user Registry after, also the current number of clients that logs in of server is added up.This step is applicable to limit the application of client terminal quantity, after the client game server, increases counting accordingly, whether can use corresponding application to determine client.
Step S206: server receives the request message that client conducts interviews to server in client access running.
Step S208: server upgrades the access time of client in the login user Registry according to the time that receives request message.
Step S210: server is every setting-up time traversal login user Registry, the access time that judge client apart from the current time whether over setting threshold, if, execution in step S212; If not, execution in step S214.
Preferably, the scope of setting-up time is 20 minutes to 30 minutes; The scope of setting threshold is 0.5 hour to 1 hour.
Need to prove, the scope of setting-up time and the scope of setting threshold are not limited to above-mentioned setting, and those skilled in the art can suitably arrange in actual applications according to the actual requirements.Arranging of setting-up time and setting threshold can arrange after the server initialization is completed, and completed the processing of configuration information by server, and this setting should be avoided carrying out in running after the client access.In addition, if necessary, also can make client have the authority of this setting, to realize that client is to the setting of setting-up time and setting threshold.If client arranges, can travel through and judge according to the client setting; If client does not arrange, server travels through and judges according to the default setting in server.
Step S212: if the access time of client surpasses setting threshold apart from the current time, server discharges the link of client, and the information of client is deleted from the login user Registry, finishes this flow process.
Preferably, for the situation of aforementioned limitations client terminal quantity, after the information of client is deleted from the login user Registry, the number of the current client that logs in of update server correspondingly also.
Simultaneously, the client disconnection links with server, and/or, close client.
Step S214: if the access time of client does not surpass setting threshold apart from the current time, server is carried out routine operation, client is not done any processing.
By the present embodiment, reduced client with the mutual number of times of server timing, improved Message Processing efficient and the handling property of server, evaded the risk that server message blocks; Guarantee the normal operation of server, evaded and reduced server service and processed the upper potential safety hazard that produces unusual condition, optimized and improved the handling property of server, greatly reduced the maintenance cost of server; Simultaneously, cancel some message trigger regularly of client and process, also alleviated the processing load of client, improved the quick request of client and the speed of response, promoted the handling property of client, improved the impression of client user's operation.
Embodiment three
With reference to Fig. 7, show the flow chart according to a kind of client control method of the embodiment of the present invention three.
The client control method of the present embodiment comprises the following steps:
Step S302: the user uses client executing to the operation of server, in client input username and password information.
Step S304: client sends login user decision request message to server.
Wherein, the IP information of client and the username and password information of login user have been attached in login user decision request message.
Step S306: after server is received login user decision request message, check the login user information that allows to log in number of clients information or login user Registry.
Comprise: whether the number that checks the client of current login has surpassed the number that allows to log in client, if surpass, replys the response message that refusal logs in to client, and after client is received, can point out the user to log in limited; If do not surpass, check the current username and password information that has logged in the client of registration in the login user Registry, see the log-on message that logs in that whether has the active user, if exist, reply the response message that the client user has logged in for this client, after client was received, the prompting user logged in other client; If do not find that in the login user Registry this logs in client user's information, reply to accept the response message that logs in to client, after client is received, will present the client operation interface to the user.
Step S308: server sends login user according to check result to client and judges response message.
Step S310: if client receive that refusal logs in and reply or the client user has logged in to reply withdraw from and logs in, otherwise, allow the user to log in.
Step S312: if allow the user to log in, server increases at the login user Registry information that this logs in client, simultaneously the current client user's of logging in number is added up, and increase the current landing time of this client in the login user Registry.
By aforesaid operations, realized the client game server.
Step S314: at client access server run duration, receive the request message of client, the access time of synchronously upgrading corresponding client in the login user Registry is the current time, then replys corresponding response message.
At client access server run duration, after client user's game server, take for a long time access-in resource and obsolete situation, receive client user's request message for each server, the access time that server will synchronously upgrade respective user in the login user Registry is the current time.
Step S316: simultaneously, server will regularly travel through the login user Registry, access time and the current time of client are compared, if greater than the regular hour, think that corresponding client has withdrawed from the operation to server, send the Indication message that discharges the client link for corresponding client, disconnect the link of corresponding client; Then the information of the client of correspondence is deleted from the login user Registry, and carry out and upgrade the current number clients purpose operation that logs in; If be not more than, do not do any processing.
Be provided with the client user accesses supervision timer in server, when this client user accesses supervision timer time then, server traversal login user Registry, access time and the current time of client are compared, there is no the client of access for surpassing certain hour, send the Indication message that discharges the client link for this client, disconnect simultaneously server with the link of corresponding client; Then, the information of the client of deletion correspondence, upgrade the current number that logs in client from the login user Registry; Simultaneously, client is closed the linked operation with server after the Indication message of receiving the release client link that server sends, then close client; If do not surpass certain hour, do not process.
Step S318: for normal client (access time and the current time that are client more do not surpass the client of certain hour), when the user has carried out the operation of withdrawing from client, to send the request message that client logs in cancellation by user end to server, announcement server is nullified the operation to client.
Step S320: server is replied the response message of nullifying to client after receiving that client logs in the request message of cancellation.
Step S322: after client is received the server end response message, carry out the linked operation of closing with server, then close client.
Step S324: server upgrades the current number of clients that logs in, and upgrades simultaneously the information in the login user Registry, the client-side information of correspondence is deleted from the login user Registry, and disconnection is with the link of client.
Need to prove, step S322 and S324 can be two synchronous processes of carrying out, and execution sequence in no particular order.
By the present embodiment, server passes through the request message Dynamic trigger of client to the monitoring processing of online client, and is regularly detected, and can realize server the online client access time and dynamically control client online user number.The client control program of the present embodiment can be used for the processing for the control of client user's number, helps to control client with the load of server interaction; Also go for carrying out in the running of commercial distribution for the number of users that limits.By the present embodiment, reduced client with the mutual number of times of server timing, improved Message Processing efficient and the handling property of server, evaded the risk that server message blocks; Guarantee the normal operation of server, evaded and reduced server service and processed the upper potential safety hazard that produces unusual condition, optimized and improved the handling property of server, greatly reduced the maintenance cost of server; Simultaneously, cancel some message trigger regularly of client and process, also alleviated the processing load of client, improved the quick request of client and the speed of response, promoted the handling property of client, improved the impression of client user's operation.
Embodiment four
With reference to Fig. 8, show the structured flowchart according to a kind of server of the embodiment of the present invention four.
The server of the present embodiment has the client control device, comprising: receiver module 402 is used for receiving at client access running the request message that client conducts interviews to server; Update module 404 is used for upgrading the access time of client in the login user Registry according to the time that receives request message; Detection module 406 is used for every setting-up time traversal login user Registry, judges whether the access time of client surpasses setting threshold apart from the current time; Executive Module 408 is to discharge the link of client, and the information of client is deleted from the login user Registry if be used for judgment result is that of detection module 406.
Preferably, the server/customer end control device of the present embodiment also comprises: log in module 410, be used at receiver module 402 at client access running, before receiving the request message that client conducts interviews to server, after accepting the logging in of client, increase the information of client in the login user Registry, described information comprises the landing time of client game server.
Preferably, the server/customer end control device of the present embodiment also comprises: module 412 is set, be used for after logging in module 410 and accepting logging in of client, increase the information of client in the login user Registry before, increase the access time field of client in the original login user Registry of server, the access time field is used for recording the time of the described server of the last access of client, wherein, when the client game server, the access time field is used for recording the landing time of client.
Preferably, module 412 is set, also is used for arranging setting-up time and setting threshold when the server initialization; Perhaps, receive setting-up time and setting threshold that client arranges, and as setting-up time and the setting threshold of server end.
Preferably, the server/customer end control device of the present embodiment also comprises: counting module 414, be used for increase the information of client in the login user Registry after, the current number of clients that logs in of server being added up after logging in module 410 and accepting logging in of client; And, Executive Module 408 is deleted the information of client from the login user Registry after, the number of the current client that logs in of update server.
Preferably, the scope of setting-up time is 20 minutes to 30 minutes; The scope of setting threshold is 0.5 hour to 1 hour.
The server of the present embodiment is used for realizing the corresponding client control method of aforementioned a plurality of embodiment of the method, and the beneficial effect with corresponding embodiment of the method, does not repeat them here.
the disposal ability that the present invention is directed to server is limited, and in the control of present online client number of users processing, need regularly the request message that withdraws from access from keyboard to server that send online Indication message and/or trigger due to not operating mouse or due to client, the triggering of these message, strengthened client with the frequent mutual number of times of server, increased the processing load of server, performance and data to server are processed accuracy and integrality, and the problem that affects of the normal operation of server, a kind of client control program is provided, this scheme can reduce server load, make server dynamically control online client terminal quantity, the assurance server can controlled on the basis of online number of clients well, guarantee the resource that the client online user can enjoy server fully, guarantee again the load level that server is certain, and then guarantee that server maintains one and moves under state stably, prevent that server from working under higher load.
The present invention processes the monitoring of online client according to the request message Dynamic trigger of client by server, and regularly the online client access time is detected, and has realized that server dynamically controls client online user number.The solution of the present invention both can be used for the processing for the control of client user's number, helped to control the load with server interaction; Also go for carrying out in the running of commercial distribution for the client user's number that limits.
By the present invention, reduced client with the mutual number of times of server timing, improved Message Processing efficient and the handling property of server, evaded the risk that server message blocks; Guarantee the normal operation of server, evade and reduced server service and processed the upper potential safety hazard that produces unusual condition, optimized and improved the handling property of server, greatly reduce the maintenance cost of server; Simultaneously, cancel some message trigger regularly of client and processed, also alleviated the processing load of client, improved the quick request of client and the speed of response, promoted the handling property of client, improved the impression of client user's operation.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that between each embodiment, identical similar part is mutually referring to getting final product.For the system embodiment server, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Above a kind of client control method provided by the present invention and server are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a client control method, is characterized in that, comprising:
Server receives the request message that described client conducts interviews to described server in client access running;
According to the time that receives described request message, upgrade the access time of client described in the login user Registry;
Every the described login user Registry of setting-up time traversal, judge whether the access time of described client surpasses setting threshold apart from the current time;
If discharge the link of described client, and the information of described client deleted from described login user Registry.
2. method according to claim 1, is characterized in that,, before receiving the step of the request message that described client conducts interviews to described server, also comprises in client access running at described server:
Described server increases the information of described client in described login user Registry after accepting the logging in of described client, the information of described client comprises that described client logs in the landing time of described server.
3. method according to claim 2, is characterized in that, after described server is being accepted logging in of described client, before the step of the information of the described client of increase, also comprises in described login user Registry:
Increase the access time field of client in the original login user Registry of described server, described access time field is used for recording the time of the described server of the last access of described client, wherein, when described client logged in described server, described access time field was used for recording the landing time of described client.
4. method according to claim 2, is characterized in that,
After described server is being accepted logging in of described client, after the step of the information of the described client of increase, also comprise: the current number of clients that logs in of described server is added up in described login user Registry;
After the described step that the information of described client is deleted from described login user Registry, also comprise: the number that upgrades the current client that logs in of described server.
5. method according to claim 1, is characterized in that, the scope of described setting-up time is 20 minutes to 30 minutes; The scope of described setting threshold is 0.5 hour to 1 hour.
6. a server, is characterized in that, comprising:
Receiver module is used for receiving at client access running the request message that described client conducts interviews to described server;
Update module is used for upgrading the access time of client described in the login user Registry according to the time that receives described request message;
Detection module is used for every the described login user Registry of setting-up time traversal, judges whether the access time of described client surpasses setting threshold apart from the current time;
Executive Module is to discharge the link of described client, and the information of described client is deleted from described login user Registry if be used for judgment result is that of described detection module.
7. server according to claim 6, is characterized in that, also comprises:
Log in module, be used at described receiver module at client access running, before receiving the request message that described client conducts interviews to described server, after accepting the logging in of described client, increase the information of described client in described login user Registry, described information comprises that described client logs in the landing time of described server.
8. server according to claim 7, is characterized in that, also comprises:
Module is set, be used for described log in module and accepting logging in of described client after, increase the information of described client in described login user Registry before, increase the access time field of client in the original login user Registry of described server, described access time field is used for recording the time of the described server of the last access of described client, wherein, when described client logged in described server, described access time field was used for recording the landing time of described client.
9. server according to claim 7, is characterized in that, also comprises:
Counting module, be used for described log in module and accepting logging in of described client after, increase the information of described client in described login user Registry after, the current number of clients that logs in of described server is added up; And, described Executive Module is deleted the information of described client from described login user Registry after, upgrade the number of the current client that logs in of described server.
10. server according to claim 6, is characterized in that, the scope of described setting-up time is 20 minutes to 30 minutes; The scope of described setting threshold is 0.5 hour to 1 hour.
CN 201210563941 2012-12-21 2012-12-21 Control method of client terminal and server Pending CN103095688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210563941 CN103095688A (en) 2012-12-21 2012-12-21 Control method of client terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210563941 CN103095688A (en) 2012-12-21 2012-12-21 Control method of client terminal and server

Publications (1)

Publication Number Publication Date
CN103095688A true CN103095688A (en) 2013-05-08

Family

ID=48207821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210563941 Pending CN103095688A (en) 2012-12-21 2012-12-21 Control method of client terminal and server

Country Status (1)

Country Link
CN (1) CN103095688A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856562A (en) * 2014-02-26 2014-06-11 福建星网视易信息系统有限公司 Terminal state cache method and device under http protocol
CN104243425A (en) * 2013-06-19 2014-12-24 深圳市腾讯计算机系统有限公司 Content management method, device and system in content delivery network
CN105357205A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Login method, access server and gatekeeper server
CN105721256A (en) * 2016-04-25 2016-06-29 北京威努特技术有限公司 Auditing data duplication eliminating method of distributed deploying and auditing platform
CN105827706A (en) * 2016-03-24 2016-08-03 努比亚技术有限公司 Information push device and method
CN106254439A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of method for pushing, device and a kind of mobile device management system
CN106789913A (en) * 2016-11-23 2017-05-31 北京云中融信网络科技有限公司 User account management method and device
CN108848113A (en) * 2018-08-15 2018-11-20 广州视源电子科技股份有限公司 Client device login control method and device, storage medium and server
CN114979151A (en) * 2022-07-27 2022-08-30 江苏中创供应链服务有限公司 Method for dynamically adjusting signing service for cross-border e-commerce

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243425A (en) * 2013-06-19 2014-12-24 深圳市腾讯计算机系统有限公司 Content management method, device and system in content delivery network
CN104243425B (en) * 2013-06-19 2018-09-04 深圳市腾讯计算机系统有限公司 A kind of method, apparatus and system carrying out Content Management in content distributing network
US10262005B2 (en) 2013-06-19 2019-04-16 Tencent Technology (Shenzhen) Company Limited Method, server and system for managing content in content delivery network
CN103856562A (en) * 2014-02-26 2014-06-11 福建星网视易信息系统有限公司 Terminal state cache method and device under http protocol
CN103856562B (en) * 2014-02-26 2019-04-30 福建星网视易信息系统有限公司 SOT state of termination caching method and device under http agreement
CN105357205B (en) * 2015-11-17 2019-01-04 贵阳朗玛信息技术股份有限公司 A kind of login method, access server and gatekeeper's server
CN105357205A (en) * 2015-11-17 2016-02-24 贵阳朗玛信息技术股份有限公司 Login method, access server and gatekeeper server
CN105827706B (en) * 2016-03-24 2020-11-20 深圳十方融海科技有限公司 Message pushing device and method
CN105827706A (en) * 2016-03-24 2016-08-03 努比亚技术有限公司 Information push device and method
CN105721256B (en) * 2016-04-25 2019-05-03 北京威努特技术有限公司 A kind of Audit data De-weight method of distributed deployment audit platform
CN105721256A (en) * 2016-04-25 2016-06-29 北京威努特技术有限公司 Auditing data duplication eliminating method of distributed deploying and auditing platform
CN106254439A (en) * 2016-07-29 2016-12-21 努比亚技术有限公司 A kind of method for pushing, device and a kind of mobile device management system
CN106789913A (en) * 2016-11-23 2017-05-31 北京云中融信网络科技有限公司 User account management method and device
CN106789913B (en) * 2016-11-23 2020-02-07 北京云中融信网络科技有限公司 User account management method and device
CN108848113A (en) * 2018-08-15 2018-11-20 广州视源电子科技股份有限公司 Client device login control method and device, storage medium and server
CN114979151A (en) * 2022-07-27 2022-08-30 江苏中创供应链服务有限公司 Method for dynamically adjusting signing service for cross-border e-commerce
CN114979151B (en) * 2022-07-27 2022-11-11 江苏中创供应链服务有限公司 Method for dynamically adjusting signing service for cross-border e-commerce

Similar Documents

Publication Publication Date Title
CN103095688A (en) Control method of client terminal and server
CN104765629B (en) A kind of installation method and device of system application
CN101917289B (en) System for remotely supervising internet surfing of minors based on computer and mobile phone
CN108811043B (en) Access device, authentication server, terminal device access control method and system
CN113206814B (en) Network event processing method and device and readable storage medium
RU2013143020A (en) COMMUNICATION SYSTEM, DATABASE, CONTROL DEVICE, COMMUNICATION METHOD AND PROGRAM
CN107204873B (en) Method for switching target domain name resolution server and related equipment
US9769247B2 (en) Application distribution method, terminal, and server
CN104244243B (en) Terminal peripheral hardware control method, Machine To Machine gateway and communication system
CN106331155B (en) A kind of method preventing user's repeat logon and server
CN107920366A (en) The method and device that a kind of business to mobile terminal is shunted
EP3206422A1 (en) Method and device for creating subscription resource
CN104679528A (en) Method and device for remotely updating application program
US20220217582A1 (en) User plane replicator
CN105791206A (en) Local area network service acquiring method and device
US20220329529A1 (en) 5g filters for virtual network functions
CN102523577B (en) Application service update method and device
CN1184849C (en) Method for reducing virtual system access
CN102137102A (en) Realizing method of service supporting platform for supporting multiclass information publishing modes
CN105188059A (en) Authentication method based on Portal server abnormity, and wireless access point
CN101175315B (en) Method and system for updating control mobile station
CN113099449B (en) Authentication method and system of distributed core network and home subscriber server
CN105490913A (en) Instant message processing method and device
CN105072666A (en) WIFI hot spot connection control method, server, and WIFI hot spot
CN105163335B (en) A kind of network access management method, server, mobile terminal 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130508