CN110474958B - Code scanning authentication method, server, fixed terminal and mobile terminal - Google Patents
Code scanning authentication method, server, fixed terminal and mobile terminal Download PDFInfo
- Publication number
- CN110474958B CN110474958B CN201910627269.5A CN201910627269A CN110474958B CN 110474958 B CN110474958 B CN 110474958B CN 201910627269 A CN201910627269 A CN 201910627269A CN 110474958 B CN110474958 B CN 110474958B
- Authority
- CN
- China
- Prior art keywords
- address
- http request
- fixed terminal
- dimensional code
- authentication server
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9554—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a code scanning authentication method, a Portal authentication server, a fixed terminal and a mobile terminal, which comprise the following steps: when a fixed terminal which is not authenticated initiates a first HTTP request, receiving a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment; and feeding back a response message to the fixed terminal according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, the URL information contains a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal, so that the mobile terminal can scan the two-dimensional code, send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code, and send authentication result information to the fixed terminal according to the third HTTP request. The mobile terminal does not need to be accessed into an intranet firstly, and the code scanning of the mobile terminal can be used for completing authentication.
Description
Technical Field
The invention relates to the field of data communication, in particular to a code scanning authentication method, a server, a fixed terminal and a mobile terminal.
Background
At present, the process of code scanning authentication by a mobile terminal in the prior art is as follows:
step one, a fixed terminal (such as a notebook computer) tries to access a network, and an access device distributes an IP address (IP address 1) for the fixed terminal
Step two, when the fixed terminal tries to send the first HTTP request, the access device redirects the first HTTP request to a Portol authentication server if the access device finds that the notebook computer is not authenticated, and the URL of the redirected uniform resource locator contains an IP address 1.
And step three, the fixed terminal sends a second HTTP request to the Portol authentication server.
And step four, the Portol authentication server responds to the fixed terminal, the response contains the two-dimensional code, and the user waits for the code scanning authentication of the mobile terminal.
Step five, the mobile terminal tries to access the same local area network, and the access equipment allocates an IP address (IP address 2) for the mobile terminal.
Step six, the mobile terminal tries to send a third HTTP request, the access device finds that the mobile terminal does not finish authentication, redirects the third HTTP request to a Portol authentication server, and the redirected URL comprises an IP address 2.
And step seven, the mobile terminal sends a fourth HTTP request to the Portol authentication server.
And step eight, the Portol authentication server responds to the mobile terminal, the response comprises the two-dimensional code 2, and the user mobile terminal is waited for authentication.
And step nine, the mobile terminal sends a fifth HTTP request, wherein the request carries the IP address 2 of the mobile terminal.
Step ten, the Portol passes the authentication, notifies the access equipment that the authentication is successful, and redirects the response of the fifth HTTP request to the authentication success.
Step eleven, the mobile terminal scans or scans the two-dimensional code returned by the second HTTP again and sends a sixth HTTP request to the Portol authentication server, wherein the request carries the IP address 1 of the fixed terminal.
Step twelve, the Portol passes the authentication, notifies the access device that the authentication is successful, and redirects the response of the sixth HTTP request to the authentication success.
It can be seen from the above prior art solutions that, if the Portol authentication server is deployed in an intranet, a mobile terminal (e.g., a mobile phone) of a user must first access the intranet to complete code scanning authentication for a fixed terminal (e.g., a notebook computer). The complexity of the operation is increased, the safety of the mobile terminal is reduced, and the two aspects are as follows:
1. under the environment that the current 4G/5G network does not limit the flow use, the user mobile terminal does not need to be accessed into the wireless local area network environment, and the user mobile terminal is forced to be accessed into the wireless local area network for two times of network authentication in order to access the network by the fixed terminal, so that the operation complexity of the user mobile terminal is greatly increased.
2. The mobile terminal of the user is accessed to the strange wireless local area network environment, the risk that the mobile terminal is stolen by data is increased, and therefore the safety of the mobile terminal is reduced.
Disclosure of Invention
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
a code scanning authentication method is applied to a Portal authentication server and comprises the following steps:
when a fixed terminal which is not authenticated initiates a first HTTP request, receiving a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment;
and feeding back a response message to the fixed terminal according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, and the URL information contains a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server and a third IP address of the fixed terminal, so that the mobile terminal can scan the two-dimensional code, send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code, and send authentication result information to the fixed terminal according to the third HTTP request.
Optionally, the fixed terminal is a PC computer and/or a notebook computer.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
Another aspect of the embodiments of the present invention is to provide a method for code scanning authentication, which is applied to a fixed terminal that does not pass authentication, and includes:
a first HTTP request is initiated to an access device,
sending a second HTTP request to a Portal authentication server according to the redirection instruction of the access equipment,
receiving a response message fed back by the Portal authentication server according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, and the URL information contains a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal,
and receiving authentication result information sent by the Portal authentication server according to a third HTTP request, wherein the third HTTP request is sent to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code by the mobile terminal.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
Another aspect of the embodiments of the present invention is to provide a method for code scanning authentication, which is applied in a mobile terminal, and includes:
scanning two-dimensional code information on a fixed terminal;
sending a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address acquired from the two-dimensional code so that the Portal authentication server can send authentication result information to the fixed terminal according to the third HTTP request item,
when a fixed terminal which does not pass authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then sends a response message fed back to the fixed terminal according to the second HTTP request, the two-dimensional code carries authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
Another aspect of the embodiments of the present invention is to provide a Portal authentication server, including:
the first receiving module is used for receiving a second HTTP request sent by the fixed terminal according to the redirection instruction of the access equipment when the fixed terminal which is not authenticated initiates the first HTTP request;
a first sending module, configured to feed back a response packet to the fixed terminal according to the second HTTP request, where the response packet includes a two-dimensional code, the two-dimensional code carries an authentication URL information, and the URL information includes a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server, and a third IP address of the fixed terminal, so that the mobile terminal scans the two-dimensional code and sends a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code,
the first sending module is further configured to send authentication result information to the fixed terminal according to the third HTTP request.
Optionally, the fixed terminal is a PC computer and/or a notebook computer.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
Another aspect of the embodiments of the present invention is to provide a fixed terminal, including:
a second sending module for initiating a first HTTP request to the access device,
the second sending module is further used for sending a second HTTP request to a Portal authentication server according to the redirection instruction of the access equipment,
a second receiving module, configured to receive a response message fed back by the Portal authentication server according to the second HTTP request, where the response message includes a two-dimensional code, the two-dimensional code carries an authentication URL information, and the URL information includes a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server, and a third IP address of the fixed terminal,
the second receiving module is further configured to receive authentication result information sent by the Portal authentication server according to a third HTTP request, where the third HTTP request is sent by the mobile terminal to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address acquired from the two-dimensional code.
Another aspect of embodiments of the present invention is to provide a mobile terminal, including:
the scanning module is used for scanning the two-dimensional code information on the fixed terminal;
a third sending module, configured to send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code, so that the Portal authentication server sends authentication result information to the fixed terminal according to the third HTTP request item,
when a fixed terminal which does not pass authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then sends a response message fed back to the fixed terminal according to the second HTTP request, the two-dimensional code carries authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
The embodiment of the invention has the advantages that the method for code scanning authentication is applied to a Portal authentication server, and when a fixed terminal which does not pass authentication initiates a first HTTP request, a second HTTP request sent by the fixed terminal according to the redirection instruction of the access equipment is received; and feeding back a response message to the fixed terminal according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, and the URL information contains a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server and a third IP address of the fixed terminal, so that the mobile terminal can scan the two-dimensional code, send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code, and send authentication result information to the fixed terminal according to the third HTTP request. Therefore, the user can complete the authentication by scanning the code of the mobile terminal without accessing the mobile terminal to the intranet firstly.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method provided by an embodiment of the present invention;
FIG. 2 is a flow chart of a method provided by an embodiment of the present invention;
FIG. 3 is a flowchart of a method provided by an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus according to an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus according to an embodiment of the present invention;
fig. 6 is a diagram illustrating an apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a code scanning authentication method, which is applied to a Portal authentication server and comprises the following steps as shown in figure 1:
s101, when a fixed terminal which is not authenticated initiates a first HTTP request, receiving a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment;
s103, feeding back a response message to the fixed terminal according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code carries authentication URL information, and the URL information contains a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server and a third IP address of the fixed terminal, so that the mobile terminal can scan the two-dimensional code and send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code,
and S105, sending authentication result information to the fixed terminal according to the third HTTP request.
Optionally, the fixed terminal is a PC computer and/or a notebook computer.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
The embodiment of the invention has the beneficial effect that the user can complete the authentication by scanning the code of the mobile terminal without accessing the mobile terminal to the intranet.
Another aspect of the embodiments of the present invention is to provide a code scanning authentication method, which is applied to a fixed terminal that does not pass authentication, as shown in fig. 2, and includes:
s201, a first HTTP request is sent to the access device,
s203, sending a second HTTP request to a Portal authentication server according to the redirection instruction of the access equipment,
s205, receiving a response message fed back by the Portal authentication server according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, the URL information contains a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal,
and S207, receiving authentication result information sent by the Portal authentication server according to a third HTTP request, wherein the third HTTP request is sent to the Portal authentication server by the mobile terminal through the HTTP proxy server according to the first IP address, the second IP address and the third IP address acquired from the two-dimensional code.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
The embodiment of the invention has the beneficial effect that the user can complete the authentication by scanning the code of the mobile terminal without accessing the mobile terminal to the intranet.
Another aspect of the embodiments of the present invention is to provide a method for code scanning authentication, which is applied in a mobile terminal, as shown in fig. 3, and includes:
s301, scanning two-dimensional code information on a fixed terminal;
s303, sending a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address acquired from the two-dimensional code so that the Portal authentication server can send authentication result information to the fixed terminal according to the third HTTP request,
when a fixed terminal which does not pass authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then sends a response message fed back to the fixed terminal according to the second HTTP request, the two-dimensional code carries authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
The embodiment of the invention has the beneficial effect that the user can complete the authentication by scanning the code of the mobile terminal without accessing the mobile terminal to the intranet.
Another aspect of the embodiments of the present invention is to provide a Portal authentication server, as shown in fig. 4, including:
a first receiving module 401, configured to receive, when a fixed terminal that fails to pass authentication initiates a first HTTP request, a second HTTP request sent by the fixed terminal according to a redirection instruction of an access device;
a first sending module 403, configured to feed back a response packet to the fixed terminal according to the second HTTP request, where the response packet includes a two-dimensional code, and the two-dimensional code carries an authentication URL information, where the URL information includes a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server, and a third IP address of the fixed terminal, so that the mobile terminal scans the two-dimensional code and sends a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code,
the first sending module 403 is further configured to send authentication result information to the fixed terminal according to the third HTTP request.
Optionally, the fixed terminal is a PC computer and/or a notebook computer.
Optionally, the first IP address is a public network IP address, and the second IP address is a local network IP address.
Another aspect of the embodiments of the present invention is to provide a fixed terminal, as shown in fig. 5, including:
a second sending module 501, configured to initiate a first HTTP request to an access device,
the second sending module 501 is further configured to send a second HTTP request to a Portal authentication server according to the redirection instruction of the access device,
a second receiving module 503, configured to receive a response message fed back by the Portal authentication server according to the second HTTP request, where the response message includes a two-dimensional code, the two-dimensional code carries an authentication URL information, and the URL information includes a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server, and a third IP address of the fixed terminal,
the second receiving module 503 is further configured to receive authentication result information sent by the Portal authentication server according to a third HTTP request, where the third HTTP request is sent by the mobile terminal to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code.
Another aspect of the embodiments of the present invention is to provide a mobile terminal, as shown in fig. 6, including:
the scanning module 601 is used for scanning two-dimensional code information on the fixed terminal;
a third sending module 603, configured to send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code, so that the Portal authentication server sends authentication result information to the fixed terminal according to the third HTTP request item,
when a fixed terminal which does not pass authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then sends a response message fed back to the fixed terminal according to the second HTTP request, the two-dimensional code carries authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
The embodiment of the invention has the beneficial effect that the user can complete the authentication by scanning the code of the mobile terminal without accessing the mobile terminal to the intranet.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. A method for code scanning authentication is applied to a Portal authentication server and comprises the following steps:
when a fixed terminal which is not authenticated initiates a first HTTP request, receiving a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment;
and feeding back a response message to the fixed terminal according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, and the URL information contains a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server and a third IP address of the fixed terminal, so that the mobile terminal can scan the two-dimensional code, send a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code, and send authentication result information to the fixed terminal according to the third HTTP request.
2. The method of claim 1, wherein the fixed terminal is a PC computer and/or a notebook computer.
3. The method of claim 1, wherein the first IP address is a public network IP address and the second IP address is a local network IP address.
4. A method for code scanning authentication is applied to a fixed terminal which is not authenticated, and comprises the following steps:
a first HTTP request is initiated to an access device,
sending a second HTTP request to a Portal authentication server according to the redirection instruction of the access equipment,
receiving a response message fed back by the Portal authentication server according to the second HTTP request, wherein the response message contains a two-dimensional code, the two-dimensional code bears authentication URL information, and the URL information contains a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal,
and receiving authentication result information sent by the Portal authentication server according to a third HTTP request, wherein the third HTTP request is sent to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address and the third IP address which are obtained from the two-dimensional code by the mobile terminal.
5. The method of claim 4, wherein the first IP address is a public network IP address and the second IP address is a local network IP address.
6. A method for code scanning authentication is applied to a mobile terminal and comprises the following steps:
scanning two-dimensional code information on a fixed terminal;
sending a third HTTP request to a Portal authentication server through an HTTP proxy server according to the first IP address, the second IP address and the third IP address acquired from the two-dimensional code so that the Portal authentication server can send authentication result information to the fixed terminal according to the third HTTP request,
when a fixed terminal which does not pass authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then sends a response message fed back to the fixed terminal according to the second HTTP request, the two-dimensional code carries authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
7. A Portal authentication server, comprising:
the first receiving module is used for receiving a second HTTP request sent by the fixed terminal according to the redirection instruction of the access equipment when the fixed terminal which is not authenticated initiates the first HTTP request;
a first sending module, configured to feed back a response packet to the fixed terminal according to the second HTTP request, where the response packet includes a two-dimensional code, the two-dimensional code carries an authentication URL information, and the URL information includes a first IP address of an HTTP proxy server, a second IP address of a Portal authentication server, and a third IP address of the fixed terminal, so that the mobile terminal scans the two-dimensional code and sends a third HTTP request to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address obtained from the two-dimensional code,
the first sending module is further configured to send authentication result information to the fixed terminal according to the third HTTP request.
8. Portal authentication server according to claim 7, characterised in that said fixed terminal is a PC computer and/or a notebook computer.
9. A Portal authentication server according to claim 7, wherein said first IP address is a public network IP address and said second IP address is a local network IP address.
10. A fixed terminal, comprising:
a second sending module for initiating a first HTTP request to the access device,
the second sending module is further used for sending a second HTTP request to a Portal authentication server according to the redirection instruction of the access equipment,
a second receiving module, configured to receive a response message fed back by the Portal authentication server according to the second HTTP request, where the response message includes a two-dimensional code, the two-dimensional code carries an authentication URL information, and the URL information includes a first IP address of the HTTP proxy server, a second IP address of the Portal authentication server, and a third IP address of the fixed terminal,
the second receiving module is further configured to receive authentication result information sent by the Portal authentication server according to a third HTTP request, where the third HTTP request is sent by the mobile terminal to the Portal authentication server through the HTTP proxy server according to the first IP address, the second IP address, and the third IP address acquired from the two-dimensional code.
11. A mobile terminal, comprising:
the scanning module is used for scanning the two-dimensional code information on the fixed terminal;
a third sending module, configured to send a third HTTP request to a Portal authentication server through an HTTP proxy server according to the first IP address, the second IP address, and the third IP address acquired from the two-dimensional code, so that the Portal authentication server sends authentication result information to the fixed terminal according to the third HTTP request,
when a fixed terminal which does not pass the authentication initiates a first HTTP request, a Portal authentication server receives a second HTTP request sent by the fixed terminal according to a redirection instruction of access equipment and then feeds back a response message to the fixed terminal according to the second HTTP request, the two-dimensional code bears authentication URL information, and the URL information comprises a first IP address of an HTTP proxy server, a second IP address of the Portal authentication server and a third IP address of the fixed terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627269.5A CN110474958B (en) | 2019-07-12 | 2019-07-12 | Code scanning authentication method, server, fixed terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910627269.5A CN110474958B (en) | 2019-07-12 | 2019-07-12 | Code scanning authentication method, server, fixed terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110474958A CN110474958A (en) | 2019-11-19 |
CN110474958B true CN110474958B (en) | 2022-05-20 |
Family
ID=68508024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910627269.5A Active CN110474958B (en) | 2019-07-12 | 2019-07-12 | Code scanning authentication method, server, fixed terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110474958B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702717A (en) * | 2009-11-24 | 2010-05-05 | 杭州华三通信技术有限公司 | A method, system and equipment for Portal authentication |
CN104811439A (en) * | 2015-03-30 | 2015-07-29 | 杭州华三通信技术有限公司 | Portal authentication method and device |
CN105635148A (en) * | 2015-12-30 | 2016-06-01 | 杭州华三通信技术有限公司 | Portal authentication method and apparatus |
CN106209912A (en) * | 2016-08-30 | 2016-12-07 | 迈普通信技术股份有限公司 | Access authorization methods, device and system |
CN106921970A (en) * | 2015-12-28 | 2017-07-04 | 华为技术有限公司 | A kind of access authentication method, device and system |
CN109067729A (en) * | 2018-07-26 | 2018-12-21 | 新华三技术有限公司 | A kind of authentication method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244866B (en) * | 2011-08-18 | 2016-01-20 | 杭州华三通信技术有限公司 | Gate verification method and access controller |
CN106131079B (en) * | 2016-08-29 | 2020-08-11 | 腾讯科技(北京)有限公司 | Authentication method, system and proxy server |
-
2019
- 2019-07-12 CN CN201910627269.5A patent/CN110474958B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702717A (en) * | 2009-11-24 | 2010-05-05 | 杭州华三通信技术有限公司 | A method, system and equipment for Portal authentication |
CN104811439A (en) * | 2015-03-30 | 2015-07-29 | 杭州华三通信技术有限公司 | Portal authentication method and device |
CN106921970A (en) * | 2015-12-28 | 2017-07-04 | 华为技术有限公司 | A kind of access authentication method, device and system |
CN105635148A (en) * | 2015-12-30 | 2016-06-01 | 杭州华三通信技术有限公司 | Portal authentication method and apparatus |
CN106209912A (en) * | 2016-08-30 | 2016-12-07 | 迈普通信技术股份有限公司 | Access authorization methods, device and system |
CN109067729A (en) * | 2018-07-26 | 2018-12-21 | 新华三技术有限公司 | A kind of authentication method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110474958A (en) | 2019-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746812B (en) | A kind of access authentication method and system | |
CN107623690B (en) | Login method, device and storage medium | |
WO2017000830A1 (en) | Cross-terminal login-free method and device | |
EP3133767A1 (en) | Authorization control method, client and server | |
EP3276917A1 (en) | Terminal remote assistance method, device and system | |
CN104967997A (en) | A wireless network access method, Wi-Fi equipment, terminal equipment and system | |
CN107567017B (en) | Wireless connection system, device and method | |
CN105873055B (en) | Wireless network access authentication method and device | |
CN104363226A (en) | Method, device and system for logging in operating system | |
CN105681258A (en) | Session method and session device based on third-party server | |
CN112165727A (en) | Parallel network distribution system and method and mobile terminal | |
CN104836778A (en) | Method, device and system for realizing identifying code | |
CN113285994A (en) | Message sending method, device, server and storage medium | |
CN110708301B (en) | User request processing method and device, electronic equipment and storage medium | |
CN104202432B (en) | Remote web management system and management method | |
CN110474958B (en) | Code scanning authentication method, server, fixed terminal and mobile terminal | |
CN112769798B (en) | Login method and device | |
CN110673970B (en) | Cross-process calling system and method based on web application | |
CN105574400A (en) | Information processing method and electronic device | |
CN116546616A (en) | Network slice registration method, device, communication equipment, storage medium and product | |
CN110536480B (en) | Spectrum management method and device, computer equipment and storage medium | |
US11399067B2 (en) | Network access method and apparatus for speech recognition service based on artificial intelligence | |
CN113365346A (en) | Paging method, paging device, electronic equipment and storage medium | |
CN113949562B (en) | Portal authentication method, device, system, electronic equipment and storage medium | |
CN111010400A (en) | Portal authentication method and device |
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 | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20191119 Assignee: Shanghai Ruishan Network Co.,Ltd. Assignor: RUIJIE NETWORKS Co.,Ltd. Contract record no.: X2022350000024 Denomination of invention: Code scanning authentication method, server, fixed terminal and mobile terminal Granted publication date: 20220520 License type: Common License Record date: 20220808 |
|
EE01 | Entry into force of recordation of patent licensing contract |