CN115086003B - Login-free method after webpage skipping of load balancing centralized management and control system - Google Patents

Login-free method after webpage skipping of load balancing centralized management and control system Download PDF

Info

Publication number
CN115086003B
CN115086003B CN202210655446.2A CN202210655446A CN115086003B CN 115086003 B CN115086003 B CN 115086003B CN 202210655446 A CN202210655446 A CN 202210655446A CN 115086003 B CN115086003 B CN 115086003B
Authority
CN
China
Prior art keywords
load balancing
webpage
control system
login
centralized management
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
CN202210655446.2A
Other languages
Chinese (zh)
Other versions
CN115086003A (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.)
Shanghai Hongji Information Technology Co Ltd
Original Assignee
Shanghai Hongji 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 Shanghai Hongji Information Technology Co Ltd filed Critical Shanghai Hongji Information Technology Co Ltd
Priority to CN202210655446.2A priority Critical patent/CN115086003B/en
Publication of CN115086003A publication Critical patent/CN115086003A/en
Application granted granted Critical
Publication of CN115086003B publication Critical patent/CN115086003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a log-in-free method after webpage jump of a load balancing centralized management and control system, wherein the centralized management and control system stores load balancing IP, port, protocol type, webpage user name and password, and the background persists the information and maintains a log-in token; the user selects a device to jump; the centralized control webpage foreground acquires a login token of the equipment by calling an API; the foreground sets the acquired login token to a cookie of the browser; the foreground generates a URL pointing to the background of the centralized management and control system and opens a new tab access; the background of the centralized management and control system analyzes the URL to reversely proxy the request to the equipment selected by the user; downloading and analyzing a webpage static file by a new tab of the browser; after the jump, under the same domain name, taking the login token from the cookie; after the verification token is successful, the route is navigated to the post-login page. Compared with the prior art, the invention has the advantages that: after the webpage jumps, the webpage is in a login-free state, so that the management and maintenance efficiency of a user is effectively improved.

Description

Login-free method after webpage skipping of load balancing centralized management and control system
Technical Field
The invention relates to the technical field of networks, in particular to a log-in-free method after webpage skipping of a load balancing centralized management and control system.
Background
At present, a plurality of medium and large enterprise application systems perform flow pressure processing and access speed optimization through load balancing equipment, and as the service is continuously increased and the application deployment scale is more and more huge, the load balancing of the matched deployment of a data center is more and more, so that the load balancing maintenance management work is more and more heavy and complex. By using the existing IT implementation system, an integrated centralized management and control platform is established, the innovation of business and technical management is realized, and the heavy and complex maintenance and management work of the existing network can be reduced.
In order to manage load balancing more quickly, the centralized management and control system provides a webpage skipping function, equipment to be skipped is selected in the webpage of the centralized management and control system, a new URL is generated according to equipment IP, ports and protocol types, and a new tab is opened through a browser. However, the existing web page skip function still has the following disadvantages:
(1) The equipment page of the existing load balancing centralized management and control system after webpage skipping is in an unregistered state, and a user is required to manually input a user name and a password, so that the problem of low management and maintenance efficiency is caused;
(2) Multiple load balancing if deployed in different network environments, the network from browser to load balancing may be unreachable, and the page and API (application program interface) cannot be normally requested after the jump.
The technical problem reflected above is therefore a problem to be solved by the person skilled in the art.
Disclosure of Invention
The invention aims to provide a log-in-free method for a webpage of a load balancing centralized management and control system after skipping, so as to solve the problem of low maintenance and management efficiency.
In order to achieve the above purpose, the following technical scheme is adopted: a log-in-free method after webpage skipping of a load balancing centralized management and control system comprises the following steps:
the method comprises the steps that S1, key information such as IP (Internet protocol), port, protocol type, webpage user name and password of load balancing is stored in a centralized management and control system, and the information is persisted in the background and login tokens of each managed load balancing are maintained;
s2, selecting a device to be jumped by a user;
s3, the foreground of the centralized control webpage acquires a login token of the equipment by calling an API;
s4, the foreground sets the acquired login token on a cookie (identity identification information file) of the browser;
s5, the foreground generates URL pointing to the background of the centralized management and control system according to the equipment IP, the port, the protocol type and the like and opens a new tab access;
s6, after the background of the centralized management and control system receives the request, analyzing the URL and reversely proxy the request to the equipment selected by the user;
s7, downloading and analyzing a webpage static file by the new tab of the browser;
s8, the request of the browser is a result centralized control background reverse proxy, so that the jumped load balancing webpage and the centralized control system webpage are under the same domain name, and the login token can be obtained from the cookie;
and S9, after the verification token is successful, the route is navigated to the page after login.
Compared with the prior art, the invention has the advantages that:
(1) After the webpage jumps, the webpage is in a login-free state, so that the management and maintenance efficiency of a user is effectively improved;
(2) When the load balancing deployment environment is complex, the browser cannot access the load balancing, and the capacity of the load balancing for providing the webpage service for the browser is realized through the reverse proxy of the centralized management and control system.
Drawings
Fig. 1 is a flow chart of a log-in-free method after a web page of the load balancing centralized management and control system jumps.
Detailed Description
Referring to fig. 1, a log-in-free method after webpage skipping of a load balancing centralized management and control system includes the following steps:
the method comprises the steps that S1, key information such as IP (Internet protocol), port, protocol type, webpage user name and password of load balancing is stored in a centralized management and control system, and the information is persisted in the background and login tokens of each managed load balancing are maintained;
s2, selecting a device to be jumped by a user;
s3, the foreground of the centralized control webpage acquires a login token of the equipment by calling an API;
s4, the foreground sets the acquired login token on a cookie (identity identification information file) of the browser;
s5, the foreground generates URL pointing to the background of the centralized management and control system according to the equipment IP, the port, the protocol type and the like and opens a new tab access;
s6, after the background of the centralized management and control system receives the request, analyzing the URL and reversely proxy the request to the equipment selected by the user;
s7, downloading and analyzing a webpage static file by the new tab of the browser;
s8, the request of the browser is a result centralized control background reverse proxy, so that the jumped load balancing webpage and the centralized control system webpage are under the same domain name, and the login token can be obtained from the cookie;
and S9, after the verification token is successful, the route is navigated to the page after login.
The invention and its embodiments have been described above with no limitation, and the actual construction is not limited to the embodiments of the invention as shown in the drawings. In summary, if one of ordinary skill in the art is informed by this disclosure, a structural manner and an embodiment similar to the technical solution should not be creatively devised without departing from the gist of the present invention.

Claims (1)

1. A log-in-free method after webpage skipping of a load balancing centralized management and control system comprises the following steps:
the method comprises the steps that S1, key information such as IP, port, protocol type, webpage user name and password of load balancing equipment is stored in a centralized management and control system, and the information is persisted in the background and login tokens of each managed load balancing equipment are maintained;
s2, selecting load balancing equipment to be jumped by a user;
s3, the foreground of the centralized control webpage acquires a login token of the load balancing equipment by calling an API;
s4, the foreground sets the acquired login token to a cookie identification information file of the browser;
s5, the foreground generates URL pointing to the background of the centralized management and control system according to the IP, the port, the protocol type and the like of the load balancing equipment and opens a new tab access;
s6, after the background of the centralized management and control system receives the request, analyzing the URL and reversely proxy the request to load balancing equipment selected by the user;
s7, downloading and analyzing a webpage static file by the new tab of the browser;
s8, the load balancing device can take the login token from the cookie;
and S9, after the verification token is successful, the route is navigated to the page after login.
CN202210655446.2A 2022-06-10 2022-06-10 Login-free method after webpage skipping of load balancing centralized management and control system Active CN115086003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210655446.2A CN115086003B (en) 2022-06-10 2022-06-10 Login-free method after webpage skipping of load balancing centralized management and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210655446.2A CN115086003B (en) 2022-06-10 2022-06-10 Login-free method after webpage skipping of load balancing centralized management and control system

Publications (2)

Publication Number Publication Date
CN115086003A CN115086003A (en) 2022-09-20
CN115086003B true CN115086003B (en) 2024-03-29

Family

ID=83251035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210655446.2A Active CN115086003B (en) 2022-06-10 2022-06-10 Login-free method after webpage skipping of load balancing centralized management and control system

Country Status (1)

Country Link
CN (1) CN115086003B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116010096A (en) * 2023-01-04 2023-04-25 上海弘积信息科技有限公司 Centralized management method and system for load balancing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682009A (en) * 2011-03-11 2012-09-19 腾讯科技(北京)有限公司 Method and system for logging in webpage
CN107862198A (en) * 2017-11-17 2018-03-30 浪潮软件股份有限公司 One kind accesses verification method, system and client
CN107948167A (en) * 2017-11-29 2018-04-20 浙江数链科技有限公司 A kind of method and apparatus of single-sign-on
CN111125653A (en) * 2019-12-18 2020-05-08 紫光云(南京)数字技术有限公司 High-concurrency unified authentication method based on Nginx and Redis
CN111538590A (en) * 2020-04-17 2020-08-14 姜海强 Distributed data acquisition method and system based on CS framework
CN112954047A (en) * 2021-02-08 2021-06-11 上海弘积信息科技有限公司 Method for encrypting cookie through load balancing equipment
CN113452778A (en) * 2021-06-25 2021-09-28 中国农业银行股份有限公司 Session keeping method, device, equipment, system and storage medium
CN113783695A (en) * 2021-08-03 2021-12-10 西北大学 Client information authentication method and system of micro-service architecture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075409B (en) * 2009-11-24 2013-03-20 华为技术有限公司 Method and system for processing request message as well as load balancer equipment
US10257182B2 (en) * 2016-07-25 2019-04-09 Okta, Inc. Login proxy for third-party applications

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682009A (en) * 2011-03-11 2012-09-19 腾讯科技(北京)有限公司 Method and system for logging in webpage
CN107862198A (en) * 2017-11-17 2018-03-30 浪潮软件股份有限公司 One kind accesses verification method, system and client
CN107948167A (en) * 2017-11-29 2018-04-20 浙江数链科技有限公司 A kind of method and apparatus of single-sign-on
CN111125653A (en) * 2019-12-18 2020-05-08 紫光云(南京)数字技术有限公司 High-concurrency unified authentication method based on Nginx and Redis
CN111538590A (en) * 2020-04-17 2020-08-14 姜海强 Distributed data acquisition method and system based on CS framework
CN112954047A (en) * 2021-02-08 2021-06-11 上海弘积信息科技有限公司 Method for encrypting cookie through load balancing equipment
CN113452778A (en) * 2021-06-25 2021-09-28 中国农业银行股份有限公司 Session keeping method, device, equipment, system and storage medium
CN113783695A (en) * 2021-08-03 2021-12-10 西北大学 Client information authentication method and system of micro-service architecture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于服务器集群的负载均衡系统的设计与实现;刘成;《中国优秀硕士学位论文全文数据库(电子期刊)》;全文 *

Also Published As

Publication number Publication date
CN115086003A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
US10735553B2 (en) Micro-services in a telecommunications network
Gouareb et al. Virtual network functions routing and placement for edge cloud latency minimization
US10764933B2 (en) Predictive connectivity service layers
JP4452185B2 (en) Resource awareness management of request traffic based on management policy
US9647943B2 (en) Method for providing tiered load balancing for a hosted voice-over internet protocol (VoIP) private branch exchange (PBX)
Eramo et al. Server resource dimensioning and routing of service function chain in NFV network architectures
EP3149924B1 (en) Sharing of contextual information in a multi-vendor and/or multiple contact center environment
US20130346619A1 (en) Apparatus and methods for auto-discovery and migration of virtual cloud infrastructure
CN109271776A (en) Micro services system single-point logging method, server and computer readable storage medium
US20080282336A1 (en) Firewall control with multiple profiles
US9912552B2 (en) Method and apparatus for generating configuration information for a communication system
US20080165683A1 (en) Method, system, and program product for enhancing network communications between endpoints
CN111683139B (en) Method and device for balancing load
CN115086003B (en) Login-free method after webpage skipping of load balancing centralized management and control system
CN105247832A (en) Method and apparatus for integrating security context in network routing decisions
Gil-Herrera et al. A scalable metaheuristic for service function chain composition
US20190149508A1 (en) Explicit service function chaining (sfc) using dns extensions
Joshi et al. A comparative study on load balancing algorithms in software defined networking
AU2015313050B2 (en) Control device, control system, control method, and control program
WO2019127452A1 (en) Virtualized network functions
Hikichi et al. Dynamic application load balancing in distributed SDN controller
CN110191067B (en) Private line network access control method, device, equipment and readable storage medium
Blair et al. Handling policy conflicts in call control
US11316765B2 (en) Load balancing across bandwidth carrying circuits
US10958580B2 (en) System and method of performing load balancing over an overlay network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant