CN103475546B - Method and system for detecting repeated login of salesmen - Google Patents

Method and system for detecting repeated login of salesmen Download PDF

Info

Publication number
CN103475546B
CN103475546B CN201310444737.8A CN201310444737A CN103475546B CN 103475546 B CN103475546 B CN 103475546B CN 201310444737 A CN201310444737 A CN 201310444737A CN 103475546 B CN103475546 B CN 103475546B
Authority
CN
China
Prior art keywords
session
log
message
job number
information
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.)
Active
Application number
CN201310444737.8A
Other languages
Chinese (zh)
Other versions
CN103475546A (en
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 Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information 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 Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201310444737.8A priority Critical patent/CN103475546B/en
Publication of CN103475546A publication Critical patent/CN103475546A/en
Application granted granted Critical
Publication of CN103475546B publication Critical patent/CN103475546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method for detecting repeated login of salesmen. The method specifically includes the steps that first, a database records login information of a badge number through which a salesman logs into a system; second, a background server scans the database in a timing cycle mode to judge whether the number of login times of the same badge number is lager than 1 or not, if yes, the badge number is used for login repeatedly, and the third step is carried out; if not, the first step is carried out again; third, the information of repeated login of the same badge number is sequenced by time, the information of login at the last time is reserved, and the information of login at other times is removed out of the system; fourth, the removed badge number and time information are sent to the database in the log form to be saved; fifth, data in the database are cleared, and the process is finished. The method is used for detecting that the multiple salesmen log into the system repeatedly by using the badge number of one salesman to obtain system operation authorization to carry out service handling.

Description

A kind of method and system of detection business personnel's repeat logon
Technical field
The present invention relates to a kind of method and system of detection business personnel's repeat logon, belong to communication technical field.
Background technology
At present, when system business is handled, small part business personnel can not observe job number management rule, by the login work of oneself Number password borrows other people using reaching the purpose that many people share same job number login system.Due to the sensitivity of telecommunication service, this kind of It is not allow and there is risk that many people share same job number login system transacting business.
B/s structure (browser/server, Browser/Server Mode), is a kind of network structure mould after web rises Formula, web browser is the topmost application software of client.This pattern has unified client, the core that systemic-function is realized Center portion is divided and is focused on server, simplifies exploitation, maintenance and the use of system.As long as a browser is installed on client computer (browser), as netscape navigator or internet explorer, server install oracle, sybase, The data bases such as informix or sql server.Browser carries out data interaction by web server with data base.
Session: in a computer, especially in network application, referred to as " session ".In computer major term, Session refers to the time interval that a terminal use is communicated with interactive system, is often referred to from registration entrance system to note Pin log off between elapsed time and if necessary, may also have certain working place.Specific in web Session refer to be exactly user when browsing some websites, close passed through this period from entering website to browser, Namely user browses the time that this website is spent.It will be seen that session is actual therefore from above-mentioned definition On be a specific time concept.
Shell: in computer science, shell is commonly called as shell (for being different from core), refers to " provide user to use boundary The software (command analysis device) in face ".It is similar to the command.com under dos.Its receive user order, then calls corresponding Application program.It is a kind of programming language again simultaneously.As command lanuage, its interactive mode is explained and execution user input Order or automatically explain and the pre-set a series of order of execution;As programming language, it defines Various variables and parameter, and provide the control structure that many just has in high level language, including circulation and branch.
Java method is the code block of an order, and such as the function used in mathematics, its effect is due to method energy Complete a specific function, so it can be grouped together functional device specific in program, be easy to be used for multiple times, also can Program structure is made to be apparent from.Java method is the set of some sentences, executes a method call sentence, like execution A plurality of java sentence is the same, and these sentences complete a certain specific task.It is seen that, a method is exactly One function. Method can be packaged into a method a plurality of sentence completing One function, made the hierarchical structure of program more with modularized program Plus clear, easily facilitate writing, read and debugging of program.
Servlet is a kind of java application program of server end, has the characteristic independent of platform and agreement, Ke Yisheng Become dynamic web page.It is taken on client's request (web browser or other http CLIENT PROGRAM) and responds (http with server Data base on server or application program) intermediate layer.Servlet is in the server end within web server Java application program, different from traditional java application program from start up with command-line options, servlet is carried out adding by web server Carry, this web server must comprise to support the java virtual machine of servlet.
Servlet is also a common java class, so it equally has life cycle.Servlet is from being generated to pin Ruin and must enter several steps as follows.
(1) generate servlet, be loaded in servlet engine (web container), and by calling its init () method To be initialized.
(2) response method by providing processes the request of client.
(3) call destroy () method to be destroyed, and be collected clearing up by garbage collector.
Weblogic is that the application server that bea company of the U.S. produces is specifically one and is based on The middleware of javaee framework, bea weblogic be for developing, integrated, deployment and management large-scale distributed web application, net The java application server of network application database application.Peace by the dynamic function of java and java enterprise standard Full property introduces among exploitation, integrated, deployment and the management of catenet application.Weblogic main frame is a kind of fictitious host computer.
Content of the invention
The technical problem to be solved is, the present situation that can not observe job number management rule for business personnel, provides A kind of can effective detection and can generate daily record for verify detection business personnel's repeat logon method.
The technical scheme is that a kind of method of detection business personnel's repeat logon, tool Body comprises the following steps:
Step 1: the log-on message of each job number of data-base recording registering service system;
Step 2: background server timing cycle scan database, judge whether the login times of same job number are more than 1, such as Fruit is more than 1, represents this job number repeat logon, carries out step 3;Otherwise, jump to step 1;
Step 3: by multiple for the same job number log-on message logging according to time sequence, retain the last log-on message logging in, The log-on message that this job number other times is logged in kicks out of operation system;
Step 4: job number and temporal information will be kicked out of preservation is sent to data base with daily record form;
Step 5: the log-on message data kicking out of operation system in Clean Up Database, terminates.
The invention has the beneficial effects as follows: the method for the invention detects that many people use business personnel's job number repeat logon system System obtains system operatio authority and carries out business handling.Because system is b/s framework, produced when everyone signs in in system Sessionid information all differs.Can carry out judging what same business personnel's different people login system produced using this point Sessionid information, takes last time logging in be correct it is believed that other are illegal login, retains last position Log in people and other people are kicked out of system, and business personnel and temporal information are preserved to verify in the future with daily record output form.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step 3 specifically includes following steps:
Step 3.1: by multiple for the same job number log-on message logging according to time sequence, retain the last login logging in and believe Breath, show that other log-on messages are the information that will kick out of;
Step 3.2: the log-on message corresponding url URL that will be kicked out of by shell shell and Sessionid session id calls java function as suction parameter;
Step 3.3:java function calls servlet program on weblogic main frame according to url URL;
All of session session information on step 3.4:servlet program inquiring weblogic main frame, will own The corresponding unique sessionid session id of session session information is done with sessionid session id to be kicked out of and mates, will The corresponding session session information of sessionid session id of coupling empties, and reaches the effect of the system of kicking out of.
Further, described step 3.4 specifically includes following steps:
All of session session information on step 3.4.1:servlet program inquiring weblogic main frame;
Step 3.4.2: judge the corresponding unique sessionid session id of session session information and will kick out of Sessionid session id whether mate;If it does, carrying out step 3.4.3;Otherwise, circulation carries out step 3.4.2;
Step 3.4.3: the corresponding session session information of sessionid session id of coupling is emptied, reaches to kick out of and be The effect of system.
Further, the log-on message in described step 1 includes sessionid session id, job number code, login time, steps on The server host ip of record, the server host port logging in etc..
Further, in described step 2, the time of background server timing cycle scan database is to preset time value.
The technical problem to be solved is, the present situation that can not observe job number management rule for business personnel, provides A kind of can effective detection and can generate daily record for verify detection business personnel's repeat logon system.
The technical scheme is that a kind of system of detection business personnel's repeat logon, bag Include data base, background server, processing module;
Described data base is used for recording the log-on message of each job number of registering service system, and described log-on message is sent out Deliver to background server;
The log-on message that described background server timing cycle scan database sends, judges the login times of same job number Whether it is more than 1, if greater than 1, represent this job number repeat logon, and the log-on message of the job number of repeat logon is sent to process Module;
Described processing module is used for by multiple for the same job number log-on message logging according to time sequence, and reservation finally logs in Log-on message, the log-on message that this job number other times is logged in kicks out of operation system;And will kick out of job number and temporal information with Daily record form sends to data base preservation.
The invention has the beneficial effects as follows: the method for the invention detects that many people use business personnel's job number repeat logon system System obtains system operatio authority and carries out business handling.Because system is b/s framework, produced when everyone signs in in system Sessionid information all differs.Can carry out judging what same business personnel's different people login system produced using this point Sessionid information, takes last time logging in be correct it is believed that other are illegal login, retains last position Log in people and other people are kicked out of system, and business personnel and temporal information are preserved to verify in the future with daily record output form.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described processing module by multiple for the same job number log-on message logging according to time sequence, retains and finally steps on The log-on message of record, show that other log-on messages are the information that will kick out of;The log-on message pair that will be kicked out of by shell shell The url URL answered and sessionid session id call java function as suction parameter;Java function according to Url URL calls servlet program on weblogic main frame;On servlet program inquiring weblogic main frame All of session session information, by corresponding for all session session informations unique sessionid session id with to play The sessionid session id going out does and mates, and the corresponding session session information of sessionid session id of coupling is emptied, reaches Effect to system of kicking out of.
Further, described log-on message includes sessionid session id, job number code, login time, the server logging in Main frame ip, the server host port logging in etc..
Further, the time of described background server timing cycle scan database is to preset time value.
Brief description
Fig. 1 is a kind of method flow diagram of the detection business personnel's repeat logon described in the specific embodiment of the invention 1;
Fig. 2 is a kind of method flow diagram of the detection business personnel's repeat logon described in the specific embodiment of the invention 2;
Fig. 3 is a kind of system architecture diagram of the detection business personnel's repeat logon described in the specific embodiment of the invention 2.
In accompanying drawing, the list of parts representated by each label is as follows:
1st, data base, 2, background server, 3, processing module.
Specific embodiment
Below in conjunction with accompanying drawing, the principle of the present invention and feature are described, example is served only for explaining the present invention, and Non- for limiting the scope of the present invention.
As shown in figure 1, a kind of method of the detection business personnel's repeat logon described in the specific embodiment of the invention 1, concrete bag Include following steps:
Step 1: the log-on message of each job number of data-base recording registering service system;
Step 2: background server timing cycle scan database, judge whether the login times of same job number are more than 1, such as Fruit is more than 1, represents this job number repeat logon, carries out step 3;Otherwise, jump to step 1;
Step 3: by multiple for the same job number log-on message logging according to time sequence, retain the last log-on message logging in, The log-on message that this job number other times is logged in kicks out of operation system;
Step 4: job number and temporal information will be kicked out of preservation is sent to data base with daily record form;
Step 5: the log-on message data kicking out of operation system in Clean Up Database, terminates.
Log-on message in described step 1 includes sessionid session id, job number code, login time, the service logging in Device main frame ip, the server host port logging in.
In described step 2, the time of background server timing cycle scan database is to preset time value.
As shown in Fig. 2 a kind of method of the detection business personnel's repeat logon described in the specific embodiment of the invention 2, concrete bag Include following steps:
Step 1: the log-on message of a job number of data-base recording registering service system;
Step 2: background server timing cycle scan database, judge whether the login times of same job number are more than one, If greater than one, represent this job number repeat logon, carry out step 3;Otherwise, jump to step 1;
Step 3: by multiple for the same job number log-on message logging according to time sequence, retain the last log-on message logging in, Show that other log-on messages are the information that will kick out of;
Step 4: the log-on message corresponding url URL that will be kicked out of by shell shell and sessionid Session id calls java function as suction parameter;
Step 5:java function calls servlet program on weblogic main frame according to url URL;
All of session session information on step 6:servlet program inquiring weblogic main frame;
Step 7: judge the corresponding unique sessionid session id of session session information with to be kicked out of Whether sessionid session id mates;If it does, carry out step 8;Otherwise, circulation carries out step 7;
Step 8: the corresponding session session information of sessionid session id of coupling is emptied, reaches and kick out of business system The effect of system;
Step 9: job number and temporal information will be kicked out of preservation is sent to data base with daily record form;
Step 10: the log-on message data kicking out of operation system in Clean Up Database, terminates.
Log-on message in described step 1 includes sessionid session id, job number code, login time, the service logging in Device main frame ip, the server host port logging in etc..
In described step 2, the time of background server timing cycle scan database is to preset time value.
As shown in figure 3, a kind of system of the detection business personnel's repeat logon described in the specific embodiment of the invention 2, including number According to storehouse 1, background server 2, processing module 3;
Described data base 1 is used for recording the log-on message of each job number of registering service system, and by described log-on message Send to background server 2;
The log-on message that described background server 2 timing cycle scan database sends, judges the login time of same job number Whether number is more than one, if greater than one, represents this job number repeat logon, and by the log-on message of the job number of repeat logon send to Processing module 3;
Described processing module 3 is used for by multiple for the same job number log-on message logging according to time sequence, retaining last login Log-on message, by this job number other times log in log-on message kick out of operation system;And job number and temporal information will be kicked out of Preservation is sent to data base 1 with daily record form.
Described processing module 3 by multiple for the same job number log-on message logging according to time sequence, retains stepping on of last login Record information, show that other log-on messages are the information that will kick out of;The log-on message that will be kicked out of by shell shell is corresponding Url URL and sessionid session id call java function as suction parameter;Java function is united according to url One URLs calls servlet program on weblogic main frame;All of on servlet program inquiring weblogic main frame Session session information, by corresponding for all session session informations unique sessionid session id with to be kicked out of Sessionid session id does and mates, and the corresponding session session information of sessionid session id of coupling is emptied, reaches and play Go out the effect of system.
Described log-on message include sessionid session id, job number code, login time, log in server host ip, The server host port logging in.
The time of described background server 2 timing cycle scan database 1 is to preset time value.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (7)

1. a kind of method of detection business personnel's repeat logon is it is characterised in that specifically include following steps:
Step 1: the log-on message of each job number of data-base recording registering service system;
Step 2: background server timing cycle scan database, judge whether the login times of same job number are more than 1, if greatly In 1, represent this job number repeat logon, carry out step 3;Otherwise, jump to step 1;
Step 3: by multiple for the same job number log-on message logging according to time sequence, retain the last log-on message logging in, by this The log-on message that job number other times log in kicks out of operation system;
Step 4: job number and temporal information will be kicked out of preservation is sent to data base with daily record form;
Step 5: the log-on message data kicking out of operation system in Clean Up Database, terminates;
Wherein, described step 3 specifically includes following steps:
Step 3.1: by multiple for the same job number log-on message logging according to time sequence, retain the last log-on message logging in, obtain Going out other log-on messages is the information that will kick out of;
Step 3.2: the log-on message corresponding url URL that will be kicked out of by shell shell and sessionid meeting Words id calls java function as suction parameter;
Step 3.3:java function calls servlet program on weblogic main frame according to url URL;
All of session session information on step 3.4:servlet program inquiring weblogic main frame, by all session The corresponding unique sessionid session id of session information is done with sessionid session id to be kicked out of and mates, by coupling Sessionid session id corresponding session session information empties, and reaches the effect of the system of kicking out of.
2. a kind of method of detection business personnel's repeat logon according to claim 1 is it is characterised in that described step 3.4 Specifically include following steps:
All of session session information on step 3.4.1:servlet program inquiring weblogic main frame;
Step 3.4.2: judge the corresponding unique sessionid session id of session session information with to be kicked out of Whether sessionid session id mates;If it does, carrying out step 3.4.3;Otherwise, circulation carries out step 3.4.2;
Step 3.4.3: the corresponding session session information of sessionid session id of coupling is emptied, reaches the system of kicking out of Effect.
3. a kind of method of detection business personnel's repeat logon according to claim 2 is it is characterised in that in described step 1 Log-on message include sessionid session id, job number code, login time, log in server host ip, log in service Device host port.
4. a kind of method of the detection business personnel's repeat logon according to any one of claim 1-3 is it is characterised in that described In step 2, the time of background server timing cycle scan database is to preset time value.
5. a kind of system of detection business personnel's repeat logon is it is characterised in that include data base, background server, processing module;
Described data base be used for record registering service system each job number log-on message, and by described log-on message send to Background server;
Whether the log-on message that described background server timing cycle scan database sends, judge the login times of same job number More than 1, if greater than 1, represent this job number repeat logon, and the log-on message of the job number of repeat logon is sent to process mould Block;
Described processing module is used for by multiple for the same job number log-on message logging according to time sequence, retaining the last login logging in Information, the log-on message that this job number other times is logged in kicks out of operation system;And job number and temporal information will be kicked out of with daily record Form sends to data base preservation;
Described processing module by multiple for the same job number log-on message logging according to time sequence, retains the last login logging in and believes Breath, show that other log-on messages are the information that will kick out of;The log-on message corresponding url system that will be kicked out of by shell shell One URLs and sessionid session id call java function as suction parameter;Java function is according to url unified resource Finger URL calls servlet program on weblogic main frame;All of on servlet program inquiring weblogic main frame Session session information, by corresponding for all session session informations unique sessionid session id with to be kicked out of Sessionid session id does and mates, and the corresponding session session information of sessionid session id of coupling is emptied, reaches and play Go out the effect of system.
6. a kind of system of detection business personnel's repeat logon according to claim 5 is it is characterised in that described log-on message Including sessionid session id, job number code, login time, the server host ip logging in, the server host end logging in Mouthful.
7. a kind of system of the detection business personnel's repeat logon according to claim 5 or 6 is it is characterised in that described backstage The time of server timing cycle scan database is to preset time value.
CN201310444737.8A 2013-09-26 2013-09-26 Method and system for detecting repeated login of salesmen Active CN103475546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310444737.8A CN103475546B (en) 2013-09-26 2013-09-26 Method and system for detecting repeated login of salesmen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310444737.8A CN103475546B (en) 2013-09-26 2013-09-26 Method and system for detecting repeated login of salesmen

Publications (2)

Publication Number Publication Date
CN103475546A CN103475546A (en) 2013-12-25
CN103475546B true CN103475546B (en) 2017-01-18

Family

ID=49800256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310444737.8A Active CN103475546B (en) 2013-09-26 2013-09-26 Method and system for detecting repeated login of salesmen

Country Status (1)

Country Link
CN (1) CN103475546B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376274A (en) * 2014-08-21 2016-03-02 中兴通讯股份有限公司 Login processing method, device and system
CN104539741B (en) * 2015-01-26 2019-10-15 北京奇艺世纪科技有限公司 A kind of reminding method and device of Account Logon
CN105184943A (en) * 2015-08-06 2015-12-23 成都昇创科技有限公司 Appointment number arranging method and device
CN105933302A (en) * 2016-04-14 2016-09-07 北京思特奇信息技术股份有限公司 Repeated job number login method and system
CN110968476B (en) * 2019-11-15 2022-12-27 苏州浪潮智能科技有限公司 Method and device for automatically monitoring login information of Linux system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557387A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for dealing with repeat login
CN101707620A (en) * 2009-11-26 2010-05-12 迈普通信技术股份有限公司 Method and system for detecting repeat login of Web authenticated user

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898752B2 (en) * 2012-02-01 2014-11-25 Microsoft Corporation Efficiently throttling user authentication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557387A (en) * 2008-04-11 2009-10-14 北京亿企通信息技术有限公司 Method for dealing with repeat login
CN101707620A (en) * 2009-11-26 2010-05-12 迈普通信技术股份有限公司 Method and system for detecting repeat login of Web authenticated user

Also Published As

Publication number Publication date
CN103475546A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103475546B (en) Method and system for detecting repeated login of salesmen
CN105956175B (en) The method and apparatus that web page contents are crawled
CN103905497B (en) Realize the method, apparatus and application platform of third-party application business website log
CN104636678B (en) The method and system of management and control is carried out under a kind of cloud computing environment to terminal device
CN1760830A (en) Method and system for programmatically generating synthetic transactions to monitor performance and availability of a WEB application
CN102065147A (en) Method and device for obtaining user login information based on enterprise application system
CN101977194A (en) Third-party verification code system and third-party verification code provision method
CN106941441A (en) A kind of implementation method for supporting many wechat public numbers to access
CN104640138B (en) A kind of method and device of orientation problem terminal
US20080282115A1 (en) Client-server text messaging monitoring for remote computer management
CN106940643A (en) Logical APP systems between the police and the people
CN107784113A (en) Html web page collecting method, device and computer-readable recording medium
CN113806110A (en) Event-driven message processing method, device, equipment and storage medium
CN107704369A (en) A kind of recording method of Operation Log, electronic equipment, storage medium, system
CN103699533B (en) Obtain the method and system of WEB fresh informations
CN110708339A (en) Correlation analysis method based on WEB log
CN108989427A (en) A kind of public service system and its construction method based on multi-source information polymerization
CN108614959A (en) A kind of method of configurable software systems authorization control
CN110535652A (en) A kind of system and method by each operation system data integration displaying and unified login
CN106790246A (en) The automatic method and system for declaring social security
CN103905428B (en) The method and system of visiting information in a kind of network
CN112699264A (en) Wind control management method and system based on chat records
CN106789395A (en) A kind of Distributed PDM system monitoring data transmission method based on Web
CN115941782A (en) Message pushing method and system based on RPA and chat robot
CN108183821A (en) A kind of application performance acquisition methods and device towards electrical network business

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant