CN101834909B - Method for automatically logging in hardware device and system thereof - Google Patents
Method for automatically logging in hardware device and system thereof Download PDFInfo
- Publication number
- CN101834909B CN101834909B CN 201010187133 CN201010187133A CN101834909B CN 101834909 B CN101834909 B CN 101834909B CN 201010187133 CN201010187133 CN 201010187133 CN 201010187133 A CN201010187133 A CN 201010187133A CN 101834909 B CN101834909 B CN 101834909B
- Authority
- CN
- China
- Prior art keywords
- hardware device
- logged
- automatic login
- service end
- software
- 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
Links
Images
Abstract
The invention provides a method for automatically logging in a hardware device and an automatic login system for realizing the method. The automatic login system comprises a software client, a software server and a logged-in hardware device, wherein the software client initiates a request for establishing connection with the logged-in hardware device; the software server stores an automaticlogin template corresponding to the logged-in hardware device; after receiving the request, the software server searches the locally stored automatic login template corresponding to the logged-in hardware device, creates a socket connection between the software server and the logged-in hardware device, receives the data returned by the logged-in hardware device and matches with the matching item in an automatic login module file; after successful matching, the software server sends a configuration command corresponding to the matching item to the logged-in hardware device to finish the automatic login process. The automatic login template is stored in the software server in a format of an extensible markup language file.
Description
Technical field
The present invention relates to network equipment login techniques.
Background technology
What automatically login techniques can the manual login of simplifying operation of equipment personnel is loaded down with trivial details, increases work efficiency.At present, using automatic login techniques all is to adopt the mode that signs in to the software server end mostly, and the technology that directly signs in to hardware device is less.SecureCRT (a emulation terminal software) is although can be by configuration, automatically sign in to hardware device, but it with hardware device between directly be connected by Serial Port Line, can not support longly apart from the login demand in the situation, can't satisfy the demand of Telnet; And need to use the script login that comprises its product performance, inadequate to the application support of automatically logging in hardware device in IP (Intel agreement) network environment, and the reusability of logon script is bad.
Summary of the invention
Technical problem to be solved by this invention is, a kind of method of new automatically logging in hardware device and the automatic login system of realizing the method are provided.
The present invention is that to solve the problems of the technologies described above the technical scheme that adopts be that the method for automatically logging in hardware device is characterized in that, may further comprise the steps:
A, software client are initiated and are logged the request that hardware device connects;
B, software service end are received described request, search local preserve should logged automatic login template corresponding to hardware device, and create the software service end and be connected with socket between the logged hardware device; Include matching value and the configuration order corresponding to this occurrence of each occurrence of the required coupling of automatic login in the described automatic login template;
C, software service end use logged the hardware device data of returning and the Corresponding matching item of automatically logining in the template to mate, the match is successful then sends configuration order corresponding to this occurrence to logged hardware device for the Corresponding matching item, all occurrences after the match is successful automatically login finish.
The user uses automatic login template to sign in to hardware device, can avoid operating personnel directly to touch the security information such as entry password, and service end adopts socket to be connected with logged hardware device, can satisfy the Telnet demand.
Further, in order to be conducive to automatically to login the multiplexing of template, the automatic login template that the software service end is preserved is extended markup language file (XML).
Concrete, before step a, also comprise step: software client judges that whether the software service end preserves logged automatic login template corresponding to hardware device, in this way, directly enters step a; As no, automatic login template corresponding to logged hardware device that the user is finished in the software client configuration by automatic login template configuration interface is saved to the software service end, enters step a again.
Automatic login system comprises software client, software service end, logged hardware device, and software client links to each other with the software service end by IP network; The software service end links to each other with logged hardware device by IP network;
Software client is used for, and initiates the request that connects with logged hardware device;
The software service end is used for, and preserves automatic login template corresponding to this logged hardware device, and described automatic login template includes matching value and the configuration order corresponding to this occurrence of each occurrence of the required coupling of automatic login; The software service end after receiving described request, search local preserve should logged automatic login template corresponding to hardware device, and create the software service end and be connected with socket between the logged hardware device; The data that the logged hardware device of reception returns and the occurrence in the automatic login module file mate, and after the match is successful, send configuration order corresponding to this occurrence to finish automatic login process to logged hardware device;
Logged hardware device is used for, after socket connects, to software service end return data.
Automatically the login template is kept at the software service end with the form of extended markup language file.
The invention has the beneficial effects as follows, by automatic login template automatically logging in hardware device, simplify manual register, satisfy the Telnet operation; Avoid the security information of user direct contact login, increased the fail safe of logged hardware device; Automatically the login template adopts the storage of extending mark language form, and any program that can resolve the extending mark language form all can be used this template, and durability is high.
Description of drawings
Fig. 1 is system block diagram of the present invention;
Fig. 2 is flow chart of the present invention.
Embodiment
As shown in Figure 1, automatic login system comprises software client, software service end, logged hardware device, and software client links to each other with the software service end by IP network; The software service end links to each other with logged hardware device by IP network, and the software service end stores the automatic login template of XML document form corresponding to logged hardware device.
Software client: provide the user to dispose the interface of automatic login template, and the relevant information (such as IP address, port numbers, device name etc.) that has logged hardware device, it can initiate and be logged the request that hardware device connects by these information, and can receive the also data of software for display service end transmission, also can send data to the software service end.
Automatically login template: with XML document format record occurrence, automatically login in the occurrence of template and comprise all possible value (matching value) that automatic login need to be mated, and to configuration order that should matching value.
Software service end: logged automatic login configurations template corresponding to hardware device of management, and provide with logged hardware device and set up the method that Socket is connected, and be responsible for calling logged automatic login template corresponding to hardware device, mate with the data that logged hardware device returns, and send configuration order corresponding to occurrence, finish the process of automatic login; Also be responsible for sending the interaction data between software client and the logged hardware device.
As described in Figure 2, the flow process of automatically logging in hardware device is as follows:
Step 1: the user uses software client to sign in to the software service end;
Step 2: the user confirms at software client whether logged hardware device has corresponding automatic login template, as no, then need to dispose automatic login template corresponding to this logged hardware device at the automatic login template configuration interface that software client provides, and be saved in the software service end; In this way, directly enter step 3;
Step 3: the interactive interface that the user provides by software client, initiate to connect the request of logged hardware device;
Step 4: after the software service end was received this connection request, this locality found corresponding automatic login template that should logged hardware device, and begin to create with logged hardware device between Socket be connected; Create unsuccessfully such as this Socket connection, then the prompting user backed off after random connects; Create successfully such as this Socket connection, then begin to wait for logged hardware device return data, wait timeout then withdraws from automatic login, enters manual login;
Step 5: after the software service end is received the data that logged hardware device returns, the matching value of the appointment occurrence in the automatic login template that finds in these data and the step 4 is mated when initial (, begin to mate from first occurrence); As the match is successful, send configuration order corresponding to this occurrence, and enter Next Occurrence and wait for logged hardware device return data, until all occurrences all mate and finish backed off after random and automatically login.If it fails to match, withdraw from automatic login mode, enter manual login mode.
Claims (10)
1. the method for automatically logging in hardware device is characterized in that, may further comprise the steps:
A, software client are initiated and are logged the request that hardware device connects;
B, software service end are received described request, search local preserve should logged automatic login template corresponding to hardware device, and create the software service end and be connected with socket between the logged hardware device; Include each occurrence and the configuration order corresponding to this occurrence of the required coupling of automatic login in the described automatic login template;
C, software service end use logged the hardware device data of returning and the Corresponding matching item of automatically logining in the template to mate, the match is successful then sends configuration order corresponding to this occurrence to logged hardware device for the Corresponding matching item, and enter Next Occurrence and wait for logged hardware device return data, until all occurrences after the match is successful automatically login finish.
2. the method for automatically logging in hardware device as claimed in claim 1 is characterized in that described automatic login template is extended markup language file.
3. the method for automatically logging in hardware device as claimed in claim 1, it is characterized in that, before step a, also comprise step: software client judges whether the software service end preserves logged automatic login template corresponding to hardware device, in this way, directly enter step a; As no, automatic login template corresponding to logged hardware device that the user is finished in the software client configuration by automatic login template configuration interface is saved to the software service end, enters step a again.
4. the method for automatically logging in hardware device as claimed in claim 3 is characterized in that, among the step a, software client is initiated by logged hardware device information and is logged the request that hardware device connects; The software service end should logged automatic login template corresponding to hardware device by logged hardware device information searching among the step b.
5. the method for automatically logging in hardware device as claimed in claim 4 is characterized in that, described logged hardware device information comprises IP address, port numbers, the device name of logged hardware device.
6. automatic login system is characterized in that, comprises software client, software service end, logged hardware device, and software client links to each other with the software service end by IP network; The software service end links to each other with logged hardware device by IP network;
Described software client is used for, and initiates the request that connects with logged hardware device;
Described software service end is used for, and preserves automatic login template corresponding to this logged hardware device, and described automatic login template includes each occurrence and the configuration order corresponding to this occurrence of the required coupling of automatic login; The software service end after receiving described request, search local preserve should logged automatic login template corresponding to hardware device, and create the software service end and be connected with socket between the logged hardware device; Receiving logged the hardware device data of returning and the occurrence of automatically logining in the template mates, after the match is successful, send configuration order corresponding to this occurrence to logged hardware device, and enter Next Occurrence and wait for logged hardware device return data, until all occurrences after the match is successful, are finished automatic login process;
Described logged hardware device is used for, after socket connects, to software service end return data.
7. automatic login system is as claimed in claim 6 automatically logined template and is kept at the software service end with the form of extended markup language file.
8. automatic login system as claimed in claim 7, described software client also is used for, and judges whether to preserve logged automatic login template corresponding to hardware device, in this way, directly initiates the request that connects with logged hardware device; As no, automatic login template corresponding to logged hardware device that the user is finished in the software client configuration by automatic login template configuration interface is saved to the software service end, initiates the request that connects with logged hardware device again.
9. automatic login system as claimed in claim 6 is characterized in that, software client is initiated by logged hardware device information and is logged the request that hardware device connects; The software service end should logged automatic login template corresponding to hardware device by logged hardware device information searching.
10. automatic login system as claimed in claim 9 is characterized in that, described logged hardware device information comprises IP address, port numbers, the device name of logged hardware device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010187133 CN101834909B (en) | 2010-05-31 | 2010-05-31 | Method for automatically logging in hardware device and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010187133 CN101834909B (en) | 2010-05-31 | 2010-05-31 | Method for automatically logging in hardware device and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101834909A CN101834909A (en) | 2010-09-15 |
CN101834909B true CN101834909B (en) | 2013-01-09 |
Family
ID=42718838
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010187133 Active CN101834909B (en) | 2010-05-31 | 2010-05-31 | Method for automatically logging in hardware device and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101834909B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268331B (en) * | 2011-11-21 | 2016-08-24 | 北京奇虎科技有限公司 | Automatic logging method and device |
CN106682868B (en) * | 2015-11-10 | 2021-01-08 | 北京计算机技术及应用研究所 | On-line data extraction device and method for office automation equipment storage component |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166094A (en) * | 2007-08-10 | 2008-04-23 | 林明辉 | A method for client to automatically log in the server via intelligent encryption mode |
CN101459543A (en) * | 2009-01-07 | 2009-06-17 | 浪潮通信信息系统有限公司 | System for telecommunication equipment centralized login and implementing method thereof |
CN101588268A (en) * | 2009-06-29 | 2009-11-25 | 杭州华三通信技术有限公司 | Method and device for configuration files of universal extensible management device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100437551C (en) * | 2003-10-28 | 2008-11-26 | 联想(新加坡)私人有限公司 | Method and apparatus of automatically accessing by using multiple user's equipments |
-
2010
- 2010-05-31 CN CN 201010187133 patent/CN101834909B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166094A (en) * | 2007-08-10 | 2008-04-23 | 林明辉 | A method for client to automatically log in the server via intelligent encryption mode |
CN101459543A (en) * | 2009-01-07 | 2009-06-17 | 浪潮通信信息系统有限公司 | System for telecommunication equipment centralized login and implementing method thereof |
CN101588268A (en) * | 2009-06-29 | 2009-11-25 | 杭州华三通信技术有限公司 | Method and device for configuration files of universal extensible management device |
Also Published As
Publication number | Publication date |
---|---|
CN101834909A (en) | 2010-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101848374A (en) | Wireless video monitoring system and wireless video monitoring method thereof | |
CN103139157B (en) | A kind of based on the network communication method of socket, Apparatus and system | |
CN106028264B (en) | Electronic equipment Bluetooth pairing methods and system | |
CN107634984A (en) | A kind of file synchronisation method based on one-way transmission path | |
CN102521409B (en) | Method for updating data of database in batch mode based on communication protocol | |
CN102148817A (en) | Network equipment configuration method, client, server and network system | |
CN103164244A (en) | Firmware system long-distance updating methods based on unified extensible firmware interface | |
CN102780715A (en) | Method and system for realizing remote desktop between mobile terminals | |
CN102118448A (en) | Method, system and terminal for realizing cloud computing | |
CN102412993A (en) | Method and system for automatically displaying multiple terminals in XML (Extensive Makeup Language) interface | |
CN103699464A (en) | Communication terminal automatically testing method and device | |
CN104580376A (en) | Method, device and system for constructing connection between terminals in local area network | |
CN103023727A (en) | Portal performance testing system and Portal performance testing method | |
WO2012016409A1 (en) | Terminal upgrade method, terminal upgrade downgrade method and upgrade management center | |
CN101729557A (en) | Method and system for realizing resource sharing of terminal equipment | |
CN101834909B (en) | Method for automatically logging in hardware device and system thereof | |
CN105490849B (en) | The automatic deployment method and system of application system | |
CN102437924A (en) | Method for managing computer room based on Android system | |
CN104954462A (en) | High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system | |
EP2515601B1 (en) | Dial-up connection method and device of mobile data terminal | |
CN109857465A (en) | A kind of automatic installation method and system of cloud desktop usb driving | |
CN103987017B (en) | A kind of method and system for being used to set up service access in a wlan | |
CN104683973B (en) | Management method and system are automatically configured based on intelligent terminal | |
CN102014350A (en) | Method for backing up mobile phone short messages based on network | |
CN202364256U (en) | Network information issuing system and server |
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 |