CN107147695B - information pushing method and device - Google Patents

information pushing method and device Download PDF

Info

Publication number
CN107147695B
CN107147695B CN201710210792.9A CN201710210792A CN107147695B CN 107147695 B CN107147695 B CN 107147695B CN 201710210792 A CN201710210792 A CN 201710210792A CN 107147695 B CN107147695 B CN 107147695B
Authority
CN
China
Prior art keywords
address
information
risk
target
region
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
CN201710210792.9A
Other languages
Chinese (zh)
Other versions
CN107147695A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710210792.9A priority Critical patent/CN107147695B/en
Publication of CN107147695A publication Critical patent/CN107147695A/en
Application granted granted Critical
Publication of CN107147695B publication Critical patent/CN107147695B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0236Filtering by address, protocol, port number or service, e.g. IP-address or URL

Abstract

The embodiment of the invention provides an information pushing method and device, which are applied to a pushing server, and the method comprises the following steps: acquiring a target push request aiming at a target client, and determining an IP address of the target client as a first IP address according to the target push request; judging whether the first IP address is recorded in a pre-established risk IP address library or not, wherein the risk IP address library is used for storing a predetermined risk IP address; if yes, determining target information in the information without region orientation; and pushing the target information to the target client. By applying the information pushing method provided by the embodiment of the invention, the probability of region difference of the pushed information is reduced, and the user experience is improved.

Description

Information pushing method and device
Technical Field
the present invention relates to the field of computer technologies, and in particular, to an information push method and apparatus.
background
the network information pushing platform can utilize banners, text links, multimedia and the like on websites to push information to clients, for example, advertisements or news and the like can be pushed. In practical application, an information owner generally has a requirement on a region where information is pushed, and meanwhile, a third-party monitoring company is requested to monitor information pushed by a network information pushing platform, and whether the information pushed by the network information pushing platform meets the set region requirement or not is confirmed.
the existing information pushing method comprises the following steps: after obtaining the information push request, the server in charge of pushing information acquires an IP (Internet Protocol, Protocol for interconnection between networks) address of a target client from the information push request; then determining the region to which the IP address belongs, and determining target information according to the region; and pushing the target information to the target client.
although the information pushing can be realized by applying the above method, the network information pushing platform is monitored by a third-party monitoring company while performing the information pushing, a server of the third-party monitoring company generally obtains an IP address of a target client based on a monitoring request corresponding to the pushing request, and then determines a region to which the obtained IP address belongs, in this case, due to factors such as a network environment, a policy routing, a domain name hijacking and the like, the two servers may obtain different IP addresses, so that the determined regions to which the two servers belong are different, and the third-party monitoring company considers that the network information pushing platform does not perform the information pushing according to a requirement of an information owner, the pushed information has a region difference, and the user experience is poor.
In the aspect of a network information pushing platform, for an IP address of a requester of an information pushing request, if areas to which the IP address determined by a server responsible for pushing information and a server of a third-party monitoring company belong are different, the IP address of a target client carried in the pushing request can be considered as a risk IP address.
Disclosure of Invention
the embodiment of the invention aims to provide an information pushing method and device, so as to reduce the probability of region difference of pushed information and improve user experience. The specific technical scheme is as follows:
In a first aspect, to achieve the above object, an embodiment of the present invention discloses an information pushing method applied to a push server, where the method includes:
Acquiring a target push request aiming at a target client, and determining an IP address of the target client as a first IP address according to the target push request;
judging whether the first IP address is recorded in a pre-established risk IP address library or not, wherein the risk IP address library is used for storing a predetermined risk IP address;
If yes, determining target information in the information without region orientation;
and pushing the target information to the target client.
optionally, in a case that it is determined that the first IP address is recorded in the risk IP address repository, the method further includes:
judging whether the first IP address is recorded in a preset correction IP address library or not, wherein the correction IP address library records: the corresponding relation between the risk IP address subjected to region correction and the region subjected to the risk IP address correction;
if so, determining a target region corrected by the first IP address according to the corresponding relation recorded in the corrected IP address library, and determining target information in information corresponding to the target region;
If not, the step of determining the target information in the information without geographical orientation is executed.
Optionally, in a case that the first IP address is not recorded in the risk IP address repository, before the pushing the target information to the target client, the method further includes:
Determining a first region to which the first IP address belongs;
And determining target information in the information corresponding to the first region.
optionally, the determining target information in the information corresponding to the first region includes:
Judging whether the pushing amount of the third-party cooperative order information in a first preset time period is smaller than a preset pushing amount threshold value or not;
and if not, determining target information in the information corresponding to the first region except the third-party cooperative order information.
Optionally, when the total pushed amount of the third-party cooperative order information in the first preset time period is smaller than a preset pushed amount threshold, the method further includes:
Judging whether the frequency of pushing the information in the third-party cooperative order information to the first IP address in a second preset time period is smaller than a preset first threshold value or not;
And if not, executing the step of determining target information in the information corresponding to the first region except the third-party cooperative order information.
optionally, the risk IP address is determined by:
Acquiring IP address data collected by a media collection server and a third-party monitoring server within a third preset time period respectively; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: the IP address of the client side which sends the monitoring request and is carried in the monitoring request;
and counting the occurrence frequency and the occurrence frequency of the regional difference of each second IP address according to the IP address data collected by the third-party monitoring server, and determining the second IP addresses meeting the first condition as risk IP addresses, wherein the occurrence frequency of the regional difference of one second IP address indicates that: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold;
counting the occurrence frequency and the occurrence frequency of the regional difference of each fourth IP address according to the IP address data collected by the media collection server, and determining the fourth IP address meeting a second condition as a risk IP address, wherein the second condition is as follows: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
Optionally, after the counting, for the IP address data collected by the media collection server, the number of occurrences of each fourth IP address and the number of occurrences of a geographical difference, and determining the fourth IP address meeting the second condition as a risk IP address, the method further includes:
For each second IP address which is not determined as a risk IP address in the obtained IP address data, determining whether the number of times that the second IP address is determined as a risk IP address is not less than a preset sixth threshold value within a fourth preset time period, where the fourth preset time period is greater than the third preset time period;
if so, the second IP address is determined to be a risk IP address.
optionally, the corresponding relationship is determined by the following method:
determining a target risk IP address from the risk IP library, wherein the target risk IP address is as follows: determining a risk IP address by adopting the IP address data received by the third-party monitoring server;
Determining a third IP address corresponding to the target risk IP address;
obtaining the region to which each determined third IP address belongs;
judging whether the obtained regions are the same;
and if the target risk IP address is the same as the corrected target risk IP address, correcting the region to which the target risk IP address belongs into the obtained region, and determining the corresponding relation between the target risk IP and the corrected region.
optionally, the push server, the media collection server, and the third-party monitoring server are located in the same homologous machine room.
in a second aspect, to achieve the above object, an embodiment of the present invention further discloses an information pushing apparatus, which is applied to a pushing server, where the apparatus includes:
the first obtaining module is used for obtaining a target pushing request for a target client, and determining an IP address of the target client as a first IP address according to the target pushing request;
the first judgment module is used for judging whether the first IP address is recorded in a pre-established risk IP address library, wherein the risk IP address library is used for storing a predetermined risk IP address;
The first determining module is used for determining target information in the information without region orientation under the condition that the judgment result of the first judging module is yes;
And the pushing module is used for pushing the target information to the target client.
optionally, the apparatus further comprises:
a second determining module, configured to determine whether the first IP address is recorded in a preset correction IP address library if a determination result of the first determining module is yes, where the correction IP address library records: the corresponding relation between the risk IP address subjected to region correction and the region subjected to the risk IP address correction;
A second determining module, configured to determine, when a determination result of the second determining module is yes, a target region corrected by the first IP address according to a correspondence relationship recorded in the corrected IP address library, and determine target information in information corresponding to the target region;
the first determining module is further configured to determine target information in the information without region orientation under the condition that the determination result of the second determining module is negative.
Optionally, the apparatus further comprises:
A third determining module, configured to determine, if the determination result of the first determining module is negative, a first region to which the first IP address belongs;
And the fourth determining module is used for determining target information in the information corresponding to the first region.
Optionally, the fourth determining module includes:
The first judgment submodule is used for judging whether the pushing amount of the third-party cooperative order information in a first preset time period is smaller than a preset pushing amount threshold value or not;
And the determining submodule is used for determining target information in the information corresponding to the first region except the third-party cooperative order information under the condition that the judgment result of the first judging submodule is negative.
optionally, the fourth determining module further includes:
a second determining submodule, configured to determine, when a determination result of the first determining submodule is yes, whether a number of times for pushing information in the third-party collaboration order information to the first IP address within a second preset time period is smaller than a preset first threshold;
the determining sub-module is further configured to determine target information in information corresponding to the first region, except for the third-party cooperative order information, if the determination result of the second determining sub-module is negative.
Optionally, the apparatus further comprises:
the second obtaining module is used for obtaining the IP address data collected by the media collecting server and the third-party monitoring server in a third preset time period respectively; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: the IP address of the client side which sends the monitoring request and is carried in the monitoring request;
a fifth determining module, configured to count, for the IP address data collected by the third-party monitoring server, the number of times each second IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a second IP address that meets the first condition, where a geographical difference of one second IP address appears: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold;
a sixth determining module, configured to count, for the IP address data collected by the media collection server, the number of times each fourth IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a fourth IP address that meets a second condition, where the second condition is: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
optionally, the apparatus further comprises:
A third determining module, configured to determine, for each second IP address that is not determined as a risk IP address in the obtained IP address data, whether the number of times that the second IP address is determined as a risk IP address within a fourth preset time period is not less than a preset sixth threshold, where the fourth preset time period is greater than the third preset time period;
and the seventh determining module is used for determining the second IP address as the risk IP address under the condition that the judgment result of the third judging module is yes.
optionally, the apparatus further comprises:
An eighth determining module, configured to determine a target risk IP address from the risk IP library, where the target risk IP address is: determining a risk IP address by adopting the IP address data received by the third-party monitoring server;
A ninth determining module, configured to determine a third IP address corresponding to the target risk IP address;
A third obtaining module, configured to obtain a region to which each determined third IP address belongs;
The fourth judging module is used for judging whether the obtained regions are the same or not;
a tenth determining module, configured to correct the region to which the target risk IP address belongs to the obtained region and determine a correspondence between the target risk IP and the corrected region when the determination results of the fourth determining module are the same.
Optionally, the push server, the media collection server, and the third-party monitoring server are located in the same homologous machine room.
according to the information pushing method and device provided by the embodiment of the invention, the information without region orientation can be pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
fig. 1 is a first flowchart of an information pushing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a second information pushing method according to an embodiment of the present invention;
Fig. 3 is a third flowchart illustrating an information pushing method according to an embodiment of the present invention;
fig. 4 is a fourth flowchart illustrating an information pushing method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a fifth method for pushing information according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a sixth method for pushing information according to an embodiment of the present invention;
Fig. 7 is a schematic flowchart of a seventh information pushing method according to an embodiment of the present invention;
Fig. 8 is a schematic flowchart of an eighth method for pushing information according to an embodiment of the present invention;
Fig. 9 is a schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention;
Fig. 10 is a schematic structural diagram of an information pushing apparatus according to a second embodiment of the present invention;
fig. 11 is a schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a fourth structure of an information pushing apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a fifth information pushing apparatus according to an embodiment of the present invention;
Fig. 14 is a schematic structural diagram of a sixth information pushing apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention;
Fig. 16 is an eighth structural diagram of an information pushing 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.
In order to solve the problems in the prior art, embodiments of the present invention provide an information pushing method and an information pushing device.
the information push method provided by the embodiment of the invention is preferentially applied to the push server, and the push server is a push server in a network information push platform.
Fig. 1 is a first flowchart of an information pushing method provided in an embodiment of the present invention, where the method includes:
s101: the method comprises the steps of obtaining a target pushing request aiming at a target client, and determining an IP address of the target client as a first IP address according to the target pushing request.
it should be noted that the target push request may be sent by the target client, may be generated by the push server as the execution subject, or may be sent by a server other than the push server as the execution subject, which is not limited in the embodiment of the present invention.
As will be understood by those skilled in the art, if the target push request is sent by the target client, the target push request includes the IP address of the sender, that is, the IP address of the target client, according to the existing communication protocol. If the target push request is not sent by the target client, the push server can push information to the target client only when obtaining the IP address of the target client, so that the target request carries the IP address of the target client, and the push server determines the client for pushing information.
S102: and judging whether the first IP address is recorded in a pre-established risk IP address library, wherein the risk IP address library is used for storing a predetermined risk IP address.
In practical application, due to factors such as network environment, policy routing, domain name hijacking and the like, the IP addresses of the target clients obtained by the network information push platform and the third-party monitoring company are different, so that the determined regions are different, the third-party monitoring company considers that the network information push platform does not push information according to the requirement of an information owner, and the pushed information has region difference. If the areas of the IP addresses determined by the push server in the network information push platform and the server of the third-party monitoring company are different, the IP address obtained by the push server can be called as a risk IP address because the push server determines and pushes the target information according to the area of the IP address obtained by the push server.
In the embodiment of the invention, a risk IP address library is established in advance, whether an IP address is recorded in the risk IP address library or not is judged, whether the IP address is a risk IP address or not can be determined, and further, which information is pushed to the IP address is determined, so that the probability that the pushed information has regional difference is reduced. If the IP address is judged to be in the risk IP address base, the IP address is the risk IP address, the possibility that the IP address obtained by the third-party monitoring server is different from the IP address obtained by the pushing server is very high, and therefore the information pushed by the pushing server is considered to have regional difference. In order to reduce the probability of the pushed information having a regional difference, the embodiment of the present invention determines the target information from the information without regional orientation.
s103: the target information is determined among the information without geographical orientation.
in the embodiment of the invention, when the first IP address is the risk IP address, the target information is determined in the information without region orientation. Therefore, even if the IP addresses obtained by the third-party monitoring server and the pushing server are different, the probability of region difference of the pushed information is reduced because the pushed information has no region-oriented information, and compared with the prior art, the user experience is improved. Here, the user is the information owner. The information referred to herein may be advertisements, news, weather reports, etc.
in the embodiment of the present invention, the method for determining the target information is not limited, and may be determined according to the IP address of the target client, or according to the identification information of the user corresponding to the target client, or according to the preference of the user corresponding to the target client.
for example, the method for determining the target information is illustrated by taking the pushed information as an advertisement. And when the target client receives the video request of the user, sending a push request to the push server. And after the push server obtains the push request, obtaining a target client IP address as a first IP address, and after determining that the first IP address is a risk IP address, determining the target advertisement in advertisements without region orientation according to information of the requested video and information of the region to which the first IP address belongs, wherein the information is contained in the push request. In addition, when the information pushed by the push server is an advertisement, the push server may also be referred to as an advertisement delivery server.
S104: and pushing the target information to the target client.
in the embodiment of the present invention, after the target information is determined, the target information is pushed to the target push server, and a specific push method is not limited herein.
In practical application, the network information pushing platform provides information pushing service for the information owner, and the information owner can pay corresponding cost to the network information pushing platform according to the pushing amount of the information. The information owner can entrust a third-party monitoring company to monitor the information pushing amount of the network information pushing platform in order to prevent the network information pushing platform from falsely reporting the pushing amount. The information owner can pay the cost of pushing the information to the network pushing platform according to the pushing amount of the information, but the pushing amount provided by the network information pushing platform is different from the pushing amount provided by a third-party monitoring company due to the fact that the pushing amount of the information pushed by the network information pushing platform is different from the pushing amount provided by the third-party monitoring company. In this case, the information owner determines the difference push amount between the push amounts provided by the network push platform and the third party monitoring company according to the push amount provided by the third party monitoring company, and may not pay the cost corresponding to the difference push amount to the network information push platform, or may require the network information push platform to perform supplementary push difference push amount, even double supplementary push difference push amount, and the like, which obviously reduces the income of push information. In the embodiment of the invention, after the first IP address is determined to be the risk IP address, the information without region orientation is pushed, so that the pushing quantity of the difference between the pushing data provided by the third-party monitoring company and the pushing data counted by the network information pushing platform is reduced, and the income of the pushing information is improved.
by applying the embodiment of the invention, the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved.
Fig. 2 is a second flowchart of the information pushing method according to the embodiment of the present invention. Based on the embodiment provided in fig. 1, the information pushing method provided in the embodiment of the present invention, in the case that it is determined that the first IP address is recorded in the risk IP address repository, may further include S105 and S106, where,
S105: judging whether the first IP address is recorded in a preset correction IP address library, if so, executing S106, and if not, executing S103, wherein the correction IP address library records: and the corresponding relation between the risk IP address subjected to the region correction and the region subjected to the risk IP address correction.
In practical application, in a period of time, there may be a plurality of IP addresses carried by the push request obtained by the push server as the same IP address, and the push server pushes information to the client corresponding to the IP address. Because the push request and the monitoring request are in one-to-one correspondence, the third-party monitoring server obtains a plurality of IP addresses when monitoring the behavior of pushing information to the client corresponding to the IP address by the push server. The multiple IP addresses obtained by the third party monitoring server may or may not be the same. However, if the plurality of IP addresses obtained by the third-party monitoring server belong to the same region, which indicates that the IP address obtained by the push server is hijacked to the same region, the region to which the IP address obtained by the push server belongs may be changed to the region to which the IP address obtained by the third-party monitoring server belongs, and the target information is determined in the information corresponding to the changed region. Therefore, the method can reduce the probability of region difference of the pushed information and reduce the residual pushing amount of the information corresponding to the changed region. Based on the principle, the correction IP address library is established in advance in the embodiment of the invention. In practical application, the information owner has a requirement on the pushing amount of each region, the pushing amount of the information to each region can be set, and the same pushing amount or different pushing amounts can be set for different regions. The amount of information to be pushed to each region is set, and the amount of information to be pushed to each region can be understood as the amount of information stored in each region.
In the embodiment of the present invention, after determining that the first IP address is a risk IP address, if a correction IP address library exists, it is further determined whether the first IP address is recorded in the correction IP address library, if yes, S106 is executed, and if no, S103 is executed. And if the regions of the risk IP addresses in the risk IP address library are corrected, recording the corresponding relation between the risk IP addresses and the corrected regions in the correction IP address library. For example, if the risk IP address is an IP address a and the corrected region is a region 1, the corresponding relationship between the IP address a and the region 1 is recorded in the corrected IP address library.
S106: and determining the target region corrected by the first IP address according to the corresponding relation recorded in the corrected IP address library, and determining target information in the information corresponding to the target region.
when the first IP address is recorded in the correction IP address repository, the target area corrected by the first IP address may be determined according to the correspondence recorded in the correction IP address repository. Specifically, the corresponding relationship including the first IP address may be determined in the correction IP address library, and the region included in the corresponding relationship is the target region. After the target area is determined, the target information is determined from the information corresponding to the target area, and the principle of the confirmation method is basically the same as that in S103, and is not described herein again.
in the embodiment of the present invention, the region with the corrected first IP address is determined as the target region, and the target information is determined from the information corresponding to the target region. This makes it possible for the third party monitoring company to determine the same region as the push server pushes the message based on the obtained IP address in the subsequent monitoring process. Through the steps, the pushing amount of the difference between the pushing data provided by the third-party monitoring company and the pushing data counted by the network information pushing platform is reduced, so that the user experience is improved, and the information pushing income is also improved. In addition, the region to which the risk IP address belongs is corrected, and the information corresponding to the corrected region is determined as the target information, so that the stock of the information corresponding to the corrected region is reduced.
by applying the embodiment of the invention, the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved. In addition, the region to which the risk IP address belongs is corrected, and the target information is determined according to the information corresponding to the corrected region, so that the stock of the information corresponding to the corrected region is reduced.
Fig. 3 is a third flowchart illustrating an information pushing method according to an embodiment of the present invention. Based on the embodiment provided in fig. 1, in the information pushing method provided in the embodiment of the present invention, in a case that the first IP address is not recorded in the risk IP address repository, before S104, the method further includes:
s107: and determining a first region to which the first IP address belongs.
The method for determining the first region to which the first IP address belongs comprises the following steps: and matching the first IP address with the IP address field corresponding to each region, if the first IP address is contained in the IP address field corresponding to a certain region, considering that the matching is successful, and determining the region corresponding to the IP address field which is successfully matched as the first region.
S108: and determining target information in the information corresponding to the first region.
by applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, and the user experience can be improved.
fig. 4 is a fourth flowchart illustrating an information pushing method according to an embodiment of the present invention. Based on the embodiment provided in fig. 3, the information push method provided in the embodiment of the present invention determines target information in the information corresponding to the first region (S108), and includes:
S1081: and judging whether the pushing amount of the third-party cooperative order information in the first preset time period is smaller than a preset pushing amount threshold value or not, and if not, executing S1082.
it should be noted that the third-party cooperative order information is information corresponding to an order of the third-party monitoring company. In order to prevent the third-party cooperative order information from being pushed too much and too centralized, and not reducing the income of information pushing and the like, the network information pushing platform may have a threshold value for the pushing amount of the third-party cooperative order information in the first preset time period. The excessive pushing amount of the third-party cooperation order information causes excessive IP address data collected by the third-party monitoring company, and the relatively small IP address data collected by the media collecting server may cause inaccurate risk IP addresses determined by the IP address data collected by the media collecting server and the third-party monitoring server. The pushing amount of the third-party cooperative order information is too concentrated, and the diversity of the IP addresses collected by the third-party monitoring server can be reduced. The threshold may be determined by negotiation with a third-party monitoring company in advance, or may be determined by other means, which is not limited herein. The first preset time period is also preset, and for example, the first preset time period may be one day.
S1082: and determining target information in the information corresponding to the first region except the third-party cooperative order information.
and under the condition that the pushing quantity of the third-party cooperative order information in the first preset time is not smaller than a preset pushing quantity threshold value, determining target information in the information corresponding to the first region except the third-party cooperative order information. And under the condition that the pushing quantity of the third-party cooperative order information in the first preset time is smaller than a preset pushing quantity threshold value, determining target information in the information corresponding to the first region.
for example, the method for determining the target information in the information corresponding to the first region may be: and determining target information in the information of the third-party cooperation order according to the video request corresponding to the target push request, if the video requested by the video request is a video with a small playing amount and belongs to a video with a relatively cold door. Of course, the target push request may include a web page request, a game request, and the like, in addition to the video request, which is only an example. The video request corresponding to the target push request can be understood as that the target client sends the target push request to the push server after obtaining the video request; the method can also be understood as that after obtaining the video request, the target client sends the video request to other servers providing video services, and after obtaining the video request, the servers providing video services generate a target push request based on the video request, and send the target push request to the push server.
by applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, and the user experience can be improved.
fig. 5 is a schematic flowchart of a fifth method for pushing information according to an embodiment of the present invention. Based on the embodiment provided in fig. 4, in the information pushing method provided in the embodiment of the present invention, when the total pushing amount of the third-party collaboration order information in the first preset time period is smaller than a preset pushing amount threshold, determining target information in information corresponding to the first area (S108), further includes:
S1083: judging whether the frequency of pushing the information in the third-party cooperative order information to the first IP address in a second preset time period is smaller than a preset first threshold value or not; if not, go to S1082.
It should be noted that the first preset time period and the second preset time period may be the same or different, and may be determined according to actual situations. In the embodiment of the present invention, when it is determined that the total pushed amount of the target third-party collaboration order information in the first preset time period is smaller than the preset pushed amount threshold, it is determined whether the number of times of pushing the information in the third-party collaboration order information to the first IP address in the second preset time period is smaller than the preset first threshold. In the embodiment of the invention, a threshold value is set for the times of pushing the information in the third-party cooperative order by the same IP address in the second preset time period, so that the diversity of the IP address data collected by the third-party monitoring server at the later stage is facilitated, and the information is not centralized at one IP address.
by applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, the user experience is improved, and the diversity of the IP address data collected by the third-party monitoring server in the later period is facilitated.
fig. 6 is a sixth flowchart illustrating an information pushing method according to an embodiment of the present invention. Based on the embodiment provided by fig. 2, the method for pushing information provided by the embodiment of the present invention, where the method for determining a risk IP address includes: s109, S110 and S111, wherein,
S109: acquiring IP address data collected by a media collection server and a third-party monitoring server within a third preset time period respectively; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: and the IP address of the client side which sends the monitoring request is carried in the monitoring request.
In practical application, the third-party monitoring company does not provide the network information pushing platform with the monitoring detailed data of information pushing of the information owner in consideration of the benefit of the information owner. In order to obtain data of a third-party monitoring company, in the embodiment of the invention, the network information pushing platform and the third-party monitoring company establish a third-party cooperation order and push information in the third-party cooperation order. The client side, the push server or other servers except the push server which send the push request send the monitoring request to the third-party monitoring server, the third-party monitoring server can obtain the monitoring request, collect the IP address data carried in the obtained monitoring request, and then send the collected IP address data to the network information push platform.
in the embodiment of the invention, the method for collecting the IP address data by the media collection server and the third-party monitoring server comprises the following steps: and obtaining a monitoring request, determining a second IP address and a third IP address from the monitoring request, and recording the obtained second IP address and the third IP address.
the example of sending the push request and the monitoring request by the client is described. After receiving the information pushed by the push server, the client generates a monitoring request according to the IP address of the client and the IP address of the client fed back by the push server, and sends the monitoring request to the media collection server or the third-party monitoring server. Specifically, it may be determined to which server to send the monitoring request according to whether the received push information is information in the third-party collaboration order. And if the pushed information is the information in the third-party cooperation order, sending a monitoring request to a third-party monitoring server, otherwise, sending the monitoring request to a media collection server. The IP address of the client fed back by the push server is referred to herein as the second IP address. If the IP address of the client may be changed during the sending process, the IP address of the client sending the monitoring request, which is carried in the monitoring request, may be determined as the third IP address.
in the prior art, a push server in the network information push platform is used for determining information to be pushed and pushing the information to be pushed to a client; and the third-party monitoring server is used for monitoring the pushing behavior of the network information pushing platform. In the embodiment of the present invention, the third party monitoring server is further configured to collect IP address data in a monitoring request generated by pushing third party collaboration order information. In order to improve the comprehensiveness of the collected IP address data, in the embodiment of the present invention, the network information pushing platform further includes a media collecting server, where the media collecting server is a server for collecting IP address data of a third-party monitoring server, and is mainly used for collecting IP address data in a monitoring request generated by pushing information other than third-party collaboration order information. The third-party monitoring server can be one third-party monitoring server in the third-party monitoring server cluster; the media collection server can also be one of the media collection servers in the media collection server cluster; the push server may also be one of a cluster of push servers.
In the embodiment of the present invention, the same second IP address may exist in the second IP addresses collected by the media collection server and the third party monitoring server, or the same IP address may not exist in the second IP addresses collected by the media collection server and the third party monitoring server. When the risk IP address base is established for the first time, because it is uncertain which IP addresses are risk IP addresses, information in the third-party cooperation order can be pushed to clients corresponding to all IP addresses. After the risk IP address library is established, information in the third-party cooperative order can be pushed to the client corresponding to the non-risk IP address, and therefore the situation that the second IP addresses collected by the body collection server and the third-party monitoring server are crossed can be reduced.
It should be noted that, in the embodiment of the present invention, the risk IP address may be determined by the push server, or may be determined by a server having a risk IP address analysis and determination function, other than the push server, in the information push system. The servers with the functions of risk IP address analysis and determination except the push server can be called risk IP address analysis servers, and the risk IP address analysis servers are mainly used for analyzing the obtained IP address data in the information push system and determining the risk IP addresses; establishing a risk IP address library based on the determined risk IP address; and sending the established risk IP address library to a push server.
The third predetermined time period may be the same as or different from the first predetermined time period or the second predetermined time period.
s110: and counting the occurrence frequency and the occurrence frequency of the regional difference of each second IP address according to the IP address data collected by the third-party monitoring server, and determining the second IP addresses meeting the first condition as risk IP addresses, wherein the occurrence frequency of the regional difference of one second IP address indicates that: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold.
The same third threshold value may be set for all the second IP addresses, or different third threshold values may be set for different second IP addresses. Specifically, the third threshold may be determined according to the number of occurrences of one second IP address and a preset first proportional threshold. Illustratively, the number of occurrences of a second IP address is 4, and the first proportional threshold is 20%, then the third threshold is a product of the number of occurrences of the second IP address and the first proportional threshold, which is 0.8. In addition, the second threshold may be set to 3.
In the embodiment of the present invention, a second IP address may be selected from the IP address data collected by the third party monitoring server as the target second IP address. Specifically, the selection may be random, or may be selected according to the number of occurrences of the second IP address, and the like, which is not limited herein. Judging whether the target second IP address meets a first condition, if so, determining the target second IP address as a risk IP address, selecting one second IP address from other second IP addresses except the target second IP address, updating the target second IP address to the selected second IP address, and judging whether the target second IP address meets the first condition; and if not, selecting a second IP address from other second IP addresses except the target second IP address, updating the target second IP address to the selected second IP address, and judging whether the target second IP address meets the first condition or not. The above process is a cyclic process until the second IP addresses collected by the third party monitoring server are all used as target second IP addresses.
S111: counting the occurrence frequency and the occurrence frequency of the regional difference of each fourth IP address according to the IP address data collected by the media collection server, and determining the fourth IP address meeting a second condition as a risk IP address, wherein the second condition is as follows: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
it should be noted that, if the same second IP address collected by the third-party monitoring server and the media collection server is already determined as the risk IP address by using the data collected by the third-party monitoring server, in order to save resources, re-determination is not performed on the IP address data collected by the media collection server. Of course, in order to verify the correctness of whether one second IP address determined by the IP data collected by the third party monitoring server is a risk IP address, the media collection server may be used to collect data for the second IP address, and verify whether the second IP address is a risk IP address. It should be noted that the result of the verification does not affect the result of the determination using the data collected by the third-party monitoring server.
In this embodiment of the present invention, the fourth IP address may include: the second IP addresses collected by the media collection server are different from the second IP addresses collected by the third-party monitoring server; and in the intersection of the second IP address collected by the media collection server and the second IP address collected by the third-party monitoring server, the second IP address which is not determined as the risk IP address by using the IP address data collected by the third-party monitoring server.
note that, the same fifth threshold value may be set for all the fourth IP addresses, or different fifth threshold values may be set for different fourth IP addresses. Specifically, the fifth threshold may be determined by the number of times that one fourth IP address appears and a preset second proportional threshold. Illustratively, the number of occurrences of a fourth IP address is 12, the second ratio threshold is 50%, and the fifth threshold is a product of the number of occurrences of the fourth IP address and the second ratio threshold, that is, 6. In addition, the second threshold may be set to 10.
The principle of S111 and S110 is basically the same, and the specific process of determining the risk IP address is not described herein again.
specifically, the push server, the media collection server, and the third-party monitoring server are located in the same homologous machine room.
The three servers are located in the same homologous computer room, which means that the IP addresses of the three servers are IP network segments in the same homologous computer room, so that the three servers share network resources, mainly to eliminate regional differences.
By applying the embodiment of the invention, the risk IP address is determined according to the collected IP address data, and the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved.
fig. 7 is a seventh flowchart illustrating an information pushing method according to an embodiment of the present invention. Based on the embodiment provided in fig. 6, in the information pushing method provided in the embodiment of the present invention, after S111, the method further includes:
s112: and judging whether the frequency of the second IP address which is not determined as the risk IP address in the obtained IP address data is not less than a preset sixth threshold value within a fourth preset time period, wherein the fourth preset time period is greater than the third preset time period.
it is possible that a second IP address is not determined to be a risky IP address based on the determined IP address data, but in practice the second IP address may be the risky IP address. In order to determine the risk IP address as accurately as possible, S112 needs to be executed after S111 is executed.
in the embodiment of the present invention, it is determined that there is no risk IP address again by the second IP address that is not determined as a risk IP address among the obtained IP address numbers. The specific determination method comprises the following steps: and judging whether the frequency of the second IP address determined as the risk IP address is not less than a preset sixth threshold value in a fourth preset time period.
it should be noted that the fourth preset time period is greater than the third preset time period, and is generally a multiple of the third preset time period when the fourth preset time period is used. Illustratively, the third preset time period is 1 day, the third preset time period is 7 days, and the last 7 days, because the IP address data after the third preset time period is not generated at this time, it makes sense to execute S112 only if the time interval in which the fourth preset time period is located is not later than the time interval in which the third preset time period is located. The sixth threshold is determined according to actual conditions, and may be 4 times, for example, if a second IP address is determined as a risk IP address more than 4 times within 7 days, the second IP address is determined as a risk IP address, otherwise, the second IP address is not a risk IP address.
S113: the second IP address is determined to be a risky IP address.
In the embodiment of the invention, the risk IP address is further determined, so that the probability of missing the risk IP address is reduced, the probability of region difference of the pushed information can be reduced, and the user experience is improved.
it should be noted that, in the embodiment of the present invention, the risk IP address may be determined by the push server, or may be determined by the risk IP address analysis server. In the embodiment of the present invention and the above-mentioned embodiments, the servers that determine the risk IP address are either all push servers or all risk IP address analysis servers.
By applying the embodiment of the invention, after the risk IP address is determined according to the collected IP address data, the risk IP address is further determined in the second IP address which is not determined as the risk IP address, so that the probability of missing the risk IP address is reduced. And then, pushing the information without region orientation to the client corresponding to the risk IP address, thereby reducing the probability of region difference of the pushed information and improving the user experience.
fig. 8 is an eighth flowchart illustrating an information pushing method according to an embodiment of the present invention. Based on the embodiment provided in fig. 6, in the information push method provided in the embodiment of the present invention, the method for determining the correspondence relationship includes:
s114: determining a target risk IP address from the risk IP library, wherein the target risk IP address is as follows: and determining a risk IP address by adopting the IP address data received by the third-party monitoring server.
the target risk IP address is the risk IP address determined in S110, and one of the risk IP addresses determined in S110 may be selected as the target risk IP address, specifically, one of the risk IP addresses may be selected randomly, or may be selected according to the number of times that the risk IP address appears in the IP address data collected by the third-party monitoring server, and of course, other methods exist, which are not described herein again.
s115: and determining a third IP address corresponding to the target risk IP address.
According to the condition that one risk IP address needs to be satisfied in S110, the number of the third IP addresses corresponding to the target risk IP address is more than one. In one monitoring request, the second IP address and the third IP address appear in pairs, so in the IP address data collected by the third party monitoring server, the second IP address and the third IP address also appear in pairs, and when the target risk IP address is determined, the third IP address corresponding to the target risk IP address can also be determined in the IP address data collected by the third party monitoring server.
s116: and obtaining the region to which each determined third IP address belongs.
illustratively, the determined third IP addresses are IP address 1, IP address 2, and IP address 3, respectively, and the regions to which IP address 1, IP address 2, and IP address 3 belong are obtained.
S117: it is determined whether the obtained regions are the same, and if so, S118 is performed.
continuing the above example, it is determined whether the regions to which the IP address 1, the IP address 2, and the IP address 3 belong are the same, and if so, S118 is performed. If not, selecting one risk IP address from the risk IP addresses which are obtained by executing the S110 and are not used as the target risk IP address, and updating the target risk IP address to the selected risk IP address.
s118: and correcting the region to which the target risk IP address belongs to the obtained region, and determining the corresponding relation between the target risk IP and the corrected region.
continuing with the above example, if the regions to which the IP address 1, the IP address 2, and the IP address 3 belong are all the region 1, the region to which the target risk IP address belongs is corrected to the region 1, and then the correspondence between the target risk IP address and the region 1 is determined. After the corresponding relation is determined, one risk IP address is selected from the risk IP addresses which are obtained by executing the S110 and are not used as the target risk IP address, and the target risk IP address is updated to the selected risk IP address until all the risk IP addresses obtained by executing the S110 are used as the target risk IP address.
In the implementation of the invention, a correction IP address library can be established according to the corresponding relation between the established and determined target risk IP and the corrected region. By correcting the region to which the risk IP address belongs, the target information is determined according to the information corresponding to the corrected region, so that the stock of the information corresponding to the corrected region is reduced.
it should be noted that, in the embodiment of the present invention, the corresponding relationship may be determined by the push server, or may be determined by the risk IP address analysis server. If the corresponding relation is determined by the risk IP address analysis server, the risk IP address analysis server establishes a correction IP address library based on the determined corresponding relation after determining the corresponding relation; and sending the established correction IP address library to a push server.
by applying the embodiment of the invention, the corresponding relation between the risk IP and the corrected region is determined, the first IP address is determined to be recorded in the correction IP address base, and the target information is determined according to the information corresponding to the corrected region, so that the inventory of the information corresponding to the corrected region is reduced, the probability of region difference of the pushed information is reduced, and the user experience is improved.
Corresponding to the method embodiment shown in fig. 1, fig. 9 is a first schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention, applied to a push server, where the apparatus includes: a first obtaining module 201, a first judging module 202, a first determining module 203 and a pushing module 204, wherein,
a first obtaining module 201, configured to obtain a target push request for a target client, and determine an IP address of the target client according to the target push request, where the IP address is used as a first IP address;
a first determining module 202, configured to determine whether the first IP address is recorded in a pre-established risk IP address library, where the risk IP address library is used to store a predetermined risk IP address;
A first determining module 203, configured to determine target information in the information without region orientation if a determination result of the first determining module is yes;
a pushing module 204, configured to push the target information to the target client.
by applying the embodiment of the invention, the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved.
Corresponding to the embodiment of the method shown in fig. 2, fig. 10 is a schematic diagram of a second structure of an information pushing apparatus according to an embodiment of the present invention, applied to a pushing server, where the apparatus includes: a second decision block 205 and a second determination block 206, wherein,
a second determining module 205, configured to determine, if the determination result of the first determining module 202 is yes, whether the first IP address is recorded in a preset correction IP address library, where: the corresponding relation between the risk IP address subjected to region correction and the region subjected to the risk IP address correction;
A second determining module 206, configured to determine, when the determination result of the second determining module 205 is yes, a target region corrected by the first IP address according to the correspondence recorded in the corrected IP address library, and determine target information in information corresponding to the target region;
The first determining module 203 is further configured to determine target information from the information without region orientation if the determination result of the second determining module 205 is negative.
By applying the embodiment of the invention, the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved. In addition, the region to which the risk IP address belongs is corrected, and the target information is determined according to the information corresponding to the corrected region, so that the stock of the information corresponding to the corrected region is reduced.
Corresponding to the embodiment of the method shown in fig. 3, fig. 11 is a schematic structural diagram of a third information pushing apparatus according to an embodiment of the present invention, applied to a pushing server, where the apparatus includes: a third determination module 207 and a fourth determination module 208, wherein,
A third determining module 207, configured to determine, if the determination result of the first determining module is negative, a first region to which the first IP address belongs;
a fourth determining module 208, configured to determine target information in the information corresponding to the first region.
by applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, and the user experience can be improved.
Corresponding to the embodiment of the method shown in fig. 4, fig. 12 is a fourth schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention, and is applied to a pushing server, where the fourth determining module includes: a first decision sub-module 2081, and a determination sub-module 2082, wherein,
the first judgment sub-module 2081, configured to judge whether a pushing amount of the third-party cooperative order information in a first preset time period is smaller than a preset pushing amount threshold;
A determining sub-module 2082, configured to determine, if the determination result of the first determining sub-module 2081 is negative, target information from the information corresponding to the first area except the third-party collaboration order information.
By applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, and the user experience can be improved.
corresponding to the method embodiment shown in fig. 5, fig. 13 is a fifth schematic structural diagram of an information pushing apparatus provided in the embodiment of the present invention, and is applied to a pushing server, where the fourth determining module further includes: a second decision sub-module 2083, wherein,
a second determining sub-module 2083, configured to determine, when the determination result of the first determining sub-module 2081 is yes, whether the number of times for pushing the information in the third-party collaboration order information to the first IP address within a second preset time period is smaller than a preset first threshold;
The determining sub-module is further configured to determine target information in information corresponding to the first region, except for the third-party cooperative order information, if the determination result of the second determining sub-module is negative.
the determining sub-module 2082 is further configured to determine target information from the information corresponding to the first area, except the third-party collaboration order information, if the determination result of the second determining sub-module 2081 is negative.
By applying the embodiment of the invention, if the first IP address is not the risk IP address, the target information is directly determined in the region corresponding to the first region to which the first IP address belongs, and the target information is pushed to the target client. Therefore, the information inventory can be reduced, the user experience is improved, and the diversity of the IP address data collected by the third-party monitoring server in the later period is facilitated.
Fig. 14 is a sixth schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention, applied to a pushing server, and further includes a second obtaining module 209, a fifth determining module 210, and a sixth determining module 211, where,
a second obtaining module 209, configured to obtain IP address data collected by the media collection server and the third-party monitoring server within a third preset time period; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: the IP address of the client side which sends the monitoring request and is carried in the monitoring request;
a fifth determining module 210, configured to count, for the IP address data collected by the third-party monitoring server, the number of times each second IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a second IP address that meets the first condition, where a geographical difference of one second IP address indicates: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold;
A sixth determining module 211, configured to count, for the IP address data collected by the media collection server, the number of times each fourth IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a fourth IP address that meets a second condition, where the second condition is: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
Specifically, the push server, the media collection server, and the third-party monitoring server are located in the same homologous machine room.
By applying the embodiment of the invention, the risk IP address is determined according to the collected IP address data, and the information without region orientation is pushed to the client corresponding to the risk IP address, so that the probability of region difference of the pushed information is reduced, and the user experience is improved.
Fig. 15 is a seventh schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention, applied to a push server, and further includes: a third decision block 212 and a seventh determination block 213, wherein,
a third determining module 212, configured to determine, for each second IP address that is not determined as a risk IP address in the obtained IP address data, whether the number of times that the second IP address is determined as a risk IP address within a fourth preset time period is not less than a preset sixth threshold, where the fourth preset time period is greater than the third preset time period;
a seventh determining module 213, configured to determine the second IP address as the risk IP address if the determination result of the third determining module 212 is yes.
By applying the embodiment of the invention, after the risk IP address is determined according to the collected IP address data, the risk IP address is further determined in the second IP address which is not determined as the risk IP address, so that the probability of missing the risk IP address is reduced. And then, pushing the information without region orientation to the client corresponding to the risk IP address, thereby reducing the probability of region difference of the pushed information and improving the user experience.
Fig. 16 is an eighth schematic structural diagram of an information pushing apparatus according to an embodiment of the present invention, applied to a push server, and corresponding to the embodiment of the method shown in fig. 8, where the apparatus further includes: an eighth determining module 214, a ninth determining module 215, a third obtaining module 216, a fourth judging module 217, and a tenth determining module 218, wherein,
an eighth determining module 214, configured to determine a target risk IP address from the risk IP library, where the target risk IP address is: determining a risk IP address by adopting the IP address data received by the third-party monitoring server;
A ninth determining module 215, configured to determine a third IP address corresponding to the target risk IP address;
A third obtaining module 216, configured to obtain a region to which each determined third IP address belongs;
A fourth judging module 217, configured to judge whether the obtained regions are the same;
A tenth determining module 218, configured to, if the determination result of the fourth determining module 217 is the same, correct the region to which the target risk IP address belongs to the obtained region, and determine a correspondence between the target risk IP and the corrected region.
By applying the embodiment of the invention, the corresponding relation between the risk IP and the corrected region is determined, the first IP address is determined to be recorded in the correction IP address base, and the target information is determined according to the information corresponding to the corrected region, so that the inventory of the information corresponding to the corrected region is reduced, the probability of region difference of the pushed information is reduced, and the user experience is improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. An information push method, applied to a push server, includes:
Acquiring a target push request aiming at a target client, and determining an IP address of the target client as a first IP address according to the target push request;
Judging whether the first IP address is recorded in a pre-established risk IP address library or not, wherein the risk IP address library is used for storing a predetermined risk IP address;
If yes, determining target information in the information without region orientation;
Pushing the target information to the target client;
the risk IP address is determined by:
Acquiring IP address data collected by a media collection server and a third-party monitoring server within a third preset time period respectively; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: the IP address of the client side which sends the monitoring request and is carried in the monitoring request;
and counting the occurrence frequency and the occurrence frequency of the regional difference of each second IP address according to the IP address data collected by the third-party monitoring server, and determining the second IP addresses meeting the first condition as risk IP addresses, wherein the occurrence frequency of the regional difference of one second IP address indicates that: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold;
Counting the occurrence frequency and the occurrence frequency of the regional difference of each fourth IP address according to the IP address data collected by the media collection server, and determining the fourth IP address meeting a second condition as a risk IP address, wherein the second condition is as follows: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
2. the method of claim 1, wherein if it is determined that the first IP address is recorded in the risk IP address repository, the method further comprises:
judging whether the first IP address is recorded in a preset correction IP address library or not, wherein the correction IP address library records: the corresponding relation between the risk IP address subjected to region correction and the region subjected to the risk IP address correction;
If so, determining a target region corrected by the first IP address according to the corresponding relation recorded in the corrected IP address library, and determining target information in information corresponding to the target region;
If not, the step of determining the target information in the information without geographical orientation is executed.
3. the method according to claim 1 or 2, wherein in case that the first IP address is not recorded in the risk IP address repository, before the pushing the target information to the target client, the method further comprises:
Determining a first region to which the first IP address belongs;
And determining target information in the information corresponding to the first region.
4. The method according to claim 3, wherein the determining target information from the information corresponding to the first region comprises:
Judging whether the pushing amount of the third-party cooperative order information in a first preset time period is smaller than a preset pushing amount threshold value or not;
and if not, determining target information in the information corresponding to the first region except the third-party cooperative order information.
5. The method of claim 4, wherein when the total pushed amount of the third-party collaboration order information in the first preset time period is less than a preset pushed amount threshold, the method further comprises:
judging whether the frequency of pushing the information in the third-party cooperative order information to the first IP address in a second preset time period is smaller than a preset first threshold value or not;
and if not, executing the step of determining target information in the information corresponding to the first region except the third-party cooperative order information.
6. the method according to claim 2, wherein after the counting the number of occurrences and the number of occurrences of the geographical difference of each fourth IP address for the IP address data collected by the media collection server and determining a fourth IP address satisfying a second condition as a risk IP address, the method further comprises:
for each second IP address which is not determined as a risk IP address in the obtained IP address data, determining whether the number of times that the second IP address is determined as a risk IP address is not less than a preset sixth threshold value within a fourth preset time period, where the fourth preset time period is greater than the third preset time period;
if so, the second IP address is determined to be a risk IP address.
7. The method according to claim 2 or 6, the correspondence is determined by:
Determining a target risk IP address from the risk IP library, wherein the target risk IP address is as follows: determining a risk IP address by adopting the IP address data received by the third-party monitoring server;
Determining a third IP address corresponding to the target risk IP address;
Obtaining the region to which each determined third IP address belongs;
Judging whether the obtained regions are the same;
And if the target risk IP address is the same as the corrected target risk IP address, correcting the region to which the target risk IP address belongs into the obtained region, and determining the corresponding relation between the target risk IP and the corrected region.
8. the method of claim 1, wherein the push server, the media collection server, and the third party monitoring server are located in a same source room.
9. An information pushing apparatus, applied to a pushing server, the apparatus comprising:
the first obtaining module is used for obtaining a target pushing request for a target client, and determining an IP address of the target client as a first IP address according to the target pushing request;
the first judgment module is used for judging whether the first IP address is recorded in a pre-established risk IP address library, wherein the risk IP address library is used for storing a predetermined risk IP address;
The first determining module is used for determining target information in the information without region orientation under the condition that the judgment result of the first judging module is yes;
the pushing module is used for pushing the target information to the target client;
The device further comprises:
the second obtaining module is used for obtaining the IP address data collected by the media collecting server and the third-party monitoring server in a third preset time period respectively; wherein the IP address data comprises: a second IP address and a third IP address, the second IP address being: the IP address of the client that receives the push information, which is carried in the monitoring request, is: the IP address of the client side which sends the monitoring request and is carried in the monitoring request;
a fifth determining module, configured to count, for the IP address data collected by the third-party monitoring server, the number of times each second IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a second IP address that meets the first condition, where a geographical difference of one second IP address appears: the region to which the third IP address carried by the target monitoring request belongs is different from the region to which the second IP address belongs, and the target monitoring request is: the monitoring request carrying the second IP address, where the first condition is: the occurrence frequency does not exceed a preset second threshold, and the occurrence frequency of the region difference is greater than a preset third threshold;
A sixth determining module, configured to count, for the IP address data collected by the media collection server, the number of times each fourth IP address appears and the number of times a geographical difference appears, and determine, as a risk IP address, a fourth IP address that meets a second condition, where the second condition is: the occurrence frequency does not exceed a preset fourth threshold, and the occurrence frequency of the region difference is greater than a preset fifth threshold; the fourth IP address is a second IP address for which the IP address data collected by the third party monitoring server is not determined to be a risk IP address.
10. The apparatus of claim 9, further comprising:
A second determining module, configured to determine whether the first IP address is recorded in a preset correction IP address library if a determination result of the first determining module is yes, where the correction IP address library records: the corresponding relation between the risk IP address subjected to region correction and the region subjected to the risk IP address correction;
a second determining module, configured to determine, when a determination result of the second determining module is yes, a target region corrected by the first IP address according to a correspondence relationship recorded in the corrected IP address library, and determine target information in information corresponding to the target region;
The first determining module is further configured to determine target information in the information without region orientation under the condition that the determination result of the second determining module is negative.
11. The apparatus of claim 9 or 10, further comprising:
A third determining module, configured to determine, if the determination result of the first determining module is negative, a first region to which the first IP address belongs;
And the fourth determining module is used for determining target information in the information corresponding to the first region.
12. The apparatus of claim 11, wherein the fourth determining module comprises:
the first judgment submodule is used for judging whether the pushing amount of the third-party cooperative order information in a first preset time period is smaller than a preset pushing amount threshold value or not;
and the determining submodule is used for determining target information in the information corresponding to the first region except the third-party cooperative order information under the condition that the judgment result of the first judging submodule is negative.
13. the apparatus of claim 12, wherein the fourth determining module further comprises:
A second determining submodule, configured to determine, when a determination result of the first determining submodule is yes, whether a number of times for pushing information in the third-party collaboration order information to the first IP address within a second preset time period is smaller than a preset first threshold;
The determining sub-module is further configured to determine target information in information corresponding to the first region, except for the third-party cooperative order information, if the determination result of the second determining sub-module is negative.
14. the apparatus of claim 10, further comprising:
a third determining module, configured to determine, for each second IP address that is not determined as a risk IP address in the obtained IP address data, whether the number of times that the second IP address is determined as a risk IP address within a fourth preset time period is not less than a preset sixth threshold, where the fourth preset time period is greater than the third preset time period;
And the seventh determining module is used for determining the second IP address as the risk IP address under the condition that the judgment result of the third judging module is yes.
15. The apparatus of claim 10 or 14, further comprising:
an eighth determining module, configured to determine a target risk IP address from the risk IP library, where the target risk IP address is: determining a risk IP address by adopting the IP address data received by the third-party monitoring server;
a ninth determining module, configured to determine a third IP address corresponding to the target risk IP address;
A third obtaining module, configured to obtain a region to which each determined third IP address belongs;
The fourth judging module is used for judging whether the obtained regions are the same or not;
A tenth determining module, configured to correct the region to which the target risk IP address belongs to the obtained region and determine a correspondence between the target risk IP and the corrected region when the determination results of the fourth determining module are the same.
16. The apparatus of claim 9, wherein the push server, the media collection server, and the third party monitoring server are located in a same source room.
CN201710210792.9A 2017-03-31 2017-03-31 information pushing method and device Active CN107147695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210792.9A CN107147695B (en) 2017-03-31 2017-03-31 information pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210792.9A CN107147695B (en) 2017-03-31 2017-03-31 information pushing method and device

Publications (2)

Publication Number Publication Date
CN107147695A CN107147695A (en) 2017-09-08
CN107147695B true CN107147695B (en) 2019-12-13

Family

ID=59783880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210792.9A Active CN107147695B (en) 2017-03-31 2017-03-31 information pushing method and device

Country Status (1)

Country Link
CN (1) CN107147695B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590605B (en) * 2017-09-15 2021-01-12 北京奇艺世纪科技有限公司 Control method and system for internet data display

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394944B (en) * 2011-09-16 2014-01-29 北京新媒传信科技有限公司 Method and equipment for correcting IP (Internet Protocol) address in Web access
CN103167052B (en) * 2011-12-16 2015-08-19 北京思博途信息技术有限公司 A kind of method and system of Automatic Optimal IP regional information storehouse
CN104104556B (en) * 2013-04-12 2018-09-28 腾讯科技(北京)有限公司 Carry out the method and system that recommendation information shows
CN104780234B (en) * 2014-01-14 2019-09-17 腾讯科技(深圳)有限公司 IP attribution inquiry method, apparatus and system
CN105827480A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Method, device and system for monitoring advertisement display
CN105657072A (en) * 2016-03-31 2016-06-08 北京奇艺世纪科技有限公司 Method and device for pushing control data

Also Published As

Publication number Publication date
CN107147695A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
US20210192565A1 (en) Methods and apparatus to correct misattributions of media impressions
US11102357B2 (en) Methods and apparatus to generate audience measurement data from population sample data having incomplete demographic classifications
US8825849B2 (en) Distributed data collection and aggregation
US7801985B1 (en) Data transfer for network interaction fraudulence detection
JP2021022402A (en) Apparatuses, storage media and methods for sharing online media impression data
US20170249672A1 (en) Systems and methods for generating network intelligence through real-time analytics
US7853657B2 (en) Electronic message response and remediation system and method
US8312085B2 (en) Self-tuning statistical method and system for blocking spam
US10193908B2 (en) Data transfer for network interaction fraudulence detection
US20120005216A1 (en) Providing Content by Using a Social Network
US20060130147A1 (en) Method and system for detecting and stopping illegitimate communication attempts on the internet
WO2010022627A1 (en) Method, device, system for determining the user behavior property, and method and system for embarking advertisements
CN110417747B (en) Method and device for detecting violent cracking behavior
US11711575B2 (en) Methods and apparatus to correct misattributions of media impressions
US20160142390A1 (en) Third-party documented trust linkages for email streams
CN110099292B (en) Data center node determination method and device and electronic equipment
CN107147695B (en) information pushing method and device
CN103957230B (en) A kind of client user's number determines method, server, client and system
US20200267065A1 (en) System and method for associating network domain names with a content distribution network
CN107819624A (en) A kind of determination method and device of content delivery network node distributed intelligence
KR20150111027A (en) Apparatus and method for providing advertisements
CN107590605B (en) Control method and system for internet data display
KR101158369B1 (en) System for refreshing content using user's location information and content taste, and method thereof
US8166116B2 (en) Automatic distribution of corrective configuration information
CN107659625B (en) Counting system and method for internet data display

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