CN101588344A - System and method for controlling same account login in network system - Google Patents

System and method for controlling same account login in network system Download PDF

Info

Publication number
CN101588344A
CN101588344A CNA2008100978803A CN200810097880A CN101588344A CN 101588344 A CN101588344 A CN 101588344A CN A2008100978803 A CNA2008100978803 A CN A2008100978803A CN 200810097880 A CN200810097880 A CN 200810097880A CN 101588344 A CN101588344 A CN 101588344A
Authority
CN
China
Prior art keywords
message
login
client
account
service end
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
CNA2008100978803A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2008100978803A priority Critical patent/CN101588344A/en
Publication of CN101588344A publication Critical patent/CN101588344A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a system and a method for controlling same account login in a network system. The method comprises the following steps: A. when a user logs in, a server end detects whether the login information of the current login user is stored or not; if the login information is not stored or stored in the situation a current on-line number does not achieve a preset permitting number, the step B is executed; if the login information is stored and the current on-line number achieves the reset permitting number, after the current user kicks other users away, the step B is executed; and B. the current user logs in and the login information of the current user is stored. The system and the method can accurately control the login quantity of the same account of a network application system and effectively save network resources.

Description

The system and method for the same account's login of control in a kind of network system
Technical field
The present invention relates to the computer network system field, the system and method for the same account's login of control in particularly a kind of network system.
Background technology
Along with making rapid progress of Internet technology, increasing people share and data query by network.In order to guarantee maintaining secrecy and safety of data, to open just username and password all must be imported in many interfaces.But, lack at present the control that authorized user is used, for example land and control etc. for the user who uses an account.Like this, the system that not only influences also can cause the system information resource to be illegally occupied to functions such as user's counting, note expenses.
Existing control is logined with accounting number users, should be noted that the following aspects: the storage of (one) user login information; (2) the online detection of user; (3) to there not being the user to login the control of quantity.
Wherein, mainly realize by the following method for (one) kind situation: (1) uses (Application) global object storage user login information with the WEB service end; (2) it is medium user login information to be stored in database.
But there is following deficiency in said method: (a) Cun Chu wall scroll record field is handled trouble more for a long time, and storage is chaotic; (b) be difficult to realize many service end systems of load balancing; (c) information is crossed conference and is caused the unusual of low memory.
Can address the above problem effectively for (two) kind method, still, for the system that (two) kind method relates to, have the relatively poor problem of efficient again, particularly frequent login, detect, can reduce greatly when withdrawing from the efficient of Database Systems.
At present, in (two) kind method, what generally adopt is " heartbeat " technology; Promptly in " heartbeat ", add the feedback message of service end to client.
But the purpose of heartbeat function is to allow the existence of service end perception client, and under normal circumstances service end feeds back to the message of client and nonessential, and therefore, heartbeat is to expend the maximum part of Internet resources in this type systematic.
In addition, normally single user logins in the present network system, and some application system is to allow to login with account while multi-user, for example Web TV (IPTV).Present family, share that Net-connected computer generally has many in the shelter such as partner, the program that they will appreciate also may be different.If apply for that all independently account's relative costs is higher, especially for the interim partner that shares, the unwilling even more a kind of fixing charge method of wrapping year of user.And take the method for Distribute on Demand license count, or cooperate measure such as charge in due order just can allow the user much acceptant again, and can further increase the profit of operator, the competitiveness of enhancing operator.
For this reason, need find in a kind of new network system and control the method that same account logins, exactly the same account's of Control Network application system login quantity, conserve network resources effectively.
Summary of the invention
The objective of the invention is to, provide the system of the same account's login of control in a kind of network system, exactly the same account's of Control Network application system login quantity.
Another object of the present invention is to, the method for the same account's login of control in a kind of network system is provided.
The system of the same account's login of control comprises service end and client in the network system of the present invention, it is characterized in that described service end comprises detection module and memory module; Described client comprises heartbeat module, wherein, described detection module, whether the log-on message that is used to detect current account exists, if there is no, perhaps exist but current online number when not reaching predetermined license count, allow login also to notify described memory module to preserve active user's log-on message; If exist, but when having reached predetermined license count, after the active user kicks other users off, allow login also to notify described memory module to preserve active user's log-on message; Described memory module is used for corresponding user login information is stored; Described heartbeat module is used for after the user logins success periodically sending heartbeat message to the detection module of service end.
Wherein, described detection module is further used for receiving the client heartbeat message, and is effective in current account's log-on message, and the heartbeat message that sends of client reaches behind the predetermined number to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
Wherein, described log-on message effectively is meant: the active user is normally online.
Wherein, described memory module is internal storage location and external memory unit and usefulness, and the user is too much in system login, and after the internal storage location capacity reached predetermined value, unnecessary stored information forwarded the external memory unit to by internal storage location.
Wherein, described heartbeat module is further used for the Configuration Values according to Registering modules in the service end, and after it sent the heartbeat message of certain number of times to service end, if service end does not have feedback message, it was unusual to think that service end occurs.
The system of the same account's login of control further comprises Registering modules in the network system of the present invention, is used for pre-configured relevant operational factor, obtains with detected module, and carries out respective handling according to above-mentioned configuration.
Wherein, pre-configured relevant operational factor in the described Registering modules comprises: the number of the heartbeat message that the processing after account's license count, the spendable cache size of system, same account's login user transfinite, detection module send to the required client of message of client feedback.
The method of the same account's login of control is characterized in that in the network system of the present invention, comprises the following steps:
Steps A: when the user logined, service end detected the log-on message that whether has current login user; If no, execution in step B is arranged perhaps but current online number when not reaching predetermined license count; If have, but when having reached predetermined license count, after the active user kicks other users off, execution in step B;
Step B: active user's login, and preserve its log-on message.
Wherein, after carrying out described step B, further comprise the following steps:
Step C: the client of current login user periodically sends heartbeat message to service end;
Step D: whether described service end detects active user's log-on message effective, if whether the heartbeat message that detects its client transmission reaches predetermined number, if reach, then to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
In addition, before execution in step A, may further include the following step:, comprising: the number of the heartbeat message that the processing after account's license count, the spendable cache size of system, same account's login user transfinite, detection module send to the required client of message of client feedback in the pre-configured following relevant operational factor of service end.
The invention has the beneficial effects as follows: according to the system and method for the same account's login of control in the network system of the present invention, the same account's of Control Network application system login quantity exactly, improve the performance and the applying flexible degree of existing application system greatly, and be applicable to multi-server system; In addition, reach predetermined number by the heartbeat message that sends in client after, by service end to client feedback message, a conserve network resources effectively.
Description of drawings
Fig. 1 is the system schematic of the same account's login of control in the network system of the present invention;
Fig. 2 is the method flow diagram of the same account's login of control in the network system of the embodiment of the invention.
Embodiment
Below, 1~2 describe the system and method that the same account of control logins in the network system of the present invention in detail with reference to the accompanying drawings.
Fig. 1 is the system schematic of the same account's login of control in the network system of the present invention, and as shown in Figure 1, this system comprises: service end and client.Wherein, service end comprises, detection module and memory module; Client comprises, heartbeat module.
Wherein, detection module, whether the log-on message that is used to detect current account exists, and if there is no, perhaps exists but current online number when not reaching predetermined license count, allow login also the notice memory module preserve active user's log-on message; If exist, but when having reached predetermined license count, after the active user kicks other users off, allow login also the notice memory module preserve active user's log-on message.
Detection module is further used for receiving the client heartbeat message, and is effective in current account's log-on message, and the heartbeat message that sends of client reaches behind the predetermined number to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
Wherein, log-on message effectively is meant: the active user is normally online.
Need to prove, detection module, reach predetermined number by the heartbeat message that sends in client after to client feedback message, a conserve network resources effectively.
Detection module when being further used for confiscating the client heartbeat message in the certain intervals time, is removed this account log-on message.
Memory module is used for corresponding user login information is stored.
When specific implementation, memory module can adopt the method for internal storage location and external memory unit and usefulness, utilizes server internal storage location at a high speed that is:, has guaranteed the high efficiency and the flexibility of system; If system login user is too much, the internal storage location capacity reaches certain value (this value can dispose in advance according to the server memory size) in Registering modules, unnecessary stored information forwards the external memory unit to by internal storage location, and the external memory unit is generally born by the database on the disk.Can solve the problem that the excessive internal memory of information overflows like this, promptly keep the peak performance in certain data area, also can realize the availability of the very big customer volume of carrier class.In addition,, to start synchronization mechanism between the memory module in each service end, to realize the unanimity of multiserver data if system group network is many service end systems of load balancing.
The heartbeat module of client is used for reporting to service end the situation of its " online ", and periodically the detection module to service end sends heartbeat message after the user logins success; And according to the Configuration Values of Registering modules in the service end, after it sent the heartbeat message of certain number of times to service end, if service end does not have feedback message, it was unusual to think that service end occurs.
Heartbeat module is further used for removing the client log-on message according to the invalid message of the account of the detection module of service end feedback the time.
Registering modules is used for pre-configured relevant operational factor.For example: (1) account's license count (can allow same account how many users simultaneously " online " in system; (2) system's spendable " buffer memory " size; (3) processing after same account's login user transfinites (for example be " kicking off " existing user, still limit self login); (4) under the normal condition, client sends the how many times online message, and server is just replied once, detects this user profile when unusual at server certainly, immediately feedback etc.Above-mentioned these log-on messages are obtained by detection module, and carry out respective handling according to above-mentioned configuration.
Fig. 2 is the method flow diagram of the same account's login of control in the network system of the embodiment of the invention.As shown in Figure 2, this method comprises the following steps:
Step 100: when the user logined, service end detected the log-on message that whether has current login user; If no, execution in step 200 is arranged perhaps but current online number when not reaching predetermined license count; If have, but when having reached predetermined license count, after the active user kicks other users off, execution in step 200;
Step 200: active user's login, and preserve its log-on message.
Step 300: the client of current login user periodically sends heartbeat message to service end;
Step 400: whether service end detects active user's log-on message effective, if whether the heartbeat message that detects its client transmission reaches predetermined number, if reach, then to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
Wherein, before step 100, further comprise the following steps: to comprise: the number of the heartbeat message that the processing after account's license count, the spendable cache size of system, same account's login user transfinite, detection module send to the required client of message of client feedback etc. in the pre-configured following relevant operational factor of service end.
When specific implementation, the detection module in the service end obtains user's license count from Registering modules, if online number has reached license count, system provides prompting, and allows the user select to be that oneself withdraws from, still to kick the other side off.If select to withdraw from, then login process finishes; If select to kick off the other side, detection module can be sent out message and give memory module, remove the other side's log-on message, the other side's client is passed through heartbeat module, receive that service end allows the message that oneself rolls off the production line, then remove own client log-on message (if the object of playing is a plurality of, system provides option allows the user determine whom plays).
Need to prove, service end that relates in the system and method for the present invention and client can be suitable for desktop client end/service end structure, web browser/service end structure and wireless terminal/all systems based on client/service end structure such as service end structure.
In sum, system and method according to the same account's login of control in the network system of the present invention, the same account's of Control Network application system login quantity improves the performance and the applying flexible degree of existing application system greatly, and is applicable to multi-server system exactly; In addition, reach predetermined number by the heartbeat message that sends in client after, by service end to client feedback message, a conserve network resources effectively.
More than be in order to make those of ordinary skills understand the present invention; and to detailed description that the present invention carried out; but can expect; in the scope that does not break away from claim of the present invention and contained, can also make other variation and modification, these variations and revising all in protection scope of the present invention.

Claims (10)

1. control the system that same account logins in a network system, comprise service end and client, it is characterized in that described service end comprises detection module and memory module; Described client comprises heartbeat module, wherein,
Described detection module, whether the log-on message that is used to detect current account exists, and if there is no, perhaps exists but current online number when not reaching predetermined license count, allows login also to notify described memory module to preserve active user's log-on message; If exist, but when having reached predetermined license count, after the active user kicks other users off, allow login also to notify described memory module to preserve active user's log-on message;
Described memory module is used for corresponding user login information is stored;
Described heartbeat module is used for after the user logins success periodically sending heartbeat message to the detection module of service end.
2. the system of the same account's login of control in the network system as claimed in claim 1, it is characterized in that, described detection module, be further used for receiving the client heartbeat message, effective in current account's log-on message, and the heartbeat message that sends of client reaches behind the predetermined number to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
3. the system of the same account's login of control in the network system as claimed in claim 2, it is characterized in that described log-on message effectively is meant: the active user is normally online.
4. the system of the same account's login of control in the network system as claimed in claim 1, it is characterized in that, described memory module, be internal storage location and external memory unit and usefulness, the user is too much in system login, after the internal storage location capacity reached predetermined value, unnecessary stored information forwarded the external memory unit to by internal storage location.
5. the system of the same account's login of control in the network system as claimed in claim 1, it is characterized in that, described heartbeat module, be further used for Configuration Values according to Registering modules in the service end, after it sends the heartbeat message of certain number of times to service end, if service end does not have feedback message, it is unusual to think that service end occurs.
6. the system of the same account's login of control is characterized in that in the network system as claimed in claim 1, further comprises Registering modules, is used for pre-configured relevant operational factor, obtains with detected module, and carries out respective handling according to above-mentioned configuration.
7. the system of the same account's login of control in the network system as claimed in claim 6, it is characterized in that, pre-configured relevant operational factor in the described Registering modules comprises: the number of the heartbeat message that the processing after account's license count, the spendable cache size of system, same account's login user transfinite, detection module send to the required client of message of client feedback.
8. control the method that same account logins in a network system, it is characterized in that, comprise the following steps:
Steps A: when the user logined, service end detected the log-on message that whether has current login user; If no, execution in step B is arranged perhaps but current online number when not reaching predetermined license count; If have, but when having reached predetermined license count, after the active user kicks other users off, execution in step B;
Step B: active user's login, and preserve its log-on message.
9. the system of the same account's login of control is characterized in that in the network system as claimed in claim 8, after carrying out described step B, further comprises the following steps:
Step C: the client of current login user periodically sends heartbeat message to service end;
Step D: whether described service end detects active user's log-on message effective, if whether the heartbeat message that detects its client transmission reaches predetermined number, if reach, then to message of client feedback; When current account's log-on message is invalid, to the invalid message of client feedback account.
10. control the system of same account's login in the described network system of claim 8, it is characterized in that, before execution in step A, further comprise the following steps: to comprise: the number of the heartbeat message that the processing after account's license count, the spendable cache size of system, same account's login user transfinite, detection module send to the required client of message of client feedback in the pre-configured following relevant operational factor of service end.
CNA2008100978803A 2008-05-20 2008-05-20 System and method for controlling same account login in network system Pending CN101588344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100978803A CN101588344A (en) 2008-05-20 2008-05-20 System and method for controlling same account login in network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100978803A CN101588344A (en) 2008-05-20 2008-05-20 System and method for controlling same account login in network system

Publications (1)

Publication Number Publication Date
CN101588344A true CN101588344A (en) 2009-11-25

Family

ID=41372407

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100978803A Pending CN101588344A (en) 2008-05-20 2008-05-20 System and method for controlling same account login in network system

Country Status (1)

Country Link
CN (1) CN101588344A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255887A (en) * 2010-04-15 2011-11-23 宏达国际电子股份有限公司 Method and system for providing online services corresponding to multiple mobile devices
CN102970360A (en) * 2012-11-13 2013-03-13 北京奇虎科技有限公司 System for controlling browser user login
CN102984222A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method controlling browser user login and client-side controlling the browser user login
CN104243458A (en) * 2014-09-01 2014-12-24 广州博冠信息科技有限公司 Secure online game logging-in method and system
CN106534158A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Account login control device and method
WO2017092562A1 (en) * 2015-12-01 2017-06-08 中兴通讯股份有限公司 Method and apparatus for managing registered account in iptv system
CN106982239A (en) * 2016-01-18 2017-07-25 中国移动通信集团公司 A kind of polyelectron channel report activating method and device
CN108848113A (en) * 2018-08-15 2018-11-20 广州视源电子科技股份有限公司 Client device log-in control method, device, storage medium and server
CN109189577A (en) * 2018-08-31 2019-01-11 武汉达梦数据库有限公司 A kind of data prevent memory from overflowing method and apparatus when synchronous
CN110839041A (en) * 2019-11-22 2020-02-25 苏州浪潮智能科技有限公司 Single-user login method, device, equipment and medium supporting multi-node deployment
CN112003899A (en) * 2020-07-28 2020-11-27 广州汽车集团股份有限公司 Vehicle account remote logout method and system
CN112702364A (en) * 2021-03-24 2021-04-23 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification
CN114124508A (en) * 2021-11-16 2022-03-01 上海浦东发展银行股份有限公司 Application login method and system

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255887A (en) * 2010-04-15 2011-11-23 宏达国际电子股份有限公司 Method and system for providing online services corresponding to multiple mobile devices
CN102255887B (en) * 2010-04-15 2015-01-21 宏达国际电子股份有限公司 Method and system for providing online services corresponding to multiple mobile devices
US8959234B2 (en) 2010-04-15 2015-02-17 Htc Corporation Method and system for providing online services corresponding to multiple mobile devices, server, mobile device, and computer program product
CN102970360B (en) * 2012-11-13 2016-06-22 北京奇虎科技有限公司 Browser client is logged in the system being controlled
CN102970360A (en) * 2012-11-13 2013-03-13 北京奇虎科技有限公司 System for controlling browser user login
CN102984222A (en) * 2012-11-13 2013-03-20 北京奇虎科技有限公司 Method controlling browser user login and client-side controlling the browser user login
CN102984222B (en) * 2012-11-13 2015-09-09 北京奇虎科技有限公司 Browser client is logged in the method and client that control
CN104243458B (en) * 2014-09-01 2018-03-13 广州博冠信息科技有限公司 A kind of safe online game login method and system
CN104243458A (en) * 2014-09-01 2014-12-24 广州博冠信息科技有限公司 Secure online game logging-in method and system
WO2017092562A1 (en) * 2015-12-01 2017-06-08 中兴通讯股份有限公司 Method and apparatus for managing registered account in iptv system
CN106817593A (en) * 2015-12-01 2017-06-09 三亚中兴软件有限责任公司 The management method and device of login account in IPTV system
CN106982239A (en) * 2016-01-18 2017-07-25 中国移动通信集团公司 A kind of polyelectron channel report activating method and device
CN106982239B (en) * 2016-01-18 2020-01-17 中国移动通信集团公司 Multi-electronic channel life reporting method and device
CN106534158A (en) * 2016-11-29 2017-03-22 努比亚技术有限公司 Account login control device and method
CN108848113B (en) * 2018-08-15 2021-03-26 广州视源电子科技股份有限公司 Client device login control method and device, storage medium and server
CN108848113A (en) * 2018-08-15 2018-11-20 广州视源电子科技股份有限公司 Client device log-in control method, device, storage medium and server
CN109189577A (en) * 2018-08-31 2019-01-11 武汉达梦数据库有限公司 A kind of data prevent memory from overflowing method and apparatus when synchronous
CN109189577B (en) * 2018-08-31 2020-05-19 武汉达梦数据库有限公司 Method and device for preventing memory overflow during data synchronization
CN110839041A (en) * 2019-11-22 2020-02-25 苏州浪潮智能科技有限公司 Single-user login method, device, equipment and medium supporting multi-node deployment
CN112003899A (en) * 2020-07-28 2020-11-27 广州汽车集团股份有限公司 Vehicle account remote logout method and system
CN112702364A (en) * 2021-03-24 2021-04-23 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification
CN112702364B (en) * 2021-03-24 2021-06-29 武汉绿色网络信息服务有限责任公司 Method and device for achieving humanized squeezing login based on flow identification
CN114124508A (en) * 2021-11-16 2022-03-01 上海浦东发展银行股份有限公司 Application login method and system
CN114124508B (en) * 2021-11-16 2024-04-19 上海浦东发展银行股份有限公司 Application login method and system

Similar Documents

Publication Publication Date Title
CN101588344A (en) System and method for controlling same account login in network system
CN108494703B (en) Access frequency control method, device and storage medium
CN105530175B (en) Message processing method, device and system
CN100462977C (en) Capture server, distribution server, method and system for generating webpage capture
JP5745696B2 (en) Managing notification messages
US8544075B2 (en) Extending a customer relationship management eventing framework to a cloud computing environment in a secure manner
CN104579912B (en) Data pushing method and device
CN101622587B (en) Centralized service for awakening a computing device
CN105120005B (en) A kind of hot update method of game server, server and system
CN103916244A (en) Verification method and device
CN105847277A (en) Service account share management method and system used for third party application
CN103581111A (en) Communication method and system
CN103166871A (en) System and method of large-scale internet server network to achieve load balancing
WO2020258102A1 (en) Content pushing method and apparatus, mobile terminal and storage medium
WO2014152076A1 (en) Retry and snapshot enabled cross-platform synchronized communication queue
CN101378329B (en) Distributed business operation support system and method for implementing distributed business
US20050281198A1 (en) Method and apparatus for ascertaining utilization state
CN102137070A (en) Method, system and device for restricting user from logging in chat room
CN105490824A (en) Game server and mass message filtering method
CN105357239A (en) Method and device for providing service, and method and device for acquiring service
CN107819754B (en) Anti-hijacking method, monitoring server, terminal and system
CN101442658B (en) Method and system for user accessing and maintaining set-top box of network television value added business
WO2012000455A1 (en) Client terminal and load balancing method
CN101753561B (en) Business cluster processing method and cluster system
CN103346880B (en) A kind of handset token automatic recovery system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20091125