Event context display method and device and storage medium
By allowing users to customize the time window for adjusting the event context and generate event context results within the corresponding time range, the problem that users cannot quickly understand the progress of events within a specific time period is solved, and the efficiency of obtaining event progress information is improved.
Patent Information
- Application Number
- CN202311369074.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-04-22
AI Technical Summary
When users use the event context function, they cannot quickly and accurately understand the progress of events within a specific time period, resulting in a reduced efficiency in obtaining event progress information.
It provides an event context display method, allowing users to detect and input instructions through the client to customize the time window for adjusting the event context. The client and the server generate and display the event context results within the corresponding time range based on user interaction information.
Users can quickly and accurately understand the situation of events within a specific time period, improving the efficiency of obtaining event progress information.
Smart Images

Figure CN119862330A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to an event context display method, device and storage medium. Background Art
[0002] At present, various news websites can sort out the development of the same news event at different time points in chronological order, providing users with a clear context of the news event. Figure 1 As shown, users can view the schedule of an international sports competition through the event context function.
[0003] However, when users use the event context function to understand the development of an event, they can only view a list of all events within the start and end time of the event, making it impossible for users to quickly and accurately understand the circumstances of events that occurred within a specific time period, reducing the efficiency of users in obtaining event progress information. Summary of the invention
[0004] To solve the above problems, the present application provides an event context display method, device and storage medium.
[0005] In a first aspect, the present application provides an event context display method, the method comprising: a client displays a first event context result corresponding to a first time period; the client detects a first instruction from a user, wherein the first instruction is used to instruct the display of a second event context result corresponding to a second time period in the first time period; the client responds to the first instruction from the user and displays the second event context result corresponding to the second time period, the number of events displayed in the second event context result being greater than the number of events displayed in a third event context result, wherein the third event context result is the event context within the second time period in the first event context result.
[0006] In the present application, the client may be a terminal device such as a mobile phone, computer, virtual reality device, augmented reality (AR) device, laptop computer, etc. mentioned in the present application; the first time period may be the time range from the beginning to the latest development stage of the target event mentioned in the present application; the first event context result may be the initial complete event context result of the target event mentioned in the present application; the first instruction may be the interaction between the user and the terminal device for adjusting the time window range mentioned in the present application; the second time period may be the time window range customized by the user mentioned in the present application; the second event context result may be the event context result within the corresponding time range generated based on the user interaction information mentioned in the present application; the third event context result may be the event context corresponding to the second time period directly intercepted in the initial complete context result.
[0007] It can be understood that in this application, when the client detects that the user has opened Tencent NewsTM When you use third-party applications and input the target event to be queried, the client can display the initial complete event context of the target event from the beginning of the event to the latest development stage of the event on the display interface; next, the user can customize the time window of the event context through any interactive method on the display interface, and the client will display the event context results of the corresponding time range on the display interface.
[0008] In some embodiments, the event granularity in the second event context result regenerated based on the user interaction information is more detailed, resulting in the number of events in the second event context result being different from the number of event contexts corresponding to the second time period directly intercepted in the initial complete first event context result.
[0009] Based on the above method, users can customize the time window of the event context and obtain the event context results within the corresponding time range. They can also change the content and number of event contexts, so that users can quickly and accurately understand the occurrence of events within a specific time period, thereby improving the efficiency of users in obtaining event progress information.
[0010] In a possible implementation, the client displays a second event context result corresponding to a second time period in response to a first instruction from a user, including: the client sends the second time period corresponding to the first instruction to a server; the server generates a second event context result corresponding to the second time period based on the second time period, and sends the second event context result to the client; the client displays the second event context result corresponding to the second time period.
[0011] It can be understood that in the present application, after the client detects the user's first instruction, the time window range parameters corresponding to the first instruction will be sent to the server, and the server will execute the event context generation algorithm to generate the event context results within the corresponding time period, and return the event context results to the client for display through the client's display interface.
[0012] In a possible implementation, the above-mentioned generating a second event context result corresponding to the second time period based on the second time period includes: obtaining an event set corresponding to the second time period based on the second time period; determining the number of events displayed; and generating a second event context result corresponding to the second time period based on the event set corresponding to the second time period and the number of events displayed.
[0013] In the present application, the event set corresponding to the second time period can be the related event set E of the target event within the user-defined time window mentioned in the present application; the number of events displayed can be the event clustering number parameter K in the generated event context result mentioned in the present application.
[0014] It can be understood that in the present application, the server side can obtain the relevant event set E of the target event within the corresponding time period based on the time window parameter, and then generate the event context result within the corresponding time range based on the obtained relevant event set E and the preset number of events.
[0015] In a possible implementation, the above-mentioned obtaining an event set corresponding to the second time period based on the second time period includes: extracting a document set corresponding to the second time period; obtaining an associated event set corresponding to the second time period based on the document set corresponding to the second time period; and performing timing adjustment on each associated event in the associated event set corresponding to the second time period to obtain an event set corresponding to the second time period.
[0016] It can be understood that in the present application, the event set can be a list of events with different granularities (i.e., event details) within a time window. When generating an event list, it is necessary to perform event structuring processing on the document collection of the target event in the second time period through a natural language processing model, for example, extracting event related information such as event participants, event location, event keywords, and event time; then perform event association on the acquired event related information, for example, obtain an associated event: event participant A experienced event C at location B; finally, all associated events are obtained and time-series processing is performed to obtain a set of related events for the target event in the second time period.
[0017] In a possible implementation, the above-mentioned document set corresponding to the second time period is based on the document set corresponding to the second time period to obtain the associated event set corresponding to the second time period, including: extracting event-related information in the document set corresponding to the second time period, the event-related information including: event participants, event location, event keywords and at least one of the event occurrence time; and performing event association on the event-related information to obtain the associated event set corresponding to the second time period.
[0018] It can be understood that in the present application, when generating a set of associated events corresponding to the second time period, the document collection of the target event within the second time range can be subjected to event structuring processing through a natural language processing model. For example, event related information such as event participants, event location, event keywords, and event time are extracted; then the obtained event related information is subjected to event association, for example, an associated event is obtained: event C occurred at location B for event participant A; finally, a list of all associated events is obtained and the same events are removed to obtain a set E of related events for the target event within time range T.
[0019] In a possible implementation, the above-mentioned timing adjustment of each associated event in the associated event set corresponding to the second time period to obtain the event set corresponding to the second time period includes: adjusting the order of each associated event based on the timing relationship of each associated event in the associated event set corresponding to the second time period to obtain the event set corresponding to the second time period; wherein the timing relationship includes: at least one of time sequence and event causal relationship.
[0020] It can be understood that in the embodiment of the present application, it is also necessary to process the event temporal relationship of the associated events in the related event set of the target event within the second time range, that is, according to the time information of the event, the causal relationship and context information between the events, etc., according to the specific scene and task requirements, select appropriate methods and models to process and analyze the temporal relationship of the events. For example, according to the date information in the event, a timeline is constructed to represent the sequence of events, and the associated events are arranged according to their positions on the timeline, so that the event temporal relationship processing can be completed.
[0021] In a possible implementation, the determining the number of events to be displayed includes: determining the number of events to be displayed corresponding to the second event context result based on the duration of the second time period.
[0022] It can be understood that in the present application, the number of events displayed corresponding to the second event context result can be determined based on the time range parameter T. For example, when the preset time range is less than 30 days, the preset number of events displayed is 10; when the preset time range is greater than 30 days, the preset number of events displayed is 15, and so on.
[0023] In a possible implementation, the above-mentioned determining the number of event displays further includes: using a preset number of event displays as the number of event displays corresponding to the second event context result.
[0024] It can be understood that in the present application, the number of events displayed corresponding to the second event context result can be a preset fixed value. For example, the event context result can be fixed to 10 related events.
[0025] In a possible implementation, the above-mentioned generating a second event context result corresponding to the second time period based on the event set corresponding to the second time period and the number of event displays includes: clustering the event set corresponding to the second time period based on the number of event displays to generate the second event context result, wherein the number of clusters in the clustering processing is the same as the number of event displays.
[0026] It can be understood that in the present application, the server side can obtain the event context result through a clustering algorithm based on the determined related event set E of the target event in the second time period and the event clustering number parameter K, wherein the clustering algorithm can represent obtaining an associated event in each cluster to represent the associated events of the entire cluster.
[0027] In some embodiments, the clustering algorithm may refer to clustering the related events in the event set E into K groups, summarizing a characteristic related event in each group to represent all the related events in the group, and using the summarized characteristic related events as a generated event context result, and finally selecting K events to form an event context result within the time range of T.
[0028] In a possible implementation, the above-mentioned clustering processing of the event set corresponding to the second time period based on the number of event displays to generate the second event context result includes: determining the number of clusters based on the number of event displays; clustering the event set corresponding to the second time period based on the number of clusters to obtain multiple cluster sets; determining each feature-related event in each of the cluster sets; and determining the second event context result based on the each feature-related event.
[0029] In the present application, the server may obtain the second event context result according to the determined set of related events and the number of event clusters of the target event within the second time range.
[0030] In some embodiments, the clustering algorithm may refer to dividing the associated events in the event set E into K groups, i.e., K cluster sets, summarizing a characteristic associated event in each group to represent all the associated events of the group, and using the summarized characteristic associated events as a generated event context result, and finally selecting K events to form an event context result within a time range of T. Among them, the value of K is the same as the number of events displayed. The second event context result determined based on the clustering algorithm can better reflect the characteristics of each cluster set and improve the accuracy of event context results such as news.
[0031] In a possible implementation, the first instruction includes: one or more of a voice instruction and a display control for adjusting a display interface of the client.
[0032] It is understood that in this application, the user can directly input the start and end range of the time window by voice, and can also adjust the time window range by adjusting the display controls of the interactive interface.
[0033] In a possible implementation, the display controls include: a quick time period button, a time slide bar, a start and end calendar box, and one or more display controls in a date input box.
[0034] It can be understood that in the present application, the display controls of the interactive interface can include various forms, such as quick time periods (for example, shortcut buttons such as "last three days" and "last week"); a time slider, in which the left end of the slider represents the start date of the time window, and the right end of the slider represents the end date of the time window; a start and end calendar box, in which two dates are selected to represent the start date and end date of the time window respectively; and a date input box, in which the start date and end date of the time window can be directly entered.
[0035] In a possible implementation, the method further includes: the server extracts a document set corresponding to the first time period; the server generates a first event context result corresponding to the first time period based on the document set corresponding to the first time period, and sends the first event context result to the client.
[0036] It can be understood that in this application, when the client detects that the user opens a third-party application such as Tencent News TM and enters the target event to be queried, the client can send the target event to the server, and the server extracts the file collection of the target event from the beginning of the event to the latest development stage, and generates an initial complete event context result and returns it to the client.
[0037] In a second aspect, the present application provides an electronic device comprising: a memory and a processor, the memory being used to store instructions executed by one or more processors of the electronic device, and the processor being one of the one or more processors of the electronic device, and being used to execute the event context display method mentioned in the present application.
[0038] In a third aspect, the present application provides a readable storage medium, wherein the readable storage medium stores instructions, and when the instructions are executed on an electronic device, the electronic device executes the event context display method mentioned in the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 According to some embodiments of the present application, a schematic diagram of a usage scenario of an event context function is shown;
[0040] Figure 2 According to some embodiments of the present application, a structural schematic diagram of a system architecture is shown;
[0041] Figure 3 According to some embodiments of the present application, a schematic diagram of a device architecture composition is shown;
[0042] Figure 4A According to some embodiments of the present application, a schematic diagram of a first scenario of obtaining an event context result by adjusting the time window by dragging a time slider is shown;
[0043] Figure 4BAccording to some embodiments of the present application, a second scenario schematic diagram of obtaining an event context result by adjusting the time window by dragging a time slider is shown;
[0044] Figure 4C According to some embodiments of the present application, a third scenario schematic diagram of obtaining an event context result by adjusting the time window by dragging a time slider is shown;
[0045] Figure 4D According to some embodiments of the present application, a fourth scenario schematic diagram of obtaining an event context result by adjusting the time window by dragging a time slider is shown;
[0046] Figure 5A According to some embodiments of the present application, a schematic diagram of a first scenario of adjusting a time window through a date input box to obtain an event context result is shown;
[0047] Figure 5B According to some embodiments of the present application, a second scenario schematic diagram of adjusting the time window through the date input box to obtain the event context result is shown;
[0048] Fig. 6A According to some embodiments of the present application, a schematic diagram of a first scenario of obtaining an event context result by adjusting a time window through a quick time period is shown;
[0049] Figure 6B According to some embodiments of the present application, a second scenario schematic diagram of obtaining event context results by adjusting the time window through a quick time period is shown;
[0050] Fig. 7A According to some embodiments of the present application, a schematic diagram of a first scenario of obtaining an event context result by adjusting the time window through the start and end calendar frames is shown;
[0051] Figure 7B According to some embodiments of the present application, a second scenario schematic diagram of obtaining event context results by adjusting the time window through the start and end calendar frames is shown;
[0052] Figure 8 According to some embodiments of the present application, a schematic diagram of the interaction process between a client and a server of an event context display method is shown;
[0053] Fig. 9 According to some embodiments of the present application, a schematic diagram of a hardware structure of a server is shown;
[0054] Fig.10 According to some embodiments of the present application, a schematic diagram of the hardware structure of a client is shown. DETAILED DESCRIPTION
[0055] The illustrative embodiments of the present application include, but are not limited to, an event context display method, device, and storage medium.
[0056] The following first briefly describes the background of the method provided in the embodiments of the present application.
[0057] As mentioned above, each news website can sort out the development of the same news event at different time points in chronological order to provide users with a clear context of the news event. Figure 1 As shown, the user can view the schedule of an international sports competition through the event context function. For example, the schedule may include: a swimming competition at 10:00 on May 20, a diving competition at 10:00 on May 22, and a table tennis competition at 10:00 on May 24.
[0058] In some embodiments, event context can be generated by identifying and extracting text fragments related to the target content from pre-stored events (e.g., articles, news reports, etc.) as the first event; then extracting relevant text content from the first event as the second event, wherein the second event can be a summary, title, etc., which is used to summarize the main information of the first event and is directly related to the target content; finally, the second event is used as a context node to construct a coherent and orderly event context related to the target content.
[0059] In some embodiments, event context can also be generated by collecting documents related to the target event (for example, news reports, forum discussions, etc.), and grouping the documents in chronological order according to the timeline information corresponding to the documents to form multiple time windows, where the time window can be a fixed time interval (for example, one day, one week, etc.); then, for the documents in each time window, text analysis and keyword extraction are performed to understand the changes and evolution trends of event public opinion between different time windows; next, based on the obtained keywords and other information, n event states reflecting the development stage of the target event are determined, where the event state can be a keyword or phrase that describes the characteristics, progress or important turning points of the event; finally, the n event states are formed into an orderly and coherent event context in chronological order to show the development process and evolution of the target event.
[0060] However, the above-mentioned methods for generating event context are all based on a complete event list within the start and end time range of the document-generated event, so that when a user uses the event context function to understand the development of an event, he can only view a complete event list within the pre-generated time range from the start of the event to the latest development of the event. This makes it impossible for the user to quickly and accurately understand the occurrence of events within a specific time period, reducing the efficiency of the user in obtaining event progress information.
[0061] In order to solve the above problems, an embodiment of the present application provides an event context display method. In the method of the present application, the user can adjust the time range parameter T of the event context time window on the client through any interactive method (for example, a time slider, a start and end calendar box, etc.); then, the server can obtain the relevant event set E of the target event within the T time window range based on the time range parameter T sent by the client; based on the obtained relevant event set E of the target event within the T time window range and the preset number of events, generate the event context result within the corresponding time range, and return the event context result to the client for display on the display interface. In this way, it is possible to support users to freely adjust the event context time window, and obtain the event context result within the corresponding time range based on user interaction information, thereby improving the personalized user experience of users in understanding the progress of events within a specific time range in the event context function.
[0062] In some embodiments, the preset number of events can be determined based on the above-mentioned time range parameter T. For example, when the preset time range T is less than 30 days, the preset number of events is 10; when the preset time range T is greater than 30 days, the preset number of events is 15, etc.
[0063] In some embodiments, the preset number of events may be a preset fixed value, for example, the event context result may be fixed to 10 related events.
[0064] In some embodiments, the user can customize the time window of the event context through a variety of interactive methods, wherein the interactive method can include directly inputting the start and end range of the time window by voice, and can also include adjusting the time window range by adjusting the display control of the interactive interface. Among them, the display control can include a variety of forms, for example, a quick time period (for example, shortcut buttons such as "last three days" and "last week"); a time slider, wherein the left end of the slider represents the start date of the time window, and the right end of the slider represents the end date of the time window; a start and end calendar box, in which two dates are selected in the calendar box to represent the start date and end date of the time window respectively; and a date input box, in which the start date and end date of the time window can be directly entered. The user can adjust the time window range through different adjustment methods in the interactive interface, and the embodiments of the present application are not limited to this.
[0065] In some embodiments, after the user adjusts the time window range in the interactive interface, the client can receive the user's interactive information, and then adjust the time range parameter T according to the interactive information. For example, the user specifies the time range from February 5, 2023 to February 15, 2023 through the "date input box", and the client determines the incoming start and end timestamps based on the interactive information, and updates the time range parameter T from the default value (event from start to end) to the timestamp "20230205_20230215".
[0066] In some embodiments, the server can obtain a set of related events E of the target event within the time period according to the time range parameter T, wherein the event set E can be a list of events of different granularities (i.e., event details) within the time window. When generating an event list, it is necessary to perform event structuring processing on the document collection of the target event within the time range of T through a natural language processing model, for example, extracting event related information such as event participants, event location, event keywords, and event time; then perform event association on the obtained event related information, for example, obtain an associated event: event participant A experienced event C at location B; finally, obtain a list of all associated events and remove identical events, and obtain a set of related events E of the target event within the time range of T.
[0067] In some embodiments, it is necessary to process the event temporal relationship of the associated events in the related event set E of the target event within the time range T, that is, according to the time information of the event, or the causal relationship and context information between the events, according to the specific scenario and task requirements, select appropriate methods and models to process and analyze the temporal relationship of the events. For example, according to the date information in the event, a timeline is constructed to represent the sequence of events, and the associated events are arranged according to their positions on the timeline, so that the event temporal relationship processing can be completed.
[0068] In some embodiments, before generating an event context result, it is also necessary to determine the event cluster number parameter K in the generated event context result, and determine the event context number in the final event context result based on the cluster number parameter K. The parameter K can be a fixed value or a piecewise function. The fixed value represents that the user selects any time range parameter T, and the K value remains unchanged. For example, K can be set to a default value of 10, indicating that the event context structure is fixed to 10 related events; the value of the parameter K can also be set to a piecewise function, that is, different values can be assigned according to different range sizes of the time range parameter T value. For example, when the range of T is less than or equal to 7 days, K is assigned to 3, when the range of T is greater than 7 days and less than or equal to 30 days, K is assigned to 10, and when the range of T is greater than 30 days, K is assigned to 15, indicating that when generating an event context result, if the user selects the time range parameter T within 7 days, 3 event context results are generated, if the time range parameter T is between 7 days and 30 days, 10 event context results are generated, and if the time range parameter T exceeds 30 days, 15 event context results are generated. In addition, the K value may be adjusted in any manner, which is not limited in the embodiments of the present application.
[0069] In some embodiments, the server can obtain the event context result through a clustering algorithm based on the determined related event set E of the target event within the T time range and the event clustering number parameter K. Among them, the clustering algorithm can refer to dividing the related events in the event set E into K groups, summarizing a feature-related event in each group to represent all the related events of the group, and using the summarized feature-related events as a generated event context result, and finally selecting K events to form the event context result within the T time range. For example, if the user queries the event context results within the six days from April 1 to April 6, and determines that the K value is 2, it is necessary to sort the related events in the event set E by time, and divide the related events of the first three days into the first group, and divide the related events of the last three days into the second group; next, it can be summarized that the first feature-related event represents the first group, and the second related event represents the second group; finally, based on the first feature-related event and the second feature-related event, the event context result within the T time range is formed. In addition, the clustering algorithm can be any clustering algorithm such as K-means clustering and hierarchical clustering, which is not limited in the embodiments of the present application.
[0070] In some embodiments, the initial complete event context list usually only displays the event context results of the macro perspective and the overall trend, so that the number of event context results is small; however, when the user customizes the time window range, more event context details can be generated by determining the K value. For example, there is only one event that occurred from April 4 to April 5 displayed in the complete event context list (for example, Group A won the football game); after the user customizes the time window from April 4 to April 5, if the K value is determined to be 2, the number of event context events generated in real time becomes 2 and the granularity is more detailed (for example, Group A lost 1 point in the first half of the football game, and Group A won 3 points in the second half of the football game). The content and number of event contexts can be changed by user-customized adjustment of the time window, which improves the user's understanding of the target event.
[0071] It is understood that the client mentioned above in this application may include mobile phones, computers, virtual reality (VR) devices, tablet computers, augmented reality (AR) devices, laptop computers and other terminal devices. In addition, the client may include Tencent News. TM , NetEase News TM The third-party applications are not limited in this embodiment of the present application.
[0072] The following is a brief description of the system architecture of the embodiment of the present application. Figure 2A structural diagram of a system architecture provided for an embodiment of the present application, wherein 201 is a user; 202 is a terminal device, which can be used to implement interaction with the user, for example, the user can customize the time window size of the event context in the interactive interface of the terminal device, and the user can see the displayed event context results in the display interface of the terminal device; 203 is a server, which can provide a hardware device and software environment for program execution for executing the event context display method mentioned in the present application. In addition, the server is also used to receive and process user interaction information from the terminal device and run the event context generation algorithm, and can return the generated event context results to the terminal device; 204 is a storage device, such as a storage device such as a hard disk, which is used to store the original text content of the event and can provide the server with a collection of related documents of the target event.
[0073] Based on the above system architecture, the event context display method mentioned in this application can be executed through the interaction between the user and the terminal device, the server processing algorithm logic, and the storage device storing data. In this way, the user can understand the development of an event in a specific time period through the interaction between the user and the terminal device.
[0074] Correspondingly, an embodiment of the present application also provides a device for executing an event context display method. The device includes a real-time user interaction module, which is used to complete the interaction with the user and process the changes in the time window parameters according to the real-time interaction information; an event context real-time generation module, which is used to generate different event context results under different time windows in real time according to the information of the user interaction; and a display module, which is used to update and display the results generated by the event context real-time generation module. Through the above device, the user can customize the time window of the event context in the device, and generate the corresponding event context in real time and return it to the user.
[0075] The following is based on Figure 3 The structure of the device for generating event context mentioned in this application is briefly described. Figure 3 A schematic diagram of a device architecture composition of an embodiment of the present application is shown. Specifically, the device includes the following modules:
[0076] Event context real-time generation module.
[0077] In some embodiments, the event context real-time generation module needs to perform the following two tasks: Task 1: Process the acquired news data of the target event, and generate the initial event context results under the initial default parameters (from the beginning of the event to the latest development time) through the event context generation algorithm; Task 2: Generate event context results within the corresponding time range according to user interaction information. Among them, when the user enters the news topic page through any window, for example, searching for news topic keywords through a search engine, the event context real-time generation module will first perform Task 1 and return the complete event context results corresponding to the news to the user; then, the event context real-time generation module will repeatedly perform Task 2 according to the user's interactive behavior to generate different event context results within different time ranges.
[0078] In some embodiments, when the event context real-time generation module performs the above-mentioned task 1, it needs to obtain a set of relevant documents of the target event; then extract event related information such as event participants, event location, event keywords and event time from the document collection; then associate the obtained event related information with events, for example, obtain the associated event: event participant A experienced event C at location B; finally, process the obtained associated events with the event time sequence relationship, for example, based on the date information in the associated events, construct a timeline to represent the sequence of associated events, and arrange the associated events according to their positions on the timeline, so as to obtain the initial event context result of the target event from the beginning to the latest development time.
[0079] In some embodiments, when the event context real-time generation module performs the above-mentioned task 2, the event context real-time generation module will receive the time range parameter T returned by the user real-time interaction module (i.e., module 3 mentioned later); then the event context generation algorithm obtains the relevant event set E of the target event within the time period according to the time range parameter T; next, it is necessary to determine the value of the event clustering number parameter K in the generated event context result; finally, based on the relevant event set E and the event clustering number parameter K, the event context result within the time range T is obtained through the clustering algorithm.
[0080] Display module.
[0081] In some embodiments, the display module is mainly responsible for updating and displaying the results generated by the event context real-time generation module, and the user can see the event context results generated in real time under different time windows in the display module.
[0082] User real-time interaction module.
[0083] In some embodiments, the user real-time interaction module is mainly used to complete the interaction with the user and process the change of the time range parameter T according to the real-time interaction information.
[0084] In some embodiments, the user will give an input, namely user interaction information, where the interaction information indicates that the user can freely adjust the time window range in real time through any interactive method in the interactive interface; after the user performs the interactive operation, the user real-time interaction module will obtain the information about the time window change; next, the user real-time interaction module will adjust the time range parameter T based on the time window change information. For example, the user specifies the time range from February 5, 2023 to February 15, 2023 through the "date input box". The user real-time interaction module determines the incoming start and end timestamps based on the interaction information, and updates the time range parameter T from the default value (event from start to end) to the timestamp "20230205_20230215".
[0085] In some embodiments, the real-time user interaction module will pass the adjusted time range parameter T to the real-time event context generation module, and generate the event context results within the time range of T through the event context generation algorithm. The real-time event context generation module will then pass the generated event context results to the display module for display. The user can see the event context results within the time range of T on the display interface and can continue to customize the time window range.
[0086] Based on the above-mentioned device for generating event context, the user can customize the time window of the event context in the device, and generate the corresponding event context in real time and return it to the user.
[0087] Combine the following Figure 4A to Figure 4D A brief description is given of the scenario in which a user drags a time "slider" to adjust the time window to obtain event context results.
[0088] In some embodiments, when a user enters a news topic page through any window, for example, by searching for news topic keywords through a search engine, the display interface will display the initial complete event context results under the initial default parameters (from the beginning of the event to the latest development time) corresponding to the news, for example, Figure 4A As shown, the user can view the complete 34 event contexts of event A from the start to the end of the event on the event context display interface 401. For example, the approximate activity schedule of an international competition can be viewed: the opening ceremony at 10:00 on February 1, the diving competition at 10:00 on February 2, the shooting competition at 9:00 on March 25, the gymnastics competition at 10:00 on March 26, the swimming competition at 10:00 on March 28, the football match at 10:00 on April 1, and other 34 event context results.
[0089] Among them, Figure 4AA time slider 4011 is displayed on the display interface 401, and the user can adjust the time window range by dragging the left slider 4012 or the right slider 4013 on the time slider 4011, wherein the position of the left slider 4012 on the slider 4011 represents the start date of the time window, and the position of the right slider 4013 on the slider 4011 represents the end date of the time window.
[0090] In some embodiments, Figure 4A As shown, when the initial complete event context is generated, the left slider 4012 is at the leftmost end of the slider 4011 (i.e., the event start date February 1, 2023), and the right slider 4013 is at the rightmost end of the slider 4011 (i.e., the event end date April 1, 2023), indicating that the event context result is the entire event context of event A from the start of the event to the end of the event.
[0091] In some embodiments, the user can change the start date of the time window by dragging the position of the left slider on the time slider, for example, Figure 4B As shown, the user can drag the left slider 4012 to the position on the slider 4011 on March 28, 2023, and the right slider 4013 is still at the rightmost end of the slider 4011. At this time, the client will be updated to display interface 402, indicating that the event context result is the event context result of event A from March 28, 2023 to April 1, 2023. At this time, you can see a more detailed schedule, for example: the swimming preliminaries will be held at 10:00 on March 28, the swimming semi-finals will be held at 14:00 on March 28, the swimming finals will be held at 9:00 on March 29, the football preliminaries will be held at 9:00 on March 30, the football semi-finals will be held at 15:00 on March 30, and the football finals will be held at 10:00 on April 1. Figure 4A Compared with the results of the event chain shown, Figure 4B You can see a more detailed picture of the events within a specific time range (March 28 to April 1).
[0092] In some embodiments, the user can also change the end date of the time window by dragging the right slider on the time slider, for example, Figure 4C As shown, the user can drag the right slider 4013 to the position of the slider 4011 on February 2, 2023, and the left slider 4012 is still at the leftmost end of the slider 4011. At this time, the client will be updated to the display interface 403, indicating that the event context result is the event context result of event A from February 1, 2023 to February 2, 2023. At this time, you can see more detailed event arrangements, such as: the opening ceremony at 10:00 on February 1, the fireworks ceremony at 19:00 on February 1, the diving competition preliminaries at 10:00 on February 2, and the diving competition rematch at 15:00 on February 2. Figure 4A Compared with the results of the event chain shown, Figure 4C You can see a more detailed context of events within a specific time range (February 1st to February 2nd).
[0093] In some embodiments, the user can also change the start date and end date of the time window by dragging the left and right sliders on the time slider bar at the same time, for example, Figure 4D As shown, the user can change the positions of the left slider 4012 and the right slider 4013 on the slider 4011 at the same time. At this time, the client will be updated to the display interface 404, indicating that the event context result is the event context result of event A from March 25, 2023 to March 26, 2023. At this time, you can see more detailed schedules, for example: the shooting competition semi-finals will be held at 9:00 on March 25, the shooting competition finals will be held at 14:00 on March 25, the gymnastics competition preliminaries will be held at 10:00 on March 26, and the gymnastics competition semi-finals will be held at 15:00 on March 26. Figure 4A Compared with the results of the event chain shown, Figure 4D You can see a more detailed context of events within a specific time range (March 25th to March 26th).
[0094] It can be understood that in the embodiment of the present application, the user can interact with the client by dragging the time slider arbitrarily, and the server will generate event interaction results within different time ranges based on the interaction information and return them to the user.
[0095] Combine the following Figure 5A to Figure 5B A brief description is given of the scenario in which the user adjusts the time window through the "date input box" to obtain event context results.
[0096] In some embodiments, when a user enters a news topic page through any window, for example, by searching for news topic keywords through a search engine, the display interface will display the initial complete event context results under the initial default parameters (from the beginning of the event to the latest development time) corresponding to the news, for example, Figure 5A As shown, the user can view the complete 34 event contexts of event A from the start of the event to the end of the event on the display interface 501 of the event context. Among them, the display interface 501 will display a date input box 5011 and a date input box 5012. The date input box 5011 on the left indicates the start date of the time window, and the date input box 5012 on the right indicates the end date of the time window. The user can select any date as the start date of the time window through the date selector 5011A in the date input box 5011, and select any date as the end date of the time window through the date selector 5012A in the date input box 5012. Among them, the date selector indicates that the user can expand the calendar interface by clicking a button, and the user can select a specific date on the calendar interface.
[0097] In some embodiments, Figure 5A As shown, when generating the initial complete event context, the date input box 5011 will display the initial occurrence date of event A, February 1, 2023, and the date input box 5012 will display the end date of event A, April 1, 2023, indicating that the event context result is the entire event context from the start to the end of event A. For example, you can see the approximate activity schedule of an international competition: the opening ceremony at 10 a.m. on February 1, the shooting competition at 9 a.m. on March 25, the gymnastics competition at 10 a.m. on March 26, the football match at 10 a.m. on April 1, and 34 other event context results.
[0098] In some embodiments, the user can select any date in the date input box as the start date or end date of the time window. Figure 5B As shown, the user selects March 25, 2023 in the date input box 5011 through the date selector 5011A, and selects March 26, 2023 in the date input box 5012 through the date selector 5012A. At this time, the client will be updated to the display interface 502, indicating that the event context result is the event context result of event A from March 25, 2023 to March 26, 2023. At this time, you can see more detailed schedules, for example: the shooting competition semi-finals will be held at 9:00 on March 25, the shooting competition finals will be held at 14:00 on March 25, the gymnastics competition preliminaries will be held at 10:00 on March 26, and the gymnastics competition semi-finals will be held at 15:00 on March 26. Figure 5A Compared with the results of the event chain shown, Figure 5B You can see a more detailed context of events within a specific time range (March 25th to March 26th).
[0099] It can be understood that in the embodiment of the present application, the user can interact with the client by selecting any time in the date input box, and the server will generate event interaction results within different time ranges based on the interaction information and return them to the user.
[0100] Combine the following Figure 6A to Figure 6B The following briefly describes the scenario in which a user adjusts the time window through the "Quick Time Cycle" to obtain event context results.
[0101] In some embodiments, when a user enters a news topic page through any window, for example, by searching for news topic keywords through a search engine, the display interface will display the initial complete event context results under the initial default parameters (from the beginning of the event to the latest development time) corresponding to the news, for example, Fig. 6AAs shown, the user can view the complete 34 event contexts of event A from the start to the end of the event on the event context display interface 601. For example, the approximate activity schedule of an international competition can be viewed: the opening ceremony at 10:00 on February 1, the diving competition at 10:00 on February 2, the shooting competition at 9:00 on March 25, the gymnastics competition at 10:00 on March 26, the swimming competition at 10:00 on March 28, the football match at 10:00 on April 1, and other 34 event context results.
[0102] Among them, Fig. 6A The display interface 601 will display the quick time periods of "last three days", "last week", "last month" and "last three months", and the user can select any quick time period button to view the event context results of the corresponding time range.
[0103] In some embodiments, Figure 6B As shown, the user can click the "Latest Three Days" quick time button to view the progress of event A in the last three days from the end date of the event. At this time, the client will be updated to display interface 602, indicating that the event context result is the event context result of event A from March 30 to April 1. At this time, you can see a more detailed schedule, the football match group preliminaries will be held at 9:00 on March 30, the football match group rematch will be held at 15:00 on March 30, the football match group finals will be held at 14:00 on March 31, and the football match finals will be held at 10:00 on April 1. Fig. 6A Compared with the results of the event chain shown, Figure 6B You can see a more detailed picture of the events within a specific time range (March 30 to April 1).
[0104] In some embodiments, the quick time period can be set arbitrarily, for example, it can be set to "last 15 days", "last 30 days", etc., which is not limited in this embodiment of the present application.
[0105] It can be understood that in the embodiment of the present application, the user can interact with the client by selecting a quick time period, and the server will generate event interaction results within different time ranges based on the interaction information and return them to the user.
[0106] Combine the following Figure 7A to Figure 7B A brief description is given of the scenario in which a user adjusts the time window through the "start and end calendar box" to obtain event context results.
[0107] In some embodiments, when a user enters a news topic page through any window, for example, by searching for news topic keywords through a search engine, the display interface will display the initial complete event context results under the initial default parameters (from the beginning of the event to the latest development time) corresponding to the news, for example, Fig. 7AAs shown, the user can view the complete 34 event contexts of event A from the start to the end of the event on the event context display interface 701.
[0108] Among them, a start and end calendar frame icon 7011 will be displayed on the display interface 701 of Figure 7. The user can enter the date selection interface 7012 by clicking the start and end calendar frame 7011, and select any two times in the calendar 7013 of the date selection interface 7012 as the start time and end time of the time window.
[0109] In some embodiments, Fig. 7A As shown, when generating the initial complete event context, click the start and end calendar frame 7011 to enter the date selection interface 7012, and the start and end time of event A will be displayed, indicating that the event context result is the entire event context from the start of event A to the end of event A. For example, you can see the approximate activity arrangement of an international competition: opening ceremony at 10:00 on February 1, diving competition at 10:00 on February 2, shooting competition at 9:00 on March 25, gymnastics competition at 10:00 on March 26, swimming competition at 10:00 on March 28, football competition at 10:00 on April 1, and other 34 event context results.
[0110] In some embodiments, Figure 7B As shown, the user enters the date selection interface 7012 by clicking the start and end calendar frame 7011, and selects the time window range from February 1, 2023 to February 3, 2023 in the calendar 7013 of the date selection interface 7012. Then, by clicking the run key (i.e., the GO button), the event context result of the corresponding time range can be obtained, that is, the client will be updated to the display interface 702, indicating that the event context result is the event context result of event A from February 1 to February 3. At this point, you can see more detailed event arrangements, for example: the opening ceremony will be held at 10:00 on February 1, the fireworks ceremony will be held at 19:00 on February 1, the diving competition preliminaries will be held at 10:00 on February 2, the diving competition semi-finals will be held at 15:00 on February 2, and the diving competition finals will be held at 10:00 on February 3. Fig. 7A Compared with the results of the event chain shown, Figure 7B You can see a more detailed context of events within a specific time range (February 1 to February 3).
[0111] It can be understood that in the embodiment of the present application, the user can arbitrarily select a time window range through the start and end calendar boxes to interact with the client, and the server will generate event interaction results within different time ranges based on the interaction information and return them to the user.
[0112] The following is based on Figure 8The interactive process diagram shown in FIG. 1 describes the interactive process between the client and the server when the event context display method is executed in the embodiment of the present application, wherein the event context display method can be executed by the client and the server. Figure 8 Specifically, the interaction process includes the following steps:
[0113] 801: The client receives first interaction information from the user.
[0114] It can be understood that in the embodiment of the present application, the first interaction information is the query information input by the user. For example, the first interaction information may be a keyword of the target event to be queried input by the user.
[0115] In some embodiments, when a user enters a news topic page through any window, for example, by searching for news topic keywords through a search engine, the client receives the first interaction information.
[0116] 802: The client sends first interaction information to the server.
[0117] It can be understood that in the embodiment of the present application, after the client receives the first interaction information of the user, it will send the first interaction information to the server, and the server will receive the first interaction information and perform corresponding processing.
[0118] 803: The server generates a first event context result.
[0119] It can be understood that in the embodiment of the present application, after the server receives the first interaction information sent by the client, the server will first generate an initial complete event context of the target event queried by the user from the beginning of the event (or the initial record of the event) to the latest development stage of the event.
[0120] In some embodiments, when generating the first event context result (i.e., the initial event context result), it is first necessary to extract the document collection of the target event queried by the user; then, it is necessary to perform event structuring processing on the document collection of the target event through a natural language processing model, for example, extract event related information such as event participants, event location, event keywords, and event time; then, the obtained event related information is associated with events, for example, the associated event is obtained: event participant A has event C at location B, a list of all associated events is obtained and the same events are removed; finally, the associated events are processed according to the event time sequence relationship, that is, the associated events are sorted according to the order of the events, and the initial complete event context result can be obtained.
[0121] In some embodiments, when generating the first event context result, the time window range parameter T is a default value "DEFAULT", which indicates that the time range of the initial event context result is from the earliest event occurrence time to the latest event occurrence time.
[0122] 804: The server sends the first event context result to the client.
[0123] It can be understood that in the embodiment of the present application, after the server generates the first event context result of the target event, the server will send the first event context result to the client.
[0124] 805: The client displays the first event context result.
[0125] It can be understood that in the embodiment of the present application, after the client receives the first event context result sent by the server, the client will display the first event context result on the display interface.
[0126] 806: The client receives the second interaction information from the user.
[0127] It can be understood that in the embodiment of the present application, the second interaction information can be the relevant information of the time range selected by the user. The client can receive the second interaction information between the user and the client in any manner.
[0128] In some embodiments, the interaction between the user and the client can be in various ways, for example, FIG. 4A to FIG. 4D For a time slider shown, the second interaction information may indicate that the user can adjust the time range by dragging the slider; Figure 5A and Figure 5B The date input box shown, the second interaction information may indicate that the user can directly enter a time range in the date input box; Fig. 6A and Figure 6B For the shortcut time period shown (for example, shortcut buttons such as "last three days" and "last week"), the second interaction information may refer to any shortcut button selected by the user; Fig. 7A and Figure 7B The start and end calendar boxes shown, the second interaction information may refer to the user selecting two dates in the calendar box to represent the start date and end date of the time window respectively. The user can interact with the client in different ways in the interactive interface, and the embodiment of the present application does not limit this.
[0129] 807: The client adjusts the time window parameters.
[0130] It can be understood that in the embodiment of the present application, after the client receives the second interaction information of the user, the client will adjust the time window range T based on the second interaction information.
[0131] In some embodiments, for example, the user specifies a time range from February 5, 2023 to February 15, 2023 through the "date input box", and the client determines the incoming start and end timestamps based on the second interaction information, and updates the time window range T from the default value (event from start to end) to the timestamp "20230205_20230215".
[0132] 808: The client sends time window parameters to the server.
[0133] It can be understood that in the embodiment of the present application, after the client adjusts the time window range T based on the user's second interaction information, the client will send the time window range T to the server.
[0134] 809: The server obtains a set of related events within the time window.
[0135] It can be understood that in the embodiment of the present application, after the server obtains the time window parameter T, it is necessary to extract the relevant event set E of the target event within the time range T based on the time window parameter. Among them, the event set E can be a list of events with different granularities (i.e., event details) within the time window.
[0136] In some embodiments, in some embodiments, when generating an event list in a related event set E, it is necessary to perform event structuring processing on the document collection of the target event within the time range of T through a natural language processing model, for example, extracting event related information such as event participants, event location, event keywords, and event time; then perform event association on the obtained event related information, for example, obtain the associated event: event C occurred at location B for event participant A; finally, obtain a list of all associated events and remove the same events, so as to obtain the related event set E of the target event within the time range of T.
[0137] In some embodiments, it is also necessary to process the event temporal relationship of the associated events in the related event set E of the target event within the time range T, that is, according to the time information of the event, the causal relationship and context information between the events, and according to the specific scenario and task requirements, select appropriate methods and models to process and analyze the temporal relationship of the events. For example, according to the date information in the event, a timeline is constructed to represent the sequence of events, and the associated events are arranged according to their positions on the timeline, so that the event temporal relationship processing can be completed.
[0138] 810: The server determines the number of events preset in the second event context result.
[0139] It can be understood that in the embodiment of the present application, before generating the second event context result, the server also needs to determine the event clustering quantity parameter K in the generated second event context result.
[0140] In some embodiments, parameter K may be a fixed value or a piecewise function. A fixed value means that the user selects any time range parameter T, and the K value remains unchanged. For example, K may be set to a default value of 10, indicating that the event context structure is fixed to 10 related events.
[0141] In some embodiments, the value of parameter K can also be set as a piecewise function, that is, different values can be assigned according to the different range sizes of the time range parameter T value. For example, when the range of T is less than or equal to 7 days, K is assigned to 3, when the range of T is greater than 7 days and less than or equal to 30 days, K is assigned to 10, and when the range of T is greater than 30 days, K is assigned to 15, indicating that when generating event context results, if the user selects the time range parameter T within 7 days, 3 event context results are generated, if the time range parameter T is between 7 days and 30 days, 10 event context results are generated, and if the time range parameter T exceeds 30 days, 15 event context results are generated. In addition, the K value can also be adjusted in any way, and the embodiments of the present application do not limit this.
[0142] 811: The server generates a second event context result.
[0143] It can be understood that in the embodiment of the present application, the server can generate a second event context result within the corresponding time range through a clustering algorithm based on the determined related event set E of the target event within the time range T and the event cluster quantity parameter K.
[0144] In some embodiments, the clustering algorithm may refer to dividing the associated events in the event set E into K groups, summarizing a characteristic associated event in each group to represent all the associated events in the group, and using the summarized characteristic associated events as a generated event context result, and finally selecting K events to form an event context result within the time range of T. For example, if the user queries the event context results within the six days from April 1 to April 6, and determines that the K value is 2, it is necessary to sort the associated events in the event set E by time, and divide the associated events of the first three days into the first group, and divide the associated events of the last three days into the second group; next, it can be summarized that the first characteristic associated event represents the first group, and the second associated event represents the second group; finally, based on the first characteristic associated event and the second characteristic associated event, a second event context result (i.e., the corresponding event context result within the time range of T) is formed.
[0145] 812: The server sends the second event context result to the client.
[0146] It can be understood that in the embodiment of the present application, after the server generates the event context result within the corresponding time range, the server will send the second event context result to the client.
[0147] 813: The client displays the result of the second event context.
[0148] It can be understood that in the embodiment of the present application, after the client receives the second event context result sent by the server, the client will display the second event context result on the display interface.
[0149] Based on the above method, users can customize the time window of event context through any interactive method, where the parameters of the event context time window are defined by the user's own behavior. After the interactive operation is completed, the client and server will process the time window parameter changes based on this interactive information, and generate different event context results in real time and return them to the user, which greatly improves the user's experience of understanding the event context within a specific time range. In addition, by customizing the time window, the content and number of event contexts can be changed, improving the user's understanding of the target event.
[0150] The event context display method of the present application can be executed by an electronic device, and the electronic device can be a server and a client. The client can be a mobile phone, a computer, a virtual reality (VR) device, a tablet computer, an augmented reality (AR) device, a laptop computer and other terminal devices. In addition, the client can include Tencent News TM , NetEase News TM The third-party applications are not limited in this embodiment of the present application.
[0151] Below Fig. 9 The electronic device 1100 shown in FIG. 1 is used as an example to exemplarily illustrate the hardware structure diagram of the server side in the embodiment of the present application. Fig. 9 As shown, the electronic device 1100 may include one or more processors 1102, a system control logic 1101 connected to at least one of the processors 1102, a system memory 1105 connected to the system control logic 1101, a storage 1103 connected to the system control logic 1101, and a network interface 1108 connected to the system control logic 1101.
[0152] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute the only possible implementation method for the electronic device 1100. In other embodiments of the present application, the electronic device 1100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0153] The processor 1102 may include one or more single-core or multi-core processors. In some embodiments, the processor 1102 may include any combination of a general-purpose processor and a dedicated processor (e.g., an application processor, a baseband processor, etc.). It is understood that in the embodiment of the present application, the processor 1102 may be configured to execute the executable instructions 1104 stored in the memory 1103 to implement the method steps performed by the server in the event context display method of the present application.
[0154] The system control logic 1101 may include any suitable interface controller to provide any suitable interface to at least one of the processors 1102 and / or any suitable device or component in communication with the system control logic 1101. The system control logic 1101 may include one or more memory controllers to provide an interface to the system memory 1105. The system memory 1105 may be used to load and store data and / or instructions. In some embodiments, the system memory 1105 of the electronic device 1100 may include any suitable volatile memory, such as a suitable dynamic random access memory.
[0155] The memory 1103 may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. In some embodiments, the memory 1103 may include any suitable volatile memory and / or any suitable non-volatile storage device, for example, the memory 1103 may include: a random access memory unit (Random Access Memory, RAM) and / or a cache memory unit, and may further include a read-only memory unit (Read Only memory, ROM).
[0156] The memory 1103 may include a portion of storage resources on a device on which the electronic device 1100 is installed, or it may be accessible by the device but is not necessarily a portion of the device. For example, the memory 1103 may be accessed via a network via the network interface 1108 .
[0157] In particular, the system memory 1105 and the storage 1103 may include: a temporary copy and a permanent copy of the instruction 1106 and a temporary copy and a permanent copy of the instruction 1104, respectively. The instruction 1106 may include: an instruction that causes the electronic device 1100 to implement the event context display method of the embodiment of the present invention when executed by at least one of the processors 1102. In some embodiments, the instruction 1106, hardware, firmware and / or its software components may be additionally / alternatively placed in the system control logic 1101, the network interface 1108 and / or the processor 1102.
[0158] The network interface 1108 may include a transceiver for providing a radio interface for the electronic device 1100, and then communicating with any other suitable device (such as a front-end module, an antenna, etc.) through one or more networks. In some embodiments, the network interface 1108 may be integrated with other components of the electronic device 1100. For example, the network interface 1108 may be integrated with at least one of the processor 1102, the system memory 1105, the storage 1103, and a firmware device (not shown) having instructions. When at least one of the processors 1102 executes the instructions, the electronic device 1100 implements the method steps executed by the server side in the event context display method of the embodiment of the present invention.
[0159] The network interface 1108 may further include any suitable hardware and / or firmware to provide a multiple-input multiple-output radio interface. For example, the network interface 1108 may be a network adapter, a wireless network adapter, a telephone modem and / or a wireless modem.
[0160] The electronic device 1100 may further include an input / output (I / O) device 1107. In some embodiments, the electronic device 1100 further includes a sensor for determining at least one of an environmental condition and location information related to the electronic device 1100.
[0161] In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
[0162] In some embodiments, the sensors may include, but are not limited to, gyroscope sensors, accelerometers, proximity sensors, ambient light sensors, and positioning units. The positioning unit may also be part of or interact with the network interface 1108 to communicate with components of a positioning network (e.g., Global Positioning System (GPS) satellites).
[0163] Below Fig.10 The electronic device 1200 shown in FIG. 1 is used as an example to exemplarily illustrate the hardware structure diagram of the client in the embodiment of the present application. Fig.10 As shown, the electronic device 1200 may include a processor 110, a power module 140, a memory 180, a mobile communication module 130, a wireless communication module 120, a sensor module 190, an audio module 150, a camera 170, an interface module 160, a button 101, a display screen 102, and a touch screen 103, etc.
[0164] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute the only possible implementation method for the electronic device 1200. In other embodiments of the present application, the electronic device 1200 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0165] The processor 110 may include one or more processing units, for example, a processing module or processing circuit including a central processing unit, an image processor, a digital signal processor, a microprocessor or a programmable logic device. Different processing units may be independent devices or integrated into one or more processors. A storage unit may also be provided in the processor 110 for storing instructions and data. In some embodiments, the storage unit in the processor 110 is a cache memory 180, which may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the storage unit, thereby avoiding repeated access, reducing the waiting time of the processor 110, and thus improving the efficiency of the system.
[0166] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0167] It can be understood that in the embodiment of the present application, the processor can be used to execute the method steps executed by the client in the event context display method of the present application.
[0168] The power module 140 may include a power source, a power management component, etc. The power source may be a battery. The power management component is used to manage the charging of the power source and the power supply of the power source to other modules. In some embodiments, the power management component includes a charging management module and a power management module. The charging management module is used to receive charging input from the charger; the power management module is used to connect the power source, and the charging management module is connected to the processor 110. The power management module receives input from the power source and / or the charging management module, and supplies power to the processor 110, the display screen 102, the camera 170, and the wireless communication module 120.
[0169] The mobile communication module 130 may include but is not limited to an antenna, a power amplifier, a filter, etc. The mobile communication module 130 may provide a solution for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 1200. The mobile communication module 130 may receive electromagnetic waves through an antenna, filter, amplify, and process the received electromagnetic waves, and transmit them to a modulation and demodulation processor for demodulation. The mobile communication module 130 may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through an antenna. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed in the same device as at least some of the modules of the processor 110.
[0170] The wireless communication module 120 may include an antenna, and transmit and receive electromagnetic waves via the antenna. The wireless communication module 120 may provide wireless communication solutions including wireless LAN, Bluetooth, global navigation satellite system, frequency modulation (FM), near field communication (NFC), infrared (IR), etc., applied to the electronic device 1200. The electronic device 1200 may communicate with the network and other devices through wireless communication technology.
[0171] In some embodiments, the mobile communication module 130 and the wireless communication module 120 of the electronic device 1200 may also be located in the same module.
[0172] The display screen 102 is used to display a human-computer interaction interface, images, videos, etc. The display screen 102 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light emitting diode (OLED), or an active-matrix organic light emitting diode (AMOLED).
[0173] The sensor module 190 may include a proximity light sensor, a pressure sensor, a gyro sensor, an acceleration sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, an electromagnetic wave absorption rate sensor, a sound sensor, and the like.
[0174] The audio module 150 is used to convert a digital audio signal into an analog audio signal output, or to convert an analog audio input into a digital audio signal. The audio module 150 can also be used to encode and decode an audio signal. In some embodiments, the audio module 150 can be arranged in the processor 110, or some functional modules of the audio module 150 can be arranged in the processor 110. In some embodiments, the audio module 150 can include a speaker, an earpiece, a microphone, and an earphone interface.
[0175] The camera 170 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the image signal processing to convert it into a digital image signal. The electronic device 1200 can realize the shooting function through the ISP, the camera 170, the video codec, the graphics processor, the display screen 102, and the application processor.
[0176] The interface module 160 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 1200, or to enable the electronic device 1200 to communicate with other electronic devices.
[0177] In some embodiments, the electronic device 1200 further includes a button 101, a motor, and an indicator. The button 101 may include a volume button, an on / off button, etc. The motor is used to make the electronic device 1200 produce a vibration effect, and different application scenarios (e.g., time reminder, etc.) may correspond to different vibration feedback effects. The indicator may include a laser indicator, a light-emitting diode indicator, etc.
[0178] The various embodiments disclosed in the present application may be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0179] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor, a microcontroller, an application specific integrated circuit, or a microprocessor.
[0180] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0181] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including but not limited to, a floppy disk, an optical disk, an optical disk, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), a magnetic card or an optical card, an erasable programmable read-only memory (EPROM), a flash memory, an electrically erasable programmable read-only memory (EEPROM), or a tangible machine-readable memory for transmitting information (e.g., a carrier wave, an infrared signal digital signal, etc.) using the Internet in an electrical, optical, acoustic, or other form of propagation signal. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).
[0182] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0183] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0184] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0185] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.
Claims
1. A method for displaying event context, characterized in that: The method comprises: The client displays the first event context result corresponding to the first time period; The client detects a first instruction from the user, where the first instruction is used to instruct display of a second event context result corresponding to a second time period in the first time period; The client displays a second event context result corresponding to the second time period in response to the first instruction of the user, wherein the number of events displayed in the second event context result is greater than the number of events displayed in the third event context result, wherein the third event context result is the event context within the second time period in the first event context result.
2. The method according to claim 1, characterized in that The client displays, in response to the first instruction of the user, a second event context result corresponding to the second time period, including: The client sends a second time period corresponding to the first instruction to the server; The server generates a second event context result corresponding to the second time period based on the second time period, and sends the second event context result to the client; The client displays a second event context result corresponding to the second time period.
3. The method according to claim 2, characterized in that The generating a second event context result corresponding to the second time period based on the second time period includes: Acquire an event set corresponding to the second time period based on the second time period; Determine the number of events to display; Based on the event set corresponding to the second time period and the event display quantity, a second event context result corresponding to the second time period is generated.
4. The method according to claim 3, characterized in that The acquiring, based on the second time period, a set of events corresponding to the second time period includes: Extracting a document set corresponding to the second time period; Based on the document set corresponding to the second time period, obtaining a set of associated events corresponding to the second time period; Performing timing adjustment on each associated event in the associated event set corresponding to the second time period to obtain an event set corresponding to the second time period.
5. The method according to claim 4, characterized in that The obtaining, based on the document set corresponding to the second time period, a set of associated events corresponding to the second time period, includes: Extracting event related information from the document set corresponding to the second time period, the event related information including: at least one of event participants, event location, event keywords, and event time; Perform event association on the event-related information to obtain a set of associated events corresponding to the second time period.
6. The method according to claim 4, characterized in that The step of adjusting the timing of each associated event in the associated event set corresponding to the second time period to obtain the event set corresponding to the second time period includes: Adjusting the order of the associated events in the associated event set corresponding to the second time period based on the temporal relationship of the associated events, to obtain an event set corresponding to the second time period; The temporal relationship includes at least one of time sequence and event causal relationship.
7. The method according to claim 3, characterized in that The determining of the number of event displays includes: The number of events to be displayed corresponding to the second event context result is determined based on the length of the second time period.
8. The method according to claim 3, characterized in that The determining of the event display quantity includes: using a preset event display quantity as the event display quantity corresponding to the second event context result.
9. The method according to claim 3, characterized in that: The generating, based on the event set corresponding to the second time period and the number of event displays, a second event context result corresponding to the second time period includes: Based on the number of displayed events, clustering processing is performed on the event set corresponding to the second time period to generate a second event context result, wherein the number of clusters in the clustering processing is the same as the number of displayed events.
10. The method according to claim 9, characterized in that The clustering of the event set corresponding to the second time period based on the number of event displays to generate a second event context result includes: determining a number of clusters based on the number of event displays; Performing clustering processing on the event set corresponding to the second time period based on the number of clusters to obtain multiple cluster sets; Determining each feature-related event in each of the cluster sets; The second event context result is determined based on the feature-related events.
11. The method according to any one of claims 1 to 10, characterized in that The first instruction includes: one or more of a voice instruction and a display control for adjusting a display interface of the client.
12. The method according to claim 11, characterized in that The display controls include: a quick time period key, a time slide bar, a start and end calendar box, and one or more display controls in a date input box.
13. The method according to claim 1, characterized in that The method further comprises: The server side extracts the document set corresponding to the first time period; The server generates a first event context result corresponding to the first time period based on the document set corresponding to the first time period, and sends the first event context result to the client.
14. An electronic device, characterized in that: include: A memory and a processor, wherein the memory is used to store instructions executed by one or more processors of the electronic device, and the processor is one of the one or more processors of the electronic device, and is used to execute the event context display method described in any one of claims 1-13.
15. A readable storage medium, characterized in that: The readable storage medium stores instructions, which, when executed on an electronic device, enable the electronic device to execute the event context display method according to any one of claims 1 to 13.