CN110266746B - Information pushing method and device - Google Patents

Information pushing method and device Download PDF

Info

Publication number
CN110266746B
CN110266746B CN201910250130.3A CN201910250130A CN110266746B CN 110266746 B CN110266746 B CN 110266746B CN 201910250130 A CN201910250130 A CN 201910250130A CN 110266746 B CN110266746 B CN 110266746B
Authority
CN
China
Prior art keywords
push
pushing
matching result
determining
url
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
CN201910250130.3A
Other languages
Chinese (zh)
Other versions
CN110266746A (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.)
Xingrongyuan Data Technology Suzhou Co ltd
Original Assignee
Xingrongyuan Data Technology Suzhou 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 Xingrongyuan Data Technology Suzhou Co ltd filed Critical Xingrongyuan Data Technology Suzhou Co ltd
Priority to CN201910250130.3A priority Critical patent/CN110266746B/en
Publication of CN110266746A publication Critical patent/CN110266746A/en
Application granted granted Critical
Publication of CN110266746B publication Critical patent/CN110266746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information pushing method and device, and relates to the technical field of networks. The method comprises the following steps: the push equipment acquires an HTTP request message sent by a client; extracting characteristic characters of a URL (Uniform resource locator) in the HTTP request message; determining a pushing type according to the extracted characteristic characters and a preset classification library; sending the determined push type to a push server; and the push server acquires corresponding push information according to the received push category and sends the push information to the client. In the technical scheme, user data does not need to be collected for a long time, a big data analysis system does not need to be constructed, and the butt joint of the pushing system and the big data analysis system is also not needed, so that the time cost is reduced, the pushing efficiency of information is improved, the system is simple in structure and low in cost, and the problems of user privacy protection and the like are not involved.

Description

Information pushing method and device
Technical Field
The present invention relates to the field of network technologies, and in particular, to an information push method and apparatus.
Background
In the existing information push scheme, if personalized information push based on a user is to be realized, a third-party big data analysis system is often in butt joint with a plurality of different push systems, namely, the big data analysis system collects user data for a long time and analyzes the big data to obtain personalized information of the user, and each push system is communicated with the big data analysis system to obtain the personalized information and push the personalized information to the corresponding user. In the information pushing mode, because interaction among different systems is involved, and a big data analysis system is in butt joint with a plurality of pushing systems, data processing is slow, and pushing efficiency is low; and when a big data analysis system is built, the problems of user privacy protection and high cost of system building are often involved.
Disclosure of Invention
The present invention is directed to a method, an apparatus, and a system for pushing information, which aim to solve at least one of the above technical problems to the first extent.
In order to achieve the above object, a first aspect of the present invention provides an information pushing method, which is applicable to a pushing device, and the method includes:
acquiring an HTTP request message sent by a client;
extracting characteristic characters of a URL (Uniform resource locator) in the HTTP request message;
determining a pushing category according to the characteristic characters and a preset classification library;
and sending the push type to a push server so that the push server sends corresponding push information to the client according to the push type.
Optionally, the determining a push category according to the characteristic character and a preset classification library includes:
calling a pattern matching engine, and acquiring a matching result matched with the characteristic character in a preset classification library through the pattern matching engine;
and determining the pushing type according to the matching result.
Optionally, the determining, according to the matching result, a push category includes:
counting the number of the matching results, and determining a target matching result;
and analyzing the target matching result to obtain a pushing type.
Optionally, the counting the number of the matching results and determining a target matching result includes:
counting the number of the matching results;
if the number of the matching results is unique, taking the unique matching result as a target matching result;
if the number of the matching results is not unique, comparing the URL in each matching result with the URL in the HTTP request message, and taking the matching result where the URL which is successfully compared is located as a target matching result.
Optionally, the sending the push category to a push server includes:
and judging whether to delay pushing according to the pushing type, generating a pushing request according to the pushing type and sending the pushing request to a pushing server under the condition that the judgment result is negative.
In order to achieve the above object, a second aspect of the present invention provides an information pushing method, which is applicable to a pushing server, and the method includes:
receiving a push type sent by a push device, wherein the push type is determined by the push device according to a URL in an HTTP request message sent by a client;
acquiring corresponding push information according to the push type;
and sending the push information to the client.
Optionally, the obtaining, according to the push type, corresponding push information includes:
and acquiring corresponding push information in the corresponding relation between the push type and the push information according to the push type.
To achieve the above object, a third aspect of the present invention provides an information pushing apparatus, including:
the acquisition module is used for acquiring an HTTP request message sent by a client;
the extraction module is used for extracting the characteristic characters of the URL in the HTTP request message;
the determining module is used for determining a pushing category according to the characteristic characters and a preset classification library;
and the sending module is used for sending the pushing type to a pushing server so that the pushing server sends corresponding pushing information to the client according to the pushing type.
In order to achieve the above object, a fourth aspect of the present invention provides an information pushing apparatus, including:
the receiving module is used for receiving a push type sent by the push equipment, wherein the push type is determined by the push equipment according to a URL (uniform resource locator) in an HTTP (hyper text transport protocol) request message sent by a client;
the acquisition module is used for acquiring corresponding push information according to the push type;
and the sending module is used for sending the push information to the client.
To achieve the above object, a fifth aspect of the present invention provides an information push system, including: the system comprises a client, a push device and a push server.
In the technical scheme of the invention, the pushing equipment extracts the URL of the HTTP request message sent by the client, determines the pushing type according to the URL, and sends the pushing type to the pushing server, so that the personalized information pushing of the user can be realized; the system does not need to collect user data for a long time, construct a big data analysis system and butt joint of a pushing system and the big data analysis system, time cost is reduced, information pushing efficiency is improved, the system is simple in structure and low in cost, and the problems of user privacy protection and the like are solved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram illustrating a deployment of an information push system in a 3G mobile network according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a deployment of an information push system in a 4G mobile network according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a deployment of an information push system in a wireless local area network according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an information push method applied to a push device according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of an information push method applied to a push server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information pushing apparatus applied to a pushing device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an information push apparatus applied to a push server according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An information push system provided in an embodiment of the present invention includes: a client 11, a push device 12 and a push server 13.
The information push system in the embodiment of the application can be applied to various network environments, including but not limited to a 3G mobile network, a 4G mobile network and a wireless local area network; the push device 12 extracts a URL (Uniform Resource Locator) in the HTTP request message sent by the client 11, determines a push category according to the URL, and sends the push category to the push server, so that personalized information push of the user can be implemented.
Specifically, referring to fig. 1, the push device 12 analyzes a user plane protocol through a Gn port to obtain an HTTP request packet sent by a client, determines a push type according to a URL in the HTTP request packet, sends the push type to a push server through a Gi port through the Internet (Internet), and sends corresponding push information to the client according to the push type. Further, referring to fig. 2, the push device 12 analyzes a user plane protocol through an S1-U port, obtains an HTTP request message sent by the client, determines a push type according to a URL in the HTTP request message, sends the push type to the push server through the network through an SGi port, and sends corresponding push information to the client according to the push type. Further, referring to fig. 3, the push device 12 performs port mirroring through the aggregation switch to obtain an HTTP request message sent by the client, determines a push type according to a URL in the HTTP request message, sends the push type to the push server through the network through a service interface of the aggregation switch, and sends corresponding push information to the client according to the push type. It should be noted that fig. 1-3 are intended to be illustrative only and not limiting.
The application provides an information push system need not to dock big data analysis system, and data processing is fast, simple structure, and the maintenance cost is low.
Based on the above hardware system, the following describes an embodiment of the information push method according to the present application with reference to the drawings.
Fig. 4 is a schematic flow chart of an information pushing method according to an embodiment of the present invention, which is applicable to a pushing device, and as shown in fig. 4, the method includes:
step 101: acquiring an HTTP request message sent by a client;
in this embodiment, the push device may be in communication connection with the client, so as to obtain, in the client, an HTTP request packet sent by the client; the pushing device may also be not in communication connection with the client, and may be obtained in a destination device corresponding to the HTTP request packet, or may be obtained in an intercepting manner during transmission of the HTTP request packet.
Step 102: extracting characteristic characters of a URL (Uniform resource locator) in the HTTP request message;
in an embodiment of the application, the characteristic character may be a partial character in a URL, position information of the partial character in the URL is preset, and when an HTTP request message sent by a client is acquired, the characteristic character of the URL in the HTTP request message is acquired according to the preset position information; in an embodiment of the present application, the characteristic characters may also be all characters in a URL, that is, when an HTTP request message sent by a client is obtained, the URL in the HTTP request message is extracted and used as the characteristic characters.
Step 103: determining a pushing type according to the extracted characteristic characters and a preset classification library;
in one embodiment of the present application, the method further comprises: collecting URLs of all websites, and generating a classification library according to the collected URLs;
specifically, according to the internet surfing behavior of a user, URLs of corresponding websites are collected, the collected URLs are classified according to the types of the websites to obtain push categories corresponding to the URLs, a classification library is constructed according to the corresponding relation between the URLs and the push categories, and the classification library is preset into push equipment; the push categories comprise shopping categories, video categories, sports categories, entertainment categories, search engine categories, alarm categories and the like, each push category is represented by a corresponding preset first character, and the preset first character can be set according to needs in practical application. It should be noted that, in consideration of some pages being dangerous pages carrying viruses, in the embodiment of the present application, the push category corresponding to the URL of the dangerous page is set as an alarm category, so as to send alarm information to the client through the server, thereby preventing the user from entering the dangerous page, and improving the internet access safety of the user.
For example, when a shopping category is 100, a video category is 101, and a search engine category is 105, and a URL of a tab site is obtained according to a behavior such as browsing or shopping of a user on the tab site, the push category corresponding to the URL of the tab site is 100; according to the behavior of watching the video at the favorite web site of the user, obtaining the URL of the favorite web site, wherein the pushing type corresponding to the URL of the favorite web site is 101; and obtaining the URL of the hundred-degree website according to the searching operation of the user in the hundred degrees, wherein the pushing category corresponding to the URL of the hundred-degree website is 105.
In one embodiment of the present application, the classification library may further include: the number of push categories, and the length of each URL, for example, part of the information in the classification library is as follows:
35;
11/www.123.com/100;
12/www.1235.com/109;
10/www.ab.com/100;
wherein 35 in the first row is the number of push categories contained in the classification library, the first "/" from the left in the second row to the fourth row is preceded by the length of the URL, a URL is between two "/" and the second "/" is followed by the corresponding first character, i.e. the push category. It should be noted that the form of the classification library is not limited to the above form, and may be set by itself as needed in practical application.
Further, step 103 includes: calling an HFA (Hyper Finite Automata) pattern matching engine, and acquiring a matching result matched with the extracted characteristic characters in a preset classification library through the pattern matching engine; determining a pushing type according to the obtained matching result; wherein the matching result comprises the matched URL and the corresponding push category.
Further, the determining a push category according to the obtained matching result includes:
step A1: counting the number of the obtained matching results, and determining a target matching result;
specifically, the number of matching results obtained by calling a pattern matching engine is counted; if the number of the matching results is unique, taking the unique matching result as a target matching result; if the number of the matching results is not unique, comparing the URL in the obtained matching results with the URL in the obtained HTTP request message, and taking the matching result where the URL which is successfully compared is located as a target matching result.
For example, the URL in the obtained HTTP request message is www.123.com, the currently extracted characteristic character is www.123, and the two matching results obtained by calling the pattern matching engine respectively include www.123.com/100 and www.1235.com/109, and then the two matching results are compared with urlww.123. com in the HTTP request message respectively, and the matching result including www.123.com/100 is determined to be the target matching result.
Step A2: and analyzing the target matching result to obtain the pushing type.
Specifically, a first character in the target matching result is read, and a corresponding push category is determined according to the corresponding relationship between the first character and the push category.
For example, according to the target matching result comprising www.123.com/100, the first character read is 100, and the pushing category is determined to be shopping.
Step 104: and sending the determined push type to a push server so that the push server sends corresponding push information to the client according to the push type.
Specifically, whether pushing is delayed is judged according to the determined pushing type, and under the condition that the judgment result is negative, a pushing request is generated according to the determined pushing type, and the pushing request is sent to the pushing server.
Specifically, in consideration of the fact that when a user uses a search engine website to perform operations such as information query, the URL in the HTTP request message that is often acquired first is directed to the search engine website, and is not a page that the user really needs to access, the action type of the push category "search engine class" is set as delayed push in the present embodiment; therefore, the phenomenon that useless information is pushed to the user is avoided.
Further, according to the determined push category, determining whether to delay the push includes: according to the determined pushing type, acquiring a corresponding action type in the corresponding relation between the pushing type and the action type, and determining whether to delay pushing according to the action type; the action types comprise delayed pushing, normal pushing and the like, and each action type is represented by a corresponding preset second character; for example, if 1 indicates delayed push and 0 indicates normal push, and the corresponding second character is 0 obtained from the first character 100 in the read target matching result, it is determined that delayed push is not required.
It should be noted that both the action type and the corresponding second character can be set in practical application as needed, for example, the action type may further include blocking connection to block access to a malicious link.
Further, generating a push request according to the determined push category includes: and adding the first character corresponding to the determined push type to a preset position of a URL in the acquired HTTP request message, and generating a push request according to the current URL. The preset position may be set in practical application as needed, for example, the preset position is from left to right, and after the last character of the URL, the first character 100 is added to the obtained HTTP request message after the last character of the URL.
Furthermore, when it is determined that the push needs to be delayed, the push device adds a delayed push identifier to the URL in the corresponding HTTP request message, and re-determines the push type when acquiring the next HTTP request message sent by the corresponding client.
Therefore, the pushing equipment can determine the corresponding pushing categories only according to the URL of the website currently accessed by the user and the classification library generated in advance according to the URL of each website, so that the pushing categories are sent to the pushing server, and personalized information pushing aiming at different users can be realized; in the mode, user data does not need to be collected for a long time, a big data analysis system does not need to be constructed, and the big data analysis system does not need to be docked, so that the time cost is reduced, the information pushing efficiency is improved, and the problems of user privacy protection and the like are not involved.
Fig. 5 is a schematic flow chart of an information pushing method provided in an embodiment of the present application, which is applicable to a pushing server, and as shown in fig. 5, the method includes:
step 201: receiving a push type sent by a push device, wherein the push type is determined by the push device according to a URL in an HTTP request message sent by a client;
specifically, a pushing request sent by pushing equipment is received, the pushing request is analyzed to obtain a URL, data of a preset position of the URL are read to obtain a first character, and a pushing type is determined according to the corresponding relation between the first character and the pushing type; for example, the first character read is 100, and the push category is determined to be shopping.
Step 202: acquiring corresponding push information according to the push type;
specifically, according to the push type, corresponding push information is acquired in the corresponding relationship between the push type and the push message.
Step 203: and sending the acquired push information to the client.
Therefore, the push server can realize personalized information push of different users only by acquiring corresponding push information according to the push types sent by the push equipment, and the personalized information push of the different users can be realized without collecting user data for a long time, constructing a big data analysis system and butting with the big data analysis system, so that the time cost is reduced, the push efficiency of information is improved, and the problems of user privacy protection and the like can not be involved.
The above is an information push method provided in the embodiment of the present application, and corresponding to the above method, the present invention also provides an information push device, and since an implementation scheme for solving the problem of the device is similar to that of the above method, corresponding contents to the method part may refer to the detailed description of the above method embodiment, and will not be described in detail later. It is understood that the apparatus provided in the present application may include a unit or a module capable of performing each step of the above method examples, and the unit or the module may be implemented by hardware, software or a combination of hardware and software, and the present invention is not limited thereto. The following description is made in conjunction with fig. 6 and 7.
Fig. 6 is an information pushing apparatus provided in an embodiment of the present application, and the information pushing apparatus is applicable to a pushing device, where the apparatus includes:
an obtaining module 301, configured to obtain an HTTP request packet sent by a client;
an extracting module 302, configured to extract a characteristic character of a URL in the HTTP request message;
a determining module 303, configured to determine a push category according to the feature character and a preset classification library;
a sending module 304, configured to send the push category to a push server, so that the push server sends corresponding push information to a client according to the push category.
In one embodiment of the present application, the determining module 303 comprises:
the calling submodule is used for calling a pattern matching engine and acquiring a matching result matched with the characteristic character in a preset classification library through the pattern matching engine;
and the determining submodule is used for determining the pushing type according to the matching result.
In one embodiment of the present application, the determination submodule includes
The statistical unit is used for counting the number of the matching results and determining a target matching result;
and the analysis unit is used for analyzing the target matching result to obtain the pushing type.
In an embodiment of the present application, the statistical unit is specifically configured to:
counting the number of the matching results;
if the number of the matching results is unique, taking the matching results as target matching results;
and if the number of the matching results is not unique, comparing the URL in the matching results with the URL in the HTTP request message, and taking the matching result where the URL which is successfully compared is located as a target matching result.
In an embodiment of the present application, the sending module 304 is specifically configured to:
and judging whether to delay pushing according to the pushing type, generating a pushing request according to the pushing type and sending the pushing request to a pushing server under the condition that the judgment result is negative.
Fig. 7 is an information pushing apparatus provided in an embodiment of the present application, which is applied to a pushing server, and the apparatus includes:
a receiving module 401, configured to receive a push type sent by a push device, where the push type is determined by the push device according to a URL in an HTTP request message sent by a client;
an obtaining module 402, configured to obtain corresponding push information according to the push category;
a sending module 403, configured to send the push information to the client.
In an embodiment of the present application, the receiving module 401 is specifically configured to:
the method comprises the steps of receiving a pushing request sent by pushing equipment, analyzing the pushing request to obtain a URL, reading data of a preset position of the URL to obtain a first character, and determining a pushing type according to the corresponding relation between the first character and the pushing type.
In an embodiment of the present application, the obtaining module 402 is specifically configured to:
according to the push category received by the receiving module 401, the corresponding push information is obtained from the corresponding relationship between the push category and the push information.
The information pushing device provided by the embodiment of the application has the same effect as the information pushing method provided by the previous embodiment, in view of the same inventive concept.
In order to implement the foregoing embodiment, an embodiment of the present application further provides a push apparatus 500, where the push apparatus 500 includes: a memory 501 and a processor 502;
the memory 501 stores thereon a computer program, and when the computer program is executed by the processor 502, the information push method applied to the push device according to any of the above embodiments is implemented.
Further, the Memory 501 may include a Random Access Memory (RAM) and a non-volatile Memory (non-volatile Memory), such as a disk Memory. The processor 502 may be an integrated circuit chip having signal processing capabilities; the Processor 502 may also be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the processor 502 may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like.
In order to implement the foregoing embodiment, an embodiment of the present application further provides a push server 600, where the push server 600 includes: a memory 601 and a processor 602;
the memory 601 stores thereon a computer program, and when the computer program is executed by the processor 602, the information push method applied to the push server according to any of the above embodiments is implemented.
Further, the Memory 601 may include a Random Access Memory (RAM) and a non-volatile Memory (non-volatile Memory), such as a disk Memory. The processor 602 may be an integrated circuit chip having signal processing capabilities; the Processor 602 may also be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the processor 602 may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like.
In order to implement the foregoing embodiments, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the information push method applied to a push device in any of the foregoing embodiments is implemented.
To achieve the foregoing embodiments, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the information push method applied to a push server as described in any of the foregoing embodiments is implemented.
In the information push system formed by the client, the push equipment and the push server, the push equipment can determine the corresponding push type according to the URL in the HTTP request message sent by the client, and personalized information push of different users can be realized by sending the push type to the push server; in the technical scheme, user data does not need to be collected for a long time, a big data analysis system does not need to be constructed, and the butt joint of the pushing system and the big data analysis system is also not needed, so that the time cost is reduced, the pushing efficiency of information is improved, the system is simple in structure and low in cost, and the problems of user privacy protection and the like are not involved.
It should be noted that:
the embodiments are described in a related manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (3)

1. An information pushing method is applied to a pushing device, and comprises the following steps:
acquiring an HTTP request message sent by a client;
extracting characteristic characters of a URL (Uniform resource locator) in the HTTP request message;
determining a pushing category according to the characteristic characters and a preset classification library;
determining a push category according to the characteristic character and a preset category library, wherein the step of determining the push category comprises the following steps:
calling a pattern matching engine, and acquiring a matching result matched with the characteristic character in a preset classification library through the pattern matching engine;
determining a pushing type according to the matching result;
the determining the push category according to the matching result includes:
counting the number of the matching results, and determining a target matching result;
analyzing the target matching result to obtain a pushing type;
the counting the number of the matching results and determining the target matching result comprises:
counting the number of the matching results;
if the number of the matching results is unique, taking the unique matching result as a target matching result;
if the number of the matching results is not unique, comparing the URL in each matching result with the URL in the HTTP request message, and taking the matching result where the URL which is successfully compared is located as a target matching result;
and sending the push type to a push server so that the push server sends corresponding push information to the client according to the push type.
2. The method of claim 1, wherein sending the push category to a push server comprises:
and judging whether to delay pushing according to the pushing type, generating a pushing request according to the pushing type and sending the pushing request to a pushing server under the condition that the judgment result is negative.
3. An information pushing device is characterized by comprising:
the acquisition module is used for acquiring an HTTP request message sent by a client;
the extraction module is used for extracting the characteristic characters of the URL in the HTTP request message;
the determining module is used for determining a pushing category according to the characteristic characters and a preset classification library;
determining a push category according to the characteristic character and a preset category library, wherein the step of determining the push category comprises the following steps:
calling a pattern matching engine, and acquiring a matching result matched with the characteristic character in a preset classification library through the pattern matching engine;
determining a pushing type according to the matching result;
the determining the push category according to the matching result includes:
counting the number of the matching results, and determining a target matching result;
analyzing the target matching result to obtain a pushing type;
the counting the number of the matching results and determining the target matching result comprises:
counting the number of the matching results;
if the number of the matching results is unique, taking the unique matching result as a target matching result;
if the number of the matching results is not unique, comparing the URL in each matching result with the URL in the HTTP request message, and taking the matching result where the URL which is successfully compared is located as a target matching result;
and the sending module is used for sending the pushing type to a pushing server so that the pushing server sends corresponding pushing information to the client according to the pushing type.
CN201910250130.3A 2019-03-29 2019-03-29 Information pushing method and device Active CN110266746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910250130.3A CN110266746B (en) 2019-03-29 2019-03-29 Information pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910250130.3A CN110266746B (en) 2019-03-29 2019-03-29 Information pushing method and device

Publications (2)

Publication Number Publication Date
CN110266746A CN110266746A (en) 2019-09-20
CN110266746B true CN110266746B (en) 2022-04-29

Family

ID=67913450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910250130.3A Active CN110266746B (en) 2019-03-29 2019-03-29 Information pushing method and device

Country Status (1)

Country Link
CN (1) CN110266746B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379029A (en) * 2022-10-27 2022-11-22 北京六方云信息技术有限公司 Message identification method and device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655868A (en) * 2009-09-03 2010-02-24 中国人民解放军信息工程大学 Network data mining method, network data transmitting method and equipment
CN102917057A (en) * 2012-10-19 2013-02-06 北京奇虎科技有限公司 Individualized application pushing system and method
CN103929350A (en) * 2013-01-16 2014-07-16 阿里巴巴集团控股有限公司 Information pushing method, device and system
CN106506572A (en) * 2015-09-07 2017-03-15 深圳触云科技有限公司 The method that router and router push local information
CN109150997A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Internet behavior monitoring method, device, terminal device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120109665A (en) * 2011-03-23 2012-10-08 삼성전자주식회사 Method, apparatus and system for information push service based on wirless lan access point
WO2014085952A1 (en) * 2012-12-03 2014-06-12 华为技术有限公司 Policy processing method and network device
CN103268360A (en) * 2013-06-06 2013-08-28 百度在线网络技术(北京)有限公司 Search engine as well as method and system for recommending film and television videos by virtue of search engine
CN103763358B (en) * 2014-01-08 2018-01-16 北京奇虎科技有限公司 The method for pushing and device of a kind of information
CN104270429B (en) * 2014-09-19 2017-12-08 北京奇虎科技有限公司 A kind of method and apparatus for pushing VAS application -to-terminal service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655868A (en) * 2009-09-03 2010-02-24 中国人民解放军信息工程大学 Network data mining method, network data transmitting method and equipment
CN102917057A (en) * 2012-10-19 2013-02-06 北京奇虎科技有限公司 Individualized application pushing system and method
CN103929350A (en) * 2013-01-16 2014-07-16 阿里巴巴集团控股有限公司 Information pushing method, device and system
CN106506572A (en) * 2015-09-07 2017-03-15 深圳触云科技有限公司 The method that router and router push local information
CN109150997A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Internet behavior monitoring method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN110266746A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
US20140215631A1 (en) Method and system for monitoring webpage malicious attributes
CN102098234A (en) Method and device for providing target content based on hyperlink in instant communication message
EP2408166A1 (en) Filtering method, system and network device therefor
CN105142146B (en) Authentication method, device and system for WIFI hotspot access
JP6014967B2 (en) Authentication server and authentication method using authentication server
US20090100169A1 (en) Network bookmarking based on network traffic
CN108768921B (en) Malicious webpage discovery method and system based on feature detection
US20150222649A1 (en) Method and apparatus for processing a webpage
CN111008405A (en) Website fingerprint identification method based on file Hash
WO2020206660A1 (en) Network resource request method and apparatus, electronic device and storage medium
WO2016188029A1 (en) Method and device for parsing two-dimensional code, computer readable storage medium, computer program product and terminal device
CN113810381B (en) Crawler detection method, web application cloud firewall device and storage medium
CN104023046B (en) Mobile terminal recognition method and device
CN103455600A (en) Video URL (Uniform Resource Locator) grabbing method and device and server equipment
CN110266746B (en) Information pushing method and device
US7971054B1 (en) Method of and system for real-time form and content classification of data streams for filtering applications
CN102098328B (en) Method and equipment for correlating hypertext transport protocol (HTTP) streams
CN108696561B (en) Resource pushing method and device
CN108664493B (en) Method and device for counting validity of URL (Uniform resource locator), electronic equipment and storage medium
US20090055931A1 (en) Device and method for detecting vulnerability of web server using multiple search engines
US20160277430A1 (en) System and method for detecting mobile cyber incident
KR20140126633A (en) Method and appratus for detecting malicious message
CN114760216B (en) Method and device for determining scanning detection event and electronic equipment
CN109032723A (en) A kind of interface jump method, device and equipment
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card

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