Method for sending information and gateway
First Claim
1. A method for sending information, comprising:
- acquiring, by a gateway, user online information;
monitoring, by the gateway, a Domain Name System (DNS) domain name inquiring message on a mobile internet, forging a DNS server returning domain name parsing response, and sending the forged response to a core network element or a user terminal browser;
receiving, by the gateway, a user HyperText Transfer Protocol (HTTP) request returned by the core network element or the user terminal browser; and
inquiring, by the gateway, the user online information according to the user HTTP request, adding the user online information in the user HTTP request by taking the user online information as HTTP header information, and sending the user HTTP request including the HTTP header information to an internet content and service provider.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the disclosure disclose a method for sending information and a gateway. The method includes that: a gateway acquires user online information; the gateway monitors a Domain Name System (DNS) domain name inquiring message, forges a DNS server returning domain name parsing response, and sends the forged response to a core network element or a user terminal browser; the gateway receives a user HyperText Transfer Protocol (HTTP) request returned by the core network element or the user terminal browser; and the gateway inquires the user online information according to the user HTTP request, adds the user online information in the user HTTP request by taking the user online information as HTTP header information, and sends the user HTTP request including the HTTP header information to an internet content and service provider. With the technical solution of an embodiment of the disclosure, the problem that the internet content and service provider fails to acquire user online information of a mobile terminal user is solved.
18 Citations
10 Claims
-
1. A method for sending information, comprising:
-
acquiring, by a gateway, user online information; monitoring, by the gateway, a Domain Name System (DNS) domain name inquiring message on a mobile internet, forging a DNS server returning domain name parsing response, and sending the forged response to a core network element or a user terminal browser; receiving, by the gateway, a user HyperText Transfer Protocol (HTTP) request returned by the core network element or the user terminal browser; and inquiring, by the gateway, the user online information according to the user HTTP request, adding the user online information in the user HTTP request by taking the user online information as HTTP header information, and sending the user HTTP request including the HTTP header information to an internet content and service provider. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A gateway, comprising:
- a user online-offline message interface module, an inquiring interface module, a message processing module, and a traffic processing module;
whereinthe user online-offline message interface module is configured to acquire user online information; the inquiring interface module is configured to monitor a Domain Name System (DNS) domain name inquiring message; the message processing module is configured to forge a DNS server returning domain name parsing response, and to send the forged response to a core network element or a user terminal browser; and the traffic processing module is configured to receive a user HyperText Transfer Protocol (HTTP) request returned by the core network element or the user terminal browser, to inquire the user online information according to the user HTTP request, to add the user online information in the user HTTP request by taking the user online information as HTTP header information, and to send the user HTTP request including the HTTP header information to an internet content and service provider. - View Dependent Claims (10)
- a user online-offline message interface module, an inquiring interface module, a message processing module, and a traffic processing module;
Specification