WO2024061060A1 - Information pushing method, electronic device, and storage medium - Google Patents

Information pushing method, electronic device, and storage medium Download PDF

Info

Publication number
WO2024061060A1
WO2024061060A1 PCT/CN2023/118398 CN2023118398W WO2024061060A1 WO 2024061060 A1 WO2024061060 A1 WO 2024061060A1 CN 2023118398 W CN2023118398 W CN 2023118398W WO 2024061060 A1 WO2024061060 A1 WO 2024061060A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
event
electronic device
user
server
Prior art date
Application number
PCT/CN2023/118398
Other languages
French (fr)
Chinese (zh)
Inventor
余淼
徐立凯
Original Assignee
花瓣云科技有限公司
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 花瓣云科技有限公司 filed Critical 花瓣云科技有限公司
Publication of WO2024061060A1 publication Critical patent/WO2024061060A1/en

Links

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
    • 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

Definitions

  • Embodiments of the present application relate to the field of information processing technology, and in particular, to an information push method, electronic device, and storage medium.
  • Embodiments of the present application provide an information push method, electronic device, and storage medium, which can push follow-up reports of information in a timely manner with high real-time performance.
  • inventions of the present application provide an information push method.
  • the execution subject that executes the method may be an electronic device or a chip in the electronic device.
  • the following description takes the electronic device as an example.
  • the electronic device displays the details page of the first information in response to the user's first operation, and the first operation is used to trigger the electronic device to display the details page of the first information.
  • the details page of the first information is used to display the first information, which can include text, pictures, videos and other content.
  • the electronic device may output first prompt information, and the first prompt information is used to prompt the user to pay attention to subsequent reports of the first information.
  • the user pays attention to the follow-up reports of the first information
  • the second information is pushed, and the second information is the follow-up reports of the first information.
  • the electronic device when a user is reading the first information, the electronic device can actively prompt the user to pay attention to the follow-up reports of the first information. In this way, when there is a follow-up report on the first information, that is, when there is a second information, the electronic device can push it to the user in a timely manner, and the user can read the follow-up report of the first information in a timely manner.
  • the real-time performance is high, which can improve the user experience.
  • the electronic device when the user reads the first information, the electronic device may be mistakenly triggered to display the details page of the first information, or the user may not be interested in subsequent reports of the first information, that is, the user does not want to pay attention to the first information.
  • the electronic device will display the first prompt message to remind the user to pay attention to the follow-up reports of the first news. Frequent reminders will result in poor user experience.
  • the electronic device when the first information is included in the event context of the event context database, the electronic device can also determine the user's focus on the event context based on the user's reading data of the first information. When the first information is described, the first prompt information is output. In this way, the electronic device determines that the user pays attention to the first information, and the user also needs to pay attention to subsequent reports of the first information. In this case, the electronic device outputs the first prompt information, which can provide effective prompts without affecting the user experience.
  • the user's reading data of the first information may include at least one of the following: reading duration, page operation behavior, and whether the reading is complete.
  • reading duration e.g., taking the reading data of the first information including "whether to read it completely"
  • the electronic device can determine that the user is paying attention to the first information.
  • the electronic device may determine that the user does not pay attention to the first information, and may not output the first prompt information.
  • the electronic device may also determine whether the user pays attention to the first information based on the user's reading data of the first information and the user portrait.
  • user portraits may include but are not limited to: the user's age, job, type of information historically read, and types of information published by information publishers that the user follows, etc. For example, if the type of information published by the information publisher that the user is concerned about is entertainment, and the reading data of the first information includes "whether it has been read completely", if the type of the first information is also entertainment, and the user By reading the first information completely, the electronic device can determine that the user pays attention to the first information. When the user has not fully read the The type of information or the first information is not entertainment type, and the electronic device can determine that the user does not pay attention to the first information.
  • the electronic device may first detect whether the user pays attention to the first information by combining the user's reading data of the first information, or combining the user's reading data of the first information and the user portrait.
  • the electronic device can output the first prompt information to prompt the user to pay attention to subsequent reports of the first information. This can provide effective prompts without affecting the user experience.
  • the event context includes at least two events, each event corresponds to at least one piece of information, and the content of the at least one piece of information is related to the same event.
  • the first information can be regarded as included in the event context of the event context database.
  • the electronic device can store an event context database, and the electronic device can detect that the content in the first information is related to the events in the event context database, so as to detect whether the first information is included in the events in the event context database. In the context.
  • the event context database will occupy a lot of memory of the electronic device.
  • the event context database is stored in the server, and the electronic device can request the first information from the server. Whether it is included in the event context of the event context database.
  • the electronic device can send the relevant information of the first information to the server.
  • the relevant information of the first information can represent the text semantics (main content) of the first information.
  • the relevant information of the first information is as follows The content of the first information.
  • the server can query the event context of the event context database to detect whether the first information is included in the event context of the event context database.
  • the server may send a first message to the electronic device, and the first message is used to indicate that the first information is included in the event context of the event context database. middle.
  • the electronic device determines that the first information is included in the event context of the event context database.
  • the server may send a second message to the electronic device, and the second message is used to indicate that the first information is not included in the event context database. in the context of events.
  • the electronic device determines that the first information is not included in the event context of the event context database.
  • the electronic device in order to reduce the size of data exchanged between the electronic device and the server, can reduce the bandwidth occupied by the related information of the first information as much as possible when sending the related information of the first information to the server.
  • the relevant information of the first information includes: the ID of the first information; or, the relevant information of the first information includes: the title of the first information; or, the relevant information of the first information Including: core words and keywords of the first information.
  • the ID of the first information may be: assigned by the server to the first information when acquiring the first information.
  • the server may detect whether there is information that is the same as the ID of the first information in the information ID corresponding to the event in the event context of the event context database. If the information ID corresponding to the event contains the same information as the ID of the first information, the electronic device determines that the first information is included in the event context of the event context database. If the information ID corresponding to the event does not contain information that is the same as the ID of the first information, the electronic device determines that the first information is not included in the event context of the event context database.
  • the server may detect whether there is information that is the same as the title of the first information in the information corresponding to the event in the event context of the event context database. If the information corresponding to the event contains information that is the same as the title of the first information, the electronic device can determine that the first information is included in the event context of the event context database. If the information corresponding to the event does not contain information that is the same as the title of the first information, the electronic device may determine that the first information is not included in the event context of the event context database.
  • each event in the event context of the event context database corresponds to a core word and a keyword
  • the relevant information of the first information includes: the core word and keyword of the first information. If the core words and keywords corresponding to the events in the event context database are the same as the core words and keywords of the first information, the server can determine that the first information is included in the event context database. In the context. If the core words and keywords corresponding to the event are not the same as the core words and keywords of the first information, the server may determine that the first information is not included in the event context of the event context database.
  • the event context of the event context database is generated and updated by the server.
  • the server pushes the first information to the electronic device, it can detect whether the first information is included in the event context of the event context database.
  • the server can carry an identifier representing that the first information is included in the event context of the event context database when pushing the first information to the electronic device, so that the electronic device can determine whether the first information is included in the event context according to the identifier.
  • the event context of the network database there is no need to query by yourself or request the server to query, which is easy to operate and efficient.
  • the electronic device can also send the identification of the electronic device to the server, so that when the server determines that there is a follow-up report of the first information, that is, when the second information exists, it can accurately report the second information. 2. Push information to electronic devices.
  • the electronic device may display a detail page of the second information so that the user can read the second information.
  • the electronic device can Second prompt information is output, and the second prompt information is used to prompt the user that subsequent reports of the first information have been updated.
  • the electronic device displays the details page of the second information. If the electronic device does not detect the operation of the user agreeing to read the second information, the details page of the second information may not be displayed. This can prevent the electronic device from directly displaying the details page of the second information and cause trouble to the user, thereby improving the user experience. experience.
  • the electronic device when the electronic device outputs the second prompt information, it can determine an output mode of the second prompt information adapted to the state of the electronic device according to the state of the electronic device, and further output the second prompt information according to the output mode. Second prompt message.
  • the electronic device can output the second prompt information in a manner adapted to the output of the second prompt information adapted to the state of the electronic device, which can improve user experience.
  • inventions of the present application provide an information push method.
  • the execution subject for executing the method may be a server or a chip in the server.
  • the server may receive relevant information of the first information from the electronic device; according to If the relevant information of the first information is determined to be included in the event context of the event context database, a first message is sent to the electronic device, and the first message is used to indicate the first information. Included in the event context of the event context database.
  • the relevant information of the first information includes: the ID of the first information; or, the relevant information of the first information includes: the title of the first information; or, the The relevant information of the first information includes: the core words and keywords of the first information; the event context includes at least two events, each event corresponding to at least one piece of information.
  • the method when the relevant information of the first information includes: the ID of the first information, the method further includes: in the information ID corresponding to the event, detecting whether there is the same as the first information. Information with the same ID of a piece of information; if so, it is determined that the first information is included in the event context of the event context database.
  • the method when the relevant information of the first information includes: the title of the first information, the method further includes: in the information corresponding to the event, detecting whether there is the same as the first information. The information has the same title; if so, it is determined that the first information is included in the event context of the event context database.
  • each event corresponds to a core word and a keyword.
  • the relevant information of the first information includes: the core word and keyword of the first information
  • the method further includes: When there are core words and keywords corresponding to the event, which are the same as the core words and keywords of the first information, it is determined that the first information is included in the event context of the event context database.
  • the target event context is: an event context to which information with the same ID as the first information belongs, an event context to which information with the same title as the first information belongs, or an event context to which an event with the same core word and keyword as the first information belongs.
  • the method further includes: receiving an electronic device identifier from the electronic device; and correspondingly storing the identifier of the electronic device and the identifier of the target event context.
  • the method further includes: when the target event context is updated, sending second information to the electronic device according to the identification of the electronic device, where the second information is the Follow-up report from First News.
  • the server can obtain the information data, and cluster the information data within the preset window every preset time period to obtain at least one cluster.
  • the keywords of the information in each cluster are the same, or the text semantics of the information in each cluster are the same. same.
  • a target cluster is determined in the at least one cluster; an event or event context is generated according to the target cluster.
  • the server may use a cluster containing a quantity of information greater than a quantity threshold as a target cluster based on the quantity of information contained in the target cluster.
  • the server can obtain the core words and keywords of the target cluster.
  • the core words are entities
  • the keywords are words describing the entities.
  • the server can obtain events based on the core words and keywords of the target cluster, where the events include: the core words and keywords of the target cluster to which the events belong, as well as the publishing time, publisher, and publishing content of the events.
  • the server can also detect whether there is a correlation between events based on the core words and keywords of the events, and the semantics of the events. If there is a before-and-after correlation between events, the server can generate the above-mentioned The sequence of events. If there is a correlation between the events corresponding to the target cluster, the server can generate the event without generating the event context.
  • the server can continuously obtain information data and obtain new target clusters. Therefore, the server can obtain new events based on the core words and keywords of the event, as well as the semantics of the event, as well as the core words and keywords of the new event. , and the semantics of events to detect whether there is a correlation between events. If there is a correlation between events, the server can generate an event context if the server has already generated the event. If there is a correlation between events, the server can update the event context when the server has generated the event context.
  • the server can write the event context into the event context database, and the event context database is the event context database involved in the first aspect.
  • the event context database can be stored in the electronic device
  • the event context database can be generated by the electronic device or generated by the server and synchronized to the electronic device.
  • the server after the server generates the time, if there is no information report on the event within the second preset time period, that is, there is no subsequent report, the server can delete the event without information report to reduce the time occupied by the event. memory, or the server can mark the event for which no information report exists, so that when there is an information report for the event, the server can generate an event context based on the event and the information report in a timely manner.
  • embodiments of the present application provide an electronic device, which may include a processor and a memory.
  • the memory is used to store computer executable program codes, and the program codes include instructions; when the processor executes the instructions, the instructions cause the electronic device to perform the methods in the first aspect and the second aspect.
  • embodiments of the present application provide a computer program product containing instructions that, when run on a computer, cause the computer to execute the methods in the above first and second aspects.
  • an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the methods in the first and second aspects above.
  • Figure 1 is a schematic diagram of a sequence of events
  • Figure 2 is a schematic diagram of an interface for users to search for information
  • Figure 3 is a schematic diagram of the system architecture applicable to the information push method provided by the embodiment of the present application.
  • FIG4 is a flow chart of a server generating event context according to an embodiment of the present application.
  • Figure 5 is another schematic flowchart of a server-generated event context provided by an embodiment of the present application.
  • Figure 6A is a schematic flow chart of an embodiment of the information pushing method provided by the embodiment of the present application.
  • Figure 6B is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application.
  • Figure 7 is a schematic interface diagram of information push provided by an embodiment of the present application.
  • Figure 8 is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application.
  • Figure 9 is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application.
  • Figure 10 is a schematic diagram of the internal structure of the server and electronic equipment provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • Event can be understood as a topic. Examples include banana production increase events, new mobile phone release events, etc.
  • Reports about an event can be called information.
  • Information can include text, pictures, videos, voices, etc.
  • the content contained in the information is related to the events reported in the information.
  • Event context Continuous reporting around events.
  • the event context regarding the banana production increase event refers to some reports on the banana production increase and the follow-up reports of the banana production increase.
  • This event context may include: the banana production increase event on July 1, and the banana sales on July 3. to events in various places, as well as the completion of banana sales on July 30.
  • the context of events is represented in the form of text as an example.
  • the context of events can also be represented in the form of a combination of pictures, text, voice, etc., and the embodiment of the present application is not limited to this.
  • Entity something that exists objectively. Entities can include but are not limited to: characters, objects, etc. Entities such as fruits, mobile phones, etc.
  • current information applications will add relevant information recommendations at the bottom of the information details page. After the user has finished reading the information, he or she can read the related information. For example, if there is a report about an increase in banana production, the information application will recommend relevant information such as "kiwi fruit production”, “banana types”, and "banana nutritional value” at the bottom of the information details page. In this example, the information application recommends information related to the information to the user, not the follow-up reports of the information, and the user cannot read the follow-up reports of the information in a timely manner.
  • the publisher of the information can make a series of reports on the information.
  • the user reads a piece of information, he or she can enter the homepage of the publisher of the information, and the publisher who reads the information can make a series of reports on the information.
  • the user can read the follow-up reports of the event, the user needs to actively enter the homepage of the publisher of the information to read, and if there are further reports on the event, the user will not be informed of the new reports in a timely manner.
  • Publishers of information may include but are not limited to: publishing authors, websites, sites, etc.
  • current information applications can provide users with event context. For example, when a user searches for information about "increased banana production" in an information application, the information application can display a sequence of events related to the information, as shown in Figure 2. Among them, users can click on any event in the event context to read related information.
  • the information application can provide the user with the context of the event, on the one hand, it requires the user to actively search for it. On the other hand, if there are further reports on the event, the user will not be able to know the new report in a timely manner and will also need to actively search for it. Search for information to read new reports.
  • Embodiments of the present application provide an information push method.
  • the electronic device can prompt the user to pay attention to subsequent reports of the information. If the user agrees to pay attention to the subsequent reports, , when there is a follow-up report on the information, the electronic device can directly push the follow-up report to the user, so that the user can know the follow-up report and read the follow-up report in a timely manner, thus improving the user experience.
  • the system architecture applicable to the information push method provided by the embodiment of the present application is introduced with reference to Figure 3 .
  • the system architecture may include: electronic devices and servers.
  • the electronic device in the embodiment of the present application may be called user equipment (UE), terminal, etc.
  • the electronic device may be a mobile phone, a tablet computer (portable android device, PAD), a personal digital processor (personal digital) assistant (PDA), handheld device, computing device, vehicle-mounted device or wearable device with wireless communication function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, industrial control (industrial control) ), wireless terminals in smart homes, etc.
  • the form of the electronic device is not specifically limited. It should be understood that in the drawings in the embodiments of the present application, the electronic device is a mobile phone as an example for description.
  • the server can provide information for the electronic device.
  • the server can be: a server for information applications in the electronic device, or a cloud server, etc., which is not limited in the embodiments of the present application.
  • the electronic device can display the corresponding information so that the user can read the information on the electronic device. For example, users can search for information and read information in information applications installed on electronic devices.
  • the server obtains information data.
  • the server can access at least one information providing platform to obtain information data provided by the at least one information providing platform.
  • Information providing platforms may include but are not limited to: news information platforms, news sites, and blogs.
  • the server can crawl information on at least one information providing platform to obtain information data.
  • the information providing platform may be a vertical website.
  • the server can crawl information based on vertical domain websites to obtain information data.
  • vertical websites may include but are not limited to technology sites, technology blogs, and technology information platforms.
  • the server can access multiple information sources to obtain multi-source information, which can ensure the comprehensiveness, real-timeness, and popularity of the information.
  • Information data may include but is not limited to: information, information ID, information release time, information publisher, and information title. It should be understood that different information has different information IDs, and information IDs are used to distinguish different information.
  • S402 The server clusters the information data and obtains at least one cluster.
  • the server can cluster information data through keywords or text semantics to obtain at least one cluster.
  • the idea of the K-means algorithm is: select N keywords in the information data as the initial clustering center, and then calculate the distance between each information and each initial clustering center, and then Each piece of information is assigned to the nearest initial clustering center.
  • the clustering center and the information assigned to the clustering center form a cluster.
  • N is an integer greater than or equal to 1.
  • the embodiments of this application do not limit the clustering algorithm, and the K-means algorithm is used as an example.
  • a cluster obtained by server clustering can include multiple pieces of information, and each piece of information contains the keyword.
  • the keywords "banana” and “increase production” as an example the information in a cluster obtained by the server clustering all contains “banana” and "increase production”.
  • a cluster obtained by server clustering can include multiple pieces of information, and the text semantics of each information are the same. For example, the text semantics are "increase banana production", and a cluster obtained by server clustering The text semantics of the information in the cluster are all about increasing banana production.
  • the server clusters information data when the server clusters information data, at least one cluster can be obtained, and the information in different clusters includes different keywords or different text semantics.
  • the server clusters information data can obtain M clusters.
  • the textual semantics of the information in cluster 1 are "increase banana production”
  • the textual semantics of the information in cluster 2 are "mobile phone release”.
  • M is an integer greater than or equal to 1.
  • the server can cluster the information data with a window size of 6 hours to obtain at least one cluster.
  • the server can also cluster the information data of the preset window every preset time period, where the preset time period can be, for example, 3 minutes, 10 minutes, etc. This is not limited in the embodiment of the present application.
  • the preset window may be 6h, 10h, etc., and the embodiment of the present application does not limit this.
  • the preset duration in the embodiment may be called the first preset duration.
  • the server can cluster information related to the same event together by clustering information data.
  • each cluster may include information ID, information release time, information publisher, and information title in addition to information.
  • S403 The server determines the target cluster in at least one cluster.
  • the information released is usually related to reports surrounding a certain event. Such reports have a high degree of repetition, so the server can determine the target cluster in at least one cluster obtained by clustering.
  • the target cluster is the cluster of events to be formed.
  • the target cluster can be understood as: the information in the cluster has many reports and is highly repetitive, that is, it is highly popular. Therefore, the server can use the cluster to which the highly popular information belongs as the target cluster to base on the target cluster. Generate events.
  • the server may determine the target cluster according to the size of each cluster obtained by clustering.
  • the size of the cluster may be represented by the amount of information contained in the cluster.
  • the server may use a cluster whose amount of information is greater than or equal to an information amount threshold as a target cluster.
  • the target cluster may include at least one cluster. For example, cluster 1 and cluster 2 are both target clusters. The following takes the target cluster as an example to illustrate the server's processing process for each target cluster.
  • S404 The server generates events or event contexts based on the target cluster.
  • the server can determine the core words and keywords of the target cluster based on the information in the target cluster, the frequency of words appearing in the information, the weight of the words, and other information.
  • the core words can be: entities included in each information in the target cluster
  • the keywords can be: words that describe the core words around the core words. For example, taking the target cluster as cluster 1, the core word of the target cluster is "banana”, and the words describing the core word "banana” are "increase production”, and "increase production” can be the keyword of the target cluster.
  • the frequency of word occurrence can be understood as: the number of times a word appears in the information in the target cluster. If the word appears in the title of the information, the weight of the word is greater; if the word appears in the text of the information, the weight of the word is smaller.
  • the weights of words appearing in the title and the weights of words appearing in the text can be preset. Among them, the greater the number of times a word appears and the higher the weight of the word, the greater the probability that the word is determined to be a core word and keyword.
  • the server may use the entity with the highest weight and the most occurrences as the core word.
  • the server can use the word ranked second in weight and ranked second in frequency of occurrence as a keyword.
  • keywords there is no limit to the number of keywords, for example, it can be 1, 2, or 3, etc.
  • the server can also analyze the semantics of each information report about the core words in the target cluster, and then use the semantically corresponding words with the highest repetition rate as the keywords of the target cluster.
  • the core word is "banana”
  • the most repetitive semantic meaning of the reports about the core words in the target cluster is "increase production”, and then the word "increase production” is used as the keyword of the target cluster.
  • the server can generate events based on the core words and keywords of the target cluster.
  • the event contains the core words and keywords of the target cluster. For example, taking the core word of the target cluster as "banana” and the keyword as “increase in production”, the server can treat "increase in banana production” as an event.
  • the server can also add time based on the core words and keywords of the target cluster to obtain the event.
  • the event can be "Banana production increased on July 1st.” It should be understood that the server can also add location, weather and other event-related information based on the core words and keywords of the target cluster to generate an event.
  • the server may also use the title of the information containing the core words and keywords of the target cluster as an event in the target cluster.
  • the server may also use the title of the information containing the core words and keywords of the target cluster as an event in the target cluster.
  • the server can also filter out all events with the same core word through the core words and keywords of the event, and then generate the event based on the popularity and relevance of these events. context.
  • the server can detect whether the core words of event 3 and event 4 are the same as event 1. Taking event 3 as an example, if the core word of event 3 is also "banana", the server can detect whether event 3 is a follow-up report of event 1 based on the keywords of event 1 and event 3. If event 3 is a follow-up report of event 1, it is determined that event 3 and event 1 can form an event context. If event 3 is not a follow-up report of event 1, it is determined that event 3 and event 1 cannot form an event context.
  • event 3 For example, if the core word of event 3 is also "banana”, and if the keyword of event 3 is "sales", the server determines that bananas can be sold after the increase in banana production based on the correlation of the events. Therefore, event 1 and event 3 3 is related before and after, so the server can report event 3 as a follow-up report of event 1, that is, the server can determine that event 3 and event 1 can form an event context.
  • event 3 is not a follow-up report of event 1, that is, the server can determine that event 3 and event 1 cannot form an event context.
  • the server can eliminate confusing events based on whether the keywords are related before and after. For example, although event 3 has the same core words as event 1, the two events do not have relatedness before and after. Event 3 can be called for confusing events.
  • the server can detect whether there is a correlation between events based on the core words and keywords of the event, as well as the semantics of the event.
  • the server can generate an event context based on the event. For example, the server generates an event about "banana" as shown in Figure 1.
  • S405 The server writes the generated events or event context into the offline database.
  • the server After the server generates an event or event context, it can write the event or event context into an offline database.
  • At least one event is stored in the offline database, and each event includes: the core words and keywords of the event, as well as the release time, publisher, and release content of the event.
  • the core words and keywords of the target cluster can be used as the core words and keywords of the event respectively.
  • the offline database may include each information in the target cluster, so the publishing time of the event includes the publishing time of each information, the publisher is the publisher of each information, and the publishing content is the content of each information.
  • the server can also determine the release time, publisher, and release content of the event based on the information in the target cluster. For example, the server can use the time with the most concentrated information publishing time in the target cluster or the earliest time of information publishing as the publishing time of the event. The server can use the publisher with the earliest time to publish information or the publisher with the most read information as the publisher of the event. The server can use the information with the earliest publication time or the information with the largest number of reads as the published content of the event.
  • At least one event context is stored in the offline database, and each event context may include at least two events, as well as core words and keywords of each event, and related data of information corresponding to each event.
  • Information-related data may include: information ID, information release time, information publisher, and information title.
  • S405 is an optional step and is not shown in Figure 4 .
  • the server can cluster the information data of the preset window every preset time period, the server will continue to Continue to obtain new clusters to get new events. That is to say, the server can continuously execute S403-S405 to write new events or event contexts into the offline database.
  • the server can generate event context based on continuously generated events. You can refer to the relevant description in S404.
  • the server can obtain new events when the events are updated.
  • the server can detect whether the new event is related to the events in the generated event context based on the core words, keywords, and event semantics of the new event.
  • the server can add new events to the generated event context to update the event context.
  • the event context generated by the server includes: banana production increase event and banana sales to various places event.
  • the new event acquired by the server is the banana sales completion event.
  • the server determines that the new event is related to the generated event context, and then the "banana” can be "Sales Completed Event” is added to the generated event context and updates the event context.
  • S408 The server writes the event context into the online event context database.
  • the online event context database stores multiple event contexts.
  • the multiple event contexts may include: an event context about "banana” and an event context about mobile phones.
  • the event context database can be used by the server to query whether the information read by the user is an event in the event context.
  • the online event context database may be referred to as an "event context database" for short.
  • S408 is an optional step. S408 is not shown in Figure 4 .
  • S409 can be executed before S408, or after S408, or both can be executed at the same time. It can be understood that S409 is an optional step and is not shown in Figure 4 .
  • n may be 30.
  • n days may be called the second preset time period. In other words, if there is no information report on the event within the second preset time period, the server can determine that the event has been completed.
  • the server can cluster the information data of the preset window every preset time period to obtain new events, it is assumed that the server obtains new events such as event 3 and event 4 within 30 days.
  • event 2 "mobile phone release” as an example, if neither event 3 nor event 4 contains the core word "mobile phone”, or event 3 and event 4 contain the core word "mobile phone”, but the semantics of events 3 and 4 are not Follow-up reports of "mobile phone release”, so the server can determine that there is no follow-up report of event 2 "mobile phone release” for n consecutive days, then it can be determined that event 2 has been completed, and the server can delete event 2 that has been written in the offline database.
  • the server in order to avoid the problem of interruption of the event context caused by setting n too small, when the server determines that there are no subsequent reports of the event for n consecutive days, the server can store the events or events that have been written in the offline database. Mark the context, such as graying out the event or event context or marking it as "not updated". The reason for this setting is that some events take a long time, such as 2-3 years before there are follow-up reports. If there is no follow-up report on the event for 30 consecutive days, the server will delete the events written in the offline database or Event context will cause the server to be unable to form an event context or update an event context based on previously written events when there are subsequent reports of the event. In this embodiment, the server does not delete the events or event contexts that have been written in the offline database, but marks the written events or event contexts. This method can facilitate the server to generate reports when there are subsequent reports on the event. Line of events or update the line of events.
  • the server can continuously cluster the information data of the preset window, new events can be continuously obtained, and the server can update the event context in the event context database based on the new events. Updating the event context in the event context database may include but is not limited to: adding a new event context, and adding new events to the existing event context.
  • Figure 5 is a schematic diagram of a server-generated event context provided by an embodiment of the present application.
  • the process of generating event context by the server may include: information crawling, clustering information data, extracting event core words, writing events into an offline database, and writing event context into an online event context database.
  • the process of the server generating the event context can refer to the relevant description in Figure 4.
  • the server can also provide users with recommended attention services and information push services.
  • the recommended attention service can be understood as: a service that provides users with follow-up reports on the information they follow when they read the information.
  • the information push service can be understood as: when the user pays attention to the follow-up reports of the information, when the information has follow-up reports, the follow-up reports can be pushed to the users as soon as possible.
  • the recommended attention service and the information push service please refer to the relevant description in Figure 6A.
  • the server can cluster multi-source information data to obtain events with high attention and popularity, because the server The server can continuously cluster multi-source information data, so it can continue to cluster to obtain new events.
  • the server can generate a The sequence of events. Because in the embodiment of the present application, the server not only filters events based on core words and keywords, but also determines events with related events based on the semantics of the events to generate event context, which is highly accurate.
  • FIG. 6A is a schematic flowchart of an embodiment of the information pushing method provided by the embodiment of the present application.
  • the information pushing method provided by the embodiment of the present application may include:
  • the electronic device displays the details page of the first information.
  • the first operation is used to trigger the electronic device to display the details page of the first information.
  • the first operation may be for the user to operate the title of the first information.
  • the first operation may also be for the user to speak a voice, such as "Read the first information.”
  • the embodiment of the present application does not limit the user's first operation.
  • the details page of First Information may include but is not limited to: the title, content, publisher, and release time of First Information.
  • a in Figure 7 is an interface of an information application.
  • the interface may be a list interface of information titles.
  • the list interface displays multiple information titles.
  • the electronic device can be triggered to display the details page of "Banana production increases, fruit farmers are happy", as shown in b in Figure 7.
  • “Banana production increases, fruit farmers are happy” can be used as the title of the first information, and a user's click on the title "Banana production increases, fruit farmers are happy” can be regarded as the user's first action.
  • the details page of the first information may include: title “Banana production increases, fruit farmers are happy” 71, publisher “XX News” 72, release time "2022 July 1, 2017” 73, and content 74.
  • the event context is an event context that has been generated by the server.
  • the electronic device can output the first prompt information.
  • the first prompt information is used to prompt the user to pay attention to subsequent reports of the first information.
  • the server when the server pushes the first information to the electronic device, it may carry annotation information, and the annotation information is used to indicate that the first information is included in the event context, or the annotation information is used to indicate whether the first information is included in the event context.
  • the electronic device After receiving the first information, the electronic device may display the first information in response to the first operation, and determine whether the first information is included in the event context through the annotation information of the first information.
  • the electronic device When the first information is included in the event context, the electronic device outputs the first prompt information, and when the first information is not included in the event context, the electronic device may not output the first prompt information.
  • the electronic device can display the first prompt information on the interface of the electronic device, or the electronic device can output the first prompt information in the form of voice.
  • the embodiment of the present application provides a method for the electronic device to output the first prompt information. No restrictions. For example, taking the electronic device displaying the first prompt information on the interface as an example, referring to c in FIG. 7 , the electronic device can display the first prompt box 75 on the details page of the first information.
  • the first prompt box 75 includes: For example, the first prompt information of "Whether you pay attention to the follow-up reports of this information", the "Confirm” control 76, and the "Cancel" control 77.
  • the user can operate the "confirm” control 76 or the "cancel” control 77 to determine whether to pay attention to the subsequent reports of the first information or not to pay attention to the subsequent reports of the first information.
  • the event context to which the first information belongs can be called the target event context.
  • the second information is related reports of the first information.
  • the electronic device can push the second information. In other words, when there are follow-up reports on the first information, the electronic device can push the second information.
  • the server can continuously update the event context of the event context database.
  • the event context of "increased banana production” includes event 1 "increased banana production” and event 3 "increased banana production”.
  • the first information may be information about "increased banana production” or information about "increased banana production”.
  • the server can send second information to the electronic device, and the second information is about "banana sales completed” The second information is the follow-up report of the first information.
  • Event 5 "Banana sales completed” may correspond to multiple "Banana sales completed” information.
  • the server may send any information about “Banana sales completed” to the electronic device, or the server may send the most read information about "Banana sales completed” to the electronic device. The information of "completed” is sent to the electronic device, and this embodiment of the present application does not limit this.
  • the server may send the second information to the electronic device by sending a link of the second information to the electronic device, so that the electronic device can obtain and display the second information according to the link of the second information.
  • the electronic device when receiving the second information, can display the second information so that the user can read the follow-up report of the first information in time.
  • the electronic device when the electronic device receives the second information from the server, it can output the second prompt information.
  • the second prompt information is used to prompt the user to read the second information to avoid being disturbed by the electronic device directly displaying the second information. The user’s current experience.
  • the electronic device may output the second prompt information in response to receiving the second information from the server.
  • the electronic device may output the second prompt information in the form of a pop-up window, by pinning the second information on top of an information application, or by prompting in an information application notification, so as to prompt the user. Read the second information.
  • the electronic device may also determine, according to the state of the electronic device, an output mode of the second prompt information adapted to the state of the electronic device. For example, when the electronic device is in a standby state, the electronic device may use the push mechanism of the current electronic device to output the second prompt information in the notification message. When the electronic device displays the information details page, the electronic device can output the second prompt information in the form of a pop-up window. When the electronic device is displaying the list interface of the title of the information, the electronic device can put the title of the second information (the title of the second information can be regarded as the second prompt information) on top to remind the user that the information has been updated.
  • an output mode of the second prompt information adapted to the state of the electronic device. For example, when the electronic device is in a standby state, the electronic device may use the push mechanism of the current electronic device to output the second prompt information in the notification message. When the electronic device displays the information details page, the electronic device can output the second prompt information in the form of a pop-up window. When the electronic device
  • the electronic device can also output the second prompt information by sending messages within the information application.
  • the electronic device can display a second prompt box 78 , and the second prompt box 78 can include the following: The second prompt message "The information on banana production increase has been updated, do you want to read the new information?", as well as the "Confirm” control 79 and the "Cancel" control 80.
  • the user can operate the "confirm” control 79 to read the second information, or the user can operate the "cancel” control 80 to cancel reading the second information.
  • the interface in Figure 7 is an example, and the embodiment of the present application does not limit the style and display content of the interface.
  • the electronic device in response to the user's second operation, displays the details page of the second information.
  • the user's second operation is used to trigger the electronic device to display the details page of the second information.
  • the second operation may refer to the relevant description of the first operation.
  • the electronic device can display the details page of the second information. , as shown in e in Figure 7.
  • e in Figure 7 shows the details page of information completed for banana sales.
  • the user's click on the "Confirm" control 79 can be regarded as the user's second operation.
  • the electronic device when the user reads the first information, if the first information is included in the event context of the event context database, the electronic device can actively prompt the user whether to pay attention to subsequent reports of the first information.
  • the electronic device can push the second information to the user so that the user can read the second information in time.
  • the electronic device can actively prompt the user to pay attention to subsequent reports of the first information, and can push the subsequent reports to the user as soon as possible. The user does not need to perform additional operations. The operation is simple and the real-time performance is high.
  • the server when pushing the first information to the electronic device, the server may not carry the annotation information of the first information.
  • the electronic device needs to request the server to query whether the first information is included in the event context.
  • the information pushing method provided by the embodiment of the present application may include:
  • the electronic device in response to the user's first operation, displays the details page of the first information.
  • S601A may refer to the description of S601.
  • the electronic device sends relevant information of the first information to the server.
  • the user triggers the electronic device to display the details page of the first information, indicating that the user needs to read the content of the first information. Therefore, when the electronic device displays the details page of the first information, it can send relevant information of the first information to the server, so that the electronic device can The server may be requested to query whether the first information is included in the event context of the online event context database. Furthermore, when the first information is included in the event context of the online event context database, the electronic device may prompt the user to pay attention to the first information.
  • the electronic device can send the title of the first information to the server.
  • the related information of the first information includes: the title of the first information.
  • the related information of the first information may include: the ID of the first information.
  • the electronic device can obtain the core words and keywords of the first information, and can refer to the server in S404 to obtain the core words and keywords. word description.
  • the relevant information of the first information may include: core words and keywords of the first information.
  • the event context also stores the content of the first information.
  • the electronic device can also send the content of the first information to the server.
  • the relevant information of the first information Including: the content of First Information.
  • S603A Based on the relevant information of the first information, when the server detects that the first information is included in the event context of the online event context database, the server sends a first message to the electronic device.
  • the first message indicates that the first information is included in the online event context. In the context of events in the context database.
  • the server can detect whether there is information with the same title as the first information in the event in the event context of the event context database. If there is information with the same title as the first information, the server can determine that the first information is included in the event context of the event context database, and if there is no information with the same title as the first information, the server can determine that the first information is not included in the event context of the event context database.
  • the server can also obtain the core words and keywords of the first information based on the title of the first information. Because the event context of the event context database stores the core words and keywords of the event, the server can compare Core words and keywords are used to detect whether the first information is included in the event context of the event context database. Among them, when there are events with the same core words and keywords as the first information in the event context database, the server can determine that the first information is included in the event context of the event context database. When the event context database does not exist with the first information When the core words and keywords of the event are the same, the server determines that the first information is not included in the event context of the event context database.
  • the server can compare the ID of the first information with the ID of the information corresponding to the event in the event context of the event context database, To detect whether the first information is included in the event context of the event context database.
  • the server can determine that the first information is included in the event context of the event context database.
  • the server may determine that the first information is not included in the event context of the event context database.
  • the server can detect whether the first information is included in the event context database by comparing the core words and keywords. In the context of events, you can refer to the relevant descriptions in one of them.
  • the server when the relevant information of the first information includes the content of the first information, the server can compare the content of the first information with the content of the information corresponding to the event in the event context of the event context database, To detect whether the first information is included in the event context of the event context database.
  • the server when the information corresponding to the event in the event context of the event context database contains information that is the same as the content of the first information, the server can determine that the first information is included in the event context of the event context database.
  • the event context of the event context database When the event context of the event context database When the information corresponding to the event in the context does not have the same content as the first information, the server may determine that the first information is not included in the event context of the event context database.
  • the server determines that the first information is included in the event context
  • the event context to which the first information belongs can be called the target event context
  • the server can send the first message to the electronic device.
  • the first message represents that the first information is included in the event context of the online event context database.
  • the electronic device when it sends the relevant information of the first information to the server, it can also send the identification of the electronic device to the server, so that when the server determines the target event context corresponding to the first information, it can correspondingly store the target event.
  • the logo of the context and the logo of the electronic device For example, the event context database contains multiple event contexts, and the server can identify each event context to distinguish the event contexts.
  • the identifier of the event context may include but is not limited to: number and core words.
  • the first message may include: an identification of the context of the target event.
  • S604A The electronic device responds to the first message and outputs first prompt information.
  • the first prompt information is used to prompt the user to pay attention to subsequent reports of the first information.
  • the electronic device When the electronic device receives the first message from the server, it can determine that the first information the user is reading is included in the event context of the event context database, and the electronic device can output the first prompt information. Among them, the first prompt information is used to prompt the user to pay attention to the subsequent reports of the first information.
  • the electronic device in response to the user's operation of paying attention to the follow-up report of the first information, the electronic device sends the identification of the electronic device to the server.
  • the user's operation of following the subsequent reports of the first news is used to indicate that the user agrees to continue following the subsequent reports of the first news.
  • the electronic device may send the identification of the electronic device to the server.
  • the identification of the electronic device may include but is not limited to: the device identification of the electronic device or the account number of the information application.
  • the device identification of the electronic device may be the international mobile equipment identity (international mobile equipment identity) of the electronic device.
  • the account of the information application can be understood as: the account applied by the user to log in to the information application.
  • the user clicking the "Confirm” control 76 indicates that the user is paying attention to the subsequent reports of the first information, that is, the user clicking the "Confirm” control 76 can be regarded as the user's operation of paying attention to the subsequent reports of the first information, and the electronic device can send the identification of the electronic device to the server in response to the user clicking the "Confirm” control 76.
  • the electronic device in response to the user's operation of paying attention to subsequent reports of the first information, may send the identification of the electronic device and the related information of the first information to the server.
  • the related information of the first information may refer to S602A. describe
  • S605A is an optional step. S605A is not shown in FIG6B .
  • the electronic device in response to the user's first operation, may send the identification of the electronic device to the server when requesting the first information from the server. Or, in an example, when the electronic device sends the relevant information of the first information to the server, the electronic device can send the identification of the electronic device to the server. This embodiment of the present application does not limit this.
  • the server may correspondingly store the identification of the electronic device and the identification of the target event context.
  • the electronic device when the first message contains the identification of the target event context, when the electronic device sends the identification of the electronic device to the server, it may also send the identification of the target event context to the server. In this way, the server can correspondingly store the identification of the electronic device and the identification of the target event context.
  • the electronic device may send the relevant information of the first information to the server when sending the identification of the electronic device to the server.
  • the server can detect that the first information is included in the event context of the event context database based on the relevant information of the first information, and can further determine the target event context corresponding to the first information.
  • the server can also correspondingly store the identification of the electronic device and the identification of the target event context.
  • the server when there is second information, the server sends the second information to the electronic device, and the second information is a follow-up report of the first information.
  • the electronic device outputs second prompt information, and the second prompt information is used to prompt the user to read the second information.
  • the electronic device in response to the user's second operation, displays the details page of the second information.
  • S606A-S608A can refer to the relevant description in S603.
  • the electronic device can also access the event context database, and the electronic device detects whether the first information is included in the event context.
  • the electronic device can perform part of the operations performed by the server in Figure 6B, for example, the electronic device can perform the operations in S601A, S603A-S604A, and S607A-S608A.
  • the electronic device can send relevant information of the first information to the server, and the server queries whether the first information is included in the event context, which can reduce the amount of information sent by the server when pushing the first information to the electronic device. Small bandwidth usage.
  • the electronic device can actively prompt the user to pay attention to the follow-up report of the first information, and can push the follow-up report to the user as soon as possible. The user does not need to perform additional operations, the operation is simple and the real-time performance is high.
  • the user may mistakenly trigger the electronic device to display the details page of the first information, or although the user triggers the electronic device to display the details page of the first information, the user is not interested in the first information. In this case If the electronic device outputs the first prompt information regardless of whether the user is interested in the first information, frequent output of the first prompt information will cause interference to the user and result in poor user experience.
  • embodiments of the present application provide an information push method that can combine the user's reading data of the first information to determine whether the user is interested in the first information. If the user is interested in the first information, then The first prompt information is actively output to prompt the user to pay attention to subsequent reports. In this embodiment, there is no need to output too much first prompt information to interfere with the user, and the user experience is high.
  • S602 may be replaced by S602B:
  • S602B When the first information is included in the event context, if the electronic device determines that the user is paying attention to the first information based on the reading data of the first information, it outputs the first prompt information.
  • the user paying attention to the first information indicates that the user is interested in the first information
  • the user not paying attention to the first information indicates that the user is not interested in the first information
  • the reading data of the user's first information may include but is not limited to: reading duration, page operation behavior, and whether the reading is complete.
  • the page operation behavior can be sliding speed, sliding times, etc.
  • the electronic device can determine whether the user pays attention to the first information based on at least one piece of reading data.
  • reading time when the user's reading time is greater than the time threshold, it can be determined that the user is paying attention to the first information.
  • page operation behavior when the user's sliding speed is included in the normal reading speed range, and the number of sliding times is greater than the number threshold, it can be determined that the user is paying attention to the first information.
  • the electronic device can also determine whether the user pays attention to the first information based on the user's portrait.
  • user portraits may include but are not limited to: the user's age, job, type of information historically read, and types of information published by information publishers that the user follows, etc. Taking the type of information the user has read historically as an example, if the type of the first information is included in the type of information the user has read historically, it can be determined whether the user pays attention to the first information.
  • the electronic device can output the first prompt information to prompt the user to pay attention to subsequent reports of the first information.
  • the electronic device may not output the first prompt information.
  • S602A can also be replaced with: if the electronic device determines that the user pays attention to the first information based on the reading data of the first information, then sends the relevant information of the first information to the server.
  • Figure 9 shows the process of an electronic device pushing information to a user.
  • the process of an electronic device pushing information to a user may include:
  • the first information can be included in the event context. Among them, if the first information is not included in the event context, there is no need to respond. 3) If the first information is included in the event context, the first prompt information can be output to prompt the user to pay attention to the subsequent reports of the first information. Among them, if the user has not paid attention to the follow-up reports of First News, he does not need to respond. 4) If the user pays attention to the follow-up reports of First News, the identification of the electronic device and the target event context can be stored correspondingly. If the event in the target event context is completed, the event can be marked as completed. 5). If the events in the target event context are not completed, you can check whether the events are updated. 6) If the event has not been updated, you can continue to cluster the information data to obtain updated events. 7). If the event has been updated, updated second information can be pushed to the user.
  • the electronic device when the electronic device displays the details page of the first information, it can determine whether the user is interested in the first information based on the user's reading data of the first information. When the user is interested in the first information, the electronic device actively outputs the first prompt information to prompt the user to pay attention to subsequent reports. In this embodiment, interference to the user caused by excessive output of the first prompt information by the electronic device can be avoided, and the user experience can be improved.
  • the information push method provided by the embodiments of the present application provides an event-centered mechanism compared with the information push mechanism in the prior art.
  • the information push mechanism in the prior art users can only actively choose to read relevant information, which is relatively passive and lacks information consistency and predictability.
  • the background service identifies Whether the information belongs to a series of event reports (event context), combined with the user's reading data and user portraits, after a comprehensive judgment, the user is automatically reminded whether to pay attention to subsequent reports of the information.
  • event context event reports
  • information is only bluntly displayed, waiting for users to check and pay attention, which is relatively passive. This application can push it to users in a timely manner when subsequent reports are updated, enriching the way users read information.
  • This application provides a variety of push methods, such as a linkage electronic device push mechanism, an information list page top mechanism, and a pop-up window mechanism to push events in a high-quality and real-time manner.
  • the server may include: an offline processing unit and an online service unit.
  • the offline processing unit may include: a data access module, a data clustering module, a data analysis module, a storage module, and a first communication module.
  • the data access module is used to obtain information data from multiple sources.
  • the data access module can perform S401.
  • the data clustering module is used to cluster information data, determine target clusters, and generate events or event contexts based on target clusters.
  • the data clustering module may perform S402-S404.
  • the data analysis module is used to detect whether multiple events belong to the same event context.
  • the data analysis module may perform S406-S407.
  • Storage module including offline database, is used to store events.
  • the first communication module is used to update the online event context database when a certain event context is updated.
  • the online service unit may include: an event query module, an event storage module, an event update module, an event completion judgment module, a push module, and a second communication module.
  • the event query module is used to query whether the first information is included in the event context of the event context database.
  • the event query module may execute S603A.
  • the event storage module includes an event context database, which is used to store event context.
  • the event update module is used to update the event context database.
  • the event completion judgment module is used to determine whether the event is completed.
  • the event completion judgment module may execute S409.
  • the push module is used to push the second information to the electronic device.
  • the push module may perform S606A.
  • the second communication module can interact with the third communication module in the electronic device to realize interaction between the server and the electronic device.
  • the electronic device may include: a behavior detection module, a reading attention module, and a third communication module.
  • Behavior detection module used to detect user operations on electronic devices.
  • the user's operations on the electronic device may include: a first operation, a second operation, and the user's reading data of the first information.
  • the reading attention module is used to determine whether the user pays attention to the first information based on the reading data of the first information.
  • the reading attention module may perform S602B.
  • the third communication module can interact with the second communication module in the server to realize interaction between the server and the electronic device.
  • the embodiment of the present application further provides an electronic device, which may be the electronic device or server described in the above embodiment.
  • the electronic device may include: a processor 1101 (such as a CPU) and a memory 1102 .
  • the memory 1102 may include high-speed random-access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk memory.
  • RAM random-access memory
  • NVM non-volatile memory
  • Various instructions may be stored in the memory 1102 , to complete various processing functions and implement the method steps of the present application.
  • the electronic device involved in this application may also include: a power supply 1103, a communication bus 1104, and a communication port 1105.
  • the above-mentioned communication port 1105 is used to realize connection and communication between the electronic device and other peripheral devices.
  • the memory 1102 is used to store computer executable program code, and the program code includes instructions; when the processor 1101 executes the instructions, the instructions cause the processor 1101 of the electronic device to perform the actions in the above method embodiment, which implements The principles and technical effects are similar and will not be repeated here.
  • the electronic device may further include a display screen 1106.
  • the display screen 1106 is used to display the interface of the electronic device.
  • modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or , one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), etc.
  • ASICs application specific integrated circuits
  • DSP digital signal processor
  • FPGA field programmable gate array
  • the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes such as control device.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • a computer program product includes one or more computer instructions.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., computer instructions may be transmitted from a website, computer, server or data center via a wired link (e.g.
  • Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless means to transmit to another website site, computer, server or data center.
  • Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or other integrated media that contains one or more available media. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVD), or semiconductor media (such as Solid State Disk (SSD)), etc.
  • the term "plurality” as used herein means two or more.
  • the term “and/or” in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations.
  • the character "/" in this article generally indicates that the related objects before and after are an “or” relationship; in the formula, the character "/” indicates that the related objects before and after are a “division” relationship.
  • words such as “first” and “second” are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating. Or suggestive order.
  • the size of the serial numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

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

Embodiments of the present application provide an information pushing method, an electronic device, and a storage medium. In the method, the electronic device displays a detail page of first information in response to a first operation of a user; outputs first prompt information when the first information is contained in an event context of an event context database, the first prompt information being used for prompting the user to pay attention to a subsequent report of the first information; and when the user pays attention to the subsequent report of the first information and there is second information, pushes the second information, the second information being the subsequent report of the first information. In the present application, a user can be actively prompted to pay attention to a subsequent report of information, and the subsequent report of the information can be pushed to the user in a timely manner, thereby achieving high real-time performance.

Description

资讯推送方法、电子设备以及存储介质Information push methods, electronic devices and storage media
本申请要求于2022年09月23日提交中国专利局、申请号为202211166872.6、申请名称为“资讯推送方法、电子设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on September 23, 2022, with application number 202211166872.6 and application name “Information Push Method, Electronic Device and Storage Medium”, all contents of which are incorporated by reference in this application.
技术领域Technical field
本申请实施例涉及信息处理技术领域,尤其涉及一种资讯推送方法、电子设备以及存储介质。Embodiments of the present application relate to the field of information processing technology, and in particular, to an information push method, electronic device, and storage medium.
背景技术Background technique
在信息丰富的时代,每天都有海量的资讯报道出现,用户可以阅读自己感兴趣的资讯。目前很多资讯不是孤立的,而是有一些列的后续报道。In an era of abundant information, massive information reports appear every day, and users can read the information they are interested in. At present, a lot of information is not isolated, but has a series of follow-up reports.
目前用户阅读资讯后,若想要继续阅读资讯的后续报道,需要主动搜索相关的资讯,操作复杂,实时性差。At present, after users read the information, if they want to continue reading the follow-up reports of the information, they need to actively search for relevant information, which is complex operation and poor real-time performance.
发明内容Contents of the invention
本申请实施例提供一种资讯推送方法、电子设备以及存储介质,可以及时推送资讯的后续报道,实时性高。Embodiments of the present application provide an information push method, electronic device, and storage medium, which can push follow-up reports of information in a timely manner with high real-time performance.
第一方面,本申请实施例提供一种资讯推送方法,执行该方法的执行主体可以为电子设备或电子设备中的芯片,下述以电子设备为例进行说明。在该方法中,电子设备响应于用户的第一操作,显示第一资讯的详情页面,第一操作用于触发电子设备显示第一资讯的详情页面。第一资讯的详情页面用于展示第一资讯,第一资讯可以包括文字、图片、视频等内容。其中,当所述第一资讯包含于事件脉络数据库的事件脉络中时,电子设备可以输出第一提示信息,所述第一提示信息用于提示所述用户关注所述第一资讯的后续报道。在所述用户关注所述第一资讯的后续报道的情况下,当存在第二资讯时,推送所述第二资讯,所述第二资讯为所述第一资讯的后续报道。In the first aspect, embodiments of the present application provide an information push method. The execution subject that executes the method may be an electronic device or a chip in the electronic device. The following description takes the electronic device as an example. In this method, the electronic device displays the details page of the first information in response to the user's first operation, and the first operation is used to trigger the electronic device to display the details page of the first information. The details page of the first information is used to display the first information, which can include text, pictures, videos and other content. Wherein, when the first information is included in the event context of the event context database, the electronic device may output first prompt information, and the first prompt information is used to prompt the user to pay attention to subsequent reports of the first information. In the case where the user pays attention to the follow-up reports of the first information, when there is second information, the second information is pushed, and the second information is the follow-up reports of the first information.
本申请实施例中,用户在阅读第一资讯时,电子设备可以主动提示用户关注第一资讯的后续报道,这样在第一资讯存在后续报道,即存在第二资讯时,电子设备可以及时向用户推送,用户可以及时阅读第一资讯的后续报道,实时性高,可以提高用户体验。In an embodiment of the present application, when a user is reading the first information, the electronic device can actively prompt the user to pay attention to the follow-up reports of the first information. In this way, when there is a follow-up report on the first information, that is, when there is a second information, the electronic device can push it to the user in a timely manner, and the user can read the follow-up report of the first information in a timely manner. The real-time performance is high, which can improve the user experience.
在一种可能的实现方式中,用户在阅读第一资讯时,可能是误触发电子设备显示第一资讯的详情页面,或者用户对第一资讯的后续报道不感兴趣,即用户并不想关注第一资讯的后续报道,电子设备就显示第一提示信息,提示用户关注第一资讯的后续报道,频繁的提醒会造成用户体验差。In a possible implementation, when the user reads the first information, the electronic device may be mistakenly triggered to display the details page of the first information, or the user may not be interested in subsequent reports of the first information, that is, the user does not want to pay attention to the first information. For follow-up reports of the news, the electronic device will display the first prompt message to remind the user to pay attention to the follow-up reports of the first news. Frequent reminders will result in poor user experience.
在一种可能的实现方式中,当所述第一资讯包含于事件脉络数据库的事件脉络中,电子设备还可以根据所述用户的所述第一资讯的阅读数据,在确定所述用户关注所述第一资讯时,输出所述第一提示信息。这样,电子设备确定用户关注所述第一资讯,用户也需求关注第一资讯的后续报道,在该种情况下,电子设备输出第一提示信息,可以做到有效提示,而不影响用户体验。In a possible implementation, when the first information is included in the event context of the event context database, the electronic device can also determine the user's focus on the event context based on the user's reading data of the first information. When the first information is described, the first prompt information is output. In this way, the electronic device determines that the user pays attention to the first information, and the user also needs to pay attention to subsequent reports of the first information. In this case, the electronic device outputs the first prompt information, which can provide effective prompts without affecting the user experience.
在一种示例中,用户的所述第一资讯的阅读数据可以包括如下至少一项:阅读时长、页面操作行为,以及是否完整阅读。示例性的,以所述第一资讯的阅读数据包括“是否完整阅读”为例,当用户完整阅读第一资讯时,电子设备可以确定用户关注所述第一资讯,当用户未完整阅读第一资讯时,电子设备可以确定用户不关注所述第一资讯,可以不输出第一提示信息。In one example, the user's reading data of the first information may include at least one of the following: reading duration, page operation behavior, and whether the reading is complete. Illustratively, taking the reading data of the first information including "whether to read it completely", when the user has completely read the first information, the electronic device can determine that the user is paying attention to the first information. When the user has not completely read the first information, information, the electronic device may determine that the user does not pay attention to the first information, and may not output the first prompt information.
在一种示例中,电子设备还可以根据所述用户的所述第一资讯的阅读数据,以及所述用户画像,判断所述用户是否关注所述第一资讯。其中,用户画像可以包括但不限于:用户的年龄、工作、历史阅读的资讯类型,以及用户关注的资讯发布者发布的资讯类型等。示例性的,以用户关注的资讯发布者发布的资讯类型为娱乐类,以及所述第一资讯的阅读数据包括“是否完整阅读”为例,若第一资讯的类型也为娱乐类,且用户完整阅读第一资讯,电子设备可以确定用户关注所述第一资讯。当用户未完整阅读第 一资讯或第一资讯的类型不是娱乐类,电子设备可以确定用户不关注所述第一资讯。In one example, the electronic device may also determine whether the user pays attention to the first information based on the user's reading data of the first information and the user portrait. Among them, user portraits may include but are not limited to: the user's age, job, type of information historically read, and types of information published by information publishers that the user follows, etc. For example, if the type of information published by the information publisher that the user is concerned about is entertainment, and the reading data of the first information includes "whether it has been read completely", if the type of the first information is also entertainment, and the user By reading the first information completely, the electronic device can determine that the user pays attention to the first information. When the user has not fully read the The type of information or the first information is not entertainment type, and the electronic device can determine that the user does not pay attention to the first information.
在该实现方式中,电子设备可以结合用户的所述第一资讯的阅读数据,或结合用户的所述第一资讯的阅读数据以及用户画像,先检测用户是否关注第一资讯。在用户关注第一资讯的情况下,电子设备可以输出第一提示信息,以提示用户关注第一资讯的后续报道。这样可以做到有效提示,而不影响用户体验。In this implementation, the electronic device may first detect whether the user pays attention to the first information by combining the user's reading data of the first information, or combining the user's reading data of the first information and the user portrait. When the user pays attention to the first information, the electronic device can output the first prompt information to prompt the user to pay attention to subsequent reports of the first information. This can provide effective prompts without affecting the user experience.
下述对第一资讯是否包含于事件脉络数据库的事件脉络的检测过程进行说明:The following explains the process of detecting whether the first information is included in the event context of the event context database:
其一,在一种可能的实现方式中,事件脉络中包括至少两个事件,每个事件对应至少一个资讯,该至少一个资讯的内容与同一事件相关。其中,当第一资讯中的内容与事件脉络数据库的事件脉络中的事件相关时,可以看作第一资讯包含于事件脉络数据库的事件脉络中。First, in a possible implementation manner, the event context includes at least two events, each event corresponds to at least one piece of information, and the content of the at least one piece of information is related to the same event. Wherein, when the content in the first information is related to an event in the event context of the event context database, the first information can be regarded as included in the event context of the event context database.
在一种示例中,电子设备中可以存储事件脉络数据库,电子设备可以检测第一资讯中的内容与事件脉络数据库的事件脉络中的事件相关,以检测第一资讯是否包含于事件脉络数据库的事件脉络中。In one example, the electronic device can store an event context database, and the electronic device can detect that the content in the first information is related to the events in the event context database, so as to detect whether the first information is included in the events in the event context database. In the context.
在一种示例中,事件脉络数据库会占用电子设备较多的内存,为了保证电子设备的内存充足以及电子设备的正常运行,事件脉络数据库存储在服务器中,电子设备可以向服务器请求查询第一资讯是否包含于事件脉络数据库的事件脉络中。在该示例中,电子设备可以向服务器发送所述第一资讯的相关信息,第一资讯的相关信息可以表征第一资讯的文本语义(主要内容),示例性的,第一资讯的相关信息如第一资讯的内容。In one example, the event context database will occupy a lot of memory of the electronic device. In order to ensure sufficient memory of the electronic device and the normal operation of the electronic device, the event context database is stored in the server, and the electronic device can request the first information from the server. Whether it is included in the event context of the event context database. In this example, the electronic device can send the relevant information of the first information to the server. The relevant information of the first information can represent the text semantics (main content) of the first information. Exemplarily, the relevant information of the first information is as follows The content of the first information.
服务器可以查询事件脉络数据库的事件脉络,以检测第一资讯是否包含于事件脉络数据库的事件脉络中。其中,当第一资讯包含于所述事件脉络数据库的事件脉络中时,服务器可以向电子设备发送第一消息,第一消息用于指示所述第一资讯包含于所述事件脉络数据库的事件脉络中。电子设备响应于接收到第一消息,确定第一资讯包含于所述事件脉络数据库的事件脉络中。其中,当第一资讯未包含于所述事件脉络数据库的事件脉络中时,服务器可以向电子设备发送第二消息,第二消息用于指示所述第一资讯未包含于所述事件脉络数据库的事件脉络中。电子设备响应于接收到第二消息,确定第一资讯未包含于所述事件脉络数据库的事件脉络中。The server can query the event context of the event context database to detect whether the first information is included in the event context of the event context database. Wherein, when the first information is included in the event context of the event context database, the server may send a first message to the electronic device, and the first message is used to indicate that the first information is included in the event context of the event context database. middle. In response to receiving the first message, the electronic device determines that the first information is included in the event context of the event context database. Wherein, when the first information is not included in the event context database, the server may send a second message to the electronic device, and the second message is used to indicate that the first information is not included in the event context database. in the context of events. In response to receiving the second message, the electronic device determines that the first information is not included in the event context of the event context database.
在一种可能的实现方式中,为了减少电子设备与服务器交互的数据的大小,电子设备在向服务器发送第一资讯的相关信息时,可以尽可能地减少第一资讯的相关信息占用的带宽,便于服务器可以快速接收到第一资讯的相关信息。其中,所述第一资讯的相关信息包括:所述第一资讯的ID;或者,所述第一资讯的相关信息包括:所述第一资讯的标题;或者,所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词。第一资讯的ID可以为:服务器在获取第一资讯时,为第一资讯分配得到的。In one possible implementation, in order to reduce the size of data exchanged between the electronic device and the server, the electronic device can reduce the bandwidth occupied by the related information of the first information as much as possible when sending the related information of the first information to the server. This allows the server to quickly receive relevant information about the first information. Wherein, the relevant information of the first information includes: the ID of the first information; or, the relevant information of the first information includes: the title of the first information; or, the relevant information of the first information Including: core words and keywords of the first information. The ID of the first information may be: assigned by the server to the first information when acquiring the first information.
在该实现方式中,其中,当所述第一资讯的相关信息包括:所述第一资讯的ID时。服务器可以在事件脉络数据库的事件脉络中的事件对应的资讯ID中,检测是否存在与所述第一资讯的ID相同的资讯。其中,若事件对应的资讯ID中存在与所述第一资讯的ID相同的资讯,电子设备确定所述第一资讯包含于事件脉络数据库的事件脉络中。若事件对应的资讯ID中不存在与所述第一资讯的ID相同的资讯,电子设备确定所述第一资讯未包含于事件脉络数据库的事件脉络中。In this implementation, when the relevant information of the first information includes: the ID of the first information. The server may detect whether there is information that is the same as the ID of the first information in the information ID corresponding to the event in the event context of the event context database. If the information ID corresponding to the event contains the same information as the ID of the first information, the electronic device determines that the first information is included in the event context of the event context database. If the information ID corresponding to the event does not contain information that is the same as the ID of the first information, the electronic device determines that the first information is not included in the event context of the event context database.
其中,当所述第一资讯的相关信息包括:所述第一资讯的标题时。服务器可以在事件脉络数据库的事件脉络中的事件对应的资讯中,检测是否存在与所述第一资讯的标题相同的资讯。其中,若事件对应的资讯中存在与所述第一资讯的标题相同的资讯,电子设备可以确定所述第一资讯包含于事件脉络数据库的事件脉络中。若事件对应的资讯中不存在与所述第一资讯的标题相同的资讯,电子设备可以确定所述第一资讯未包含于事件脉络数据库的事件脉络中。Wherein, when the relevant information of the first information includes: the title of the first information. The server may detect whether there is information that is the same as the title of the first information in the information corresponding to the event in the event context of the event context database. If the information corresponding to the event contains information that is the same as the title of the first information, the electronic device can determine that the first information is included in the event context of the event context database. If the information corresponding to the event does not contain information that is the same as the title of the first information, the electronic device may determine that the first information is not included in the event context of the event context database.
其中,事件脉络数据库的事件脉络中的每个事件对应有核心词和关键词,当所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词时。若事件脉络数据库的事件脉络中的事件对应的核心词和关键词,存在与所述第一资讯的核心词和关键词均相同时,服务器可以确定所述第一资讯包含于事件脉络数据库的事件脉络中。若事件对应的核心词和关键词,不存在与所述第一资讯的核心词和关键词均相同时,服务器可以确定所述第一资讯未包含于事件脉络数据库的事件脉络中。Wherein, each event in the event context of the event context database corresponds to a core word and a keyword, when the relevant information of the first information includes: the core word and keyword of the first information. If the core words and keywords corresponding to the events in the event context database are the same as the core words and keywords of the first information, the server can determine that the first information is included in the event context database. In the context. If the core words and keywords corresponding to the event are not the same as the core words and keywords of the first information, the server may determine that the first information is not included in the event context of the event context database.
其二,在一种示例中,事件脉络数据库的事件脉络是由服务器生成和更新的,服务器在向电子设备推送第一资讯之前,就可以检测第一资讯是否包含于事件脉络数据库的事件脉络中。其中,当第一资讯包含于事件脉络数据库的事件脉络中时,服务器在向电子设备推送第一资讯时,可以携带表征第一资讯包含于事件脉络数据库的事件脉络的标识,这样电子设备可以根据该标识,确定第一资讯包含于事件脉 络数据库的事件脉络中,无需自己查询或者请求服务器查询,操作简便,效率高。Second, in one example, the event context of the event context database is generated and updated by the server. Before the server pushes the first information to the electronic device, it can detect whether the first information is included in the event context of the event context database. When the first information is included in the event context of the event context database, the server can carry an identifier representing that the first information is included in the event context of the event context database when pushing the first information to the electronic device, so that the electronic device can determine whether the first information is included in the event context according to the identifier. In the event context of the network database, there is no need to query by yourself or request the server to query, which is easy to operate and efficient.
在用户关注第一资讯的后续报道的情况下,电子设备还可以向服务器发送所述电子设备的标识,以便于服务器在确定第一资讯存在后续报道,即存在第二资讯时,可以准确将第二资讯推送至电子设备。When the user pays attention to the follow-up report of the first information, the electronic device can also send the identification of the electronic device to the server, so that when the server determines that there is a follow-up report of the first information, that is, when the second information exists, it can accurately report the second information. 2. Push information to electronic devices.
在一种可能的实现方式中,电子设备在接收到第二资讯后,可以显示第二资讯的详情页面,便于用户可以阅读第二资讯。In a possible implementation, after receiving the second information, the electronic device may display a detail page of the second information so that the user can read the second information.
但若电子设备在接收到第二资讯时,用户正在使用电子设备执行其他任务,为了避免电子设备直接显示第二资讯的详情页面对用户造成困扰,在一种可能的实现方式中,电子设备可以输出第二提示信息,所述第二提示信息用于提示所述用户所述第一资讯的后续报道已更新。其中,电子设备响应于所述用户同意阅读所述第二资讯的操作,显示所述第二资讯的详情页面。若电子设备未检测到用户同意阅读所述第二资讯的操作,可以不显示所述第二资讯的详情页面,这样可以避免电子设备直接显示第二资讯的详情页面对用户造成困扰,以提高用户体验。However, if the user is using the electronic device to perform other tasks when the electronic device receives the second information, in order to prevent the electronic device from directly displaying the details page of the second information and causing trouble to the user, in a possible implementation, the electronic device can Second prompt information is output, and the second prompt information is used to prompt the user that subsequent reports of the first information have been updated. Wherein, in response to the user's operation of agreeing to read the second information, the electronic device displays the details page of the second information. If the electronic device does not detect the operation of the user agreeing to read the second information, the details page of the second information may not be displayed. This can prevent the electronic device from directly displaying the details page of the second information and cause trouble to the user, thereby improving the user experience. experience.
其中,电子设备在输出第二提示信息时,可以根据所述电子设备的状态,确定适配于所述电子设备的状态的第二提示信息的输出方式,进而根据所述输出方式,输出所述第二提示信息。在该种示例中,电子设备可以按照适配于所述电子设备的状态的第二提示信息的输出方式,输出第二提示信息,可以提高用户体验。Wherein, when the electronic device outputs the second prompt information, it can determine an output mode of the second prompt information adapted to the state of the electronic device according to the state of the electronic device, and further output the second prompt information according to the output mode. Second prompt message. In this example, the electronic device can output the second prompt information in a manner adapted to the output of the second prompt information adapted to the state of the electronic device, which can improve user experience.
第二方面,本申请实施例提供一种资讯推送方法,执行该方法的执行主体可以为服务器或服务器中的芯片,在该方法中,服务器可以接收来自电子设备的第一资讯的相关信息;根据所述第一资讯的相关信息,若确定所述第一资讯包含于事件脉络数据库的事件脉络中,则向所述电子设备发送第一消息,所述第一消息用于指示所述第一资讯包含于所述事件脉络数据库的事件脉络中。In the second aspect, embodiments of the present application provide an information push method. The execution subject for executing the method may be a server or a chip in the server. In this method, the server may receive relevant information of the first information from the electronic device; according to If the relevant information of the first information is determined to be included in the event context of the event context database, a first message is sent to the electronic device, and the first message is used to indicate the first information. Included in the event context of the event context database.
在一种可能的实现方式中,所述第一资讯的相关信息包括:所述第一资讯的ID;或者,所述第一资讯的相关信息包括:所述第一资讯的标题;或者,所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词;所述事件脉络中包含至少两个事件,每个事件对应至少一个资讯。In a possible implementation, the relevant information of the first information includes: the ID of the first information; or, the relevant information of the first information includes: the title of the first information; or, the The relevant information of the first information includes: the core words and keywords of the first information; the event context includes at least two events, each event corresponding to at least one piece of information.
在一种可能的实现方式中,当所述第一资讯的相关信息包括:所述第一资讯的ID时,所述方法还包括:在事件对应的资讯ID中,检测是否存在与所述第一资讯的ID相同的资讯;若是,确定所述第一资讯包含于事件脉络数据库的事件脉络中。In a possible implementation, when the relevant information of the first information includes: the ID of the first information, the method further includes: in the information ID corresponding to the event, detecting whether there is the same as the first information. Information with the same ID of a piece of information; if so, it is determined that the first information is included in the event context of the event context database.
在一种可能的实现方式中,当所述第一资讯的相关信息包括:所述第一资讯的标题时,所述方法还包括:在事件对应的资讯中,检测是否存在与所述第一资讯的标题相同的资讯;若是,确定所述第一资讯包含于事件脉络数据库的事件脉络中。In a possible implementation, when the relevant information of the first information includes: the title of the first information, the method further includes: in the information corresponding to the event, detecting whether there is the same as the first information. The information has the same title; if so, it is determined that the first information is included in the event context of the event context database.
在一种可能的实现方式中,每个事件对应有核心词和关键词,当所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词时,所述方法还包括:当存在事件对应的核心词和关键词,与所述第一资讯的核心词和关键词均相同时,确定所述第一资讯包含于事件脉络数据库的事件脉络中。In a possible implementation, each event corresponds to a core word and a keyword. When the relevant information of the first information includes: the core word and keyword of the first information, the method further includes: When there are core words and keywords corresponding to the event, which are the same as the core words and keywords of the first information, it is determined that the first information is included in the event context of the event context database.
在一种可能的实现方式中,目标事件脉络是:与所述第一资讯的ID相同的资讯所属的事件脉络、与所述第一资讯的标题相同的资讯所属的事件脉络,或与所述第一资讯的核心词和关键词均相同的事件所属的事件脉络。所述方法还包括:接收来自所述电子设备的电子设备的标识;对应存储所述电子设备的标识和所述目标事件脉络的标识。In a possible implementation, the target event context is: an event context to which information with the same ID as the first information belongs, an event context to which information with the same title as the first information belongs, or an event context to which an event with the same core word and keyword as the first information belongs. The method further includes: receiving an electronic device identifier from the electronic device; and correspondingly storing the identifier of the electronic device and the identifier of the target event context.
在一种可能的实现方式中,所述方法还包括:当所述目标事件脉络更新时,根据所述电子设备的标识,向所述电子设备发送第二资讯,所述第二资讯为所述第一资讯的后续报道。In a possible implementation, the method further includes: when the target event context is updated, sending second information to the electronic device according to the identification of the electronic device, where the second information is the Follow-up report from First News.
下面对服务器获取事件、事件脉络,以及事件脉络数据库的过程进行说明:The following explains the process of the server obtaining events, event context, and event context database:
服务器可以获取资讯数据,且每隔预设时长将预设窗口内的资讯数据进行聚类,得到至少一个簇,每个簇中的资讯的关键词相同,或每个簇中的资讯的文本语义相同。在所述至少一个簇中确定目标簇;根据所述目标簇,生成事件或事件脉络。在一种示例中,服务器可以根据目标簇包含资讯的数量,将包含资讯的数量大于数量阈值的簇作为目标簇。The server can obtain the information data, and cluster the information data within the preset window every preset time period to obtain at least one cluster. The keywords of the information in each cluster are the same, or the text semantics of the information in each cluster are the same. same. A target cluster is determined in the at least one cluster; an event or event context is generated according to the target cluster. In one example, the server may use a cluster containing a quantity of information greater than a quantity threshold as a target cluster based on the quantity of information contained in the target cluster.
服务器可以获取所述目标簇的核心词和关键词。所述核心词为实体,所述关键词是围绕所述实体进行描述的词语,这样,服务器可以根据目标簇的核心词和关键词,得到事件,其中,事件包括:事件所属目标簇的核心词、关键词,以及事件的发布时间、发布者以及发布内容。The server can obtain the core words and keywords of the target cluster. The core words are entities, and the keywords are words describing the entities. In this way, the server can obtain events based on the core words and keywords of the target cluster, where the events include: the core words and keywords of the target cluster to which the events belong, as well as the publishing time, publisher, and publishing content of the events.
在一种示例中,服务器还可以根据事件的核心词、关键词,以及事件的语义,检测事件之间是否具有前后的关联性。若事件之间是否具有前后的关联性,服务器可以将具有前后的关联性的事件生成所述 事件脉络。若目标簇对应的事件之间是否具有前后的关联性,服务器可以生成事件,而不生成所述事件脉络。In one example, the server can also detect whether there is a correlation between events based on the core words and keywords of the events, and the semantics of the events. If there is a before-and-after correlation between events, the server can generate the above-mentioned The sequence of events. If there is a correlation between the events corresponding to the target cluster, the server can generate the event without generating the event context.
因为服务器可以不断获取资讯数据,得到新的目标簇,这样服务器就可以得到新的事件,因此服务器可以根据事件的核心词、关键词,以及事件的语义,以及新的事件的核心词、关键词,以及事件的语义,检测事件之间是否具有前后的关联性。若事件之间是否具有前后的关联性,在服务器已生成事件的情况下,服务器可以生成事件脉络。若事件之间是否具有前后的关联性,在服务器已生成事件脉络的情况下,服务器可以更新事件脉络。Because the server can continuously obtain information data and obtain new target clusters, the server can obtain new events. Therefore, the server can obtain new events based on the core words and keywords of the event, as well as the semantics of the event, as well as the core words and keywords of the new event. , and the semantics of events to detect whether there is a correlation between events. If there is a correlation between events, the server can generate an event context if the server has already generated the event. If there is a correlation between events, the server can update the event context when the server has generated the event context.
其中,在服务器生成事件脉络之后,服务器可以将所述事件脉络写入所述事件脉络数据库,事件脉络数据库为第一方面中涉及的事件脉络数据库。Wherein, after the server generates the event context, the server can write the event context into the event context database, and the event context database is the event context database involved in the first aspect.
在一种可能的实现方式中,若电子设备中可以存储事件脉络数据库,该事件脉络数据库可以由电子设备生成,或者由服务器生成,且同步至电子设备。In a possible implementation, if the event context database can be stored in the electronic device, the event context database can be generated by the electronic device or generated by the server and synchronized to the electronic device.
在一种可能的实现方式中,服务器生成时间后,若事件在第二预设时长内不存在资讯报道,即不存在后续报道,则服务器可以删除不存在资讯报道的事件,以减少事件占用的内存,或者,服务器可以标记所述不存在资讯报道的事件,以便在该事件存在资讯报道时,服务器可以及时基于该事件以及资讯报道,生成事件脉络。In one possible implementation, after the server generates the time, if there is no information report on the event within the second preset time period, that is, there is no subsequent report, the server can delete the event without information report to reduce the time occupied by the event. memory, or the server can mark the event for which no information report exists, so that when there is an information report for the event, the server can generate an event context based on the event and the information report in a timely manner.
第三方面,本申请实施例提供一种电子设备,该电子设备可以包括:处理器、存储器。存储器用于存储计算机可执行程序代码,程序代码包括指令;当处理器执行指令时,指令使所述电子设备执行如第一方面、第二方面中的方法。In a third aspect, embodiments of the present application provide an electronic device, which may include a processor and a memory. The memory is used to store computer executable program codes, and the program codes include instructions; when the processor executes the instructions, the instructions cause the electronic device to perform the methods in the first aspect and the second aspect.
第四方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面、第二方面中的方法。In a fourth aspect, embodiments of the present application provide a computer program product containing instructions that, when run on a computer, cause the computer to execute the methods in the above first and second aspects.
第五方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面、第二方面中的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the methods in the first and second aspects above.
上述第二方面至第五方面的各可能的实现方式,其有益效果可以参见上述第一方面所带来的有益效果,在此不加赘述。The beneficial effects of each possible implementation manner of the above-mentioned second aspect to the fifth aspect can be referred to the beneficial effects brought by the above-mentioned first aspect, and will not be described again here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一种事件脉络的示意图;Figure 1 is a schematic diagram of a sequence of events;
图2为用户搜索资讯的一种界面示意图;Figure 2 is a schematic diagram of an interface for users to search for information;
图3为本申请实施例提供的资讯推送方法适用的系统架构的示意图;Figure 3 is a schematic diagram of the system architecture applicable to the information push method provided by the embodiment of the present application;
图4为本申请实施例提供的服务器生成事件脉络的一种流程示意图;FIG4 is a flow chart of a server generating event context according to an embodiment of the present application;
图5为本申请实施例提供的服务器生成事件脉络的另一种流程示意图;Figure 5 is another schematic flowchart of a server-generated event context provided by an embodiment of the present application;
图6A为本申请实施例提供的资讯推送方法的一种实施例的流程示意图;Figure 6A is a schematic flow chart of an embodiment of the information pushing method provided by the embodiment of the present application;
图6B为本申请实施例提供的资讯推送方法的另一种实施例的流程示意图;Figure 6B is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application;
图7为本申请实施例提供的资讯推送的一种界面示意图;Figure 7 is a schematic interface diagram of information push provided by an embodiment of the present application;
图8为本申请实施例提供的资讯推送方法的另一种实施例的流程示意图;Figure 8 is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application;
图9为本申请实施例提供的资讯推送方法的另一种实施例的流程示意图;Figure 9 is a schematic flow chart of another embodiment of the information pushing method provided by the embodiment of the present application;
图10为本申请实施例提供的服务器、电子设备的内部结构的一种示意图;Figure 10 is a schematic diagram of the internal structure of the server and electronic equipment provided by the embodiment of the present application;
图11为本申请实施例提供的电子设备的一种示意图。FIG. 11 is a schematic diagram of an electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例涉及到的术语释义:Definitions of terms involved in the embodiments of this application:
事件:可以理解为话题。示例性的,如香蕉增产事件、新手机发布事件等。Event: can be understood as a topic. Examples include banana production increase events, new mobile phone release events, etc.
资讯:关于某一事件的报道可以称为资讯。资讯中可以包括文字、图片、视频、语音等内容,资讯中包含的内容与资讯报道的事件相关联。Information: Reports about an event can be called information. Information can include text, pictures, videos, voices, etc. The content contained in the information is related to the events reported in the information.
事件脉络:围绕事件的持续性报道。示例性的,参照图1,关于香蕉增产事件的事件脉络指的是对香蕉增产以及香蕉增产后续的一些报道,该事件脉络可以包括:7月1日香蕉增产事件,7月3日香蕉销售 至各地事件,以及7月30日香蕉销售完成事件。本申请实施例中以文字形式表征事件脉络为例,在一种示例中,事件脉络还可以以图片、文字,语音等结合的形式表征,本申请实施例对此不作限制。Event context: Continuous reporting around events. For example, referring to Figure 1, the event context regarding the banana production increase event refers to some reports on the banana production increase and the follow-up reports of the banana production increase. This event context may include: the banana production increase event on July 1, and the banana sales on July 3. to events in various places, as well as the completion of banana sales on July 30. In the embodiment of the present application, the context of events is represented in the form of text as an example. In one example, the context of events can also be represented in the form of a combination of pictures, text, voice, etc., and the embodiment of the present application is not limited to this.
实体:客观存在的事物。实体可以包括但不限于:人物、物品等,实体如水果、手机等。Entity: something that exists objectively. Entities can include but are not limited to: characters, objects, etc. Entities such as fruits, mobile phones, etc.
在信息丰富的时代,每天都有海量的资讯报道。有些资讯并非孤立的单独事件,往往有一系列的报道,可以形成事件脉络,事件脉络能够完整地阐述整个事件全貌。用户在阅读一个感兴趣的资讯后,若想要继续阅读后续的报道,需要主动搜索相关的资讯,操作复杂,实时性差。In an era of abundant information, there are massive amounts of information reported every day. Some information is not an isolated incident. There is often a series of reports that can form a chain of events. The chain of events can completely explain the entire incident. After reading an interesting piece of information, if the user wants to continue reading subsequent reports, he or she needs to actively search for relevant information, which is complex and has poor real-time performance.
在一种示例中,目前的资讯类应用(application,APP)会在资讯的详情页面的底部增加相关资讯推荐,在用户阅读完资讯后,可以阅读相关的资讯。示例性的,如关于香蕉增产事件的报道,资讯类应用会在资讯的详情页面的底部推荐如“猕猴桃的产量”、“香蕉的种类”,以及“香蕉的营养价值”等相关资讯。在该种示例中,资讯类应用为用户推荐的是该资讯相关的资讯,并不是该资讯的后续报道,用户无法及时阅读资讯的后续报道。In one example, current information applications (APPs) will add relevant information recommendations at the bottom of the information details page. After the user has finished reading the information, he or she can read the related information. For example, if there is a report about an increase in banana production, the information application will recommend relevant information such as "kiwi fruit production", "banana types", and "banana nutritional value" at the bottom of the information details page. In this example, the information application recommends information related to the information to the user, not the follow-up reports of the information, and the user cannot read the follow-up reports of the information in a timely manner.
在一种示例中,资讯的发布者可以对资讯进行一系列报道,用户在阅读一资讯时,可以进入该资讯的发布者的主页,阅读资讯的发布者对资讯进行一系列报道。在该种示例中,用户虽然能够阅读事件的后续报道,但是需要用户主动进入资讯的发布者的主页进行阅读,且若该事件有进一步的报道,用户也无法及时知晓该新的报道。资讯的发布者可以包括但不限于:发布作者、网站、站点等。In one example, the publisher of the information can make a series of reports on the information. When the user reads a piece of information, he or she can enter the homepage of the publisher of the information, and the publisher who reads the information can make a series of reports on the information. In this example, although the user can read the follow-up reports of the event, the user needs to actively enter the homepage of the publisher of the information to read, and if there are further reports on the event, the user will not be informed of the new reports in a timely manner. Publishers of information may include but are not limited to: publishing authors, websites, sites, etc.
在一种示例中,目前的资讯类应用可以为用户提供事件脉络。示例性的,当用户在资讯类应用中搜索“香蕉增产”的资讯时,资讯类应用可以显示该资讯相关的事件脉络,如图2所示。其中,用户可以点击事件脉络中的任一事件,阅读相关的资讯。在该示例中,虽然资讯类应用可以为用户提供事件脉络,但一方面需要用户主动搜索,另一方面若该事件有进一步的报道,用户同样也无法及时知晓该新的报道,也需要通过主动搜索资讯,才能阅读新的报道。In one example, current information applications can provide users with event context. For example, when a user searches for information about "increased banana production" in an information application, the information application can display a sequence of events related to the information, as shown in Figure 2. Among them, users can click on any event in the event context to read related information. In this example, although the information application can provide the user with the context of the event, on the one hand, it requires the user to actively search for it. On the other hand, if there are further reports on the event, the user will not be able to know the new report in a timely manner and will also need to actively search for it. Search for information to read new reports.
本申请实施例提供一种资讯推送方法,在用户阅读资讯时,若该资讯包含于已生成的事件脉络中,则电子设备可以提示用户关注资讯的后续报道,在用户同意关注后续报道的情况下,当该资讯有后续报道时,电子设备可以直接将后续报道推送给用户,以便用户可以及时知晓该后续报道以及阅读该后续报道,进而提高用户体验。Embodiments of the present application provide an information push method. When a user reads information, if the information is included in the generated event context, the electronic device can prompt the user to pay attention to subsequent reports of the information. If the user agrees to pay attention to the subsequent reports, , when there is a follow-up report on the information, the electronic device can directly push the follow-up report to the user, so that the user can know the follow-up report and read the follow-up report in a timely manner, thus improving the user experience.
在介绍本申请实施例提供的资讯推送方法之前,首先结合图3,对本申请实施例提供的资讯推送方法适用的系统架构进行介绍。参照图3,该系统架构可以包括:电子设备和服务器。Before introducing the information push method provided by the embodiment of the present application, first, the system architecture applicable to the information push method provided by the embodiment of the present application is introduced with reference to Figure 3 . Referring to Figure 3, the system architecture may include: electronic devices and servers.
本申请实施例中的电子设备可以称为用户设备(user equipment,UE)、终端(terminal)等,例如,电子设备可以为手机、平板电脑(portable android device,PAD)、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备、车载设备或可穿戴设备,虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、智慧家庭(smart home)中的无线终端等,本申请实施例中对电子设备的形态不做具体限定。应理解,本申请实施例中的附图中以电子设备为手机为例进行说明。The electronic device in the embodiment of the present application may be called user equipment (UE), terminal, etc., for example, the electronic device may be a mobile phone, a tablet computer (portable android device, PAD), a personal digital processor (personal digital) assistant (PDA), handheld device, computing device, vehicle-mounted device or wearable device with wireless communication function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, industrial control (industrial control) ), wireless terminals in smart homes, etc. In the embodiments of this application, the form of the electronic device is not specifically limited. It should be understood that in the drawings in the embodiments of the present application, the electronic device is a mobile phone as an example for description.
服务器可以为电子设备提供资讯。示例性的,服务器可以为:电子设备中资讯类应用的服务器,或者云服务器等,本申请实施例对此不做限制。The server can provide information for the electronic device. For example, the server can be: a server for information applications in the electronic device, or a cloud server, etc., which is not limited in the embodiments of the present application.
当服务器为电子设备提供资讯时,电子设备可以显示对应的资讯,以便用户可以在电子设备上阅读资讯。示例性的,用户可以在电子设备上安装的资讯类应用中,搜索资讯,以及阅读资讯。When the server provides information to the electronic device, the electronic device can display the corresponding information so that the user can read the information on the electronic device. For example, users can search for information and read information in information applications installed on electronic devices.
下面结合图4,说明服务器获取资讯、生成事件、事件脉络,以及更新事件脉络的过程:The following is combined with Figure 4 to illustrate the process of the server obtaining information, generating events, event context, and updating event context:
S401,服务器获取资讯数据。S401, the server obtains information data.
服务器可以接入至少一个资讯提供平台,以获取该至少一个资讯提供平台提供的资讯数据。资讯提供平台可以包括但不限于为:新闻资讯平台、新闻站点、网志(blog)。服务器可以对至少一个资讯提供平台,进行资讯爬虫,得到资讯数据。The server can access at least one information providing platform to obtain information data provided by the at least one information providing platform. Information providing platforms may include but are not limited to: news information platforms, news sites, and blogs. The server can crawl information on at least one information providing platform to obtain information data.
在一种示例中,资讯提供平台可以为垂域网站。服务器可以以垂域网站为基础进行资讯爬虫,以获取资讯数据。示例性的,以科技类资讯为例,垂域网站可以包括但不限于科技站点、技术blog,以及科技类资讯平台。In one example, the information providing platform may be a vertical website. The server can crawl information based on vertical domain websites to obtain information data. For example, taking technology information as an example, vertical websites may include but are not limited to technology sites, technology blogs, and technology information platforms.
本申请实施例中,服务器可以接入多个资讯源,以获取多源资讯,可以保证资讯的全面性、实时性,以及热度性。 In the embodiment of this application, the server can access multiple information sources to obtain multi-source information, which can ensure the comprehensiveness, real-timeness, and popularity of the information.
资讯数据可以包括但不限于:资讯、资讯ID、资讯发布时间、资讯发布者,以及资讯标题。应理解,资讯不同,资讯ID不同,资讯ID用于区分不同的资讯。Information data may include but is not limited to: information, information ID, information release time, information publisher, and information title. It should be understood that different information has different information IDs, and information IDs are used to distinguish different information.
S402,服务器聚类资讯数据,得到至少一个簇。S402: The server clusters the information data and obtains at least one cluster.
服务器可以通过关键词或者文本语义,聚类资讯数据,以得到至少一个簇。示例性的,以K-means算法为例,K-means算法的思路为:在资讯数据中选择N个关键词作为初始聚类中心,然后计算每个资讯与各初始聚类中心的距离,进而将各资讯分配给距离最近的初始聚类中心,聚类中心以及分配给聚类中心的资讯构成了簇。其中,N为大于或等于1的整数。本申请实施例对聚类算法不做限制,K-means算法为示例说明。The server can cluster information data through keywords or text semantics to obtain at least one cluster. For example, taking the K-means algorithm as an example, the idea of the K-means algorithm is: select N keywords in the information data as the initial clustering center, and then calculate the distance between each information and each initial clustering center, and then Each piece of information is assigned to the nearest initial clustering center. The clustering center and the information assigned to the clustering center form a cluster. Among them, N is an integer greater than or equal to 1. The embodiments of this application do not limit the clustering algorithm, and the K-means algorithm is used as an example.
以关键词为例说明服务器聚类资讯数据,服务器聚类得到的一个簇中可以包括多个资讯,每个资讯中均包含该关键词。以关键词为“香蕉”和“增产”为例,服务器聚类得到的一个簇中的资讯中均包含有“香蕉”和“增产”。以文本语义为例说明服务器聚类资讯数据,服务器聚类得到的一个簇中可以包括多个资讯,每个资讯的文本语义均相同,如文本语义为“香蕉增产”,服务器聚类得到的一个簇中的资讯的文本语义均为香蕉增产。Taking keywords as an example to illustrate server clustering information data, a cluster obtained by server clustering can include multiple pieces of information, and each piece of information contains the keyword. Taking the keywords "banana" and "increase production" as an example, the information in a cluster obtained by the server clustering all contains "banana" and "increase production". Taking text semantics as an example to illustrate server clustering of information data, a cluster obtained by server clustering can include multiple pieces of information, and the text semantics of each information are the same. For example, the text semantics are "increase banana production", and a cluster obtained by server clustering The text semantics of the information in the cluster are all about increasing banana production.
应理解,本申请实施例中在服务器聚类资讯数据时,可以得到至少一个簇,不同簇中的资讯包括的关键词不同或文本语义不同。示例性的,服务器聚类资讯数据,可以得到M个簇,其中,簇1中资讯的文本语义均为“香蕉增产”,簇2中资讯的文本语义均为“手机发布”。M为大于或等于1的整数。It should be understood that in the embodiment of the present application, when the server clusters information data, at least one cluster can be obtained, and the information in different clusters includes different keywords or different text semantics. For example, the server clusters information data and can obtain M clusters. Among them, the textual semantics of the information in cluster 1 are "increase banana production", and the textual semantics of the information in cluster 2 are "mobile phone release". M is an integer greater than or equal to 1.
在一种实施例中,由于高热度的资讯通常具有聚集现象,示例性的,如在事件发生之后的0-6h,会有大规模的对该事件报道的资讯。考虑到事件的聚集报道特征,服务器可以将窗口大小为6h的资讯数据进行聚类,以得到至少一个簇。In one embodiment, since highly popular information usually has a clustering phenomenon, for example, within 0-6 hours after an event occurs, there will be a large amount of information reporting on the event. Considering the clustered reporting characteristics of the event, the server can cluster the information data with a window size of 6 hours to obtain at least one cluster.
在一种实施例中,服务器还可以每隔预设时长对预设窗口的资讯数据进行聚类,其中,预设时长可以如为3分钟、10分钟等,本申请实施例对此不作限制。预设窗口如可以6h、10h等,本申请实施例对此不作限制。在实施例中的预设时长可以称为第一预设时长。In one embodiment, the server can also cluster the information data of the preset window every preset time period, where the preset time period can be, for example, 3 minutes, 10 minutes, etc. This is not limited in the embodiment of the present application. The preset window may be 6h, 10h, etc., and the embodiment of the present application does not limit this. The preset duration in the embodiment may be called the first preset duration.
也就是说,服务器可以通过聚类资讯数据,可以将同一事件相关的资讯聚类在一起。应理解,每个簇中除了包括资讯,还可以包括资讯ID、资讯发布时间、资讯发布者,以及资讯标题。That is, the server can cluster information related to the same event together by clustering information data. It should be understood that each cluster may include information ID, information release time, information publisher, and information title in addition to information.
S403,服务器在至少一个簇中,确定目标簇。S403: The server determines the target cluster in at least one cluster.
同一时间段内,通常发布的资讯都是围绕着某一事件的相关报道,该种报道重复度较高,因此服务器可以在聚类得到的至少一个簇中,确定目标簇。目标簇为待形成事件的簇,目标簇可以理解为:簇中的资讯的报道多,重复度高,即热度高,因此服务器可以将热度高的资讯所属的簇作为目标簇,以基于目标簇生成事件。In the same time period, the information released is usually related to reports surrounding a certain event. Such reports have a high degree of repetition, so the server can determine the target cluster in at least one cluster obtained by clustering. The target cluster is the cluster of events to be formed. The target cluster can be understood as: the information in the cluster has many reports and is highly repetitive, that is, it is highly popular. Therefore, the server can use the cluster to which the highly popular information belongs as the target cluster to base on the target cluster. Generate events.
在一种实施例中,服务器可以根据聚类得到的每个簇的大小,确定目标簇。其中,簇的大小可以由簇中包含的资讯的数量表征。在一种实施例中,服务器可以将资讯数量大于或等于资讯数量阈值的簇作为目标簇。目标簇可以包括至少一个簇,示例性的,簇1和簇2均为目标簇,下述以目标簇为例,说明服务器对每个目标簇的处理过程。In one embodiment, the server may determine the target cluster according to the size of each cluster obtained by clustering. The size of the cluster may be represented by the amount of information contained in the cluster. In one embodiment, the server may use a cluster whose amount of information is greater than or equal to an information amount threshold as a target cluster. The target cluster may include at least one cluster. For example, cluster 1 and cluster 2 are both target clusters. The following takes the target cluster as an example to illustrate the server's processing process for each target cluster.
S404,服务器根据目标簇,生成事件或事件脉络。S404: The server generates events or event contexts based on the target cluster.
服务器可以根据目标簇中的资讯,根据资讯中词语出现的频率、词语的权重等信息,确定目标簇的核心词和关键词。其中,核心词可以为:目标簇中的每个资讯中均包含的实体,关键词可以为:围绕核心词对核心词进行描述的词语。示例性的,以目标簇为簇1为例,目标簇的核心词为“香蕉”,围绕核心词“香蕉”进行描述的词语为“增产”,“增产”可以为目标簇的关键词。The server can determine the core words and keywords of the target cluster based on the information in the target cluster, the frequency of words appearing in the information, the weight of the words, and other information. Among them, the core words can be: entities included in each information in the target cluster, and the keywords can be: words that describe the core words around the core words. For example, taking the target cluster as cluster 1, the core word of the target cluster is "banana", and the words describing the core word "banana" are "increase production", and "increase production" can be the keyword of the target cluster.
其中,词语出现的频率可以理解为:在目标簇中的资讯中,词语出现的次数。若词语在资讯的标题中出现,则词语的权重较大,若词语在资讯的正文中出现,则词语的权重较小。在一种实施例中,可以预先设置标题中出现的词语的权重,以及正文中出现的词语的权重。其中,词语出现的次数越大、词语的权重越高,则该词语被确定为核心词和关键词的概率越大。Among them, the frequency of word occurrence can be understood as: the number of times a word appears in the information in the target cluster. If the word appears in the title of the information, the weight of the word is greater; if the word appears in the text of the information, the weight of the word is smaller. In one embodiment, the weights of words appearing in the title and the weights of words appearing in the text can be preset. Among them, the greater the number of times a word appears and the higher the weight of the word, the greater the probability that the word is determined to be a core word and keyword.
在一种实施例中,服务器可以将权重最高,以及出现的次数最多的实体作为核心词。服务器可以将权重排序第二,以及出现次数排序第二的词语处于作为关键词,本申请实施例中对关键词的数量不做限制,如可以为1个、2个或3个等。In one embodiment, the server may use the entity with the highest weight and the most occurrences as the core word. The server can use the word ranked second in weight and ranked second in frequency of occurrence as a keyword. In the embodiment of the present application, there is no limit to the number of keywords, for example, it can be 1, 2, or 3, etc.
在一种实施例中,服务器在确定目标簇的核心词之后,还可以分析目标簇中每个资讯关于核心词的报道的语义,进而将重复度最高的语义对应的词语作为目标簇的关键词。示例性的,核心词为“香蕉”, 目标簇中关于核心词的报道的语义重复度最高的语义为“增产”,进而将词语“增产”作为目标簇的关键词。In one embodiment, after determining the core words of the target cluster, the server can also analyze the semantics of each information report about the core words in the target cluster, and then use the semantically corresponding words with the highest repetition rate as the keywords of the target cluster. . For example, the core word is "banana", The most repetitive semantic meaning of the reports about the core words in the target cluster is "increase production", and then the word "increase production" is used as the keyword of the target cluster.
在一种实施例中,服务器可以根据目标簇的核心词和关键词,生成事件。其中,事件中包含目标簇的核心词和关键词。示例性的,以目标簇的核心词为“香蕉”,关键词为“增产”为例,服务器可以将“香蕉增产”作为一个事件。In one embodiment, the server can generate events based on the core words and keywords of the target cluster. Among them, the event contains the core words and keywords of the target cluster. For example, taking the core word of the target cluster as "banana" and the keyword as "increase in production", the server can treat "increase in banana production" as an event.
在一种实施例中,服务器还可以在目标簇的核心词和关键词的基础上添加时间,以得到事件,如事件可以为“7月1日香蕉增产”。应理解,服务器还可以在目标簇的核心词和关键词的基础上添加地点、天气等其他与事件相关的信息,以生成事件。In one embodiment, the server can also add time based on the core words and keywords of the target cluster to obtain the event. For example, the event can be "Banana production increased on July 1st." It should be understood that the server can also add location, weather and other event-related information based on the core words and keywords of the target cluster to generate an event.
在一种实施例中,服务器还可以在目标簇中,将包含有目标簇的核心词和关键词的资讯的标题作为事件,本申请实施例中对生成事件的方式不做限制。In one embodiment, the server may also use the title of the information containing the core words and keywords of the target cluster as an event in the target cluster. In the embodiment of the present application, there is no limit to the method of generating the event.
由于事件脉络具有明显的脉络特征,如果同一个主题的事件具有脉络特征,那么在时间维度上,会在一定时间范围内连续多次出现对应的核心词,以及除了核心词之外,还会出现核心词前后衔接的关键词。因此,本申请实施例中,服务器在生成事件后,还可以通过事件的核心词和关键词,筛选出具有同一核心词的全部事件,然后根据这些事件的热度性、前后的关联性,生成事件脉络。Since the event context has obvious context characteristics, if the events of the same theme have context characteristics, then in the time dimension, the corresponding core words will appear multiple times in a certain time range, and in addition to the core words, there will also be Keywords that connect the core words before and after. Therefore, in the embodiment of this application, after the server generates an event, it can also filter out all events with the same core word through the core words and keywords of the event, and then generate the event based on the popularity and relevance of these events. context.
示例性的,如服务器已生成的事件1为“香蕉增产”,以及事件2为“手机发布”。其中,以事件1为例,服务器可以检测事件3和事件4的核心词是否与事件1相同,以事件3为例,如事件3的核心词也为“香蕉”,则服务器可以根据事件1的关键词和事件3的关键词,检测事件3是否为事件1的后续报道。若事件3为事件1的后续报道,则确定事件3和事件1可以形成事件脉络,若事件3不为事件1的后续报道,则确定事件3和事件1不能形成事件脉络。For example, if the event 1 generated by the server is "increased banana production" and the event 2 is "mobile phone release", taking event 1 as an example, the server can detect whether the core words of event 3 and event 4 are the same as event 1. Taking event 3 as an example, if the core word of event 3 is also "banana", the server can detect whether event 3 is a follow-up report of event 1 based on the keywords of event 1 and event 3. If event 3 is a follow-up report of event 1, it is determined that event 3 and event 1 can form an event context. If event 3 is not a follow-up report of event 1, it is determined that event 3 and event 1 cannot form an event context.
示例性的,如事件3的核心词也为“香蕉”,且若事件3的关键词为“销售”,则服务器根据事件的前后关联性,确定香蕉增产之后可以进行销售,因此事件1和事件3具有前后的关联性,因此服务器可以将事件3作为事件1的后续报道,即服务器可以确定事件3和事件1可以形成事件脉络。For example, if the core word of event 3 is also "banana", and if the keyword of event 3 is "sales", the server determines that bananas can be sold after the increase in banana production based on the correlation of the events. Therefore, event 1 and event 3 3 is related before and after, so the server can report event 3 as a follow-up report of event 1, that is, the server can determine that event 3 and event 1 can form an event context.
示例性的,如事件3的核心词也为“香蕉”,且若事件3的关键词为“营养价值排行榜”,该关键词表征香蕉在营养价值排行榜中的排序,与“香蕉增产”事件不具有前后的关联性,因此事件3不是事件1的后续报道,即服务器可以确定事件3和事件1不能形成事件脉络。在该示例中,服务器可以通过关键词是否具有前后的关联性,剔除混淆事件,如事件3虽然与事件1具有相同的核心词,但是两个事件并不具有前后的关联性,事件3可以称为混淆事件。For example, if the core word of event 3 is also "banana", and if the keyword of event 3 is "nutritional value ranking", this keyword represents the ranking of bananas in the nutritional value ranking, and is the same as "increased banana production" Events are not related before and after, so event 3 is not a follow-up report of event 1, that is, the server can determine that event 3 and event 1 cannot form an event context. In this example, the server can eliminate confusing events based on whether the keywords are related before and after. For example, although event 3 has the same core words as event 1, the two events do not have relatedness before and after. Event 3 can be called for confusing events.
换句话说,服务器可以根据事件的核心词、关键词,以及事件的语义,检测事件之间是否具有前后的关联性,在事件之间具有前后的关联性时,服务器可以根据事件生成事件脉络。示例性的,服务器生成关于“香蕉”的事件可以如图1所示。In other words, the server can detect whether there is a correlation between events based on the core words and keywords of the event, as well as the semantics of the event. When there is a correlation between events, the server can generate an event context based on the event. For example, the server generates an event about "banana" as shown in Figure 1.
S405,服务器将已生成的事件或事件脉络写入离线数据库。S405: The server writes the generated events or event context into the offline database.
服务器在生成事件或事件脉络后,可以将事件或事件脉络写入离线数据库。After the server generates an event or event context, it can write the event or event context into an offline database.
离线数据库中存储有至少一个事件,每个事件包括:事件的核心词、关键词,以及事件的发布时间、发布者以及发布内容。其中,目标簇的核心词、关键词可以分别作为事件的核心词、关键词。At least one event is stored in the offline database, and each event includes: the core words and keywords of the event, as well as the release time, publisher, and release content of the event. Among them, the core words and keywords of the target cluster can be used as the core words and keywords of the event respectively.
在一种实施例中,离线数据库中可以包括目标簇中的每个资讯,因此事件的发布时间包括每个资讯的发布时间,发布者即为每个资讯的发布者,以及发布内容即为每个资讯的内容。In one embodiment, the offline database may include each information in the target cluster, so the publishing time of the event includes the publishing time of each information, the publisher is the publisher of each information, and the publishing content is the content of each information.
在一种实施例中,因为目标簇中的资讯大多为重复性报道,因此服务器还可以根据目标簇中的资讯,确定事件的发布时间、发布者以及发布内容。示例性的,服务器可以将目标簇中资讯发布时间最集中的时间、或资讯发布最早的时间作为事件的发布时间。服务器可以将发布资讯时间最早的发布者,或阅读量最大的资讯的发布者作为事件的发布者。服务器可以将发布时间最早的资讯,或阅读量最大的资讯作为事件的发布内容。In one embodiment, because most of the information in the target cluster is repetitive reports, the server can also determine the release time, publisher, and release content of the event based on the information in the target cluster. For example, the server can use the time with the most concentrated information publishing time in the target cluster or the earliest time of information publishing as the publishing time of the event. The server can use the publisher with the earliest time to publish information or the publisher with the most read information as the publisher of the event. The server can use the information with the earliest publication time or the information with the largest number of reads as the published content of the event.
在一种示例中,离线数据库中存储至少一个事件脉络,每个事件脉络中可以包括至少两个事件,以及每个事件的核心词、关键词,以及每个事件对应的资讯的相关数据。资讯的相关数据可以包括:资讯ID、资讯发布时间、资讯发布者,以及资讯标题。In one example, at least one event context is stored in the offline database, and each event context may include at least two events, as well as core words and keywords of each event, and related data of information corresponding to each event. Information-related data may include: information ID, information release time, information publisher, and information title.
可以理解的是,S405是可选步骤,图4中未示出S405。It can be understood that S405 is an optional step and is not shown in Figure 4 .
S406,在服务器生成事件的情况下,当事件有更新时,服务器根据事件生成事件脉络。S406: When the server generates an event, when the event is updated, the server generates an event context based on the event.
本申请实施例中,因为服务器可以每隔预设时长对预设窗口的资讯数据进行聚类,因此服务器会持 续获取新的簇,以得到新的事件。也就是说,服务器可以不断执行S403-S405,以将新的事件或事件脉络写入离线数据库。In this embodiment of the present application, because the server can cluster the information data of the preset window every preset time period, the server will continue to Continue to obtain new clusters to get new events. That is to say, the server can continuously execute S403-S405 to write new events or event contexts into the offline database.
服务器可以根据不断生成的事件,生成事件脉络,可以参照S404中的相关描述。The server can generate event context based on continuously generated events. You can refer to the relevant description in S404.
S407,在服务器生成事件脉络的情况下,当事件有更新时,服务器根据事件更新事件脉络。S407: When the server generates an event context, when the event is updated, the server updates the event context according to the event.
在服务器已生成事件脉络的情况下,当事件有更新时,服务器可以获取新的事件。服务器可以根据新的事件的核心词、关键词,以及事件的语义,检测新的事件是否与已生成的事件脉络中的事件具有前后的关联性,在新的事件与已生成的事件脉络中的事件具有前后的关联性时,服务器可以将新的事件加入已生成的事件脉络中,以更新事件脉络。When the server has generated an event context, the server can obtain new events when the events are updated. The server can detect whether the new event is related to the events in the generated event context based on the core words, keywords, and event semantics of the new event. When events are related before and after, the server can add new events to the generated event context to update the event context.
示例性的,服务器已生成的事件脉络中包括:香蕉增产事件和香蕉销售至各地事件。服务器获取的新的事件为香蕉销售完成事件,服务器根据新的事件的核心词、关键词,以及事件的语义,确定新的事件与已生成的事件脉络具有前后的关联性,则可以将“香蕉销售完成事件”加入已生成的事件脉络中,更新事件脉络。For example, the event context generated by the server includes: banana production increase event and banana sales to various places event. The new event acquired by the server is the banana sales completion event. Based on the core words, keywords, and event semantics of the new event, the server determines that the new event is related to the generated event context, and then the "banana" can be "Sales Completed Event" is added to the generated event context and updates the event context.
S408,服务器将事件脉络写入在线的事件脉络数据库。S408: The server writes the event context into the online event context database.
在线的事件脉络数据库中存储有多个事件脉络,如多个事件脉络中可以包括:关于“香蕉”的事件脉络,以及关于手机的事件脉络。事件脉络数据库,可以用于服务器查询用户阅读的资讯是否为事件脉络中的一个事件。在一种示例中,在线的事件脉络数据库可以简称为“事件脉络数据库”。The online event context database stores multiple event contexts. For example, the multiple event contexts may include: an event context about "banana" and an event context about mobile phones. The event context database can be used by the server to query whether the information read by the user is an event in the event context. In one example, the online event context database may be referred to as an "event context database" for short.
可以理解的是,S408是可选步骤。图4中未示出S408。It is understandable that S408 is an optional step. S408 is not shown in Figure 4 .
S409,服务器删除离线数据库中已完结的事件。S409, the server deletes completed events in the offline database.
应理解,S409和S408没有先后顺序的区分。S409可以在S408之前执行,或在S408之后执行,或者二者可以同时执行。可以理解的是,S409是可选步骤,图4中未示出S409。It should be understood that there is no distinction in the order of S409 and S408. S409 can be executed before S408, or after S408, or both can be executed at the same time. It can be understood that S409 is an optional step and is not shown in Figure 4 .
对于一个热度较高的事件脉络而言,在事件没有完结的情况下,依旧陆续会有一定的资讯报道。但对于一个事件来说,若连续n天没有该事件的任何后续报道,则服务器可以确定该事件已经完结。在一种示例中,n如可以为30。在一种示例中,n天可以称为第二预设时长。换句话说,在第二预设时长内,事件不存在资讯报道,则服务器可以确定该事件已经完结。For a highly popular incident, even if the incident is not over, there will still be certain information reports one after another. But for an event, if there is no follow-up report of the event for n consecutive days, the server can determine that the event has been completed. In one example, n may be 30. In one example, n days may be called the second preset time period. In other words, if there is no information report on the event within the second preset time period, the server can determine that the event has been completed.
在该实施例中,因为服务器可以每隔预设时长对预设窗口的资讯数据进行聚类,得到新的事件,假设服务器在30天内获取新的事件如事件3和事件4。以事件2“手机发布”为例,若事件3和事件4中均未包含核心词“手机”,或事件3、事件4中包含核心词“手机”,但事件3和事件4的语义并不是“手机发布”的后续报道,因此服务器可以确定连续n天没有事件2“手机发布”的任何后续报道,则可以确定该事件2已经完结,服务器可以删除离线数据库中已写入的事件2。In this embodiment, because the server can cluster the information data of the preset window every preset time period to obtain new events, it is assumed that the server obtains new events such as event 3 and event 4 within 30 days. Taking event 2 "mobile phone release" as an example, if neither event 3 nor event 4 contains the core word "mobile phone", or event 3 and event 4 contain the core word "mobile phone", but the semantics of events 3 and 4 are not Follow-up reports of "mobile phone release", so the server can determine that there is no follow-up report of event 2 "mobile phone release" for n consecutive days, then it can be determined that event 2 has been completed, and the server can delete event 2 that has been written in the offline database.
在一种实施例中,为了避免因n设置的过小造成的事件脉络中断的问题,服务器在确定连续n天没有该事件的任何后续报道时,可以将离线数据库中已写入的事件或事件脉络进行标记,如将事件或事件脉络置灰或者标记为“未更新”。如此设置的原因在于:因为一些事件需要经历很长时间,如2-3年才有后续的报道,若连续30天没有该事件的任何后续报道,服务器就删除离线数据库中已写入的事件或事件脉络,则会造成在有该事件的后续报道时,服务器不能根据之前写入的事件形成事件脉络或更新事件脉络。在该实施例中,服务器不删除离线数据库中已写入的事件或事件脉络,而是将已写入的事件或事件脉络进行标记,该种方式可以在该事件存在后续报道时,便于服务器生成事件脉络或更新事件脉络。In one embodiment, in order to avoid the problem of interruption of the event context caused by setting n too small, when the server determines that there are no subsequent reports of the event for n consecutive days, the server can store the events or events that have been written in the offline database. Mark the context, such as graying out the event or event context or marking it as "not updated". The reason for this setting is that some events take a long time, such as 2-3 years before there are follow-up reports. If there is no follow-up report on the event for 30 consecutive days, the server will delete the events written in the offline database or Event context will cause the server to be unable to form an event context or update an event context based on previously written events when there are subsequent reports of the event. In this embodiment, the server does not delete the events or event contexts that have been written in the offline database, but marks the written events or event contexts. This method can facilitate the server to generate reports when there are subsequent reports on the event. Line of events or update the line of events.
在一种实施例中,因为服务器可以不断地对预设窗口的资讯数据进行聚类,因此可以不断地得到新的事件,服务器可以根据新的事件,更新事件脉络数据库中的事件脉络。更新事件脉络数据库中的事件脉络可以包括但不限于:增加新的事件脉络、在已有的事件脉络中增加新的事件。In one embodiment, because the server can continuously cluster the information data of the preset window, new events can be continuously obtained, and the server can update the event context in the event context database based on the new events. Updating the event context in the event context database may include but is not limited to: adding a new event context, and adding new events to the existing event context.
图5为本申请实施例提供的服务器生成事件脉络的一种示意图。参照图5,服务器生成事件脉络的过程可以包括:资讯爬虫、聚类资讯数据、抽取事件核心词、将事件写入离线数据库、将事件脉络写入在线的事件脉络数据库。具体的,服务器生成事件脉络的过程可以参照图4中的相关描述。Figure 5 is a schematic diagram of a server-generated event context provided by an embodiment of the present application. Referring to Figure 5, the process of generating event context by the server may include: information crawling, clustering information data, extracting event core words, writing events into an offline database, and writing event context into an online event context database. Specifically, the process of the server generating the event context can refer to the relevant description in Figure 4.
在一种实施例中,参照图5,服务器还可以为用户提供推荐关注服务,以及资讯推送服务。其中,推荐关注服务可以理解为:在用户阅读资讯时,为用户提供关注资讯的后续报道的服务。资讯推送服务可以理解为:在用户关注资讯的后续报道的情况下,在资讯有后续报道时,可以第一时间将后续报道推送给用户。推荐关注服务,以及资讯推送服务具体可以参照图6A中的相关描述。In one embodiment, referring to Figure 5, the server can also provide users with recommended attention services and information push services. Among them, the recommended attention service can be understood as: a service that provides users with follow-up reports on the information they follow when they read the information. The information push service can be understood as: when the user pays attention to the follow-up reports of the information, when the information has follow-up reports, the follow-up reports can be pushed to the users as soon as possible. For details of the recommended attention service and the information push service, please refer to the relevant description in Figure 6A.
本申请实施例中,服务器可以对多源资讯数据进行聚类,以得到关注度高、热度高的事件,因为服 务器可以持续对多源资讯数据进行聚类,因此可以持续聚类得到新的事件,服务器可以根据事件的核心词、关键词,以及语义,在确定事件之间具有前后的关联性时,生成事件脉络。因为本申请实施例中服务器不仅根据核心词、关键词对事件进行筛选,还可以结合事件的语义确定具有前后的关联性的事件,以生成事件脉络,准确性高。In the embodiment of this application, the server can cluster multi-source information data to obtain events with high attention and popularity, because the server The server can continuously cluster multi-source information data, so it can continue to cluster to obtain new events. The server can generate a The sequence of events. Because in the embodiment of the present application, the server not only filters events based on core words and keywords, but also determines events with related events based on the semantics of the events to generate event context, which is highly accurate.
下面结合具体的实施例对本申请实施例提供的资讯推送方法进行说明。下面这几个实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The information push method provided by the embodiment of the present application is described below in conjunction with specific embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图6A为本申请实施例提供的资讯推送方法的一种实施例的流程示意图。参照图6A,本申请实施例提供的资讯推送方法可以包括:FIG. 6A is a schematic flowchart of an embodiment of the information pushing method provided by the embodiment of the present application. Referring to Figure 6A, the information pushing method provided by the embodiment of the present application may include:
S601,响应于用户的第一操作,电子设备显示第一资讯的详情页面。S601. In response to the user's first operation, the electronic device displays the details page of the first information.
第一操作用于触发电子设备显示第一资讯的详情页面。在一种示例中,如电子设备的界面上显示有第一资讯的标题,第一操作如可以为用户操作第一资讯的标题。在一种示例中,第一操作还可以为用户说出语音,语音如“阅读第一资讯”,本申请实施例对用户的第一操作不做限制。The first operation is used to trigger the electronic device to display the details page of the first information. In one example, if the title of the first information is displayed on the interface of the electronic device, the first operation may be for the user to operate the title of the first information. In one example, the first operation may also be for the user to speak a voice, such as "Read the first information." The embodiment of the present application does not limit the user's first operation.
第一资讯的详情页面可以包括但不限于:第一资讯的标题、内容、发布者,以及发布时间。The details page of First Information may include but is not limited to: the title, content, publisher, and release time of First Information.
示例性的,图7中的a为资讯类应用的界面,该界面可以为资讯的标题的列表界面,列表界面上显示有多个资讯的标题。用户点击标题“香蕉增产,果农高兴”,可以触发电子设备显示“香蕉增产,果农高兴”的详情页面,如图7中的b所示。其中,“香蕉增产,果农高兴”可以作为第一资讯的标题,用户点击“香蕉增产,果农高兴”的标题可以看作用户的第一操作。For example, a in Figure 7 is an interface of an information application. The interface may be a list interface of information titles. The list interface displays multiple information titles. When the user clicks on the title "Banana production increases, fruit farmers are happy", the electronic device can be triggered to display the details page of "Banana production increases, fruit farmers are happy", as shown in b in Figure 7. Among them, "Banana production increases, fruit farmers are happy" can be used as the title of the first information, and a user's click on the title "Banana production increases, fruit farmers are happy" can be regarded as the user's first action.
参照图7中的b,第一资讯的详情页面,即“香蕉增产,果农高兴”的详情页面可以包括:标题“香蕉增产,果农高兴”71、发布者“XX新闻”72、发布时间“2022年7月1日”73,以及内容74。Referring to b in Figure 7, the details page of the first information, that is, the details page of "Banana production increases, fruit farmers are happy" may include: title "Banana production increases, fruit farmers are happy" 71, publisher "XX News" 72, release time "2022 July 1, 2017" 73, and content 74.
S602,当第一资讯包含于事件脉络中时,电子设备输出第一提示信息。S602: When the first information is included in the event context, the electronic device outputs the first prompt information.
事件脉络为服务器已生成的事件脉络,当用户阅读的第一资讯包含于服务器已生成的事件脉络中时,电子设备可以输出第一提示信息。其中,第一提示信息用于提示用户关注所述第一资讯的后续报道。The event context is an event context that has been generated by the server. When the first information read by the user is included in the event context that has been generated by the server, the electronic device can output the first prompt information. The first prompt information is used to prompt the user to pay attention to subsequent reports of the first information.
在一种实施例中,服务器在为电子设备推送第一资讯时,可以携带标注信息,标注信息用于指示第一资讯包含于事件脉络中,或者,标注信息用于指示第一资讯是否包含于事件脉络中。电子设备在接收到第一资讯后,响应于第一操作,可以显示第一资讯,且通过第一资讯的标注信息,确定第一资讯是否包含于事件脉络中。其中,当第一资讯包含于事件脉络中时,电子设备输出第一提示信息,当第一资讯未包含于事件脉络中时,电子设备可以不输出第一提示信息。In one embodiment, when the server pushes the first information to the electronic device, it may carry annotation information, and the annotation information is used to indicate that the first information is included in the event context, or the annotation information is used to indicate whether the first information is included in the event context. After receiving the first information, the electronic device may display the first information in response to the first operation, and determine whether the first information is included in the event context through the annotation information of the first information. When the first information is included in the event context, the electronic device outputs the first prompt information, and when the first information is not included in the event context, the electronic device may not output the first prompt information.
在一种实施例中,电子设备可以在电子设备的界面上显示第一提示信息,或者电子设备可以以语音的方式输出第一提示信息,本申请实施例对电子设备输出第一提示信息的方式不做限制。示例性的,以电子设备在界面上显示第一提示信息为例,参照图7中的c,电子设备可以在第一资讯的详情页面显示第一提示框75,该第一提示框75中包括如“是否关注该资讯的后续报道”的第一提示信息、“确认”控件76,以及“取消”控件77。In one embodiment, the electronic device can display the first prompt information on the interface of the electronic device, or the electronic device can output the first prompt information in the form of voice. The embodiment of the present application provides a method for the electronic device to output the first prompt information. No restrictions. For example, taking the electronic device displaying the first prompt information on the interface as an example, referring to c in FIG. 7 , the electronic device can display the first prompt box 75 on the details page of the first information. The first prompt box 75 includes: For example, the first prompt information of "Whether you pay attention to the follow-up reports of this information", the "Confirm" control 76, and the "Cancel" control 77.
其中,用户可以操作“确认”控件76或“取消”控件77,以确定关注第一资讯的后续报道或不关注第一资讯的后续报道。Among them, the user can operate the "confirm" control 76 or the "cancel" control 77 to determine whether to pay attention to the subsequent reports of the first information or not to pay attention to the subsequent reports of the first information.
S603,在用户关注第一资讯的后续报道的情况下,当存在第二资讯时,电子设备推送第二资讯,第二资讯为第一资讯的后续报道。S603: When the user pays attention to the follow-up report of the first information, when there is second information, the electronic device pushes the second information, and the second information is the follow-up report of the first information.
第一资讯所属的事件脉络可以称为目标事件脉络。第二资讯为第一资讯的相关报道,当存在第二资讯时,电子设备可以推送第二资讯。换句话说,当第一资讯存在后续报道时,电子设备可以推送第二资讯。The event context to which the first information belongs can be called the target event context. The second information is related reports of the first information. When the second information exists, the electronic device can push the second information. In other words, when there are follow-up reports on the first information, the electronic device can push the second information.
参照图4中的描述,因为服务器会持续聚类多源资讯数据,因此服务器可以持续更新事件脉络数据库的事件脉络。示例性的,“香蕉增产”的事件脉络包括事件1“香蕉增产”和事件3“香蕉销售各地”,第一资讯可以为“香蕉增产”的资讯或“香蕉销售各地”的资讯。当“香蕉增产”的事件脉络更新时,如“香蕉增产”的事件脉络增加了事件5“香蕉销售完成”,则服务器可以向电子设备发送第二资讯,第二资讯是关于“香蕉销售完成”的资讯,第二资讯为第一资讯的后续报道。Referring to the description in Figure 4, because the server continues to cluster multi-source information data, the server can continuously update the event context of the event context database. For example, the event context of "increased banana production" includes event 1 "increased banana production" and event 3 "increased banana production". The first information may be information about "increased banana production" or information about "increased banana production". When the event context of "increased banana production" is updated, for example, the event context of "increased banana production" adds event 5 "banana sales completed", the server can send second information to the electronic device, and the second information is about "banana sales completed" The second information is the follow-up report of the first information.
事件5“香蕉销售完成”可以对应多个“香蕉销售完成”的资讯,在一种实施例中,服务器可以将任一关于“香蕉销售完成”的资讯发送给电子设备,或者服务器可以将阅读量最大的关于“香蕉销售完 成”的资讯发送给电子设备,本申请实施例对此不作限制。Event 5 "Banana sales completed" may correspond to multiple "Banana sales completed" information. In one embodiment, the server may send any information about "Banana sales completed" to the electronic device, or the server may send the most read information about "Banana sales completed" to the electronic device. The information of "completed" is sent to the electronic device, and this embodiment of the present application does not limit this.
在一种实施例中,服务器向电子设备发送第二资讯的方式可以为:向电子设备发送第二资讯的链接,以便于电子设备可以根据第二资讯的链接,获取并显示第二资讯。相应的,电子设备在接收到第二资讯时,可以显示第二资讯,以便用户可以及时阅读第一资讯的后续报道。In one embodiment, the server may send the second information to the electronic device by sending a link of the second information to the electronic device, so that the electronic device can obtain and display the second information according to the link of the second information. Correspondingly, when receiving the second information, the electronic device can display the second information so that the user can read the follow-up report of the first information in time.
在一种实施例中,电子设备在接收到来自服务器的第二资讯时,可以输出第二提示信息,第二提示信息用于提示用户阅读第二资讯,以避免电子设备直接显示第二资讯打扰用户当前的体验。In one embodiment, when the electronic device receives the second information from the server, it can output the second prompt information. The second prompt information is used to prompt the user to read the second information to avoid being disturbed by the electronic device directly displaying the second information. The user’s current experience.
示例性的,在用户阅读香蕉增产的第一资讯,且同意关注第一资讯的后续报道后,电子设备响应于接收到来自服务器的第二资讯,可以输出第二提示信息。在一种实施例中,电子设备可以采用弹窗的方式、或在资讯类应用中置顶第二资讯的方式,或在资讯类应用通知中进行提示的方式,输出第二提示信息,以便提示用户阅读第二资讯。For example, after the user reads the first information about increased banana production and agrees to pay attention to subsequent reports of the first information, the electronic device may output the second prompt information in response to receiving the second information from the server. In one embodiment, the electronic device may output the second prompt information in the form of a pop-up window, by pinning the second information on top of an information application, or by prompting in an information application notification, so as to prompt the user. Read the second information.
在一种实施例中,电子设备还可以根据电子设备的状态,确定适配于电子设备的状态的第二提示信息的输出方式。示例性的,当电子设备处于待机状态时,电子设备可以使用当前电子设备的推送机制,在通知消息中输出第二提示信息。当电子设备显示资讯的详情页面时,电子设备可以采用弹窗的方式输出第二提示信息。当电子设备正在显示资讯的标题的列表界面时,电子设备可以将第二资讯的标题(第二资讯的标题可以看作第二提示信息)置顶,以提示用户资讯已经更新。In one embodiment, the electronic device may also determine, according to the state of the electronic device, an output mode of the second prompt information adapted to the state of the electronic device. For example, when the electronic device is in a standby state, the electronic device may use the push mechanism of the current electronic device to output the second prompt information in the notification message. When the electronic device displays the information details page, the electronic device can output the second prompt information in the form of a pop-up window. When the electronic device is displaying the list interface of the title of the information, the electronic device can put the title of the second information (the title of the second information can be regarded as the second prompt information) on top to remind the user that the information has been updated.
除以上电子设备输出第二提示信息的方式之外,电子设备还可以通过资讯类应用内部发送消息的方式,输出第二提示信息。In addition to the above ways for the electronic device to output the second prompt information, the electronic device can also output the second prompt information by sending messages within the information application.
示例性的,参照图7中的d,假设用户正在阅读一资讯的内容,即电子设备显示一资讯的详情页面,电子设备可以显示第二提示框78,该第二提示框78中可以包括如“香蕉增产的资讯已更新,是否阅读新的资讯”的第二提示信息,以及“确认”控件79和“取消”控件80。For example, referring to d in FIG. 7 , assuming that the user is reading the content of an information, that is, the electronic device displays a details page of the information, the electronic device can display a second prompt box 78 , and the second prompt box 78 can include the following: The second prompt message "The information on banana production increase has been updated, do you want to read the new information?", as well as the "Confirm" control 79 and the "Cancel" control 80.
其中,用户可以操作“确认”控件79,以阅读第二资讯,或者用户可以操作“取消”控件80,取消阅读第二资讯。应理解,图7中的界面为示例说明,本申请实施例对界面的样式和显示内容等不作限制。Among them, the user can operate the "confirm" control 79 to read the second information, or the user can operate the "cancel" control 80 to cancel reading the second information. It should be understood that the interface in Figure 7 is an example, and the embodiment of the present application does not limit the style and display content of the interface.
其中,电子设备响应于用户的第二操作,显示第二资讯的详情页面。其中,用户的第二操作用于触发电子设备显示第二资讯的详情页面,第二操作可以参照第一操作的相关描述。Wherein, in response to the user's second operation, the electronic device displays the details page of the second information. The user's second operation is used to trigger the electronic device to display the details page of the second information. The second operation may refer to the relevant description of the first operation.
示例性的,参照图7中的d,用户点击“确认”控件79,表征用户想要阅读第二资讯,电子设备响应于用户点击“确认”控件79的操作,可以显示第二资讯的详情页面,如图7中的e所示。示例性的,图7中的e显示的为香蕉销售完成的资讯的详情页面。其中,用户点击“确认”控件79可以看作用户的第二操作。For example, referring to d in FIG. 7 , the user clicks the "Confirm" control 79 , indicating that the user wants to read the second information. In response to the user clicking the "Confirm" control 79 , the electronic device can display the details page of the second information. , as shown in e in Figure 7. For example, e in Figure 7 shows the details page of information completed for banana sales. Among them, the user's click on the "Confirm" control 79 can be regarded as the user's second operation.
本申请实施例中,在用户阅读第一资讯时,若第一资讯包含于事件脉络数据库的事件脉络中,则电子设备可以主动提示用户是否关注第一资讯的后续报道,当用户同意关注第一资讯的后续报道后,若事件脉络更新,则电子设备可以为用户推送第二资讯,以便于用户可以及时阅读第二资讯。在该种实施例中,电子设备可以主动提示用户关注第一资讯的后续报道,且可以在后续报道的第一时间推送给用户,用户无需进行额外的操作,操作简便,实时性高。In the embodiment of the present application, when the user reads the first information, if the first information is included in the event context of the event context database, the electronic device can actively prompt the user whether to pay attention to subsequent reports of the first information. When the user agrees to follow the first information After the information is subsequently reported, if the event context is updated, the electronic device can push the second information to the user so that the user can read the second information in time. In this embodiment, the electronic device can actively prompt the user to pay attention to subsequent reports of the first information, and can push the subsequent reports to the user as soon as possible. The user does not need to perform additional operations. The operation is simple and the real-time performance is high.
在一种实施例中,服务器在向电子设备推送第一资讯时,可以不携带第一资讯的标注信息。在该种实施例中,电子设备需要请求服务器中查询第一资讯是否包含于事件脉络中。参照图6B,本申请实施例提供的资讯推送方法可以包括:In one embodiment, when pushing the first information to the electronic device, the server may not carry the annotation information of the first information. In this embodiment, the electronic device needs to request the server to query whether the first information is included in the event context. Referring to Figure 6B, the information pushing method provided by the embodiment of the present application may include:
S601A,响应于用户的第一操作,电子设备显示第一资讯的详情页面。S601A, in response to the user's first operation, the electronic device displays the details page of the first information.
S601A可以参照S601的描述。S601A may refer to the description of S601.
S602A,电子设备向服务器发送第一资讯的相关信息。S602A. The electronic device sends relevant information of the first information to the server.
用户触发电子设备显示第一资讯的详情页面,表征用户需求阅读第一资讯的内容,因此电子设备在显示第一资讯的详情页面时,可以向服务器发送第一资讯的相关信息,以便于电子设备可以向服务器请求查询,第一资讯是否包含于在线的事件脉络数据库的事件脉络中,进而在第一资讯包含于在线的事件脉络数据库的事件脉络中时,电子设备可以提示用户关注第一资讯的后续报道。The user triggers the electronic device to display the details page of the first information, indicating that the user needs to read the content of the first information. Therefore, when the electronic device displays the details page of the first information, it can send relevant information of the first information to the server, so that the electronic device can The server may be requested to query whether the first information is included in the event context of the online event context database. Furthermore, when the first information is included in the event context of the online event context database, the electronic device may prompt the user to pay attention to the first information. Follow-up report.
在一种实施例中,因为第一资讯的标题可以表征第一资讯的核心内容,因此电子设备可以向服务器发送第一资讯的标题。在该实施例中,第一资讯的相关信息包括:第一资讯的标题。In one embodiment, because the title of the first information can represent the core content of the first information, the electronic device can send the title of the first information to the server. In this embodiment, the related information of the first information includes: the title of the first information.
在一种实施例中,第一资讯的相关信息可以包括:第一资讯的ID。 In one embodiment, the related information of the first information may include: the ID of the first information.
在一种实施例中,因为事件脉络数据库的事件脉络中存储有事件的核心词和关键词,因此电子设备可以获取第一资讯的核心词和关键词,可以参照S404中服务器获取核心词和关键词的描述。在该实施例中,第一资讯的相关信息可以包括:第一资讯的核心词和关键词。In one embodiment, because the core words and keywords of the event are stored in the event context of the event context database, the electronic device can obtain the core words and keywords of the first information, and can refer to the server in S404 to obtain the core words and keywords. word description. In this embodiment, the relevant information of the first information may include: core words and keywords of the first information.
在一种实施例中,事件脉络中还存储有第一资讯的内容,在该实施例中,电子设备还可以向服务器发送第一资讯的内容,在该实施例中,第一资讯的相关信息包括:第一资讯的内容。相较于如上方式,该种实施例中电子设备向服务器发送第一资讯的内容的方式,会占用较大的带宽资源。In one embodiment, the event context also stores the content of the first information. In this embodiment, the electronic device can also send the content of the first information to the server. In this embodiment, the relevant information of the first information Including: the content of First Information. Compared with the above method, the method in which the electronic device sends the content of the first information to the server in this embodiment will occupy larger bandwidth resources.
S603A,服务器根据第一资讯的相关信息,当检测到第一资讯包含于在线的事件脉络数据库的事件脉络中时,向电子设备发送第一消息,第一消息表征第一资讯包含于在线的事件脉络数据库的事件脉络中。S603A: Based on the relevant information of the first information, when the server detects that the first information is included in the event context of the online event context database, the server sends a first message to the electronic device. The first message indicates that the first information is included in the online event context. In the context of events in the context database.
其一,在一种实施例中,当第一资讯的相关信息包括第一资讯的标题时,服务器可以在事件脉络数据库的事件脉络中的事件中,检测是否存在与第一资讯的标题相同的资讯。其中,若存在与第一资讯的标题相同的资讯,则服务器可以确定第一资讯包含于事件脉络数据库的事件脉络中,若不存在与第一资讯的标题相同的资讯,则服务器可以确定第一资讯未包含于事件脉络数据库的事件脉络中。First, in one embodiment, when the relevant information of the first information includes the title of the first information, the server can detect whether there is information with the same title as the first information in the event in the event context of the event context database. If there is information with the same title as the first information, the server can determine that the first information is included in the event context of the event context database, and if there is no information with the same title as the first information, the server can determine that the first information is not included in the event context of the event context database.
在该实施例中,服务器还可以根据第一资讯的标题,获取第一资讯的核心词和关键词,因为事件脉络数据库的事件脉络中存储有事件的核心词和关键词,因此服务器可以通过比较核心词和关键词,来检测第一资讯是否包含于事件脉络数据库的事件脉络中。其中,当事件脉络数据库中存在与第一资讯的核心词和关键词相同的事件时,服务器可以确定第一资讯包含于事件脉络数据库的事件脉络中,当事件脉络数据库中不存在与第一资讯的核心词和关键词相同的事件时,则服务器确定第一资讯未包含于事件脉络数据库的事件脉络中。In this embodiment, the server can also obtain the core words and keywords of the first information based on the title of the first information. Because the event context of the event context database stores the core words and keywords of the event, the server can compare Core words and keywords are used to detect whether the first information is included in the event context of the event context database. Among them, when there are events with the same core words and keywords as the first information in the event context database, the server can determine that the first information is included in the event context of the event context database. When the event context database does not exist with the first information When the core words and keywords of the event are the same, the server determines that the first information is not included in the event context of the event context database.
其二,在一种实施例中,当第一资讯的相关信息包括第一资讯的ID时,服务器可以通过比较第一资讯的ID,以及事件脉络数据库的事件脉络中事件对应的资讯的ID,来检测第一资讯是否包含于事件脉络数据库的事件脉络中。其中,当事件脉络数据库的事件脉络中事件对应的资讯中,存在与第一资讯的ID相同的资讯时,服务器可以确定第一资讯包含于事件脉络数据库的事件脉络中,当事件脉络数据库的事件脉络中事件对应的资讯中,不存在与第一资讯的ID相同的资讯时,服务器可以确定第一资讯未包含于事件脉络数据库的事件脉络中。Second, in one embodiment, when the relevant information of the first information includes the ID of the first information, the server can compare the ID of the first information with the ID of the information corresponding to the event in the event context of the event context database, To detect whether the first information is included in the event context of the event context database. Among them, when the information corresponding to the event in the event context of the event context database contains information that is the same as the ID of the first information, the server can determine that the first information is included in the event context of the event context database. When the event context of the event context database When the information corresponding to the event in the context does not have the same ID as the first information, the server may determine that the first information is not included in the event context of the event context database.
其三,在一种实施例中,当第一资讯的相关信息包括第一资讯的核心词和关键词时,服务器可以通过比较核心词和关键词,检测第一资讯是否包含于事件脉络数据库的事件脉络中,可以参照其一中的相关描述。Third, in one embodiment, when the relevant information of the first information includes the core words and keywords of the first information, the server can detect whether the first information is included in the event context database by comparing the core words and keywords. In the context of events, you can refer to the relevant descriptions in one of them.
其四,在一种实施例中,当第一资讯的相关信息包括第一资讯的内容时,服务器可以通过比较第一资讯的内容,以及事件脉络数据库的事件脉络中事件对应的资讯的内容,以检测第一资讯是否包含于事件脉络数据库的事件脉络中。其中,当事件脉络数据库的事件脉络中事件对应的资讯中,存在与第一资讯的内容相同的资讯时,服务器可以确定第一资讯包含于事件脉络数据库的事件脉络中,当事件脉络数据库的事件脉络中事件对应的资讯中,不存在与第一资讯的内容相同的资讯时,服务器可以确定第一资讯未包含于事件脉络数据库的事件脉络中。Fourth, in one embodiment, when the relevant information of the first information includes the content of the first information, the server can compare the content of the first information with the content of the information corresponding to the event in the event context of the event context database, To detect whether the first information is included in the event context of the event context database. Among them, when the information corresponding to the event in the event context of the event context database contains information that is the same as the content of the first information, the server can determine that the first information is included in the event context of the event context database. When the event context of the event context database When the information corresponding to the event in the context does not have the same content as the first information, the server may determine that the first information is not included in the event context of the event context database.
当服务器确定第一资讯包含于事件脉络中时,可以将第一资讯所属的事件脉络称为目标事件脉络,服务器可以向电子设备发送第一消息。第一消息表征第一资讯包含于在线的事件脉络数据库的事件脉络中。When the server determines that the first information is included in the event context, the event context to which the first information belongs can be called the target event context, and the server can send the first message to the electronic device. The first message represents that the first information is included in the event context of the online event context database.
在一种示例中,电子设备在向服务器发送第一资讯的相关信息时,还可以向服务器发送电子设备的标识,以便于服务器在确定第一资讯对应的目标事件脉络时,可以对应存储目标事件的脉络的标识和电子设备的标识。示例性的,事件脉络数据库中包含有多个事件脉络,服务器可以为每个事件脉络进行标识,以区分事件脉络。事件脉络的标识可以包括但不限于:编号、核心词。In one example, when the electronic device sends the relevant information of the first information to the server, it can also send the identification of the electronic device to the server, so that when the server determines the target event context corresponding to the first information, it can correspondingly store the target event. The logo of the context and the logo of the electronic device. For example, the event context database contains multiple event contexts, and the server can identify each event context to distinguish the event contexts. The identifier of the event context may include but is not limited to: number and core words.
在一种示例中,第一消息中可以包含:目标事件的脉络的标识。In an example, the first message may include: an identification of the context of the target event.
S604A,电子设备响应于第一消息,输出第一提示信息,第一提示信息用于提示用户关注第一资讯的后续报道。S604A: The electronic device responds to the first message and outputs first prompt information. The first prompt information is used to prompt the user to pay attention to subsequent reports of the first information.
电子设备接收到来自服务器的第一消息,可以确定用户正在阅读的第一资讯包含于事件脉络数据库的事件脉络中,电子设备可以输出第一提示信息。其中,第一提示信息用于提示用户关注第一资讯的后续报道。 When the electronic device receives the first message from the server, it can determine that the first information the user is reading is included in the event context of the event context database, and the electronic device can output the first prompt information. Among them, the first prompt information is used to prompt the user to pay attention to the subsequent reports of the first information.
S605A,响应于用户关注第一资讯的后续报道的操作,电子设备向服务器发送电子设备的标识。S605A, in response to the user's operation of paying attention to the follow-up report of the first information, the electronic device sends the identification of the electronic device to the server.
用户关注第一资讯的后续报道的操作,用于表征用户同意继续关注第一资讯的后续报道。响应于用户关注第一资讯的后续报道的操作,电子设备可以向服务器发送电子设备的标识。The user's operation of following the subsequent reports of the first news is used to indicate that the user agrees to continue following the subsequent reports of the first news. In response to the user's operation of following the subsequent reports of the first news, the electronic device may send the identification of the electronic device to the server.
电子设备的标识可以包括但不限于:电子设备的设备标识或资讯类应用的账号。其中,电子设备的设备标识可以为电子设备的国际移动设备身份(international mobile equipment identity)。资讯类应用的账号可以理解为:用户申请的用于登录资讯类应用的账号。The identification of the electronic device may include but is not limited to: the device identification of the electronic device or the account number of the information application. Among them, the device identification of the electronic device may be the international mobile equipment identity (international mobile equipment identity) of the electronic device. The account of the information application can be understood as: the account applied by the user to log in to the information application.
示例性的,参照图7中的c,用户点击“确认”控件76表征用户关注第一资讯的后续报道,即用户点击“确认”控件76可以看作用户关注第一资讯的后续报道的操作,电子设备响应于用户点击“确认”控件76的操作,可以向服务器发送电子设备的标识。Exemplarily, referring to c in Figure 7, the user clicking the "Confirm" control 76 indicates that the user is paying attention to the subsequent reports of the first information, that is, the user clicking the "Confirm" control 76 can be regarded as the user's operation of paying attention to the subsequent reports of the first information, and the electronic device can send the identification of the electronic device to the server in response to the user clicking the "Confirm" control 76.
在一种实施例中,响应于用户关注第一资讯的后续报道的操作,电子设备可以向服务器发送电子设备的标识,以及第一资讯的相关信息,第一资讯的相关信息可以参照S602A中的描述In one embodiment, in response to the user's operation of paying attention to subsequent reports of the first information, the electronic device may send the identification of the electronic device and the related information of the first information to the server. The related information of the first information may refer to S602A. describe
应理解的是,S605A是可选步骤。图6B中未示出S605A。It should be understood that S605A is an optional step. S605A is not shown in FIG6B .
在一种示例中,电子设备响应于用户的第一操作,可以在向服务器请求第一资讯时,向服务器发送电子设备的标识。或者,在一种示例中,电子设备在向服务器发送第一资讯的相关信息时,可以向服务器发送电子设备的标识,本申请实施例对此不做限制In one example, in response to the user's first operation, the electronic device may send the identification of the electronic device to the server when requesting the first information from the server. Or, in an example, when the electronic device sends the relevant information of the first information to the server, the electronic device can send the identification of the electronic device to the server. This embodiment of the present application does not limit this.
在一种示例中,服务器在接收到来自电子设备的电子设备的标识后,可以对应存储电子设备的标识和目标事件脉络的标识。In one example, after receiving the identification of the electronic device from the electronic device, the server may correspondingly store the identification of the electronic device and the identification of the target event context.
在一种实施例中,当第一消息中包含有目标事件脉络的标识时,电子设备在向服务器发送电子设备的标识时,还可以向服务器发送目标事件脉络的标识。这样,服务器可以对应存储电子设备的标识和目标事件脉络的标识。In one embodiment, when the first message contains the identification of the target event context, when the electronic device sends the identification of the electronic device to the server, it may also send the identification of the target event context to the server. In this way, the server can correspondingly store the identification of the electronic device and the identification of the target event context.
在一种实施例中,当第一消息中未包含目标事件脉络的标识时,电子设备在向服务器发送电子设备的标识时,可以向服务器发送第一资讯的相关信息。这样,服务器可以根据第一资讯的相关信息,检测第一资讯包含于事件脉络数据库的事件脉络中,进而可以确定第一资讯对应的目标事件脉络。相应的,服务器也可以对应存储电子设备的标识和目标事件脉络的标识。In one embodiment, when the first message does not include the identification of the target event context, the electronic device may send the relevant information of the first information to the server when sending the identification of the electronic device to the server. In this way, the server can detect that the first information is included in the event context of the event context database based on the relevant information of the first information, and can further determine the target event context corresponding to the first information. Correspondingly, the server can also correspondingly store the identification of the electronic device and the identification of the target event context.
S606A,当存在第二资讯时,服务器向电子设备发送第二资讯,第二资讯为第一资讯的后续报道。S606A, when there is second information, the server sends the second information to the electronic device, and the second information is a follow-up report of the first information.
S607A,电子设备输出第二提示信息,第二提示信息用于提示用户阅读第二资讯。S607A, the electronic device outputs second prompt information, and the second prompt information is used to prompt the user to read the second information.
S608A,响应于用户的第二操作,电子设备显示第二资讯的详情页面。S608A, in response to the user's second operation, the electronic device displays the details page of the second information.
S606A-S608A可以参照S603中的相关描述。S606A-S608A can refer to the relevant description in S603.
上述实施例讲述了电子设备和服务器进行交互实现本申请实施例提供的资讯推送方法,在一种实施例中,电子设备也可以访问事件脉络数据库,由电子设备检测第一资讯是否包含于事件脉络数据库的事件脉络中,在该种实施例中,电子设备可以执行图6B中服务器执行的部分操作,如电子设备可以执行S601A、S603A-S604A、S607A-S608A中的操作。The above embodiment describes the interaction between the electronic device and the server to implement the information push method provided by the embodiment of the present application. In one embodiment, the electronic device can also access the event context database, and the electronic device detects whether the first information is included in the event context. In the event context of the database, in this embodiment, the electronic device can perform part of the operations performed by the server in Figure 6B, for example, the electronic device can perform the operations in S601A, S603A-S604A, and S607A-S608A.
本申请实施例中,电子设备可以向服务器发送第一资讯的相关信息,由服务器查询第一资讯是否包含于事件脉络中,可以减少服务器端在向电子设备推送第一资讯时发送的信息,减小带宽的使用。本申请实施例中,电子设备可以主动提示用户关注第一资讯的后续报道,且可以在后续报道的第一时间推送给用户,用户无需进行额外的操作,操作简便,实时性高。In the embodiment of the present application, the electronic device can send relevant information of the first information to the server, and the server queries whether the first information is included in the event context, which can reduce the amount of information sent by the server when pushing the first information to the electronic device. Small bandwidth usage. In the embodiment of this application, the electronic device can actively prompt the user to pay attention to the follow-up report of the first information, and can push the follow-up report to the user as soon as possible. The user does not need to perform additional operations, the operation is simple and the real-time performance is high.
在一种实施例中,用户可能会误触发电子设备显示第一资讯的详情页面,或者用户虽然触发电子设备显示第一资讯的详情页面,但是用户并不对第一资讯感兴趣,在该种情况下,若电子设备不考虑用户是否对第一资讯感兴趣,均输出第一提示信息,则频繁输出第一提示信息会对用户造成干扰,用户体验差。In one embodiment, the user may mistakenly trigger the electronic device to display the details page of the first information, or although the user triggers the electronic device to display the details page of the first information, the user is not interested in the first information. In this case If the electronic device outputs the first prompt information regardless of whether the user is interested in the first information, frequent output of the first prompt information will cause interference to the user and result in poor user experience.
为了解决该问题,本申请实施例提供一种资讯推送方法,可以结合用户的第一资讯的阅读数据,判断用户是否对第一资讯感兴趣,在用户对第一资讯感兴趣的情况下,再主动输出第一提示信息,以提示用户关注后续报道,该实施例中无需过多地输出第一提示信息对用户造成干扰,用户体验高。In order to solve this problem, embodiments of the present application provide an information push method that can combine the user's reading data of the first information to determine whether the user is interested in the first information. If the user is interested in the first information, then The first prompt information is actively output to prompt the user to pay attention to subsequent reports. In this embodiment, there is no need to output too much first prompt information to interfere with the user, and the user experience is high.
在一种示例中,参照图8,S602可以替换为S602B:In an example, referring to Figure 8, S602 may be replaced by S602B:
S602B,当第一资讯包含于事件脉络中时,若电子设备根据第一资讯的阅读数据,确定用户关注第一资讯,输出第一提示信息。 S602B: When the first information is included in the event context, if the electronic device determines that the user is paying attention to the first information based on the reading data of the first information, it outputs the first prompt information.
用户关注第一资讯表征用户对第一资讯感兴趣,用户不关注第一资讯表征用户对第一资讯不感兴趣。The user paying attention to the first information indicates that the user is interested in the first information, and the user not paying attention to the first information indicates that the user is not interested in the first information.
在一种实施例中,用户的第一资讯的阅读数据可以包括但不限于:阅读时长、页面操作行为,以及是否完整阅读。页面操作行为如可以为滑动速度,滑动次数等。其中,电子设备可以根据至少一项阅读数据,判断用户是否关注第一资讯。In one embodiment, the reading data of the user's first information may include but is not limited to: reading duration, page operation behavior, and whether the reading is complete. The page operation behavior can be sliding speed, sliding times, etc. Among them, the electronic device can determine whether the user pays attention to the first information based on at least one piece of reading data.
示例性的,以阅读时长为例,当用户的阅读时长大于时长阈值时,可以确定用户关注第一资讯。以页面操作行为为例,当用户滑动速度包含于正常阅读速度范围内,且滑动次数大于次数阈值,可以确定用户关注第一资讯。以是否完整阅读为例,当用户对第一资讯完整阅读,可以确定用户关注第一资讯。以阅读时长和页面操作行为为例,当用户的阅读时长大于时长阈值、用户滑动速度包含于正常阅读速度范围内,以及滑动次数大于次数阈值,可以确定用户关注第一资讯。Exemplarily, taking reading time as an example, when the user's reading time is greater than the time threshold, it can be determined that the user is paying attention to the first information. Taking page operation behavior as an example, when the user's sliding speed is included in the normal reading speed range, and the number of sliding times is greater than the number threshold, it can be determined that the user is paying attention to the first information. Taking whether it is read completely as an example, when the user reads the first information completely, it can be determined that the user is paying attention to the first information. Taking reading time and page operation behavior as examples, when the user's reading time is greater than the time threshold, the user's sliding speed is included in the normal reading speed range, and the number of sliding times is greater than the number threshold, it can be determined that the user is paying attention to the first information.
在一种实施例中,电子设备还可以结合用户画像,判断用户是否关注第一资讯。示例性的,用户画像可以包括但不限于:用户的年龄、工作、历史阅读的资讯类型,以及用户关注的资讯发布者发布的资讯类型等。以用户历史阅读的资讯类型为例,若第一资讯所属的类型包含于用户历史阅读的资讯类型时,可以确定用户是否关注第一资讯。In one embodiment, the electronic device can also determine whether the user pays attention to the first information based on the user's portrait. For example, user portraits may include but are not limited to: the user's age, job, type of information historically read, and types of information published by information publishers that the user follows, etc. Taking the type of information the user has read historically as an example, if the type of the first information is included in the type of information the user has read historically, it can be determined whether the user pays attention to the first information.
其中,当用户关注第一资讯时,电子设备可以输出第一提示信息,以提示用户关注第一资讯的后续报道。Wherein, when the user pays attention to the first information, the electronic device can output the first prompt information to prompt the user to pay attention to subsequent reports of the first information.
在一种示例中,当用户不关注第一资讯时,电子设备可以不输出第一提示信息。In one example, when the user does not pay attention to the first information, the electronic device may not output the first prompt information.
可以想到的是,在图6B所示的示例中,在S602A也可以替换为:若电子设备根据第一资讯的阅读数据,确定用户关注第一资讯,则向服务器发送第一资讯的相关信息。It is conceivable that in the example shown in FIG. 6B , S602A can also be replaced with: if the electronic device determines that the user pays attention to the first information based on the reading data of the first information, then sends the relevant information of the first information to the server.
在一种实施例中,图9示出了电子设备为用户推送资讯的过程,参照图9,电子设备为用户推送资讯的过程可以包括:In one embodiment, Figure 9 shows the process of an electronic device pushing information to a user. Referring to Figure 9 , the process of an electronic device pushing information to a user may include:
1)、用户阅读第一资讯。2)、检测第一资讯是否包含于事件脉络中。其中,若第一资讯未包含于事件脉络中,可以不响应。3)、若第一资讯包含于事件脉络中,可以输出第一提示信息,以提示用户关注第一资讯的后续报道。其中,若用户未关注第一资讯的后续报道,可以不响应。4)、若用户关注第一资讯的后续报道,可以将电子设备的标识和目标事件脉络对应存储。若目标事件脉络中的事件完结,则可以标记事件完结。5)、若目标事件脉络中的事件未完结,可以检测事件是否更新。6)、若事件未更新,则可以继续聚类资讯数据,以得到更新的事件。7)、若事件已更新,可以向用户推送更新的第二资讯。1). Users read the first information. 2), detect whether the first information is included in the event context. Among them, if the first information is not included in the event context, there is no need to respond. 3) If the first information is included in the event context, the first prompt information can be output to prompt the user to pay attention to the subsequent reports of the first information. Among them, if the user has not paid attention to the follow-up reports of First News, he does not need to respond. 4) If the user pays attention to the follow-up reports of First News, the identification of the electronic device and the target event context can be stored correspondingly. If the event in the target event context is completed, the event can be marked as completed. 5). If the events in the target event context are not completed, you can check whether the events are updated. 6) If the event has not been updated, you can continue to cluster the information data to obtain updated events. 7). If the event has been updated, updated second information can be pushed to the user.
本申请实施例中,电子设备在显示第一资讯的详情页面时,可以根据用户对第一资讯的阅读数据,判断用户是否对第一资讯感兴趣,在用户对第一资讯感兴趣的情况下,电子设备才主动输出第一提示信息,以提示用户关注后续报道,该实施例中可以避免电子设备过多输出第一提示信息对用户造成的干扰,可以提高用户体验。In the embodiment of this application, when the electronic device displays the details page of the first information, it can determine whether the user is interested in the first information based on the user's reading data of the first information. When the user is interested in the first information, , the electronic device actively outputs the first prompt information to prompt the user to pay attention to subsequent reports. In this embodiment, interference to the user caused by excessive output of the first prompt information by the electronic device can be avoided, and the user experience can be improved.
另外,本申请实施例提供的资讯推送方法,相较于现有技术中的资讯推送机制,提供了一种以事件为中心的机制。现有技术中的资讯推送机制中,用户只能主动的去选择阅读相关资讯,比较被动而且无资讯一致性和可预期性,本申请实施例中在用户阅读资讯的页面中,通过后台服务识别该资讯是否属于某个系列事件报道(事件脉络),同时结合用户的阅读数据以及用户画像,综合判定后,自动地提醒用户是否关注资讯的后续报道。另外,现有技术中对资讯仅仅是生硬的展示,等待用户去查阅和关注,较为被动,本申请可以在后续报道更新时,及时推送给用户,丰富了用户阅读资讯的方式。In addition, the information push method provided by the embodiments of the present application provides an event-centered mechanism compared with the information push mechanism in the prior art. In the information push mechanism in the prior art, users can only actively choose to read relevant information, which is relatively passive and lacks information consistency and predictability. In the embodiment of this application, in the page where the user reads information, the background service identifies Whether the information belongs to a series of event reports (event context), combined with the user's reading data and user portraits, after a comprehensive judgment, the user is automatically reminded whether to pay attention to subsequent reports of the information. In addition, in the existing technology, information is only bluntly displayed, waiting for users to check and pay attention, which is relatively passive. This application can push it to users in a timely manner when subsequent reports are updated, enriching the way users read information.
另,目前的资讯获取方式较为单一,本申请提供了多种推送方式,如联动电子设备推送机制,资讯列表页置顶机制、以及弹窗机制,进行事件高优和即时地推送。In addition, the current information acquisition method is relatively single. This application provides a variety of push methods, such as a linkage electronic device push mechanism, an information list page top mechanism, and a pop-up window mechanism to push events in a high-quality and real-time manner.
下述实施例中对服务器的内部结构,以及电子设备的内部结构进行说明,在一种实施例中,参照图10,服务器可以包括:离线处理单元和在线服务单元。The following embodiments describe the internal structure of the server and the internal structure of the electronic device. In one embodiment, referring to FIG. 10 , the server may include: an offline processing unit and an online service unit.
其中,离线处理单元中可以包括:数据接入模块、数据聚类模块、数据分析模块、存储模块,以及第一通讯模块。The offline processing unit may include: a data access module, a data clustering module, a data analysis module, a storage module, and a first communication module.
数据接入模块,用于获取多源的资讯数据。在一种示例中,数据接入模块可以执行S401。The data access module is used to obtain information data from multiple sources. In an example, the data access module can perform S401.
数据聚类模块,用于聚类资讯数据,确定目标簇,以及根据目标簇,生成事件或事件脉络。在一种示例中,数据聚类模块可以执行S402-S404。 The data clustering module is used to cluster information data, determine target clusters, and generate events or event contexts based on target clusters. In one example, the data clustering module may perform S402-S404.
数据分析模块,用于检测多个事件是否属于同一事件脉络。在一种示例中,数据分析模块可以执行S406-S407。The data analysis module is used to detect whether multiple events belong to the same event context. In one example, the data analysis module may perform S406-S407.
存储模块,包括离线数据库,用于存储事件。Storage module, including offline database, is used to store events.
第一通讯模块,用于在某个事件脉络更新时,进行在线事件脉络数据库的更新。The first communication module is used to update the online event context database when a certain event context is updated.
在线服务单元中可以包括:事件查询模块、事件存储模块、事件更新模块、事件完结判断模块,推送模块,以及第二通讯模块。The online service unit may include: an event query module, an event storage module, an event update module, an event completion judgment module, a push module, and a second communication module.
事件查询模块,用于查询第一资讯是否包含于事件脉络数据库的事件脉络中。在一种示例中,事件查询模块可以执行S603A。The event query module is used to query whether the first information is included in the event context of the event context database. In one example, the event query module may execute S603A.
事件存储模块,包括事件脉络数据库,用于存储事件脉络。The event storage module includes an event context database, which is used to store event context.
事件更新模块,用于更新事件脉络数据库。The event update module is used to update the event context database.
事件完结判断模块,用于判断事件是否完结。在一种示例中,事件完结判断模块可以执行S409。The event completion judgment module is used to determine whether the event is completed. In an example, the event completion judgment module may execute S409.
推送模块,用于向电子设备推送第二资讯。在一种示例中,推送模块可以执行S606A。The push module is used to push the second information to the electronic device. In one example, the push module may perform S606A.
第二通讯模块,可以与电子设备中的第三通讯模块交互,以实现服务器和电子设备的交互。The second communication module can interact with the third communication module in the electronic device to realize interaction between the server and the electronic device.
参照图10,电子设备可以包括:行为检测模块,阅读关注模块,以及第三通讯模块。Referring to Figure 10, the electronic device may include: a behavior detection module, a reading attention module, and a third communication module.
行为检测模块,用于检测用户在电子设备上的操作。用户在电子设备上的操作可以包括:第一操作,第二操作,以及用户对第一资讯的阅读数据。Behavior detection module, used to detect user operations on electronic devices. The user's operations on the electronic device may include: a first operation, a second operation, and the user's reading data of the first information.
阅读关注模块,用于根据第一资讯的阅读数据,判断用户是否关注第一资讯。在一种示例中,阅读关注模块可以执行S602B。The reading attention module is used to determine whether the user pays attention to the first information based on the reading data of the first information. In one example, the reading attention module may perform S602B.
第三通讯模块,可以与服务器中的第二通讯模块交互,以实现服务器和电子设备的交互。The third communication module can interact with the second communication module in the server to realize interaction between the server and the electronic device.
应理解的是,图10中所示的服务器中模块的划分,以及电子设备中模块的划分为示例说明,并不对服务器和电子设备的结构造成限定。It should be understood that the division of modules in the server and the division of modules in the electronic device shown in FIG. 10 are for illustrative purposes only and do not limit the structures of the server and the electronic device.
在一种实施例中,本申请实施例还提供一种电子设备,该电子设备可以为上述实施例中所述的电子设备、服务器。参照图11,该电子设备中可以包括:处理器1101(例如CPU)、存储器1102。存储器1102可能包含高速随机存取存储器(random-access memory,RAM),也可能还包括非易失性存储器(non-volatile memory,NVM),例如至少一个磁盘存储器,存储器1102中可以存储各种指令,以用于完成各种处理功能以及实现本申请的方法步骤。In one embodiment, the embodiment of the present application further provides an electronic device, which may be the electronic device or server described in the above embodiment. Referring to FIG. 11 , the electronic device may include: a processor 1101 (such as a CPU) and a memory 1102 . The memory 1102 may include high-speed random-access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk memory. Various instructions may be stored in the memory 1102 , to complete various processing functions and implement the method steps of the present application.
可选的,本申请涉及的电子设备还可以包括:电源1103、通信总线1104以及通信端口1105。上述通信端口1105用于实现电子设备与其他外设之间进行连接通信。在本申请实施例中,存储器1102用于存储计算机可执行程序代码,程序代码包括指令;当处理器1101执行指令时,指令使电子设备的处理器1101执行上述方法实施例中的动作,其实现原理和技术效果类似,在此不再赘述。Optionally, the electronic device involved in this application may also include: a power supply 1103, a communication bus 1104, and a communication port 1105. The above-mentioned communication port 1105 is used to realize connection and communication between the electronic device and other peripheral devices. In this embodiment of the present application, the memory 1102 is used to store computer executable program code, and the program code includes instructions; when the processor 1101 executes the instructions, the instructions cause the processor 1101 of the electronic device to perform the actions in the above method embodiment, which implements The principles and technical effects are similar and will not be repeated here.
在一种实施例中,该电子设备中还可以包括:显示屏1106。显示屏1106用于显示电子设备的界面。In one embodiment, the electronic device may further include a display screen 1106. The display screen 1106 is used to display the interface of the electronic device.
需要说明的是,上述实施例中所述的模块或部件可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个专用集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序代码的处理器如控制器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。It should be noted that the modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or , one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes such as control device. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如, DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, processes or functions according to embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g., computer instructions may be transmitted from a website, computer, server or data center via a wired link (e.g. Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website site, computer, server or data center. Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or other integrated media that contains one or more available media. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVD), or semiconductor media (such as Solid State Disk (SSD)), etc.
本文中的术语“多个”是指两个或两个以上。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系;在公式中,字符“/”,表示前后关联对象是一种“相除”的关系。另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。The term "plurality" as used herein means two or more. The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations. In addition, the character "/" in this article generally indicates that the related objects before and after are an "or" relationship; in the formula, the character "/" indicates that the related objects before and after are a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating. Or suggestive order.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It can be understood that the various numerical numbers involved in the embodiments of the present application are only for convenience of description and are not used to limit the scope of the embodiments of the present application.
可以理解的是,在本申请的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。 It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Claims (23)

  1. 一种资讯推送方法,其特征在于,应用于电子设备,所述方法包括:An information push method, characterized in that it is applied to electronic devices, and the method includes:
    响应于用户的第一操作,显示第一资讯的详情页面;In response to the user's first operation, display the details page of the first information;
    当所述第一资讯包含于事件脉络数据库的事件脉络中时,输出第一提示信息,所述第一提示信息用于提示所述用户关注所述第一资讯的后续报道;When the first information is included in the event context of the event context database, first prompt information is output, and the first prompt information is used to prompt the user to pay attention to subsequent reports of the first information;
    在所述用户关注所述第一资讯的后续报道的情况下,当存在第二资讯时,推送所述第二资讯,所述第二资讯为所述第一资讯的后续报道。In the case where the user pays attention to the follow-up reports of the first information, when there is second information, the second information is pushed, and the second information is the follow-up reports of the first information.
  2. 根据权利要求1所述的方法,其特征在于,所述输出第一提示信息,包括:The method according to claim 1, wherein the outputting the first prompt information includes:
    当所述第一资讯包含于事件脉络数据库的事件脉络中,且根据所述用户的所述第一资讯的阅读数据,确定所述用户关注所述第一资讯时,输出所述第一提示信息。When the first information is included in the event context of the event context database, and it is determined that the user pays attention to the first information based on the user's reading data of the first information, the first prompt information is output. .
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    根据所述用户的所述第一资讯的阅读数据,以及所述用户画像,判断所述用户是否关注所述第一资讯。Based on the user's reading data of the first information and the user portrait, it is determined whether the user pays attention to the first information.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, characterized in that the method further includes:
    向服务器发送所述第一资讯的相关信息;Send relevant information of the first information to the server;
    接收来自所述服务器的第一消息,第一消息用于指示所述第一资讯包含于所述事件脉络数据库的事件脉络中。A first message is received from the server, and the first message is used to indicate that the first information is included in the event context of the event context database.
  5. 根据权利要求4所述的方法,其特征在于,所述第一资讯的相关信息包括:所述第一资讯的ID;或者,The method according to claim 4, characterized in that the relevant information of the first information includes: an ID of the first information; or
    所述第一资讯的相关信息包括:所述第一资讯的标题;或者,The relevant information of the first information includes: the title of the first information; or,
    所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词。The relevant information of the first information includes: core words and keywords of the first information.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, further comprising:
    向所述服务器发送所述电子设备的标识。Send the identification of the electronic device to the server.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,所述推送所述第二资讯,包括:The method according to any one of claims 1-6, characterized in that said pushing the second information includes:
    输出第二提示信息,所述第二提示信息用于提示所述用户所述第一资讯的后续报道已更新;Outputting second prompt information, where the second prompt information is used to prompt the user that a subsequent report of the first information has been updated;
    响应于所述用户同意阅读所述第二资讯的操作,显示所述第二资讯的详情页面。In response to the user agreeing to read the second information, a details page of the second information is displayed.
  8. 根据权利要求7所述的方法,其特征在于,所述输出第二提示信息,包括:The method according to claim 7, wherein the outputting the second prompt information includes:
    根据所述电子设备的状态,确定适配于所述电子设备的状态的第二提示信息的输出方式;According to the state of the electronic device, determine an output mode of the second prompt information adapted to the state of the electronic device;
    根据所述输出方式,输出所述第二提示信息。The second prompt information is output according to the output mode.
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述推送所述第二资讯之前,还包括:The method according to any one of claims 1-8, characterized in that before pushing the second information, it further includes:
    接收到来自服务器的所述第二资讯。The second information from the server is received.
  10. 根据权利要求2或3所述的方法,其特征在于,所述阅读数据包括如下至少一项:阅读时长、页面操作行为,以及是否完整阅读。The method according to claim 2 or 3, characterized in that the reading data includes at least one of the following: reading duration, page operation behavior, and whether to read completely.
  11. 一种资讯推送方法,其特征在于,应用于服务器,所述方法包括:An information push method, characterized in that it is applied to a server, and the method includes:
    接收来自电子设备的第一资讯的相关信息;Receive information related to the first information from the electronic device;
    根据所述第一资讯的相关信息,若确定所述第一资讯包含于事件脉络数据库的事件脉络中,则向所述电子设备发送第一消息,所述第一消息用于指示所述第一资讯包含于所述事件脉络数据库的事件脉络中。According to the relevant information of the first information, if it is determined that the first information is included in the event context of the event context database, then a first message is sent to the electronic device, the first message is used to indicate the first The information is included in the context of the context database.
  12. 根据权利要求11所述的方法,其特征在于,所述第一资讯的相关信息包括:所述第一资讯的ID;或者,The method according to claim 11, characterized in that the relevant information of the first information includes: the ID of the first information; or,
    所述第一资讯的相关信息包括:所述第一资讯的标题;或者,The relevant information of the first information includes: the title of the first information; or,
    所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词;The relevant information of the first information includes: the core words and keywords of the first information;
    所述事件脉络中包含至少两个事件,每个事件对应至少一个资讯。The event context includes at least two events, and each event corresponds to at least one piece of information.
  13. 根据权利要求12所述的方法,其特征在于,当所述第一资讯的相关信息包括:所述第一资讯的ID时,所述方法还包括:The method according to claim 12, characterized in that when the relevant information of the first information includes: the ID of the first information, the method further includes:
    在事件对应的资讯ID中,检测是否存在与所述第一资讯的ID相同的资讯;In the information ID corresponding to the event, detect whether there is information that is the same as the ID of the first information;
    若是,确定所述第一资讯包含于事件脉络数据库的事件脉络中。 If yes, it is determined that the first information is included in the event context of the event context database.
  14. 根据权利要求12所述的方法,其特征在于,当所述第一资讯的相关信息包括:所述第一资讯的标题时,所述方法还包括:The method according to claim 12, characterized in that when the relevant information of the first information includes: the title of the first information, the method further includes:
    在事件对应的资讯中,检测是否存在与所述第一资讯的标题相同的资讯;In the information corresponding to the event, detect whether there is information that is the same as the title of the first information;
    若是,确定所述第一资讯包含于事件脉络数据库的事件脉络中。If yes, it is determined that the first information is included in the event context of the event context database.
  15. 根据权利要求12所述的方法,其特征在于,每个事件对应有核心词和关键词,当所述第一资讯的相关信息包括:所述第一资讯的核心词和关键词时,所述方法还包括:The method according to claim 12, characterized in that each event corresponds to a core word and a keyword, and when the relevant information of the first information includes: the core word and keyword of the first information, the Methods also include:
    当存在事件对应的核心词和关键词,与所述第一资讯的核心词和关键词均相同时,确定所述第一资讯包含于事件脉络数据库的事件脉络中。When there are core words and keywords corresponding to the event, which are the same as the core words and keywords of the first information, it is determined that the first information is included in the event context of the event context database.
  16. 根据权利要求12-15中任一项所述的方法,其特征在于,目标事件脉络是:与所述第一资讯的ID相同的资讯所属的事件脉络、与所述第一资讯的标题相同的资讯所属的事件脉络,或与所述第一资讯的核心词和关键词均相同的事件所属的事件脉络;The method according to any one of claims 12 to 15, characterized in that the target event context is: an event context to which information having the same ID as the first information belongs, and an event context having the same title as the first information. The context of events to which the information belongs, or the context of events to which events that have the same core words and keywords as the first information belong;
    所述方法还包括:The method also includes:
    接收来自所述电子设备的电子设备的标识;receiving an identification of an electronic device from the electronic device;
    对应存储所述电子设备的标识和所述目标事件脉络的标识。The identification of the electronic device and the identification of the target event context are correspondingly stored.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, further comprising:
    当所述目标事件脉络更新时,根据所述电子设备的标识,向所述电子设备发送第二资讯,所述第二资讯为所述第一资讯的后续报道。When the target event context is updated, second information is sent to the electronic device according to the identification of the electronic device, and the second information is a subsequent report of the first information.
  18. 根据权利要求11-17中任一项所述的方法,其特征在于,所述接收来自电子设备的第一资讯的相关信息之前,还包括:The method according to any one of claims 11-17, characterized in that before receiving the relevant information of the first information from the electronic device, it further includes:
    获取资讯数据;Obtain information data;
    每隔预设时长将预设窗口内的资讯数据进行聚类,得到至少一个簇,每个簇中的资讯的关键词相同,或每个簇中的资讯的文本语义相同;Cluster the information data within the preset window every preset period of time to obtain at least one cluster. The information in each cluster has the same keywords, or the information in each cluster has the same textual semantics;
    在所述至少一个簇中确定目标簇;determining a target cluster in the at least one cluster;
    根据所述目标簇,生成事件或事件脉络。According to the target cluster, events or event contexts are generated.
  19. 根据权利要求18所述的方法,其特征在于,所述根据所述目标簇,生成事件脉络,包括:The method according to claim 18, characterized in that generating an event context according to the target cluster includes:
    获取所述目标簇的核心词和关键词,所述核心词为实体,所述关键词是围绕所述实体进行描述的词语,事件包括:事件所属目标簇的核心词、关键词,以及事件的发布时间、发布者以及发布内容;Obtain the core words and keywords of the target cluster. The core words are entities, and the keywords are words that describe the entities. Events include: the core words and keywords of the target cluster to which the event belongs, and the event's Time of publication, publisher and content published;
    根据事件的核心词、关键词,以及事件的语义,检测事件之间是否具有前后的关联性;Based on the core words and keywords of the event, as well as the semantics of the event, detect whether there is a correlation between the events;
    若是,将具有前后的关联性的事件生成所述事件脉络。If so, the event context will be generated by events with previous and subsequent correlations.
  20. 根据权利要求18或19所述的方法,其特征在于,生成事件脉络之后,还包括:The method according to claim 18 or 19, characterized in that after generating the event context, it further includes:
    将所述事件脉络写入所述事件脉络数据库。Write the event context into the event context database.
  21. 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method of claim 18, further comprising:
    若事件在第二预设时长内不存在资讯报道,则删除不存在资讯报道的事件或标记所述不存在资讯报道的事件。If there is no information report about the event within the second preset time period, the event without information report is deleted or the event without information report is marked.
  22. 一种电子设备,其特征在于,包括:处理器和存储器;An electronic device, characterized by including: a processor and a memory;
    所述存储器存储计算机指令;The memory stores computer instructions;
    所述处理器执行所述存储器存储的计算机指令,使得所述处理器执行如权利要求1-21中任一项所述的方法。The processor executes computer instructions stored in the memory, so that the processor executes the method according to any one of claims 1-21.
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被运行时,实现如权利要求1-21中任一项所述的方法。 A computer-readable storage medium, characterized in that computer programs or instructions are stored in the computer-readable storage medium. When the computer programs or instructions are run, the implementation of any one of claims 1-21 is achieved. method described.
PCT/CN2023/118398 2022-09-23 2023-09-12 Information pushing method, electronic device, and storage medium WO2024061060A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211166872.6 2022-09-23
CN202211166872.6A CN117763223A (en) 2022-09-23 2022-09-23 Information pushing method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024061060A1 true WO2024061060A1 (en) 2024-03-28

Family

ID=90317063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/118398 WO2024061060A1 (en) 2022-09-23 2023-09-12 Information pushing method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN117763223A (en)
WO (1) WO2024061060A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412870A (en) * 2013-07-09 2013-11-27 北京深思洛克软件技术股份有限公司 News pushing method of mobile terminal device news client side software
CN104978432A (en) * 2015-07-13 2015-10-14 苏州乐聚一堂电子科技有限公司 News reporting and reading method for handheld intelligent electronic equipment
JP2018005633A (en) * 2016-07-04 2018-01-11 日本放送協会 Related content extraction device, related content extraction method, and related content extraction program
CN108519980A (en) * 2018-01-31 2018-09-11 广东易联创富集团有限公司 News push method, apparatus, platform, computer readable storage medium
CN111460289A (en) * 2020-03-27 2020-07-28 北京百度网讯科技有限公司 News information pushing method and device
CN111666467A (en) * 2019-03-07 2020-09-15 上海博泰悦臻网络技术服务有限公司 Vehicle, vehicle equipment and vehicle equipment news tracking reporting method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412870A (en) * 2013-07-09 2013-11-27 北京深思洛克软件技术股份有限公司 News pushing method of mobile terminal device news client side software
CN104978432A (en) * 2015-07-13 2015-10-14 苏州乐聚一堂电子科技有限公司 News reporting and reading method for handheld intelligent electronic equipment
JP2018005633A (en) * 2016-07-04 2018-01-11 日本放送協会 Related content extraction device, related content extraction method, and related content extraction program
CN108519980A (en) * 2018-01-31 2018-09-11 广东易联创富集团有限公司 News push method, apparatus, platform, computer readable storage medium
CN111666467A (en) * 2019-03-07 2020-09-15 上海博泰悦臻网络技术服务有限公司 Vehicle, vehicle equipment and vehicle equipment news tracking reporting method thereof
CN111460289A (en) * 2020-03-27 2020-07-28 北京百度网讯科技有限公司 News information pushing method and device

Also Published As

Publication number Publication date
CN117763223A (en) 2024-03-26

Similar Documents

Publication Publication Date Title
US11886464B1 (en) Triage model in service monitoring system
US11755387B1 (en) Updating code of an app feature based on a value of a query feature
US8600979B2 (en) Infinite browse
US9569506B2 (en) Uniform search, navigation and combination of heterogeneous data
US20180349482A1 (en) Automatic triage model execution in machine data driven monitoring automation apparatus with visualization
US20200301950A1 (en) Method and System for Intelligently Suggesting Tags for Documents
US9280595B2 (en) Application query conversion
CN101796515B (en) Query statistics provider
US8635062B2 (en) Method and apparatus for context-indexed network resource sections
US11790623B1 (en) Manipulation of virtual object position within a plane of an extended reality environment
US20120296746A1 (en) Techniques to automatically search selected content
US11836142B2 (en) Intelligent ranking of search results
US20210279297A1 (en) Linking to a search result
US9794284B2 (en) Application spam detector
US20160125080A1 (en) Accessing Special Purpose Search Systems
JP2011525281A (en) Method for performing a distributed search
EP3482308B1 (en) Contextual information for a displayed resource that includes an image
KR100534493B1 (en) Method and system for recommending category and computer readable recording medium recording program for implementing the method
EP3387556B1 (en) Providing automated hashtag suggestions to categorize communication
CN110245357B (en) Main entity identification method and device
WO2024061060A1 (en) Information pushing method, electronic device, and storage medium
US10387934B1 (en) Method medium and system for category prediction for a changed shopping mission
US20240073160A1 (en) Providing a system-generated response in a messaging session
US20150234583A1 (en) System and method for direct communication between a publisher and users
JP2022178270A (en) Provision device, provision method and provision program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23867349

Country of ref document: EP

Kind code of ref document: A1