CN107295513B - Portal advertisement authentication method and system - Google Patents

Portal advertisement authentication method and system Download PDF

Info

Publication number
CN107295513B
CN107295513B CN201610206484.4A CN201610206484A CN107295513B CN 107295513 B CN107295513 B CN 107295513B CN 201610206484 A CN201610206484 A CN 201610206484A CN 107295513 B CN107295513 B CN 107295513B
Authority
CN
China
Prior art keywords
mobile terminal
address
advertisement
browser
data packet
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
CN201610206484.4A
Other languages
Chinese (zh)
Other versions
CN107295513A (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 Simcom Ltd
Original Assignee
Shanghai Simcom 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 Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201610206484.4A priority Critical patent/CN107295513B/en
Publication of CN107295513A publication Critical patent/CN107295513A/en
Application granted granted Critical
Publication of CN107295513B publication Critical patent/CN107295513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a portal advertisement authentication method and a portal advertisement authentication system, wherein the portal advertisement authentication method comprises the following steps: a browser of the mobile terminal accesses a network of a region, and gateway equipment of the region provides http redirection to redirect the mobile terminal to a background server; the browser automatically jumps to a set page of the background server, loads the set page and returns a data packet to the mobile terminal after the page is completely loaded, wherein the data packet comprises an address of a target advertisement to be browsed in the advertisement public network, an MAC address of the mobile terminal and an AP address of the gateway equipment; the mobile terminal processes the data packet and sends the processed data packet to the gateway equipment; the gateway equipment authorizes the mobile terminal and sends successful authorization information to the mobile terminal; the browser directly accesses the targeted advertisement. The invention can ensure that the advertisement is correctly returned to the browser which sends the http request, the traditional portal authentication server is not required to be built at all, and only a background server provides a simple js jump page.

Description

Portal advertisement authentication method and system
Technical Field
The present invention relates to portal authentication methods, and more particularly, to a portal advertisement authentication method and system.
Background
The portal authentication function in the market at present is mainly realized as follows:
when a user browses a webpage by using a browser for the first time in a certain area or actively pops up the webpage by connecting with a wifi (wireless network) for the first time, any http (hypertext transfer protocol) packet different from the server address is redirected to a portal authentication server, and the user is required to input a user name or a password or the user is required to press a button in an authentication page to realize the authorization of the user.
However, many advertisers do not want to have buttons or authorized landing frames in their own advertisements, and the advertisers want to be able to simply maintain their own advertisement pages, i.e. only provide pictures of the advertisements, without inserting js (interpreted scripting language) and other codes, i.e. when browsing any web page for the first time, the advertisements are redirected to the advertisement pages, and then authorized for the user, and then the web pages can be browsed normally.
However, this effect needs to be achieved, the existing portal flow can only intercept the first http packet and then authorize and redirect to the advertisement page, but this implementation may have the following problems: the background program of the mobile phone end can also automatically send out a plurality of http packets at regular time, so the technical difficulty is that the background cannot correctly judge which is the browser packet, if the background receives the first http packet, the first http packet is authorized and redirected to the advertisement page, the advertisement is returned to the background program, and the user cannot see the advertisement.
Disclosure of Invention
The invention aims to overcome the defect that a user cannot normally browse a webpage due to the fact that the redirection is inaccurate in the authentication mode of intercepting the first http packet for re-authorization and redirecting to the advertisement page in the prior art, and provides a simple portal advertisement authentication method and system.
The invention solves the technical problems through the following technical scheme:
the invention provides a portal advertisement authentication method, which is characterized by comprising the following steps:
S1a browser of a mobile terminal accesses a network of an area, and gateway equipment of the area provides http redirection to redirect the mobile terminal to a background server;
S2the browser automatically jumps to a set page of the background server, the set page is loaded, and a data packet is returned to the mobile terminal after the set page is completely loaded, wherein the data packet comprises an address of a target advertisement to be browsed in an advertisement public network, an MAC (media access control) address (physical address) of the mobile terminal and an AP (wireless access point) address of the gateway equipment;
S3the mobile terminal processes the data packet and sends the processed data packet to the gateway equipment;
S4the gateway equipment authorizes the mobile terminal and sends information of successful authorization to the mobile terminal;
S5the browser directly accesses the targeted advertisement, and after the browser displays the targeted advertisement, the user can access other web pages through the browser.
Preferably, step S1The method comprises the following steps:
S11the browser sends an http request to the gateway device, wherein the http request comprises M of the mobile terminalAn AC address;
S12and the gateway equipment sends information containing the IP (Internet protocol) address of the background server and the redirection message to the mobile terminal.
Preferably, in step S2And the browser automatically jumps to the set page according to the IP address of the background server and the redirection message.
Preferably, in step S2The setting page is provided with a js code, and the browser executes the js code after the setting page is completely loaded, and combines the address of the target advertisement, the MAC address of the mobile terminal and the AP address of the gateway device to form the data packet.
The invention also provides a portal advertisement authentication system which is characterized by comprising a mobile terminal, a gateway device, a background server and an advertisement public network, wherein the mobile terminal utilizes the browser to access the network of a region;
the gateway equipment is used for providing http redirection and redirecting the mobile terminal to the background server;
the browser is used for automatically jumping to a set page of the background server, and returning a data packet to the mobile terminal after the set page is completely loaded, wherein the data packet comprises an address of a target advertisement to be browsed in an advertisement public network, an MAC address of the mobile terminal and an AP address of the gateway equipment;
the mobile terminal is used for processing the data packet and sending the processed data packet to the gateway equipment;
the gateway equipment is used for authorizing the mobile terminal and sending information of successful authorization to the mobile terminal;
the browser is used to directly access the targeted advertisement.
Preferably, the browser is configured to send an http request to the gateway device, where the http request includes the MAC address of the mobile terminal;
the gateway device is used for sending information containing the IP address of the background server and the redirection message to the mobile terminal.
Preferably, the browser is configured to automatically jump to the set page according to the IP address of the background server and the redirection packet.
Preferably, the setup page has a js code, and the browser is configured to execute the js code after the setup page is completely loaded, and combine the address of the target advertisement, the MAC address of the mobile terminal, and the AP address of the gateway device to form the data packet.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows:
the invention provides a simple portal advertisement authentication method, which can ensure that advertisements are correctly returned to a browser sending an http request, merchants can freely maintain the advertisements, the browsers of users can pop up the advertisements, a traditional portal authentication server is not required to be built at all, and a background server is only required to provide a simple js jump page to be used as the authentication server.
The method has the following advantages:
1. the user can successfully authorize without complicated operation as long as seeing the advertisement, and the browser of the user can pop up the advertisement.
2. The background server has low cost, the lowest cost only needs one public network address and one page capable of jumping, and a formal portal server does not need to be built.
3. The control of the background is ensured, and the service provider of the background can push different advertisements according to different clients.
4. The advertiser can maintain the advertisement simply, only one public network address and one advertisement picture are needed to be provided at the lowest cost, and the advertisement picture can be updated and replaced at any time.
5. The whole authentication process has simple steps, and the probability of various problems is reduced.
Drawings
FIG. 1 is a first flowchart of a portal advertisement authentication method according to a preferred embodiment of the present invention.
FIG. 2 is a flowchart illustrating a portal advertisement authentication method according to a preferred embodiment of the invention.
FIG. 3 is a block diagram of a portal advertisement authentication system according to a preferred embodiment of the present invention.
Detailed Description
The following description of the preferred embodiments of the present invention will be provided in conjunction with the accompanying drawings to describe the technical solutions of the present invention in detail, but not to limit the present invention to the scope of the embodiments described.
The embodiment provides a simple portal advertisement authentication method, which can enable an advertisement to be correctly returned to a browser sending an http request, ensure that the browser of a user can pop up the advertisement, and can be used as an authentication server only by providing a simple js jump page through a background server without building a traditional portal authentication server.
As shown in fig. 1 and 2, the portal advertisement authentication method includes the following steps:
step 101, a browser of a mobile terminal accesses a network of a region, and the browser sends an http request to a gateway device of the region, where the http request includes an MAC address of the mobile terminal.
And 102, the gateway equipment sends information containing the IP address of the background server and the redirection message to the mobile terminal.
Step 103, the browser automatically jumps to a set page of the background server according to the IP address of the background server and the redirection message, the set page is loaded, and executes js code in the set page after the set page is completely loaded, the address of the target advertisement, the MAC address of the mobile terminal and the AP address of the gateway device are combined to form a data packet, and then the data packet is returned to the mobile terminal, where the data packet includes the address of the target advertisement to be browsed in the advertisement public network, the MAC address of the mobile terminal and the AP address of the gateway device.
Only after the browser completely loads the set page, the js code in the set page can be executed, and then authorization can be carried out.
Step 104, the mobile terminal processes the data packet and sends the processed data packet to the gateway device;
step 105, the gateway device authorizes the mobile terminal and sends information of successful authorization to the mobile terminal;
and 106, directly accessing the target advertisement by the browser, and after the target advertisement is displayed by the browser, enabling the user to surf the internet normally.
As shown in fig. 2, the present embodiment further provides a portal advertisement authentication system, which includes a mobile terminal 1 accessing a network of a region by using a browser, a gateway device 2 of the region, a background server 3, and an advertisement public network 4.
The browser is configured to send an http request to the gateway device 2, where the http request includes the MAC address of the mobile terminal.
The gateway device 2 is configured to send information including the IP address of the background server and the redirection packet to the mobile terminal 1.
The browser is used for automatically jumping to a set page of the background server 3 according to the IP address of the background server and the redirection message, executing js codes in the set page after the set page is completely loaded, combining the address of the target advertisement, the MAC address of the mobile terminal and the AP address of the gateway equipment to form a data packet, and returning the data packet to the mobile terminal 1, wherein the data packet comprises the address of the target advertisement to be browsed in the advertisement public network, the MAC address of the mobile terminal and the AP address of the gateway equipment.
The mobile terminal 1 is configured to process the data packet and send the processed data packet to the gateway device 2.
The gateway device 2 is configured to authorize the mobile terminal 1 and send a message of successful authorization to the mobile terminal 1.
The browser is used to directly access the targeted advertisement.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (8)

1. A portal advertisement authentication method is characterized by comprising the following steps:
S1a browser of a mobile terminal accesses a network of an area, and gateway equipment of the area provides http redirection to redirect the mobile terminal to a background server;
S2the browser automatically jumps to a set page of the background server, the set page is loaded, and a data packet is returned to the mobile terminal after the set page is completely loaded, wherein the data packet comprises the address of a target advertisement to be browsed in the advertisement public network, the MAC address of the mobile terminal and the AP address of the gateway equipment;
S3the mobile terminal processes the data packet and sends the processed data packet to the gateway equipment;
S4the gateway equipment authorizes the mobile terminal and sends information of successful authorization to the mobile terminal;
S5the browser directly accesses the target advertisement;
step S2The method specifically comprises the following steps: after the browser completely loads the setting page, the browser executes js code in the setting page, combines the address of the target advertisement, the MAC address of the mobile terminal and the AP address of the gateway device to form a data packet, and then returns the data packet to the mobile terminal.
2. The portal advertisement authentication method of claim 1, wherein step S1The method comprises the following steps:
S11the browser sends an http request to the gateway device, wherein the http request comprises the http request of the mobile terminalA MAC address;
S12and the gateway equipment sends information containing the IP address of the background server and the redirection message to the mobile terminal.
3. The portal advertisement authentication method of claim 2, wherein in step S2And the browser automatically jumps to the set page according to the IP address of the background server and the redirection message.
4. The portal advertisement authentication method of claim 1, wherein in step S2The setting page is provided with a js code, and the browser executes the js code after the setting page is completely loaded, and combines the address of the target advertisement, the MAC address of the mobile terminal and the AP address of the gateway device to form the data packet.
5. A portal advertisement authentication system is characterized by comprising a mobile terminal, a gateway device, a background server and an advertisement public network, wherein the mobile terminal utilizes a browser to access a network of an area;
the gateway equipment is used for providing http redirection and redirecting the mobile terminal to the background server;
the browser is used for automatically jumping to a set page of the background server, after the set page is completely loaded, the browser executes js codes in the set page, combines the address of a target advertisement, the MAC address of the mobile terminal and the AP address of the gateway device to form a data packet, and then returns the data packet to the mobile terminal, wherein the data packet comprises the address of the target advertisement to be browsed in the advertisement public network, the MAC address of the mobile terminal and the AP address of the gateway device;
the mobile terminal is used for processing the data packet and sending the processed data packet to the gateway equipment;
the gateway equipment is used for authorizing the mobile terminal and sending information of successful authorization to the mobile terminal;
the browser is used to directly access the targeted advertisement.
6. The portal advertisement authentication system of claim 5, wherein the browser is configured to send an http request to the gateway device, the http request including the MAC address of the mobile terminal;
the gateway device is used for sending information containing the IP address of the background server and the redirection message to the mobile terminal.
7. The portal advertisement authentication system of claim 6, wherein the browser is configured to automatically jump to the configured page according to the IP address of the background server and the redirection message.
8. The portal advertisement authentication system of claim 5, wherein the configuration page has a js code, and the browser is configured to execute the js code after being completely loaded, and combine the address of the target advertisement, the MAC address of the mobile terminal, and the AP address of the gateway device to form the data packet.
CN201610206484.4A 2016-04-05 2016-04-05 Portal advertisement authentication method and system Active CN107295513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610206484.4A CN107295513B (en) 2016-04-05 2016-04-05 Portal advertisement authentication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610206484.4A CN107295513B (en) 2016-04-05 2016-04-05 Portal advertisement authentication method and system

Publications (2)

Publication Number Publication Date
CN107295513A CN107295513A (en) 2017-10-24
CN107295513B true CN107295513B (en) 2020-12-25

Family

ID=60093020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610206484.4A Active CN107295513B (en) 2016-04-05 2016-04-05 Portal advertisement authentication method and system

Country Status (1)

Country Link
CN (1) CN107295513B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087119A (en) * 2018-06-08 2018-12-25 平安科技(深圳)有限公司 WIFI advertisement demonstration method, device and computer readable storage medium, terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217560A (en) * 2007-12-29 2008-07-09 杭州华三通信技术有限公司 A webpage push method, system and device
CN104239308A (en) * 2013-06-08 2014-12-24 北京齐尔布莱特科技有限公司 Access, integrating and optimizing method for page advertising requests
CN104735078A (en) * 2015-04-02 2015-06-24 迈普通信技术股份有限公司 Portal access authentication system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9166949B2 (en) * 2012-06-07 2015-10-20 Qlicket Inc. Method and system of managing a captive portal with a router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217560A (en) * 2007-12-29 2008-07-09 杭州华三通信技术有限公司 A webpage push method, system and device
CN104239308A (en) * 2013-06-08 2014-12-24 北京齐尔布莱特科技有限公司 Access, integrating and optimizing method for page advertising requests
CN104735078A (en) * 2015-04-02 2015-06-24 迈普通信技术股份有限公司 Portal access authentication system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JS请求服务器并使页面跳转;张东轩;《CSDN》;20150717;第一页 *

Also Published As

Publication number Publication date
CN107295513A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
US9858581B2 (en) Methods and systems for processing ad server transactions for internet advertising
US9166949B2 (en) Method and system of managing a captive portal with a router
EP2816827B1 (en) Method and apparatus for distributing information, and network system
US9264435B2 (en) Apparatus and methods for access solutions to wireless and wired networks
US8850523B2 (en) Watermarks for roaming
US9501777B1 (en) Systems and methods for MAC address tracking for a mobile device
TW201636870A (en) Continuing an application session on a different device
KR20120089100A (en) Method and System for Distributing Business Application and Contents for Mobile Equipment using Application Store and Wireless AP
WO2017177691A1 (en) Portal authentication method and system
WO2016127799A1 (en) Video advertisement filter method, apparatus and system
US10158548B2 (en) Methods and systems for signing resource identifiers
US10257251B1 (en) Systems and methods for using a uniform resource locator to call for different types of content
WO2013013556A1 (en) Data reporting method and device
US10630800B2 (en) Methods and systems for handling requests regarding zero-rating
US20070055775A1 (en) Method and system for controlling information access from a website via Web or WAP access
CN105530232B (en) Account login method and device
US10140125B1 (en) Methods and apparatus for interactive content injection
US10924469B2 (en) Single sign-on (SSO) for internet of things (IoT) applications
US8769652B2 (en) Computer based method and system for registering a user at a server computer system
CN110879870A (en) Page redirection method and device based on HTTP request
US20160315856A1 (en) Port-based multi-tenancy router to manage wireless network
CN107295513B (en) Portal advertisement authentication method and system
KR102377273B1 (en) System and method for providing dynamic reward added to legacy advertising platform
KR101131971B1 (en) System for advertizing through mobile terminal which provides function of full browsing internet access and method therefor
US9363665B1 (en) Targeting insertion work-around for long term evolution (LTE) path

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