CN106777403B - Information pushing method and device - Google Patents

Information pushing method and device Download PDF

Info

Publication number
CN106777403B
CN106777403B CN201710192143.0A CN201710192143A CN106777403B CN 106777403 B CN106777403 B CN 106777403B CN 201710192143 A CN201710192143 A CN 201710192143A CN 106777403 B CN106777403 B CN 106777403B
Authority
CN
China
Prior art keywords
information
piece
release time
webpage
pushing
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
CN201710192143.0A
Other languages
Chinese (zh)
Other versions
CN106777403A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710192143.0A priority Critical patent/CN106777403B/en
Publication of CN106777403A publication Critical patent/CN106777403A/en
Application granted granted Critical
Publication of CN106777403B publication Critical patent/CN106777403B/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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (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 the method comprises the following steps: acquiring at least one piece of information in a webpage indicated by a preset website, and extracting the release time of each piece of information in the at least one piece of information; determining whether configuration information of the webpage exists locally or not, wherein the configuration information of the webpage comprises target information, and the target information is information obtained in advance and obtained at the end of the release time in the webpage indicated by the preset website; in response to determining that the configuration information exists locally, further determining information of the at least one piece of information, the release time of which is after the release time of the target information, and pushing at least one piece of the determined information. The embodiment of the application can avoid pushing a large amount of repeated information, so that the information can be accurately and efficiently pushed.

Description

Information pushing method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to an information pushing method and device.
Background
In the internet era, a great deal of information is emerging on the internet every day. In the prior art, there are various methods for pushing information, but the pushing efficiency is low, and because there are a lot of repeated information on the internet, when information is obtained from the internet and pushed, a lot of repeated information is also pushed. Therefore, how to provide an accurate and efficient information push method is a problem to be solved urgently.
Disclosure of Invention
The present application aims to provide an improved information pushing method and apparatus to solve the technical problems mentioned in the above background section.
In a first aspect, an embodiment of the present application provides an information pushing method, including: acquiring at least one piece of information in a webpage indicated by a preset website, and extracting the release time of each piece of information in the at least one piece of information; determining whether configuration information of a webpage exists locally or not, wherein the configuration information of the webpage comprises target information, and the target information is information obtained in advance and indicating that the release time in the webpage indicated by a preset website is the last; in response to determining that the local presence configuration information is present, further determining information of the at least one piece of information having a publication time after the publication time of the target information, and pushing at least one of the determined information.
In some embodiments, after acquiring at least one piece of information in the webpage indicated by the preset website, the method further includes: and respectively storing each piece of information in at least one piece of information into a corresponding storage space, and establishing an index between the information and the storage space.
In some embodiments, determining whether configuration information for the web page exists locally comprises: and acquiring a configuration information path, and determining whether the configuration information of the webpage exists locally or not according to the configuration information path.
In some embodiments, the publication time includes a publication date; and the method further comprises: and in response to determining that the configuration information of the webpage does not exist locally, acquiring information with the last release time from the at least one piece of information, determining information which is the same as the release date of the information with the last release time in the at least one piece of information as the information to be pushed, and pushing the information to be pushed.
In some embodiments, each piece of information in the at least one piece of information has a title; and further determining information of which the release time is after the release time of the target information in the at least one piece of information, and pushing at least one piece of the determined information, including: further determining information of which the release time is after the release time of the target information in the at least one piece of information; performing word segmentation on the determined titles of all the information, and determining the keywords of all the titles; at least two pieces of information with the same keywords of the title are searched, and one piece of information is pushed.
In a second aspect, the present application provides an information pushing apparatus, including: the acquisition unit is configured to acquire at least one piece of information in a webpage indicated by a preset website and extract the release time of each piece of information in the at least one piece of information; the system comprises a determining unit and a processing unit, wherein the determining unit is configured to determine whether configuration information of a webpage exists locally, the configuration information of the webpage comprises target information, and the target information is information that release time in the webpage indicated by a preset website is last and is acquired in advance; and the pushing unit is configured to respond to the determination of the local existence configuration information, further determine information of which the release time is after the release time of the target information in the at least one piece of information, and push the at least one piece of determined information.
In some embodiments, the apparatus further comprises: and the storage unit is configured to store each piece of information in the at least one piece of information into the corresponding storage space respectively, and establish an index between the information and the storage space.
In some embodiments, the determining unit is further configured to: and acquiring a configuration information path, and determining whether the configuration information of the webpage exists locally or not according to the configuration information path.
In some embodiments, the publication time includes a publication date; and the apparatus further comprises: and the information pushing unit is configured to acquire information with the last release time from at least one piece of information in response to the fact that the configuration information of the webpage does not exist locally, determine information with the same release date as the information with the last release time in the at least one piece of information as the information to be pushed, and push the information to be pushed.
In some embodiments, each piece of information in the at least one piece of information has a title; and the pushing unit includes: a further determination unit that further determines information of which the distribution time is after the distribution time of the target information, from among the at least one piece of information; a keyword determining unit configured to segment the determined titles of the pieces of information and determine keywords of the titles; and the searching unit is used for configuring at least two pieces of information with the same keyword for searching the title and pushing one piece of information.
According to the information pushing method and device provided by the embodiment of the application, at least one piece of information in a webpage indicated by a preset website is obtained, the release time of each piece of information in the at least one piece of information is extracted, whether the configuration information of the webpage exists locally or not is determined, wherein the configuration information of the webpage comprises target information, the target information is information which is obtained in advance and has the last release time in the webpage indicated by the preset website, and finally, the information which has the release time after the release time of the target information in the at least one piece of information is further determined in response to the determination of the local configuration information, and at least one piece of the determined information is pushed, so that a large amount of repeated information can be prevented from being pushed, and information pushing can be accurately and efficiently performed.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of an information push method according to the present application;
FIG. 3 is a schematic diagram of an application scenario of an information push method according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of an information push method according to the present application;
FIG. 5 is a flow diagram of yet another embodiment of an information push method according to the present application;
FIG. 6 is a flow diagram of yet another embodiment of an information push method according to the present application;
FIG. 7 is a schematic diagram of an embodiment of an information pushing device according to the present application;
FIG. 8 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the information pushing method or information pushing apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication terminal applications installed thereon, such as an information browser application, a shopping application, a search application, an instant messaging tool, a mailbox terminal, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture experts Group Audio L layer III, mpeg compression standard Audio layer 3), MP4 players (Moving Picture experts Group Audio L layer IV, mpeg compression standard Audio layer 4), laptop and desktop computers, and the like.
The server 105 may be a server that provides various services, such as a background information push server that provides data processing for web pages displayed on the terminal devices 101, 102, 103. The background information push server can analyze and process the received data and feed back the processing result to the terminal equipment.
It should be noted that the information pushing method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the information pushing apparatus is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information push method according to the present application is shown. The information pushing method comprises the following steps:
step 201, at least one piece of information in a webpage indicated by a preset website is obtained, and the release time of each piece of information in the at least one piece of information is extracted.
In this embodiment, the information is included in the webpage indicated by the preset website, and the electronic device (for example, the server shown in fig. 1) on which the information push method operates acquires one or more pieces of information in the webpage. Each piece of information has corresponding attribute information, and the distribution time of the information is stored in the attribute information of the information. After one or more pieces of information are acquired, the release time of each piece of information is extracted from the attribute information.
The preset website is a preset webpage address. The information existing on the webpage indicated by the preset website address can be massive, and the electronic equipment can acquire all information or part of information in the webpage. The information refers to information with timeliness and regionality, and can be various forms of information on a webpage, such as text information, picture information, audio information, video information and the like.
Step 202, determine whether there is configuration information of the web page locally.
In this embodiment, the electronic device determines whether configuration information exists locally, where the configuration information is configuration information of a webpage having at least one piece of information, and the configuration information includes target information, where the target information is information that publication time in a webpage indicated by a preset website acquired in advance is the last. If the target information is found locally, the configuration information of the locally existing webpage can be determined.
The previously acquired information may refer to information obtained in a previous acquisition process of the current acquisition process, that is, information acquired from a history web page indicated by a preset web address. The target information is a piece of information obtained by the electronic device when the electronic device performs previous acquisition and written in the configuration information. In addition, the target information is the information of which the distribution time is the last in the previously acquired information, so that the target information can be used as the reference information for performing the current acquisition, and the acquisition of the repeated information is avoided.
In some optional implementations of this embodiment, the release time of each piece of information includes a release date.
The information is usually published on the web page according to a certain sequence, for example, the information can be sorted according to the publication time sequence, and the information after the publication time is placed at the head so as to attract the attention of the user. The ranking may also be done using a variety of conditions, such as potential attention, importance, and publication time. The values of the potential attention degree, the importance degree and the release time can be artificially limited, wherein the potential attention degree refers to the attention degree of the user, which may be caused by the information. Weights can be set for the potential attention degree, the importance degree and the release time, and then the arrangement sequence of the information on the webpage is determined according to the weights and the values.
If at least one piece of information on the web page is sorted according to the publishing time, even if the publishing time in the attribute information only comprises the publishing date, the information that the publishing time is the last in the web page can be directly determined.
In addition, the publication time may also include the time of publication.
Step 203, responding to the local existence configuration information, further determining information of which the release time is after the release time of the target information in the at least one piece of information, and pushing at least one piece of determined information.
In this embodiment, if the electronic device determines whether the configuration information of the web page exists locally, the electronic device determines that the configuration information exists locally, and uses the target information as the information to be referred to in the acquisition, determines information whose distribution time is after the distribution time of the target information from at least one piece of information in the acquired web page, and pushes the determined information. All the information obtained by the determination may be pushed, or only part of the information may be pushed.
The electronic device may sequentially read the information in the time sequence of the distribution time from the last distributed information in the at least one piece of information, and stop reading the information if the target information is read or the information data of which the distribution time is before the distribution time of the target information is read.
Therefore, the information obtained by the method is the information which is not obtained in the previous acquisition, and the repeated acquisition of the information is avoided to a certain extent.
With continuing reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information push method according to the present embodiment. In the application scenario of fig. 3, a user first obtains 10 pieces of medical information in a medical web page indicated by a preset website, extracts the release time of each piece of medical information in the 10 pieces of medical information, and then determines whether the configuration information of the web page exists locally, where the configuration information of the web page includes target medical information, and the target medical information is medical information which is obtained in advance and has the last release time in the web page indicated by the preset website; and finally, in response to determining that the configuration information exists locally, further determining medical information of the 10 pieces of medical information, wherein the release time of the medical information is after the release time of the target medical information, and pushing the determined medical information to a retrieval engine to enable the terminal to retrieve and display the medical information as shown in fig. 3.
The method provided by the above embodiment of the present application can avoid pushing a large amount of repeated information by determining and pushing information of which the release time is after the release time of the target information in at least one piece of information, thereby accurately and efficiently pushing information.
With further reference to fig. 4, a flow 400 of yet another embodiment of an information push method is shown. The process 400 of the information pushing method includes the following steps:
step 401, at least one piece of information in a webpage indicated by a preset website is acquired.
In this embodiment, the web page indicated by the preset website includes information, and the server on which the information push method operates obtains one or more pieces of information in the web page.
Step 402, extracting the publishing time of each piece of information in at least one piece of information.
In this embodiment, each piece of information has its corresponding attribute information, and the distribution time of the information is stored in the attribute information of the information. The server may extract the distribution time of each piece of information from the attribute information after acquiring the one or more pieces of information.
Step 403, storing each piece of information in at least one piece of information into a corresponding storage space, and establishing an index between the information and the storage space.
In this embodiment, each piece of information in the at least one piece of information has a respective storage space, and the server may store each piece of information in the corresponding storage space, and then establish an index of the information and the storage space.
Arrays can be established in the storage space, each array has a specified number of array elements, for example, the obtained information in each web page can be put into an array, and each piece of information can be stored in an array element. Thereafter, an index of the information and corresponding array elements may be established.
Step 404, obtaining the configuration information path, and determining whether the configuration information of the web page exists locally according to the configuration information path.
In this embodiment, the server obtains a configuration information path of the configuration information, and then locally searches for the configuration information according to the obtained configuration information path to determine whether the configuration information can be found. The configuration information path is a path of the configuration information, the path leads to a local storage space of the configuration information, and the configuration information can be found through the configuration information path.
Step 405, in response to determining that the local presence configuration information exists, further determining information of the at least one piece of information, the release time of which is after the release time of the target information, and pushing at least one piece of the determined information.
In this embodiment, if the result of the server determining whether the configuration information of the web page exists locally is: if the configuration information exists locally, the target information is used as the information referred to in the current acquisition, the information with the release time after the release time of the target information is determined from at least one piece of acquired information in the webpage, and the determined information is pushed.
According to the embodiment, each piece of information can be quickly and accurately found by establishing the index for the information and the storage space, and the information can be conveniently deleted subsequently.
With further reference to fig. 5, a flow 500 of yet another embodiment of an information push method is shown. The process 500 of the information pushing method includes the following steps:
step 501, at least one piece of information in a webpage indicated by a preset website is obtained, and the release time of each piece of information in the at least one piece of information is extracted.
In this embodiment, the server includes information in a webpage indicated by the preset website, and the server on which the information push method operates obtains one or more pieces of information in the webpage. Each piece of information has corresponding attribute information, and the distribution time of the information is stored in the attribute information of the information. After one or more pieces of information are acquired, the release time of each piece of information is extracted from the attribute information.
Step 502, determine whether there is configuration information of the web page locally.
In this embodiment, the server determines whether configuration information exists locally, where the configuration information is configuration information of a webpage having at least one piece of information, and the configuration information includes target information, where the target information is information that a release time in a webpage indicated by a preset website acquired in advance is last. If the target information is found locally, the configuration information of the locally existing webpage can be determined.
Step 503, in response to determining that the configuration information of the webpage does not exist locally, acquiring information with the last release time from the at least one piece of information, determining information with the same release date as the information with the last release time in the at least one piece of information as the information to be pushed, and pushing the information to be pushed.
In this embodiment, in response to determining that there is no configuration information of a web page including at least one piece of information locally, the server acquires information with the last release time from the at least one piece of information, acquires information with the same release date as the information with the information as a reference, and then performs pushing.
If the configuration information is not acquired, the latest date information is acquired, and the latest date information is the current day information. And then writing the last information of the release time in the obtained information into the configuration information.
According to the scheme in the embodiment, the server can deal with the situations that the information of the webpage indicated by the preset website is acquired for the first time or the configuration information is wrong and the like, and the server is ensured to acquire the latest information.
With further reference to fig. 6, a flow 600 of yet another embodiment of an information push method is shown. The process 600 of the information pushing method includes the following steps:
step 601, obtaining at least one piece of information in a webpage indicated by a preset website, and extracting the release time of each piece of information in the at least one piece of information.
In this embodiment, the server includes information in a webpage indicated by the preset website, and the server on which the information push method operates obtains one or more pieces of information in the webpage. Each piece of information has corresponding attribute information, and the distribution time of the information is stored in the attribute information of the information. After one or more pieces of information are acquired, the release time of each piece of information is extracted from the attribute information.
Step 602, determine whether there is configuration information of the web page locally.
In this embodiment, the server determines whether configuration information exists locally, where the configuration information is configuration information of a webpage having at least one piece of information, and the configuration information includes target information, where the target information is information that a release time in a webpage indicated by a preset website acquired in advance is last. If the target information is found locally, the configuration information of the locally existing webpage can be determined.
Step 603, in response to determining that the configuration information exists locally, further determining information of the at least one piece of information, the publishing time of which is after the publishing time of the target information.
In this embodiment, if the server determines whether the configuration information of the web page exists locally, the server determines that the configuration information exists locally, and determines information whose distribution time is after the distribution time of the target information from at least one piece of information in the acquired web page, with the target information being information referred to at the time of acquisition.
And step 604, segmenting the determined titles of the information and determining the keywords of the titles.
In the present embodiment, each piece of information in at least one piece of information has a title. The server cuts the word of the title of each piece of information obtained by determination, and a plurality of keywords can be obtained. The similarity of keywords of a topic may represent the similarity of the content of information, and it may be determined whether the content of information is the same or similar by comparing the keywords.
Step 605, at least two pieces of information with the same keyword of the title are searched, and one piece of information is pushed.
In this embodiment, if there are two or more pieces of information whose titles have the same keyword, it indicates that the contents of these pieces of information are the same or similar, and one of these pieces of information is selected for pushing.
A lot of repeated information exists on the Internet, the information can be removed in duplicate first, namely one of the repeated information is selected for pushing, and then the problem of repeated pushing is avoided.
With further reference to fig. 7, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of an information pushing apparatus, which corresponds to the embodiment of the method shown in fig. 2, and which can be applied in various electronic devices.
As shown in fig. 7, the information pushing apparatus 700 of the present embodiment includes: an acquisition unit 701, a determination unit 702, and a push unit 703. The acquiring unit 701 is configured to acquire at least one piece of information in a webpage indicated by a preset website, and extract a release time of each piece of information in the at least one piece of information; a determining unit 702, configured to determine whether configuration information of a web page exists locally, where the configuration information of the web page includes target information, and the target information is information that release time in a web page indicated by a previously acquired preset website is the last information; a pushing unit 703 configured to, in response to determining that the configuration information exists locally, further determine information, of the at least one piece of information, whose publication time is after the publication time of the target information, and push the at least one piece of determined information.
In this embodiment, the obtaining unit 701 of the information pushing apparatus 700 obtains one or more pieces of information in the web page. Each piece of information has corresponding attribute information, and the distribution time of the information is stored in the attribute information of the information. After one or more pieces of information are acquired, the release time of each piece of information is extracted from the attribute information.
In this embodiment, the determining unit 702 determines whether configuration information exists locally, where the configuration information is configuration information of a web page having at least one piece of information, and target information is included in the configuration information, where the target information is information that is obtained in advance and has the last release time in the web page indicated by the preset web address. If the target information is found locally, the configuration information of the locally existing webpage can be determined.
In this embodiment, if the determining unit 702 determines whether the configuration information of the web page exists locally, as a result, the configuration information exists locally, the pushing unit 703 regards the target information as information to be referred to in acquisition, determines, from at least one piece of information in the acquired web page, information whose distribution time is after the distribution time of the target information, and pushes the determined information.
In some optional implementations of this embodiment, the information pushing apparatus 700 further includes: and a storage unit (not shown) configured to store each piece of information in the at least one piece of information into the corresponding storage space, and to establish an index between the information and the storage space.
In some optional implementations of this embodiment, the determining unit 702 is further configured to: and acquiring a configuration information path, and determining whether the configuration information of the webpage exists locally or not according to the configuration information path.
In some optional implementations of this embodiment, the release time includes a release date; and the information pushing device 700 further comprises: and a push information-to-be-pushed unit (not shown) configured to, in response to determining that the configuration information of the web page does not exist locally, acquire information of which the release time is last from the at least one piece of information, determine information of which the release date is the same as the release date of the information of which the release time is last as the information-to-be-pushed from the at least one piece of information, and push the information-to-be-pushed.
In some optional implementations of this embodiment, each piece of information in the at least one piece of information has a title; and the information pushing device 700 further comprises: a keyword determination unit (not shown) configured to perform word segmentation on the determined titles of the pieces of information, and determine keywords of the titles; and the searching unit is used for configuring at least two pieces of information with the same keyword for searching the title and pushing one piece of information.
Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use in implementing a server according to embodiments of the present application. The server shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
FIG. 8 illustrates a schematic structural diagram of a computer system suitable for use in implementing a server according to embodiments of the present application. As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
To the I/O interface 805, AN input section 806 including a keyboard, a mouse, and the like, AN output section 807 including a network interface card such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 808 including a hard disk, and the like, and a communication section 809 including a network interface card such as a L AN card, a modem, and the like are connected, the communication section 809 performs communication processing via a network such as the internet, a drive 810 is also connected to the I/O interface 805 as necessary, a removable medium 811 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted into the storage section 808 as.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 801. It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a determination unit, and a push unit. Here, the names of the units do not constitute a limitation to the unit itself in some cases, and for example, the acquiring unit may also be described as a "unit that acquires at least one piece of information in a web page indicated by a preset web address".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: acquiring at least one piece of information in a webpage indicated by a preset website, and extracting the release time of each piece of information in the at least one piece of information; determining whether configuration information of a webpage exists locally or not, wherein the configuration information of the webpage comprises target information, and the target information is information obtained in advance and indicating that the release time in the webpage indicated by a preset website is the last; in response to determining that the local presence configuration information is present, further determining information of the at least one piece of information having a publication time after the publication time of the target information, and pushing at least one of the determined information.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. An information pushing method, comprising:
acquiring at least one piece of information in a webpage indicated by a preset website, and extracting the release time of each piece of information in the at least one piece of information, wherein the release time comprises a release date;
determining whether configuration information of the webpage exists locally or not, wherein the configuration information of the webpage comprises target information, and the target information is information obtained in advance and obtained at the end of the release time in the webpage indicated by the preset website;
in response to determining that the configuration information exists locally, further determining information, of the at least one piece of information, of which the release time is after the release time of the target information, and pushing at least one piece of the determined information;
the method further comprises the following steps:
and in response to determining that the configuration information of the webpage does not exist locally, acquiring information with the last release time from the at least one piece of information, determining information with the same release date as that of the information with the last release time in the at least one piece of information as the information to be pushed, and pushing the information to be pushed.
2. The pushing method according to claim 1, wherein after the obtaining at least one piece of information in the webpage indicated by the preset website, the method further comprises:
and respectively storing each piece of information in the at least one piece of information into a corresponding storage space, and establishing an index between the information and the storage space.
3. The push method according to one of claims 1 to 2, wherein the determining whether the configuration information of the web page exists locally comprises:
and acquiring a configuration information path, and determining whether the configuration information of the webpage exists locally or not according to the configuration information path.
4. The push method according to claim 1, wherein each of the at least one piece of information has a header; and
the further determining information of the at least one piece of information, the release time of which is after the release time of the target information, and pushing at least one piece of the determined information includes:
further determining information of the at least one piece of information, wherein the release time is after the release time of the target information;
performing word segmentation on the determined titles of all the information, and determining the keywords of all the titles;
at least two pieces of information with the same keywords of the title are searched, and one piece of information is pushed.
5. An information pushing apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to acquire at least one piece of information in a webpage indicated by a preset website and extract the release time of each piece of information in the at least one piece of information, and the release time comprises a release date;
the determining unit is configured to determine whether configuration information of the webpage exists locally, wherein the configuration information of the webpage includes target information, and the target information is information obtained in advance and indicating that the release time in the webpage indicated by the preset website is the last;
the pushing unit is configured to respond to the determination that the configuration information exists locally, further determine information, of the at least one piece of information, of which the release time is after the release time of the target information, and push at least one piece of the determined information;
the device further comprises:
and the information pushing unit to be pushed is configured to respond to the fact that the configuration information of the webpage does not exist locally, acquire information with the last release time from the at least one piece of information, determine information with the same release date as the information with the last release time in the at least one piece of information as the information to be pushed, and push the information to be pushed.
6. The pushing device of claim 5, wherein the device further comprises:
and the storage unit is configured to store each piece of information in the at least one piece of information into a corresponding storage space respectively, and establish an index between the information and the storage space.
7. The push device according to one of claims 5 to 6, wherein the determining unit is further configured to:
and acquiring a configuration information path, and determining whether the configuration information of the webpage exists locally or not according to the configuration information path.
8. The push device of claim 5, wherein each of the at least one piece of information has a header; and
the pushing unit includes:
a further determination unit that further determines information of which a distribution time is later than a distribution time of the target information, from among the at least one piece of information;
a keyword determining unit configured to segment the determined titles of the pieces of information and determine keywords of the titles;
and the searching unit is used for configuring at least two pieces of information with the same keyword for searching the title and pushing one piece of information.
9. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201710192143.0A 2017-03-28 2017-03-28 Information pushing method and device Active CN106777403B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710192143.0A CN106777403B (en) 2017-03-28 2017-03-28 Information pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710192143.0A CN106777403B (en) 2017-03-28 2017-03-28 Information pushing method and device

Publications (2)

Publication Number Publication Date
CN106777403A CN106777403A (en) 2017-05-31
CN106777403B true CN106777403B (en) 2020-07-28

Family

ID=58966577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710192143.0A Active CN106777403B (en) 2017-03-28 2017-03-28 Information pushing method and device

Country Status (1)

Country Link
CN (1) CN106777403B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279960A (en) * 2010-06-12 2011-12-14 上海丫丫信息科技有限公司 User-element-containing advertisement publish control method and system
CN103533042A (en) * 2013-10-10 2014-01-22 北京奇虎科技有限公司 Position-based information publishing method and device
CN104301203A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Message pushing method and equipment
CN105069102A (en) * 2015-08-03 2015-11-18 百度在线网络技术(北京)有限公司 Information push method and apparatus
CN106372204A (en) * 2016-08-31 2017-02-01 北京小米移动软件有限公司 Push message processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070214430A1 (en) * 2006-03-07 2007-09-13 Coutts Daryl D Textpane for pushed and pulled information on a computing device
US20080022224A1 (en) * 2006-03-07 2008-01-24 Marengo Intellectual Property Ltd. Pushed and pulled information display on a computing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279960A (en) * 2010-06-12 2011-12-14 上海丫丫信息科技有限公司 User-element-containing advertisement publish control method and system
CN103533042A (en) * 2013-10-10 2014-01-22 北京奇虎科技有限公司 Position-based information publishing method and device
CN104301203A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Message pushing method and equipment
CN105069102A (en) * 2015-08-03 2015-11-18 百度在线网络技术(北京)有限公司 Information push method and apparatus
CN106372204A (en) * 2016-08-31 2017-02-01 北京小米移动软件有限公司 Push message processing method and device

Also Published As

Publication number Publication date
CN106777403A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN107679211B (en) Method and device for pushing information
CN107172151B (en) Method and device for pushing information
CN108804450B (en) Information pushing method and device
US20180365257A1 (en) Method and apparatu for querying
CN107885873B (en) Method and apparatus for outputting information
CN110262807B (en) Cluster creation progress log acquisition system, method and device
CN106919711B (en) Method and device for labeling information based on artificial intelligence
CN105786969B (en) Information display method and device
CN107679119B (en) Method and device for generating brand derivative words
CN110413872B (en) Method and device for displaying information
CN107480205B (en) Method and device for partitioning data
US20180210961A1 (en) Information search method and apparatus
CN107908662B (en) Method and device for realizing search system
US11423096B2 (en) Method and apparatus for outputting information
CN109862100B (en) Method and device for pushing information
CN110020312B (en) Method and device for extracting webpage text
CN104462590A (en) Information searching method and device
CN110750707A (en) Keyword recommendation method and device and electronic equipment
CN110245357B (en) Main entity identification method and device
CN110110184B (en) Information inquiry method, system, computer system and storage medium
CN109472028B (en) Method and device for generating information
CN107483595B (en) Information pushing method and device
CN107273362B (en) Data processing method and apparatus thereof
CN107920100B (en) Information pushing method and device
CN106777403B (en) Information pushing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant