Report processing method and device, electronic equipment, storage medium and program product
Patent Information
- Application Number
- CN202410677336.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2044-05-29
AI Technical Summary
[0004]然而,现有技术会导致报表的更新不合理,从而引起资源浪费、用户体验差等问题
[0028]本申请实施例提供的报表的处理方法、装置、电子设备、存储介质及程序产品,通过获取预设时间段内待处理报表的用户访问信息,根据所获取的预设时间段内待处理报表的用户访问信息,确定待处理报表的告警时间信息,根据待处理报表的告警时间信息所表征的待处理报表的更新超时的告警时间,对待处理报表进行更新处理,并根据待处理报表的告警时间信息所表征的报表的更新超时的告警时间,对待处理报表进行更新超时的告警处理,其中,根据待处理报表的告警时间信息所表征的待处理报表的更新超时的告警时间可以更加合理、更符合用户需求,进一步根据待处理报表的告警时间信息所表征的待处理报表的更新超时的告警时间,对待处理报表进行更新处理,可以提高资源利用率,避免资源浪费,提高用户体验。
Smart Images

Figure CN118568109B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, electronic device, storage medium, and program product for processing reports. Background Technology
[0002] Reports are data that are dynamically displayed using formats such as tables and charts.
[0003] In the existing technology, reports can be updated according to a preset report update time, and alarms can be triggered on the reports according to a preset alarm time.
[0004] However, existing technologies can lead to unreasonable report updates, resulting in problems such as wasted resources and poor user experience. Summary of the Invention
[0005] This application provides a report processing method, apparatus, electronic device, storage medium, and program product to avoid resource waste and improve user experience.
[0006] In a first aspect, embodiments of this application provide a method for processing reports, including:
[0007] Retrieve user access information for reports to be processed within a preset time period; where the preset time period represents the time range before the current date; and user access information represents the information about user access to the reports.
[0008] Based on the user access information of the reports to be processed within the preset time period, the alarm time information of the reports to be processed is determined; wherein, the alarm time information represents the alarm time of the report update timeout.
[0009] Based on the alarm time information of the report to be processed, which indicates the alarm timeout time of the report update, the report to be processed is updated, and based on the alarm time information of the report to be processed, which indicates the alarm timeout time of the report update, the report to be processed is timed out.
[0010] In one possible implementation, the user access information includes multiple access information entries; determining the alarm time information of the reports to be processed based on the user access information of the reports to be processed within a preset time period includes: extracting the user initial access sequence from the user access information; wherein, the user initial access sequence is a sequence of access information of each user's first access to the report each day; the user initial access sequence includes multiple initial access information entries; the initial access information represents the user's first access to the report on that day; and determining the alarm time information of the reports to be processed based on the number of initial access information entries included in the user initial access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold.
[0011] In one possible implementation, the alarm time information of the report to be processed is determined based on the number of initial access information included in the user's initial access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold. This includes: if the number of initial access information included in the user's initial access sequence is less than the preset initial access quantity threshold, then the alarm time information of the report to be processed is determined based on the preset alarm time threshold; if the number of initial access information included in the user's initial access sequence is greater than or equal to the preset initial access quantity threshold, then the alarm time information of the report to be processed is determined based on the number of initial access information included in the user's initial access sequence and the preset alarm ratio threshold.
[0012] In one possible implementation, the initial access information includes a sequence number of the initial access information; determining the alarm time information of the report to be processed based on the number of initial access information included in the user's initial access sequence and a preset alarm ratio threshold includes: determining the alarm sequence number of the report to be processed based on the number of initial access information included in the user's initial access sequence and a preset alarm ratio threshold; wherein, the alarm sequence number represents the sequence number for obtaining the alarm time information of the report to be processed; the alarm sequence number is greater than or equal to zero; if the alarm sequence number is equal to zero, then the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the first sequence number; the first sequence number is the sequence number of the first initial access information included in the initial access sequence; if the alarm sequence number is greater than zero, then the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the alarm sequence number.
[0013] In one possible implementation, the access information includes a user identifier, a user access date, and a user access time; extracting the user's initial access sequence from the user access information includes: aggregating the user access time included in each access information based on the user identifier and user access date included in each access information to obtain multiple initial access information; sorting the multiple initial access information according to the time order of the user access time to obtain the user's initial access sequence.
[0014] In one possible implementation, the initial user access sequence includes: a first-time initial user access sequence and a second-time initial user access sequence; the access information includes a user identifier, a user access date, and a user access time; extracting the initial user access sequence from the user access information includes: classifying multiple access information items in the user access information according to the user access date included in each access information item to obtain first-time user access information and second-time user access information; wherein, the first-time user access information represents information about users accessing reports on holidays; the second-time user access information represents information about users accessing reports on weekdays; aggregating the user access time included in each access information item according to the user identifier and user access date included in each access information item to obtain multiple initial access information items corresponding to the first-time user access information and multiple initial access information items corresponding to the second-time user access information; sorting the multiple initial access information items corresponding to the first-time user access information according to the time order of user access time to obtain the first-time initial user access sequence; sorting the multiple initial access information items corresponding to the second-time user access information according to the time order of user access time to obtain the second-time initial user access sequence.
[0015] In one possible implementation, if there are multiple reports to be processed, the initial user access sequence includes: multiple initial user access sequences for reports; the access information includes a report identifier, a user identifier, a user access date, and a user access time; extracting the initial user access sequence from the user access information includes: classifying multiple access information entries in the user access information according to the report identifier included in each access information entry to obtain multiple initial access information entries for each report; wherein, the report user access information represents information about a user accessing a certain report; aggregating the user access time included in each access information entry according to the user identifier and user access date included in each access information entry to obtain multiple initial access information entries corresponding to each report user access information entry; sorting the multiple initial access information entries corresponding to each report user access information entry according to the time order of the user access time to obtain the initial user access sequence for each report user access information entry.
[0016] In one possible implementation, the initial access sequence of report users includes: a first initial access sequence of report users and a second initial access sequence of report users; sorting multiple initial access information corresponding to each report user access information according to the time order of user access time to obtain the initial access sequence of report users corresponding to each report user access information includes: classifying multiple initial access information corresponding to each report user access information by time according to the user access date included in each access information to obtain first time report user access information and second time report user access information corresponding to each report user access information; wherein, the first time report user access information represents the initial access information of users accessing the report on holidays; the second time report user access information represents the initial access information of users accessing the report on weekdays; sorting multiple initial access information corresponding to the first time report user access information corresponding to each report user access information according to the time order of user access time to obtain the first initial access sequence of report users corresponding to each report user access information; sorting multiple initial access information corresponding to the second initial access information corresponding to each report user access information according to the time order of user access time to obtain the second initial access sequence of report users corresponding to each report user access information.
[0017] In one possible implementation, the report to be processed is updated based on the alarm timeout time indicated by the alarm time information of the report to be processed, and an alarm processing for update timeout is performed on the report to be processed based on the alarm timeout time indicated by the alarm time information of the report to be processed. This includes: scheduling the operation and maintenance resources of the report to be processed based on the alarm timeout time indicated by the alarm time information of the report to be processed, so that the update time of the report to be processed is earlier than the alarm timeout time; monitoring the update result of the report to be processed when the alarm timeout time arrives; and generating and displaying an alarm prompt for update timeout of the report to be processed if the monitored update result of the report to be processed is incomplete.
[0018] In one possible implementation, if there are multiple reports to be processed, the reports to be processed are updated according to the alarm timeout alarm time of the reports to be processed as indicated by the alarm time information of the reports to be processed, and the reports to be processed are updated with timeout alarms according to the alarm time information of the reports to be processed. This includes: scheduling the operation and maintenance resources of the multiple reports to be processed according to the alarm timeout alarm time of each report to be processed, so that the update time of each report to be processed is earlier than the alarm timeout alarm time of each report to be processed; when the alarm timeout alarm time of each report to be processed arrives, monitoring the update status of the corresponding report to be processed; if the monitored update status of the corresponding report to be processed is incomplete, generating and displaying the corresponding alarm message for update timeout of the report to be processed.
[0019] Secondly, embodiments of this application provide a report processing apparatus, including:
[0020] The acquisition module is used to acquire user access information for reports to be processed within a preset time period; where the preset time period represents the time range before the current date; and the user access information represents the information of users accessing the reports.
[0021] The determination module is used to determine the alarm time information of the reports to be processed based on the user access information of the reports to be processed within the preset time period; wherein, the alarm time information represents the alarm time of the report update timeout.
[0022] The processing module is used to update the report to be processed based on the alarm time information of the report to be processed, which indicates the alarm timeout of the report update, and to handle the alarm timeout of the report update based on the alarm time information of the report update.
[0023] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0024] The memory stores computer-executed instructions;
[0025] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0026] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0027] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0028] The report processing method, apparatus, electronic device, storage medium, and program product provided in this application embodiment obtain user access information of reports to be processed within a preset time period. Based on the obtained user access information of reports to be processed within the preset time period, the alarm time information of the reports to be processed is determined. Based on the alarm time information of the reports to be processed, which represents the alarm timeout alarm time of the reports to be processed, the reports to be processed are updated. Furthermore, based on the alarm time information of the reports to be processed, the alarm timeout alarm time of the reports to be processed is used to handle the update timeout alarm of the reports to be processed. The alarm timeout alarm time of the reports to be processed, which represents the update timeout alarm time of the reports to be processed, is more reasonable and better meets user needs. Furthermore, updating the reports to be processed based on the alarm time information of the reports to be processed, which represents the update timeout alarm time of the reports to be processed, can improve resource utilization, avoid resource waste, and improve user experience. Attached Figure Description
[0029] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0030] Figure 1 Flowchart of the report processing provided for this application Figure 1 ;
[0031] Figure 2 Flowchart of the report processing provided for this application Figure 2 ;
[0032] Figure 3 Flowchart of the report processing provided for this application Figure 3 ;
[0033] Figure 4 Flowchart of the report processing provided for this application Figure 4 ;
[0034] Figure 5 A schematic diagram of the structure of the report processing device provided in this application;
[0035] Figure 6 A schematic diagram of the structure of the electronic device provided in this application.
[0036] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0037] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0038] In existing technologies, reports can be updated according to preset update times, and alarms can be triggered based on preset alarm times. However, existing technologies can lead to unreasonable report updates, resulting in resource waste and poor user experience.
[0039] The report processing method provided in this application obtains user access information for reports to be processed within a preset time period. Based on this information, it determines the alarm time information for the reports to be processed. Then, based on the alarm time information indicating an update timeout, it updates the reports to be processed. Furthermore, it handles update timeout alarms based on the alarm time information indicating an update timeout. This method, which uses the alarm time information to determine update timeout alarms, is more reasonable and better meets user needs. Furthermore, updating the reports based on these alarm time information improves resource utilization, avoids resource waste, and enhances user experience.
[0040] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0041] Figure 1 Flowchart of the report processing provided for this application Figure 1 ,like Figure 1 As shown, the method includes:
[0042] S101. Obtain user access information for reports to be processed within a preset time period.
[0043] Specifically, user access information for reports to be processed within a preset time period can be obtained. The preset time period represents a time range prior to the current date. Optionally, the preset time period can be preset based on user needs and / or the characteristics of the reports to be processed and / or the time range corresponding to saved historical reports. For example, if the current date is t, the preset time period can be one week prior to the current date, i.e., [t-7, t-1], or one month prior to the current date, i.e., [t-31, t-1], or one year prior to the current date, i.e., [t-365, t-1], etc. User access information represents information about user access to the reports. This application does not limit the information about user access to the reports. Optionally, the information about user access to the reports includes, but is not limited to, user identifier, user access date, user access time, etc.
[0044] Specifically, the reports include online reports and offline reports. Online reports are reports that can be edited online by users, while offline reports are reports that can be viewed by users but cannot be edited online. Optionally, the report to be processed provided in this application is the offline report described above.
[0045] This application does not limit the process of obtaining user access information for reports to be processed within a preset time period. Optionally, user access information for reports to be processed within a preset time period can be extracted from the page tracking data of the reports to be processed. Specifically, the page tracking data of the reports to be processed refers to the tracking data of user requests stored in real time in the reports to be processed. Here, a user request refers to a user's report access request. The page tracking data of the reports to be processed includes, but is not limited to, information such as historical user identifiers and historical user access timestamps. The time range of the data corresponding to the page tracking data can be preset according to user needs. Optionally, the time range corresponding to the page tracking data is greater than the time range corresponding to the preset time period described above, so that user access information for reports to be processed within a preset time period can be obtained from the page tracking data.
[0046] S102. Based on the user access information of the reports to be processed within the preset time period, determine the alarm time information of the reports to be processed.
[0047] Specifically, based on the user access information of the reports to be processed within the preset time period obtained in step S101, the alarm time information of the reports to be processed can be determined.
[0048] Among them, the alarm time information represents the alarm time of the report update timeout. Specifically, the alarm time of update timeout refers to the time when the report update timeout is alarmed. That is, if the actual update time of the report exceeds the alarm time of update timeout, then the report update timeout will be alarmed.
[0049] In this application, the process of determining the alarm time information of the report to be processed based on the user access information of the report to be processed within the preset time period is not limited. Optionally, the user's initial access sequence can be extracted from the user access information first; that is, the sequence of access information of each user's first access to the report each day; and then the alarm time information of the report to be processed can be determined based on the number of initial access information included in the user's initial access sequence, the preset alarm ratio threshold, and the preset initial access number threshold.
[0050] S103. Based on the alarm time information of the report to be processed, which indicates the alarm timeout of the report update, update the report to be processed, and based on the alarm time information of the report to be processed, handle the alarm timeout of the report update.
[0051] Specifically, the report to be processed can be updated based on the alarm timeout time of the report to be processed, as indicated by the alarm time information of the report to be processed determined in step S102, so that the report to be processed is updated before the alarm timeout time of the report to be processed. This application does not limit the process of updating the report to be processed based on the alarm timeout time of the report to be processed, but optionally, the operation and maintenance resources of the report to be processed can be scheduled based on the alarm timeout time of the report to be processed, so that the update time of the report to be processed is earlier than the alarm timeout time of the report to be processed.
[0052] The process of updating the report to be processed will produce an update result. Optionally, the update result includes: the report to be processed has been updated when the alarm timeout period for updating the report to be processed arrives, or the report to be processed has not been updated when the alarm timeout period for updating the report to be processed arrives.
[0053] Specifically, while updating the report to be processed based on the alarm timeout alarm time represented by the alarm time information of the report to be processed, an alarm processing for update timeout of the report to be processed can also be performed based on the alarm timeout alarm time represented by the alarm time information of the report to be processed determined in step S102. This application does not limit the process of performing alarm processing for update timeout of the report to be processed based on the alarm timeout alarm time represented by the alarm time information of the report to be processed. Optionally, when the alarm timeout alarm time of the report to be processed arrives, the update result of the report to be processed can be monitored; if the monitored update result of the report to be processed is that the update is incomplete, an alarm prompt for update timeout of the report to be processed is generated and presented.
[0054] The report processing method provided in this application embodiment obtains user access information of reports to be processed within a preset time period, determines alarm time information of reports to be processed based on the obtained user access information of reports to be processed within the preset time period, updates reports to be processed based on the alarm time information of reports to be processed indicating update timeout, and performs update timeout alarm processing on reports to be processed based on the alarm time information of reports to be processed indicating update timeout. The alarm timeout alarm time indicated by the alarm time information of reports to be processed is more reasonable and better meets user needs. Furthermore, updating reports to be processed based on the alarm time information of reports to be processed indicating update timeout can improve resource utilization, avoid resource waste, and improve user experience.
[0055] Figure 2 Flowchart of the report processing provided for this application Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, the process of determining the alarm time information of the reports to be processed based on the user access information of the reports to be processed within the preset time period is described in detail. The method includes:
[0056] S201. Extract the user's initial access sequence from the user access information.
[0057] Specifically, the initial user access sequence can be extracted from the user access information of the reports to be processed within the preset time period obtained in step S101.
[0058] The description of user access information can be found in step S101, and will not be repeated here. User access information includes multiple access records. Access information refers to information about a single user accessing the report, or, conversely, information about multiple users accessing the report multiple times. This application does not limit the description of access information. Optionally, if the report to be processed is a single report, the access information may include: user identifier, user access date, and user access time; optionally, if the report to be processed is multiple reports, the access information may include: report identifier, user identifier, user access date, and user access time.
[0059] Based on the above description of user access information and access details, a single user can access the report multiple times within the same day. Initial access information represents the access information of a user's first access to the report on that day. Specifically, the user initial access sequence is a sequence of access information for each user's first access to the report each day; that is, the user initial access sequence includes multiple initial access information entries.
[0060] This application does not describe the process of extracting the initial user access sequence from user access information. Optionally, if the report to be processed is a single report, the user access time included in each access information can be aggregated based on the user identifier and user access date included in each access information to obtain multiple initial access information entries. Then, the multiple initial access information entries are sorted according to the chronological order of user access time to obtain the initial user access sequence. Optionally, if the report to be processed is multiple reports, the multiple access information entries included in the user access information can be classified according to the report identifier included in each access information to obtain multiple report user access information entries. Then, the user access time included in each access information entry is aggregated based on the user identifier and user access date included in each access information entry to obtain multiple initial access information entries corresponding to each report user access information entry. Finally, the multiple initial access information entries corresponding to each report user access information entry are sorted according to the chronological order of user access time to obtain the report user initial access sequence corresponding to each report user access information entry.
[0061] S202. Determine the alarm time information of the report to be processed based on the number of initial access information included in the user's initial access sequence, the preset alarm ratio threshold, and the preset initial access number threshold.
[0062] Specifically, after extracting the initial user access sequence from the user access information, the alarm time information of the report to be processed can be determined based on the number of initial access information items included in the initial user access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold. The preset alarm ratio threshold refers to a preset threshold representing the percentage of users whose access needs are met. For example, if the preset alarm ratio threshold is 60%, then the percentage of users whose access needs are met is 60%, meaning that the alarm time information of the report to be processed determined according to this preset alarm ratio threshold satisfies the access needs of 60% of users. The preset initial access quantity threshold refers to the minimum number of initial access messages required to determine the alarm time information of the report to be processed, based on the number of initial access messages included in the user's initial access sequence and the preset alarm ratio threshold. Specifically, if the number of initial access messages included in the user's initial access sequence is too small, for example, less than 100, it cannot accurately reflect the regularity of the user's access to the report, and the alarm time information determined based on the user's initial access sequence is not reliable. Therefore, a preset initial access quantity threshold can be set to determine whether the number of initial access messages included in the initial access sequence can accurately reflect the regularity of the user's access to the report.
[0063] This application does not limit the process of determining the alarm time information of the report to be processed based on the number of initial access information included in the user's initial access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold. Optionally, if the number of initial access information included in the user's initial access sequence is less than the preset initial access quantity threshold, the alarm time information of the report to be processed is determined according to the preset alarm time threshold. The preset alarm time threshold is a threshold set according to user requirements for the alarm time of the report to be processed, i.e., the default update timeout alarm time for the report to be processed. Specifically, based on the above description of the preset initial access quantity threshold, if the number of initial access information included in the user's initial access sequence is less than the preset initial access quantity threshold, the initial access information included in the user's initial access sequence cannot accurately reflect the regularity of the user's access to the report. Therefore, the alarm time information of the report to be processed is not determined based on the number of initial access information included in the user's initial access sequence and the preset alarm ratio threshold, but rather based on the preset alarm time threshold. Optionally, if the number of initial access information included in the user's initial access sequence is less than the preset initial access number threshold, the alarm time information of the previously determined pending report can still be retained.
[0064] Optionally, if the number of initial access information items included in the user's initial access sequence is greater than or equal to a preset initial access quantity threshold, then the alarm time information of the report to be processed is determined based on the number of initial access information items included in the user's initial access sequence and a preset alarm ratio threshold. Specifically, based on the above description of the preset initial access quantity threshold, if the number of initial access information items included in the user's initial access sequence is greater than or equal to the preset initial access quantity threshold, then the initial access information items included in the user's initial access sequence can accurately reflect the regularity of the user's access to the report. Therefore, the alarm time information of the report to be processed can be determined based on the number of initial access information items included in the user's initial access sequence and the preset alarm ratio threshold. This application does not limit the process of determining the alarm time information of the report to be processed based on the number of initial access information items included in the user's initial access sequence and the preset alarm ratio threshold. Optionally, the sequence number of the initial access information included in the initial access information can be determined first based on the number of initial access information items included in the user's initial access sequence and the preset alarm ratio threshold. If the alarm sequence number is zero, the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the first sequence number. The first sequence number is the sequence number of the first initial access information included in the initial access sequence. If the alarm sequence number is greater than zero, the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the alarm sequence number.
[0065] The alarm sequence number represents the sequence number for obtaining the alarm time information of the report to be processed. The alarm sequence number is greater than or equal to zero. This application does not limit the process of determining the alarm sequence number k of the report to be processed based on the amount of initial access information included in the user's initial access sequence and a preset alarm ratio threshold. Optionally, the calculation formula for the alarm sequence number k is as follows:
[0066]
[0067] Where c is the number of initial access information items included in the user's initial access sequence, and m% is the preset alarm ratio threshold. To round up, the alarm sequence number k is greater than or equal to zero. For example, if m = 100, the calculated k is 0, and if m = 0, the calculated k is c.
[0068] As described above, if the alarm sequence number is zero, the alarm time information of the report to be processed can be determined based on the user access time corresponding to the initial access information corresponding to the first sequence number. This application does not limit the process of determining the alarm time information of the report to be processed based on the user access time corresponding to the initial access information corresponding to the first sequence number. Optionally, if the alarm sequence number is zero, the alarm time information of the report to be processed represents the alarm time t of the report update timeout. 更新超时的告警时间 The calculation formula is as follows:
[0069] t 更新超时的告警时间 =t1-1s (2)
[0070] Where t1 is the first sequence number, that is, the user access time corresponding to the first initial access information included in the initial access sequence.
[0071] As described above, if the alarm sequence number is greater than zero, the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the alarm sequence number. This application does not limit the process of determining the alarm time information of the report to be processed based on the user access time corresponding to the initial access information corresponding to the alarm sequence number. Optionally, if the alarm sequence number is greater than zero, the alarm time information of the report to be processed represents the alarm time t of the report update timeout. 更新超时的告警时间 The calculation formula is as follows:
[0072] t 更新超时的告警时间 =t k (3)
[0073] Among them, t k The user access time corresponding to the initial access information of the alarm sequence number.
[0074] In summary, based on the amount of initial access information included in the user's initial access sequence, the preset alarm ratio threshold, and the preset initial access quantity threshold, the calculation formula for determining the alarm timeout of the report update represented by the alarm time information of the report to be processed is as follows:
[0075]
[0076] Among them, t d is the preset alarm time threshold, c is the number of initial access information included in the user's initial access sequence described in formula (1), and n is the preset initial access number threshold.
[0077] The report processing method provided in this application extracts the user's initial access sequence from user access information. Based on the number of initial access information items included in the initial access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold, the alarm time information of the report to be processed is determined. In the user access information, the user's initial access sequence, i.e., the access information of the user's first access to the report on that day, better reflects the user's access needs for the report to be processed. Therefore, determining the alarm time information of the report to be processed based on the user's initial access sequence can improve the rationality of the determined alarm time information, further improve the user experience of report processing, and reduce resource waste. Furthermore, in the process of determining the alarm time information of the report to be processed based on the user's initial access sequence, further combining the number of initial access information items included in the initial access sequence, the preset alarm ratio threshold, and the preset initial access quantity threshold to determine the alarm time information of the report to be processed according to different situations can further improve the rationality of the determined alarm time information of the report to be processed, further improve the user experience of report processing, and reduce resource waste.
[0078] Figure 3 Flowchart of the report processing provided for this application Figure 3 ,like Figure 3 As shown, in this embodiment... Figure 2 Based on the embodiments, the process of extracting the user's initial access sequence from user access information is described in detail. The method includes:
[0079] S301. Based on the user identifier and user access date included in each access information, aggregate the user access time included in each access information to obtain multiple initial access information.
[0080] Specifically, if the access information includes a user identifier, user access date, and user access time, then the user access time included in each access information can be aggregated based on the user identifier and user access date included in each access information to obtain multiple initial access information entries.
[0081] Table 1 shows an example of user access information for reports to be processed within a preset time period, where user1 is the user identifier of user 1 and user2 is the user identifier of user 2.
[0082] Table 1
[0083] 1 user1 2024-01-01 12:00:00 2 user1 2024-01-02 09:00:00 3 user1 2024-01-02 09:30:00 4 user1 2024-01-03 07:50:00 5 user1 2024-01-04 09:30:00 6 user2 2024-01-01 09:30:00 7 user2 2024-01-02 08:30:00 8 user2 2024-01-03 10:00:00 9 user2 2024-01-04 11:00:00 10 user2 2024-01-05 10:30:00 11 user2 2024-01-06 12:00:00 12 user2 2024-01-07 11:00:00
[0084] Based on the example of user access information for reports to be processed within a preset time period described in Table 1, Table 2 shows an example of the initial user access sequence extracted from the user access information, where user1 is the user identifier of user 1 and user2 is the user identifier of user 2. During the aggregation process of user access times included in each access information based on the user identifier and user access date, it was found that the third access information in Table 1 was not the first access information of user 1 to the report on that day, i.e., it was not an initial access information. Therefore, it was deleted, resulting in multiple initial access information entries, as shown in Table 2.
[0085] Table 2
[0086]
[0087]
[0088] S302. Sort the multiple initial access information entries according to the time sequence of user access to obtain the user initial access sequence.
[0089] Specifically, after aggregating the user access time included in each access information based on the user identifier and user access date included in each access information to obtain multiple initial access information, the multiple initial access information can be sorted according to the time order of user access time to obtain the user initial access sequence.
[0090] Based on the example of the initial user access sequence extracted from user access information described in Table 2, Table 3 shows an example of the initial user access sequence, where user1 is the user identifier of user 1 and user2 is the user identifier of user 2. The access information in Table 2 is reordered according to the time sequence of user access, resulting in Table 3.
[0091] Table 3
[0092] 1 user1 2024-01-03 07:50:00 2 user2 2024-01-02 08:30:00 3 user1 2024-01-02 09:00:00 4 user1 2024-01-04 09:30:00 5 user2 2024-01-01 09:30:00 6 user2 2024-01-03 10:00:00 7 user2 2024-01-05 10:30:00 8 user2 2024-01-04 11:00:00 9 user2 2024-01-07 11:00:00 10 user1 2024-01-01 12:00:00 11 user2 2024-01-06 12:00:00
[0093] Optionally, an example of the user's initial access sequence may also be a table with the user identifier and / or user access date removed; this application is not limited to this.
[0094] Optionally, during report access, user access dates can be categorized into holiday access dates and weekday access dates. Specifically, if the user access demand for the report to be processed differs significantly between holidays and weekdays, alarm time information for holidays and alarm time information for weekdays can be determined separately. Therefore, in extracting the initial user access sequence from the user access information, it is necessary to extract the initial user access sequence corresponding to the holiday access information and the initial user access sequence corresponding to the weekday access information. Optionally, the initial user access sequence includes: a first-time initial user access sequence and a second-time initial user access sequence. The first-time initial user access sequence represents the initial user access sequence corresponding to holidays, and the second-time initial user access sequence represents the initial user access sequence corresponding to weekdays. The description of the initial user access sequence can be found in step S301, and will not be repeated here. If the initial user access sequence includes a first-time initial user access sequence and a second-time initial user access sequence, this application does not limit the process of extracting the initial user access sequence from the user access information. Optionally, multiple access information entries in the user access information can be classified by time according to the user access date included in each access information entry to obtain first-time user access information and second-time user access information. The first-time user access information represents information about users accessing the report on holidays. The second-time user access information represents information about users accessing the report on weekdays, as shown in Tables 4 and 5. Then, based on the user identifier and user access date included in each access information entry, the user access time included in each access information entry is aggregated to obtain multiple initial access information entries corresponding to the first-time user access information and multiple initial access information entries corresponding to the second-time user access information, as shown in Tables 6 and 7. Finally, the multiple initial access information entries corresponding to the first-time user access information are sorted according to the chronological order of the user access time to obtain the first-time initial user access sequence. The initial access information corresponding to the second time user access information is sorted according to the time sequence of user access time to obtain the second time user initial access sequence, as shown in Tables 8 and 9.
[0095] Table 4
[0096] 1 user1 2024-01-01 12:00:00 2 user2 2024-01-01 09:30:00 3 user2 2024-01-06 12:00:00 4 user2 2024-01-07 11:00:00
[0097] Table 4 provides an example of first-time user access information. In Table 1, January 1, 2024, January 6, 2024, and January 7, 2024 are holidays. Therefore, the example of first-time user access information obtained based on the example of user access information in the report to be processed within the preset time period shown in Table 1 is the access information corresponding to January 1, 2024, January 6, 2024, and January 7, 2024 in Table 1.
[0098] Table 5
[0099] 1 user1 2024-01-02 09:00:00 2 user1 2024-01-02 09:30:00 3 user1 2024-01-03 07:50:00 4 user1 2024-01-04 09:30:00 5 user2 2024-01-02 08:30:00 6 user2 2024-01-03 10:00:00 7 user2 2024-01-04 11:00:00 8 user2 2024-01-05 10:30:00
[0100] Table 5 provides an example of second-time user access information. In Table 1, 2024-01-02, 2024-01-03, 2024-01-04, and 2024-01-05 are working days. Therefore, the example of second-time user access information obtained based on the example of user access information for reports to be processed within the preset time period shown in Table 1 is the access information corresponding to 2024-01-02, 2024-01-03, 2024-01-04, and 2024-01-05 in Table 1.
[0101] Table 6
[0102] 1 user1 2024-01-01 12:00:00 2 user2 2024-01-01 09:30:00 3 user2 2024-01-06 12:00:00 4 user2 2024-01-07 11:00:00
[0103] Table 6 shows examples of multiple initial access messages corresponding to the user access information at the first moment. In Table 4, each access message is an initial access message; therefore, Table 6 is the same as Table 4.
[0104] Table 7
[0105]
[0106]
[0107] Table 7 shows examples of multiple initial access messages corresponding to the second-time user access information. In Table 5, the access information corresponding to sequence number 2, that is, the access information of user with user ID 'user2' at 09:30:00 on 2024-01-02, is not initial access information and is therefore deleted, resulting in Table 7.
[0108] Table 8
[0109] 1 user2 2024-01-01 09:30:00 2 user2 2024-01-07 11:00:00 3 user1 2024-01-01 12:00:00 4 user2 2024-01-06 12:00:00
[0110] Table 8 provides an example of the initial user access sequence at the first moment. Specifically, the multiple initial access information entries corresponding to the initial user access information at the first moment, i.e., the multiple initial access information entries in Table 6, are sorted according to the time order of user access to obtain the initial user access sequence at the first moment, as shown in Table 8.
[0111] Table 9
[0112] 1 user1 2024-01-03 07:50:00 2 user2 2024-01-02 08:30:00 3 user1 2024-01-02 09:00:00 4 user1 2024-01-04 09:30:00 5 user2 2024-01-03 10:00:00 6 user2 2024-01-05 10:30:00 7 user2 2024-01-04 11:00:00
[0113] Table 9 provides an example of the initial access sequence for users at the second time. Specifically, the multiple initial access records corresponding to the user access information at the second time, i.e., the multiple initial access records in Table 7, are sorted according to the time order of user access to obtain the initial access sequence for users at the second time, as shown in Table 9.
[0114] Optionally, an example of the user's initial access sequence may also be a table with the user identifier and / or user access date removed; this application is not limited to this.
[0115] Optionally, during report access, if there are multiple reports to be processed, the initial user access sequence includes: multiple report user initial access sequences. The access information includes report identifier, user identifier, user access date, and user access time. Specifically, if there are multiple reports to be processed, the access information also includes the report identifier; that is, in the example of user access information for reports to be processed within the preset time period shown in Table 1, the report identifier column is also included. Specifically, if there are multiple reports to be processed, due to the differences between each report, the alarm time information for each report can be determined separately. Therefore, in the process of extracting the initial user access sequence from the user access information, it is necessary to extract the initial user access sequence corresponding to each report to be processed separately, i.e., the report user initial access sequence. Specifically, the process of extracting the initial user access sequence from the user access information of multiple reports to be processed within the preset time period is to extract multiple report user initial access sequences from the user access information of multiple reports to be processed within the preset time period. The report user initial access sequence is the user initial access sequence corresponding to each report.
[0116] If there are multiple reports to be processed, this application does not limit the process of extracting the initial user access sequence from the user access information. Optionally, it may include: First, based on the report identifier included in each access information, performing report classification processing on the multiple access information items in the user access information to obtain multiple report user access information. The report user access information represents the information of a user accessing a certain report. This application does not limit the process of performing report classification processing on the multiple access information items in the user access information based on the report identifier included in each access information to obtain multiple report user access information. The specific process can refer to the process described above of performing time classification processing on the multiple access information items in the user access information based on the user access date included in each access information to obtain first-time user access information and second-time user access information, which will not be repeated here. Then, based on the user identifier and user access date included in each access information, the user access time included in each access information is aggregated to obtain multiple initial access information items corresponding to each report user access information. This application does not limit the process of aggregating the user access times included in each access information based on the user identifier and user access date included in each access information to obtain multiple initial access information corresponding to each report user access information. The specific process can refer to the process described in step S301, which involves aggregating the user access times included in each access information based on the user identifier and user access date included in each access information to obtain multiple initial access information, and will not be repeated here. Finally, the multiple initial access information corresponding to each report user access information is sorted according to the chronological order of user access times to obtain the report user initial access sequence corresponding to each report user access information. This application does not limit the process of sorting the multiple initial access information corresponding to each report user access information according to the chronological order of user access times to obtain the report user initial access sequence corresponding to each report user access information. The specific process can refer to the process described in step S302, which involves sorting the obtained multiple initial access information according to the chronological order of user access times to obtain the user initial access sequence, and will not be repeated here.
[0117] Optionally, during the report access process, the user's access date can be divided into holiday access dates and weekday access dates. Specifically, if there are multiple reports to be processed, and the user access demand for holidays and weekdays for the reports to be processed differs significantly, the alarm time information for holidays and the alarm time information for weekdays for each report to be processed can be determined separately. Therefore, in the process of extracting the user's initial access sequence from the user access information, it is necessary to extract the user's initial access sequence corresponding to the access information for holidays for each report to be processed, i.e., the first report user initial access sequence for each report to be processed, and the user's initial access sequence corresponding to the access information for weekdays for each report to be processed, i.e., the second report user initial access sequence for each report to be processed.
[0118] The initial access sequence for report users includes: the first initial access sequence for report users and the second initial access sequence for report users.
[0119] Therefore, optionally, in the process described above of sorting multiple initial access messages corresponding to each report user access information according to the time sequence of user access time to obtain the initial access sequence of each report user access information, it is possible to first perform time classification processing on the multiple initial access messages corresponding to each report user access information based on the user access date included in each access message, to obtain the first-time report user access information and the second-time report user access information corresponding to each report user access information. The first-time report user access information represents the initial access information of a user accessing the report on a holiday; the second-time report user access information represents the initial access information of a user accessing the report on a weekday. This application does not limit the process of classifying multiple initial access information corresponding to each report user access information according to the user access date included in each access information, to obtain the first-time report user access information and the second-time report user access information corresponding to each report user access information. The specific process can refer to the process described above of classifying multiple access information including the user access date in each access information to obtain the first-time user access information and the second-time user access information, which will not be repeated here. The multiple initial access information corresponding to the first-time report user access information can be sorted according to the time order of user access, to obtain the first user initial access sequence corresponding to each report user access information. Similarly, the multiple initial access information corresponding to the second report user access information can be sorted according to the time order of user access, to obtain the second user initial access sequence corresponding to each report user access information. This application sorts multiple initial access information corresponding to the first-time report user access information according to the time sequence of user access, to obtain the first user initial access sequence corresponding to each report user access information. The process of sorting multiple initial access information corresponding to the second-time report user access information according to the time sequence of user access, to obtain the second user initial access sequence corresponding to each report user access information, is not limited. Specifically, it can refer to the above description of sorting multiple initial access information corresponding to the first-time user access information according to the time sequence of user access, to obtain the first-time user initial access sequence.The process of sorting multiple initial access information corresponding to the second-time user access information according to the time order of user access to obtain the second-time user initial access sequence, or the process described above of sorting multiple initial access information corresponding to the report user access information according to the time order of user access to obtain the report user initial access sequence corresponding to the report user access information, will not be repeated here.
[0120] The report processing method provided in this application aggregates the user access time included in each access information based on the user identifier and user access date, obtaining multiple initial access information entries. These initial access information entries are then sorted according to the chronological order of the user access times to obtain a user initial access sequence. This simple aggregation and sorting process efficiently and accurately obtains the user initial access sequence, further improving the efficiency and accuracy of report processing. Furthermore, during the process of obtaining the user initial access sequence, the method determines the sequence based on whether it is a holiday or a workday, and / or whether it belongs to the same report to be processed, further enhancing the accuracy of report processing.
[0121] Figure 4 Flowchart of the report processing provided for this application Figure 4 ,like Figure 4 As shown, in this embodiment... Figure 1 or Figure 2 or Figure 3 Based on the embodiments, this paper details the process of updating the report to be processed based on the alarm timeout time of the report to be processed, as indicated by the alarm time information of the report to be processed, and the alarm processing for update timeout of the report to be processed based on the alarm timeout time of the report to be processed. The method includes:
[0122] S401. Based on the alarm time information of the pending report indicating the update timeout alarm time of the pending report, schedule the operation and maintenance resources of the pending report so that the update time of the pending report is earlier than the update timeout alarm time of the pending report.
[0123] Specifically, the operation and maintenance resources for the pending report can be scheduled based on the alarm timeout time of the pending report, as indicated by the alarm time information, so that the update time of the pending report is earlier than the alarm timeout time. This application does not limit the process of scheduling the operation and maintenance resources for the pending report based on the alarm timeout time of the pending report, but optionally, the alarm timeout time of the pending report can be sent to the operation and maintenance personnel's terminal so that the operation and maintenance personnel can schedule the operation and maintenance resources for the pending report based on the alarm timeout time of the pending report, thus ensuring that the update time of the pending report is earlier than the alarm timeout time.
[0124] The scheduling results for the operation and maintenance of the reports to be processed include scheduling success and scheduling failure. A scheduling success indicates that the update time of the report to be processed is earlier than the alarm time of the update timeout of the report to be processed. A scheduling failure indicates that the update time of the report to be processed is later than or equal to the alarm time of the update timeout of the report to be processed.
[0125] Optionally, if there are multiple reports to be processed, the process of updating the reports to be processed based on the alarm timeout alarm time of the reports to be processed as indicated by the alarm time information of the reports to be processed, and handling the alarm timeout alarm of the reports to be processed based on the alarm time information of the reports to be processed, may include: scheduling the operation and maintenance resources of the multiple reports to be processed based on the alarm time information of the multiple reports to be processed, so that the update time of each report to be processed is earlier than the alarm timeout alarm time of each report to be processed. In this application, the process of scheduling the operation and maintenance resources of multiple pending reports based on the alarm time information of the multiple pending reports indicating the update timeout of each pending report, so as to ensure that the update time of each pending report is earlier than the alarm timeout of each pending report, is not limited. Optionally, the alarm time information of the multiple pending reports indicating the update timeout of each pending report can be sent to the terminal of the operation and maintenance personnel, so that the operation and maintenance personnel can schedule the operation and maintenance resources of multiple pending reports based on the alarm time information of the multiple pending reports indicating the update timeout of each pending report, so as to ensure that the update time of each pending report is earlier than the alarm timeout of each pending report.
[0126] The scheduling results for multiple pending reports include: all scheduling success, partial scheduling success, and scheduling failure. All scheduling success indicates that the update time of each pending report is earlier than the alarm time of the pending report's update timeout. Partial scheduling success indicates that the update time of some pending reports is earlier than the alarm time of the pending report's update timeout. Scheduling failure indicates that the update time of each pending report is later than or equal to the alarm time of the pending report's update timeout.
[0127] S402. When the alarm timeout for updating pending reports arrives, monitor the update status of pending reports.
[0128] Specifically, when the alarm time for the update timeout of the pending report arrives, the update status of the pending report can be monitored. The update status of the pending report is related to the result of the scheduling of the operation and maintenance of the pending report as described in step S401.
[0129] Optionally, if there are multiple pending reports, the update status of the corresponding pending report is monitored when the update timeout alarm for each pending report arrives. Specifically, when the update timeout alarm for each pending report arrives, the update status of the corresponding pending report can be monitored, wherein the update status of the corresponding pending report is related to the result of the scheduling processing of the operation and maintenance of multiple pending reports described in step S401.
[0130] S403. If the monitored update status of the pending report is incomplete, an alarm message indicating that the update of the pending report has timed out will be generated and displayed.
[0131] Specifically, based on the monitoring results described in step S402, if the monitored update status of the pending report is incomplete, an alarm message indicating that the update of the pending report has timed out is generated and presented. As described in step S402, the update status of the pending report is related to the scheduling result of the operation and maintenance of the pending report as described in step S401. If the monitored update status of the pending report is incomplete, the corresponding scheduling result of the operation and maintenance of the pending report is a scheduling failure. The alarm message indicating that the update of the pending report has timed out can be presented to the operation and maintenance personnel's terminal, so that the operation and maintenance personnel can perform secondary scheduling of the operation and maintenance resources for the pending report based on the received alarm message, ensuring that the update time of the pending report is earlier than the alarm timeout time.
[0132] Optionally, if there are multiple reports to be processed, and the update status of the corresponding report to be processed is not completed, an alarm prompt indicating that the update of the corresponding report to be processed has timed out will be generated and displayed.
[0133] Specifically, based on the monitoring results described in step S402, if the update status of the corresponding pending report is incomplete, an alarm message indicating a timeout for the update of the corresponding pending report is generated and presented. As described in step S402, the update status of the corresponding pending report is related to the scheduling results of the maintenance of multiple pending reports described in step S401. If the update status of the corresponding pending report is incomplete, the scheduling result of the maintenance of the corresponding pending report is a scheduling failure. The alarm message indicating a timeout for the update of the corresponding pending report can be presented to the maintenance personnel's terminal, allowing them to perform secondary scheduling of the maintenance resources for the corresponding pending report based on the received alarm message, ensuring that the update time of the corresponding pending report is earlier than the alarm timeout time.
[0134] The report processing method provided in this application embodiment schedules the operation and maintenance resources of the report to be processed based on the alarm time information of the report to be processed, which indicates the alarm time of the report's update timeout. This ensures that the update time of the report to be processed is earlier than the alarm timeout alarm time. When the alarm timeout alarm time arrives, the update status of the report to be processed is monitored. If the monitored update status is incomplete, an alarm prompt indicating that the report has timed out is generated and displayed. The scheduling of operation and maintenance resources for the report to be processed based on the alarm time information of the report's update timeout, and the generation and display of the alarm prompt indicating that the report has timed out are based on the monitored update status, can improve the accuracy of the report processing method and the user experience.
[0135] Figure 5 A schematic diagram of the structure of the report processing device provided in this application is shown below. Figure 5 As shown, the report processing device 50 provided in this embodiment includes:
[0136] The acquisition module 501 is used to acquire user access information for reports to be processed within a preset time period; wherein, the preset time period represents the time range before the current date; and the user access information represents the information of users accessing the reports.
[0137] The determination module 502 is used to determine the alarm time information of the report to be processed based on the user access information of the report to be processed within the preset time period; wherein, the alarm time information represents the alarm time of the report update timeout.
[0138] The processing module 503 is used to update the report to be processed based on the alarm time information of the report to be processed, which indicates the alarm timeout of the report update, and to perform alarm processing for the report to be processed that has timed out.
[0139] In one possible implementation, the user access information includes multiple access information entries; the determining module 502 includes: an extraction unit 5021 (not shown in the figure), used to extract the user initial access sequence from the user access information; wherein, the user initial access sequence is a sequence of access information for each user's first access to the report each day; the user initial access sequence includes multiple initial access information entries; the initial access information represents the access information for the user's first access to the report on that day; and a determining unit 5022 (not shown in the figure), used to determine the alarm time information of the report to be processed based on the number of initial access information entries included in the user initial access sequence, a preset alarm ratio threshold, and a preset initial access quantity threshold.
[0140] In one possible implementation, the determining unit 5022 (not shown in the figure) includes: a first determining subunit 5023 (not shown in the figure), used to determine the alarm time information of the report to be processed according to a preset alarm time threshold if the number of initial access information included in the user's initial access sequence is less than a preset initial access number threshold; and a second determining subunit 5024 (not shown in the figure), used to determine the alarm time information of the report to be processed according to the number of initial access information included in the user's initial access sequence and a preset alarm ratio threshold if the number of initial access information included in the user's initial access sequence is greater than or equal to the preset initial access number threshold.
[0141] In one possible implementation, the initial access information includes a sequence number of the initial access information; the second determining subunit 5024 (not shown in the figure) is specifically used to determine the alarm sequence number of the report to be processed based on the number of initial access information included in the user's initial access sequence and a preset alarm ratio threshold; wherein, the alarm sequence number represents the sequence number for obtaining the alarm time information of the report to be processed; the alarm sequence number is greater than or equal to zero; if the alarm sequence number is equal to zero, the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the first sequence number; the first sequence number is the sequence number of the first initial access information included in the initial access sequence; if the alarm sequence number is greater than zero, the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the alarm sequence number.
[0142] In one possible implementation, the access information includes a user identifier, a user access date, and a user access time; the extraction unit 5021 (not shown in the figure) is specifically used to aggregate the user access time included in each access information according to the user identifier and user access date included in each access information to obtain multiple initial access information; and to sort the multiple initial access information according to the time order of the user access time to obtain the user initial access sequence.
[0143] In one possible implementation, the initial user access sequence includes: a first-time initial user access sequence and a second-time initial user access sequence; the access information includes a user identifier, a user access date, and a user access time; the extraction unit 5021 (not shown in the figure) is further specifically used to perform time classification processing on multiple access information items in the user access information according to the user access date included in each access information item, to obtain first-time user access information and second-time user access information; wherein, the first-time user access information represents information on users accessing reports on holidays; the second-time user access information represents information on users accessing reports on weekdays; based on the user identifier and user access date included in each access information item, the user access time included in each access information item is aggregated to obtain multiple initial access information items corresponding to the first-time user access information and multiple initial access information items corresponding to the second-time user access information; the multiple initial access information items corresponding to the first-time user access information are sorted according to the time order of user access time to obtain the first-time initial user access sequence; the multiple initial access information items corresponding to the second-time user access information are sorted according to the time order of user access time to obtain the second-time initial user access sequence.
[0144] In one possible implementation, if there are multiple reports to be processed, the initial user access sequence includes: multiple initial user access sequences for reports; the access information includes a report identifier, a user identifier, a user access date, and a user access time; the extraction unit 5021 (not shown in the figure) is further specifically used to perform report classification processing on the multiple access information items included in the user access information according to the report identifier included in each access information, to obtain multiple initial access information items for each report; wherein, the report user access information represents the information of a user accessing a certain report; the user access time included in each access information is aggregated according to the user identifier and user access date included in each access information, to obtain multiple initial access information items corresponding to each report user access information; the multiple initial access information items corresponding to each report user access information are sorted according to the time order of the user access time, to obtain the initial user access sequence for each report user access information.
[0145] In one possible implementation, the initial access sequence of report users includes: a first initial access sequence of report users and a second initial access sequence of report users; the extraction unit 5021 (not shown in the figure) is further specifically used to perform time classification processing on multiple initial access information corresponding to each report user access information according to the user access date included in each access information, to obtain the first time report user access information and the second time report user access information corresponding to each report user access information; wherein, the first time report user access information represents the initial access information of the user accessing the report on a holiday; the second time report user access information represents the initial access information of the user accessing the report on a weekday; the multiple initial access information corresponding to the first time report user access information corresponding to each report user access information is sorted according to the time order of user access time to obtain the first user initial access sequence corresponding to each report user access information; the multiple initial access information corresponding to the second report user access information corresponding to each report user access information is sorted according to the time order of user access time to obtain the second user initial access sequence corresponding to each report user access information.
[0146] In one possible implementation, the processing module 503 is specifically used to schedule the operation and maintenance resources of the report to be processed according to the alarm time information of the alarm time of the report to be processed, so that the update time of the report to be processed is earlier than the alarm time of the report to be processed; when the alarm time of the report to be processed expires, the update result of the report to be processed is monitored; if the monitored update result of the report to be processed is that the update is not completed, an alarm prompt of update timeout of the report to be processed is generated and presented.
[0147] In one possible implementation, if there are multiple reports to be processed, the processing module 503 is further configured to schedule the operation and maintenance resources of the multiple reports to be processed based on the alarm time information of the multiple reports to be processed, which represents the alarm time of the update timeout of each report to be processed, so that the update time of each report to be processed is earlier than the alarm timeout of the update timeout of each report to be processed; when the alarm timeout of the update timeout of each report to be processed arrives, the update status of the corresponding report to be processed is monitored; if the monitored update status of the corresponding report to be processed is incomplete, an alarm prompt for the update timeout of the corresponding report to be processed is generated and presented.
[0148] The report processing device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0149] Figure 6 A schematic diagram of the structure of the electronic device provided in this application. Figure 6 As shown, the electronic device 60 provided in this embodiment includes at least one processor 601 and a memory 602. Optionally, the device 60 further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.
[0150] In a specific implementation, at least one processor 601 executes computer execution instructions stored in memory 602, causing at least one processor 601 to perform the above-described method.
[0151] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0152] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0153] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0154] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0155] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0156] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0157] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0158] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0159] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0160] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0161] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0162] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0163] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0164] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for processing reports, characterized in that, include: Obtain user access information for reports to be processed within a preset time period; wherein, the preset time period represents the time range before the current date; user access information represents information about user access to reports; the user access information includes multiple access information entries; Extract the user's initial access sequence from the user access information; wherein, the user's initial access sequence is a sequence of access information for each user's first access to the report each day; the user's initial access sequence includes multiple initial access information entries; the initial access information represents the user's first access to the report on that day; If the number of initial access information included in the user's initial access sequence is greater than or equal to a preset initial access number threshold, then the alarm sequence number of the report to be processed is determined based on the number of initial access information included in the user's initial access sequence and a preset alarm ratio threshold; wherein, the alarm sequence number represents the sequence number for obtaining the alarm time information of the report to be processed; the alarm sequence number is greater than or equal to zero; the initial access information includes the sequence number of the initial access information. If the alarm sequence number is equal to zero, then the alarm time information of the report to be processed is determined according to the user access time corresponding to the initial access information corresponding to the first sequence number; the first sequence number is the sequence number of the first initial access information included in the initial access sequence; wherein, the alarm time information represents the alarm time of the report update timeout. Based on the alarm time information of the report to be processed, which indicates the alarm timeout time of the report update, the report to be processed is updated, and based on the alarm time information of the report to be processed, which indicates the alarm timeout time of the report update, the report to be processed is timed out.
2. The method according to claim 1, characterized in that, The method further includes: If the number of initial access information included in the user's initial access sequence is less than the preset initial access number threshold, then the alarm time information of the report to be processed is determined according to the preset alarm time threshold.
3. The method according to claim 1, characterized in that, The method further includes: if the alarm sequence number is greater than zero, then determining the alarm time information of the report to be processed based on the user access time corresponding to the initial access information corresponding to the alarm sequence number.
4. The method according to claim 1, characterized in that, The access information includes user identifier, user access date, and user access time; the user's initial access sequence is extracted from the user access information, including: Based on the user identifier and user access date included in each access information, the user access time included in each access information is aggregated to obtain multiple initial access information; The multiple initial access messages are sorted according to the time sequence of user access to obtain the user's initial access sequence.
5. The method according to claim 1, characterized in that, The user initial access sequence includes: a first-time user initial access sequence and a second-time user initial access sequence; the access information includes user identifier, user access date, and user access time; extracting the user initial access sequence from the user access information includes: Based on the user access date included in each access information, the multiple access information entries in the user access information are classified by time to obtain first-time user access information and second-time user access information; wherein, the first-time user access information represents the information of the user accessing the report on holidays; the second-time user access information represents the information of the user accessing the report on weekdays. Based on the user identifier and user access date included in each access information, the user access time included in each access information is aggregated to obtain multiple initial access information corresponding to the first time user access information and multiple initial access information corresponding to the second time user access information. The initial access information corresponding to the first time user access information is sorted according to the time order of user access time to obtain the first time user initial access sequence; the initial access information corresponding to the second time user access information is sorted according to the time order of user access time to obtain the second time user initial access sequence.
6. The method according to claim 1, characterized in that, If there are multiple reports to be processed, the initial user access sequence includes: multiple initial user access sequences for each report; the access information includes report identifier, user identifier, user access date, and user access time; extracting the initial user access sequence from the user access information includes: Based on the report identifier included in each access information, the multiple access information entries in the user access information are classified into reports to obtain multiple report user access information; wherein, the report user access information represents the information of a user accessing a certain report. Based on the user identifier and user access date included in each access information, the user access time included in each access information is aggregated to obtain multiple initial access information corresponding to the user access information in each report; The initial access information corresponding to each report user access information is sorted according to the time sequence of user access time to obtain the initial access sequence of each report user access information.
7. The method according to claim 6, characterized in that, The initial access sequence for report users includes: a first initial access sequence for report users and a second initial access sequence for report users; multiple initial access information entries corresponding to each report user access information are sorted according to the time sequence of user access, resulting in the initial access sequence for each report user access information, including: Based on the user access date included in each access information, the multiple initial access information corresponding to each report user access information are classified by time to obtain the first-time report user access information and the second-time report user access information corresponding to each report user access information; wherein, the first-time report user access information represents the initial access information of the user accessing the report on a holiday; the second-time report user access information represents the initial access information of the user accessing the report on a weekday. Sort the multiple initial access information corresponding to the first time report user access information according to the time order of user access time to obtain the first user initial access sequence corresponding to each report user access information; sort the multiple initial access information corresponding to the second report user access information according to the time order of user access time to obtain the second user initial access sequence corresponding to each report user access information.
8. The method according to any one of claims 1-7, characterized in that, Based on the alarm time information of the report to be processed, indicating the update timeout alarm time, update the report to be processed, and based on the alarm time information of the report to be processed, handle the update timeout alarm for the report to be processed, including: Based on the alarm time information of the pending report, which indicates the alarm timeout of the pending report, the operation and maintenance resources of the pending report are scheduled to ensure that the update time of the pending report is earlier than the alarm timeout of the pending report. When the alarm timeout period for updating pending reports arrives, monitor the update results of pending reports. If the update result of the monitored pending report is incomplete, an alarm message indicating that the update of the pending report has timed out will be generated and displayed.
9. The method according to any one of claims 1-7, characterized in that, If there are multiple reports to be processed, the reports to be processed are updated according to the alarm timeout alarm time indicated by the alarm time information of the reports to be processed, and the reports to be processed are also updated with timeout alarms according to the alarm time information of the reports to be processed, including: Based on the alarm time information of multiple pending reports, which represents the alarm timeout of each pending report, the operation and maintenance resources of multiple pending reports are scheduled to ensure that the update time of each pending report is earlier than the alarm timeout of each pending report. When the alarm timeout for each pending report is reached, monitor the update status of the corresponding pending report. If the update status of the corresponding pending report is not completed, an alarm message indicating that the update of the corresponding pending report has timed out will be generated and displayed.
10. A report processing apparatus, characterized in that, include: The acquisition module is used to acquire user access information for reports to be processed within a preset time period; wherein, the preset time period represents the time range before the current date; user access information represents information about user access to reports; the user access information includes multiple access information entries; A determination module is used to extract the user's initial access sequence from user access information; wherein, the user's initial access sequence is a sequence of access information for each user's first access to the report each day; the user's initial access sequence includes multiple initial access information entries; the initial access information represents the user's first access to the report on that day; if the number of initial access information entries included in the user's initial access sequence is greater than or equal to a preset initial access quantity threshold, then the alarm sequence number of the report to be processed is determined based on the number of initial access information entries included in the user's initial access sequence and a preset alarm ratio threshold; wherein, the alarm sequence number represents the sequence number for obtaining the alarm time information of the report to be processed; the alarm sequence number is greater than or equal to zero; the initial access information includes the sequence number of initial access information; if the alarm sequence number is equal to zero, then the alarm time information of the report to be processed is determined based on the user access time corresponding to the initial access information corresponding to the first sequence number; the first sequence number is the sequence number of the first initial access information entry included in the initial access sequence; wherein, the alarm time information represents the alarm time of the report update timeout. The processing module is used to update the report to be processed based on the alarm time information of the report to be processed, which indicates the alarm timeout of the report update, and to handle the alarm timeout of the report update based on the alarm time information of the report update.
11. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-9.
13. A computer program product comprising a computer program that, when executed by a processor, implements the method of any one of claims 1-9.
Citation Information
Patent Citations
Big data quality management system and method
CN116756132A
Alarm operation execution method and device, storage medium and electronic device
CN117745389A