Alarm information acquisition method and device and storage medium

By dividing the alarm information into a time slice and pulling display from the security operation center, the problem of low acquisition of alarm information in the security operation management platform is solved, and more efficient alarm information display and user experience are achieved.

CN119094311APending Publication Date: 2024-12-06BEIYIN FINANCIAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411176232.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

In the security operation management platform, when obtaining alarm information in real time, due to large amount of information and network jitter, the page cannot display the latest information or the user waits for a long time, and the user experience is poor.

Method used

By dividing the time period of the alarm information that needs to be obtained into multiple time slices, and pulling and displaying alarm information from the security operation center based on these time slices, and using temporary tables to store and process alarm information, ensuring that users can quickly obtain and process related information. Information, reduce network pressure, and continuously display locked target alarm information when the page is locked.

Benefits of technology

It effectively solves the problem that the page cannot display the latest information and the user wait time due to network jitter, improves the efficiency and user experience of obtaining alarm information, reduces network pressure, is more applicable and has a higher user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094311A_ABST
    Figure CN119094311A_ABST
Patent Text Reader

Abstract

The invention discloses an alarm information acquisition method and device and a storage medium, which are suitable for the technical field of network security and are used for improving the network alarm information acquisition capability and solving the problems that the latest information cannot be displayed on a page, the waiting time of a user is long and the like due to the fact that a security operation center interface response cannot be obtained due to network jitter. The method comprises the following steps: dividing a time period in which alarm information needs to be acquired into a plurality of time slices based on a preset time interval; and based on the plurality of time slices, respectively pulling the alarm information in the corresponding time slices from an alarm safety center, storing and displaying the alarm information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security technology, and in particular to a method, device and storage medium for obtaining alarm information. Background Art

[0002] Building an efficient security operations management platform (SOMP) is crucial for modern enterprises. It can not only help enterprises realize centralized management of security data, automated execution of security capabilities, and intuitive visualization of security situation, but also significantly improve the response speed and efficiency of enterprises to network security threats. Alarm management is one of the core functions of the security operations management platform, which is crucial for maintaining network security, improving response speed, and optimizing security operations processes. Alarm information often needs to call the interface of the security operations center to obtain and display it in real time, so that administrators can evaluate the severity of the threat based on the alarm information and take corresponding disposal measures.

[0003] However, in actual applications, this method of obtaining alarm information for display by calling the interface of the security operation center in real time in the security operation management platform often results in the page being unable to display the latest information or the user waiting time being long, resulting in poor user experience due to reasons such as a large amount of alarm information and network jitter. Summary of the invention

[0004] The embodiments of the present application provide a method, device and storage medium for obtaining alarm information, which are used to solve the problem that the prior art lacks the ability to defend against network attacks.

[0005] In a first aspect, an embodiment of the present application provides a method for obtaining alarm information, the method comprising:

[0006] The time period for which alarm information needs to be obtained is divided into multiple time slices based on a preset time interval; based on the multiple time slices, the alarm information in the corresponding time slices is pulled from the alarm security center respectively for storage and display.

[0007] The above method, the embodiment of the present application, slices the alarm information that needs to be obtained, and obtains the corresponding alarm information through the corresponding slices for display, effectively reducing the network pressure in the process of decomposing the alarm information, and can obtain relevant alarm information in a more targeted manner, quickly and effectively know the time slice alarm information with problems, and perform corresponding processing, effectively solving the problems such as the inability to display the latest information on the page or the long waiting time for users due to the inability to obtain the security operation center interface response due to network jitter. It is more flexible, more applicable, and has a higher user experience.

[0008] In some optional implementation manners, the time period during which the alarm information needs to be obtained is divided into a plurality of time slices based on a preset time interval, including:

[0009] According to the selected initial time and end time, determine the time period for which the alarm information needs to be obtained; divide the time period according to the preset time interval, so that the time period is divided into multiple time slices.

[0010] The above method and the embodiment of the present application provide a variety of ways to divide time slices. For example, the time period of the target alarm information can be determined according to the selected initial time and end time, so that the time period can be sliced.

[0011] In some optional implementation manners, the time period during which the alarm information needs to be obtained is divided into a plurality of time slices based on a preset time interval, including:

[0012] Determine the end time of the last data pull as the start time of the corresponding time slice; obtain the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice; determine whether the end time of the time slice is less than the current time; if less than, save the time slice, and use the end time of the time slice as the start time of the next time slice to continue the time slice division operation, and loop until the end time of the corresponding time slice is greater than or equal to the current time; if greater than or equal to, save the time slice and end the time slice division operation.

[0013] The above method and the embodiment of the present application provide a variety of ways to divide time slices. For example, the slice alarm information can be divided sequentially according to preset time intervals.

[0014] In some optional implementations, based on the multiple time slices, respectively pulling the alarm information in the corresponding time slices from the alarm security center for storage and display includes:

[0015] According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table; the alarm information corresponding to the target time slice in the temporary table is displayed in the alarm information display interface.

[0016] The above method, the embodiment of the present application provides a method for saving and displaying alarm information. For example, the embodiment of the present application first stores the acquired alarm information in a temporary table for storage and display, so that when there is a problem with the alarm information, only the data in the temporary table needs to be debugged without affecting the formal table, which is more applicable, flexible and reliable. In some optional implementations, the method also includes:

[0017] The status identifiers of multiple time slices stored in the temporary table are set to an unhandled state; the alarm information included in the time slices in the temporary table is processed and stored in the formal table; and the status identifiers of the time slices stored in the formal table are set to a handled state.

[0018] The above method, the embodiment of the present application provides an example of saving the alarm information from a temporary table to a formal table. For example, after the alarm information of the relevant time slice in the temporary table is stored in the formal table, the status flag becomes processed, so that the user can know the status of the alarm information corresponding to the time slice more quickly and effectively, which is more applicable, flexible and reliable.

[0019] In some optional implementations, according to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table, and further includes:

[0020] If the number of times the alarm information corresponding to the target time slice fails to be pulled exceeds a threshold, the failure of the alarm information corresponding to the target time slice is recorded, and the alarm information corresponding to the next target time slice is pulled.

[0021] In some optional implementations, the method further comprises:

[0022] A page lock indication is obtained, where the page lock indication is used to indicate locked target alarm information; when the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

[0023] In some optional implementation manners, when displaying the alarm information in the alarm information display interface, continuously displaying the target alarm information includes:

[0024] When the first request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information; when the subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information.

[0025] In a second aspect, an embodiment of the present application provides a method for obtaining alarm information, the method comprising:

[0026] A page lock indication is obtained, where the page lock indication is used to indicate locked target alarm information; when the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

[0027] The above method, the embodiment of the present application locks the current page after obtaining the page lock indication, and continuously displays the locked target alarm information. Even if the page data is re-entered, it will not be refreshed, which is more convenient for users to continue processing and effectively solves the problem that rapid data changes may flush the current page data.

[0028] In some optional implementation manners, when displaying the alarm information in the alarm information display interface, continuously displaying the target alarm information includes:

[0029] When the first request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information; when the subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information.

[0030] In a third aspect, an embodiment of the present application provides a device for obtaining alarm information, the device comprising:

[0031] A division module, used to divide the time period for obtaining alarm information into multiple time slices based on a preset time interval;

[0032] The processing module is used to pull the alarm information in the corresponding time slice from the alarm security center based on the multiple time slices, save and display them.

[0033] In some optional implementation manners, the division module is specifically used to:

[0034] According to the selected initial time and end time, determine the time period for which the alarm information needs to be obtained; divide the time period according to the preset time interval, so that the time period is divided into multiple time slices.

[0035] In some optional implementation manners, the division module is specifically used to:

[0036] Determine the end time of the last data pull as the start time of the corresponding time slice; obtain the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice; determine whether the end time of the time slice is less than the current time; if less than, save the time slice, and use the end time of the time slice as the start time of the next time slice to continue the time slice division operation, and loop until the end time of the corresponding time slice is greater than or equal to the current time; if greater than or equal to, save the time slice and end the time slice division operation.

[0037] In some optional implementation manners, the division module is specifically used to:

[0038] According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table; the alarm information corresponding to the target time slice in the temporary table is displayed in the alarm information display interface.

[0039] In some optional implementation manners, the processing module is further used for:

[0040] The status identifiers of multiple time slices stored in the temporary table are set to an unhandled state; the alarm information included in the time slices in the temporary table is processed and stored in the formal table; and the status identifiers of the time slices stored in the formal table are set to a handled state.

[0041] In some optional implementation manners, the processing module is further used for:

[0042] If the number of times the alarm information corresponding to the target time slice fails to be pulled exceeds a threshold, the failure of the alarm information corresponding to the target time slice is recorded, and the alarm information corresponding to the next target time slice is pulled.

[0043] In some optional implementation manners, the processing module is further used for:

[0044] A page lock indication is obtained, where the page lock indication is used to indicate locked target alarm information; when the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

[0045] In some optional implementation manners, the processing module is specifically used for:

[0046] When the first request is made to display the alarm information in the alarm information display interface, the interface responds to the query

[0047] when a subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the target alarm information queried.

[0048] In a fourth aspect, an embodiment of the present application provides a device for obtaining alarm information, the device comprising:

[0049] An acquisition module, used for acquiring a page lock indication, wherein the page lock indication is used for indicating locked target alarm information;

[0050] The processing module is used to continuously display the target alarm information when displaying the alarm information in the alarm information display interface.

[0051] In some optional implementation manners, the processing module is specifically used for:

[0052] When the first request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information; when the subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information.

[0053] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes any of the alarm information acquisition methods described in the first aspect; or, the processor executes any of the alarm information acquisition methods described in the second aspect.

[0054] In a sixth aspect, an embodiment of the present application provides a chip system, comprising: a processor and an interface, the processor being used to call and execute a computer program from the interface, when the processor executes the computer program, it can implement the method described in the above-mentioned first aspect or any possible design of the first aspect; or implement the method described in the above-mentioned second aspect or any possible design of the second aspect.

[0055] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which has a computer program for executing the method described in the above-mentioned first aspect or any possible design of the first aspect; or a computer program for executing the method described in the above-mentioned second aspect or any possible design of the second aspect.

[0056] In an eighth aspect, an embodiment of the present application further provides a computer program product, including a computer program. When the computer program is executed, it can implement the method described in the above-mentioned first aspect or any possible design of the first aspect; or it can implement the method described in the above-mentioned second aspect or any possible design of the second aspect.

[0057] The beneficial effects produced by any of the third to eighth aspects are the same as those of the first and second aspects. For details, please refer to the detailed introduction of the first and second aspects, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0059] Figure 1 A schematic diagram of the architecture of an alarm information acquisition system provided in an embodiment of the present application;

[0060] Figure 2A schematic diagram of a method for obtaining alarm information provided in an embodiment of the present application;

[0061] Figure 3 A schematic diagram of another method for obtaining alarm information provided in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of a scenario division process for obtaining alarm information provided in an embodiment of the present application;

[0063] Figure 5 A schematic diagram of a locking scenario flow for obtaining alarm information provided in an embodiment of the present application;

[0064] Figure 6 A schematic diagram of the structure of an alarm information acquisition device provided in an embodiment of the present application;

[0065] Figure 7 A schematic diagram of the structure of another alarm information acquisition device provided in an embodiment of the present application;

[0066] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] Some technical terms involved in this application are explained below.

[0068] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where each of a, b, c can be an element itself, or a set containing one or more elements.

[0069] In this application, "exemplary", "in some embodiments", "in other embodiments", etc. are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0070] In this application, "of", "corresponding", "relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they express are consistent. In the embodiments of this application, communication and transmission can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they express are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.

[0071] It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0072] Building an efficient security operation management platform is crucial for modern enterprises. It can not only help enterprises realize centralized management of security data, automated execution of security capabilities, and intuitive visualization of security situation, but also significantly improve the response speed and efficiency of enterprises to network security threats. Alarm management is one of the core functions of the security operation management platform, which is crucial for maintaining network security, improving response speed, and optimizing security operation processes. Alarm information often needs to call the interface of the security operation center to obtain and display it in real time. Administrators evaluate the severity of the threat based on the alarm information and take corresponding disposal measures.

[0073] However, in actual applications, this method of obtaining alarm information for display by calling the security operation center's interface in real time in the security operation management platform often causes a large amount of alarm information, and the information displayed changes greatly each time the page is turned or refreshed, which is not conducive to administrator processing. In addition, the page may not be able to obtain a response due to network jitter and other reasons when calling the security operation center interface in real time, resulting in the page being unable to display the latest information or the user waiting time being long, resulting in poor user experience and other problems.

[0074] To solve this problem, an embodiment of the present application provides an alarm information acquisition method and related devices. When acquiring alarm information, a time-sliced ​​data pulling strategy and a page locking data strategy are adopted to acquire alarm information, thereby effectively solving the problem of alarm information quickly flushing page data and the interface being unable to respond in real time due to network jitter, and more efficiently and conveniently displaying alarm information and acquiring alarm information, thereby improving the overall performance of the alarm information display system.

[0075] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0076] Figure 1 A possible system architecture diagram provided by an embodiment of the present application is exemplarily shown as follows: Figure 1 As shown, the system architecture includes a front-end device 100, a back-end device 200, and an alarm security center 300, or may also include other devices, which are not limited here.

[0077] Among them, the front-end device 100 is a device with a page display function.

[0078] The back-end device 200 is a device with an alarm information processing function. The device is not limited to intelligent transportation equipment, such as cars, ships, drones, trains, vans, trucks, flying cars, etc.; smart home devices, such as TVs, sweeping robots, smart desk lamps, audio systems, smart lighting systems, electrical control systems, home background music, home theater systems, intercom systems, video surveillance, etc.; intelligent manufacturing equipment, such as robots, industrial equipment, industrial computers, intelligent logistics, smart factories, etc. Alternatively, the device may also be a computer device, such as a desktop computer, a personal computer, a server, etc. It should also be understood that the device may also be a portable electronic device, such as a mobile phone, a tablet computer, a PDA, headphones, speakers, wearable devices (such as smart watches), vehicle-mounted devices, virtual reality devices, augmented reality devices, etc. Examples of portable electronic devices include but are not limited to those equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be a laptop computer (English: Laptop) with a touch-sensitive surface (eg, a touch panel).

[0079] The system architecture may also include an alarm security center 300 for recording alarm security issues at a corresponding time.

[0080] The system architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0081] Based on the above Figure 1 According to the system architecture shown and the contents of the above-mentioned related technical introduction, an alarm information acquisition method is provided in an embodiment of the present application. The execution subject of the method is a device body, and can also be replaced by a chip, unit or module inside the device with corresponding functions.

[0082] Figure 2 The following is a possible flow chart of a method for obtaining alarm information provided by an embodiment of the present application. Figure 2 As shown, the method includes:

[0083] Step 201: divide the time period for obtaining alarm information into multiple time slices based on preset time intervals.

[0084] As an example, the embodiment of the present application provides multiple time slice division methods, which are not limited to the following two:

[0085] Division method 1: The embodiment of the present application can determine the time period for which alarm information needs to be obtained according to the selected initial time and end time, and then divide the time period according to the preset time interval to divide the time period into multiple time slices.

[0086] Division method 2: The embodiment of the present application can determine the end time of the last data pull as the start time of the corresponding time slice, and then obtain the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice, and then determine whether the end time of the time slice is less than the current time; if less than, save the time slice, and use the end time of the time slice as the start time of the next time slice to continue the time slice division operation, and loop until the end time of the corresponding time slice is greater than or equal to the current time; if greater than or equal to, save the time slice and end the time slice division operation.

[0087] Step 202: based on the multiple time slices, respectively pull the alarm information in the corresponding time slices from the alarm security center, save and display them.

[0088] As an example, when saving and displaying alarm information, the embodiment of the present application can call the interface of the alarm security center according to the target time slice required by the scheduled operation, pull the alarm information corresponding to the target time slice and store it in a temporary table, and then display the alarm information corresponding to the target time slice in the temporary table in the alarm information display interface.

[0089] As an example, in the process of executing alarm information pulling and storing it in a temporary table, if the number of failures in pulling the alarm information corresponding to the target time slice exceeds a threshold, the failure in pulling the alarm information corresponding to the target time slice can be recorded, and the pulling of the alarm information corresponding to the next target time slice can be executed.

[0090] Furthermore, the embodiment of the present application can set the status identifiers of multiple time slices stored in the temporary table to an unhandled state, and then, process the alarm information included in the time slices in the temporary table and store it in the formal table, and set the status identifiers of the time slices stored in the formal table to a handled state.

[0091] Through the above-mentioned scheme, the embodiment of the present application can effectively reduce and decompose the network pressure in the process of obtaining alarm information, and can obtain relevant alarm information in a more targeted manner, quickly and effectively know the time slice alarm information with problems, and perform corresponding processing, effectively solving the problems such as the inability to display the latest information on the page or the long waiting time for users due to the inability to obtain the security operation center interface response due to network jitter. It is more flexible, more applicable, and has a higher user experience.

[0092] Figure 3 The following is a possible flow chart of another method for obtaining alarm information provided by an embodiment of the present application. Figure 3 As shown, the method includes:

[0093] Step 301: Obtain a page lock indication, where the page lock indication is used to indicate locked target alarm information.

[0094] Step 302: When displaying the alarm information in the alarm information display interface, the target alarm information is continuously displayed.

[0095] As an example, when the alarm information is displayed in the alarm information display interface in the embodiment of the present application, the target alarm information is continuously displayed. In the embodiment of the present application, when the alarm information is displayed in the alarm information display interface for the first time, the interface responds and returns and displays the queried target alarm information; when a subsequent request is made to display the alarm information in the alarm information display interface, the interface responds and returns and displays the queried target alarm information.

[0096] Furthermore, in the process of acquiring alarm information, the embodiment of the present application can be combined with the above Figure 2 and Figure 3 The method shown jointly obtains alarm information, thereby effectively solving the problem that the page cannot display the latest information or the user has to wait for a long time due to the inability to obtain the security operation center interface response due to network jitter, and solving the problem that rapid data changes may flush the current page data.

[0097] Through the above method, after obtaining the page lock indication, the embodiment of the present application locks the current page and continuously displays the locked target alarm information. Even if the page data is re-entered, it will not be refreshed, which is more convenient for users to continue processing and effectively solves the problem that rapid data changes may flush the current page data.

[0098] Further, in order to better introduce the embodiments of the present application, the embodiments of the present application select an alarm information acquisition division scenario for illustration. It should be noted that the following examples in the embodiments of the present application are only used as examples and do not constitute a limitation on the embodiments of the present application:

[0099] For example, Figure 4 As shown, assuming that the time interval for allocating time slices is 60 seconds (which can be adjusted dynamically according to actual business), the end time of the last data pulling is t1, and t1 is used as the start time of this time slice. The end time of this time slice is calculated to be t2 = t1 + 60s. If t2 is less than the current time, save the time slice (t1, t2, status = unprocessed), and then set the value of t1 to t2, repeat the above steps, and loop until t2 is greater than or equal to the current time. In this case, the current job ends and waits for the next job to execute the above logic again.

[0100] Furthermore, the embodiments of the present application are based on the above Figure 4 After the process shown completes the time slice division, the time slice of the first unprocessed task can be obtained (t1, t2, status = unprocessed), and the alarm information in this time slice can be pulled from the alarm security center and saved in a temporary table. If the pull fails, the number of retries (English: retry_times) is accumulated and handed over to the job for next processing. After the pull is successful, the status (English: status) of the current time slice is set to processed (status = processed). If retry_times exceeds the set threshold, manual intervention is performed.

[0101] Further, in order to better introduce the embodiments of the present application, the embodiments of the present application select an alarm information acquisition locking scenario for illustration. It should be noted that the following examples in the embodiments of the present application are only used as examples and do not constitute a limitation on the embodiments of the present application:

[0102] For example, Figure 5 As shown, the embodiment of the present application can add a check box to control the locking of the page in the page. For example, when the front end requests the interface, two parameters are added: whether to lock the field (English: islock) and the maximum data id (English: maxid). The data responded by the back end includes the maximum id of all data currently returned.

[0103] When the front end makes the first request, if the lock is checked (islock: true; maxid: null), the interface returns the maximum id of the queried data, that is, maxid, when responding, for example, maxid=123.

[0104] When the front end requests for the second time, if the lock is checked (islock: true; maxid: 123), the query condition of id <= maxid is added when querying the database, and the maximum id of the queried data, that is, maxid, is returned when the interface responds.

[0105] It is understandable that in order to implement the functions in the above embodiments, the above execution device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0106] Figure 6 to Figure 8 A schematic diagram of the structure of a possible alarm information acquisition device provided for an embodiment of the present application. These alarm information acquisition devices can be used to implement the functions of the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In an embodiment of the present application, the alarm information acquisition device can be a specific device, and can also be a module (such as a chip) applied to a device.

[0107] like Figure 6 As shown, based on the same inventive concept, an embodiment of the present application provides an alarm information acquisition device 600, comprising:

[0108] A division module 610, configured to divide the time period for obtaining alarm information into a plurality of time slices based on a preset time interval;

[0109] The processing module 620 is used to pull the alarm information in the corresponding time slices from the alarm security center based on the multiple time slices, save and display them.

[0110] In some optional implementation manners, the division module 610 is specifically used to:

[0111] According to the selected initial time and end time, determine the time period for which the alarm information needs to be obtained; divide the time period according to the preset time interval, so that the time period is divided into multiple time slices.

[0112] In some optional implementation manners, the division module 610 is specifically used to:

[0113] Determine the end time of the last data pull as the start time of the corresponding time slice; obtain the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice; determine whether the end time of the time slice is less than the current time; if less than, save the time slice, and use the end time of the time slice as the start time of the next time slice to continue the time slice division operation, and loop until the end time of the corresponding time slice is greater than or equal to the current time; if greater than or equal to, save the time slice and end the time slice division operation.

[0114] In some optional implementation manners, the division module 610 is specifically used to:

[0115] According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table; the alarm information corresponding to the target time slice in the temporary table is displayed in the alarm information display interface.

[0116] In some optional implementations, the processing module 620 is further configured to:

[0117] The status identifiers of multiple time slices stored in the temporary table are set to an unhandled state; the alarm information included in the time slices in the temporary table is processed and stored in the formal table; and the status identifiers of the time slices stored in the formal table are set to a handled state.

[0118] In some optional implementations, the processing module 620 is further configured to:

[0119] If the number of times the alarm information corresponding to the target time slice fails to be pulled exceeds a threshold, the failure of the alarm information corresponding to the target time slice is recorded, and the alarm information corresponding to the next target time slice is pulled.

[0120] In some optional implementations, the processing module 620 is further configured to:

[0121] A page lock indication is obtained, where the page lock indication is used to indicate locked target alarm information; when the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

[0122] In some optional implementation manners, the processing module 620 is specifically used for:

[0123] When the first request is made to display the alarm information in the alarm information display interface, the interface responds to the query

[0124] when a subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the target alarm information queried.

[0125] like Figure 7 As shown, based on the same inventive concept, the embodiment of the present application provides another alarm information acquisition device 700, including:

[0126] An acquisition module 710 is used to acquire a page lock indication, where the page lock indication is used to indicate locked target alarm information;

[0127] The processing module 720 is used to continuously display the target alarm information when displaying the alarm information in the alarm information display interface.

[0128] In some optional implementation manners, the processing module 720 is specifically used for:

[0129] When the first request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information; when the subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information

[0130] Since the device is the device in the method in the embodiment of the present application, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0131] like Figure 8 As shown, based on the same inventive concept, an embodiment of the present application provides an electronic device 800 , including: a processor 801 , a memory 802 , and a communication interface 803 .

[0132] The processor 801 is responsible for managing the bus architecture and general processing, and the memory 802 can store data used by the processor 801 when performing operations. The communication interface 803 is used for data communication between the processor 801 and the memory 802.

[0133] The processor 801 may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor 801 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The memory 802 may include various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] The processor 801, the memory 802 and the communication interface 803 are interconnected. Optionally, the processor 801, the memory 802 and the communication interface 803 can be interconnected via a bus 804; the bus 804 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0135] Optionally, the memory 802 stores a program code, and when the program code is executed by the processor 801, the processor 801 performs the following process:

[0136] The time period for which alarm information needs to be obtained is divided into multiple time slices based on a preset time interval; based on the multiple time slices, the alarm information in the corresponding time slices is pulled from the alarm security center respectively for storage and display.

[0137] In some optional implementation manners, the processor 801 is specifically configured to:

[0138] According to the selected initial time and end time, determine the time period for which the alarm information needs to be obtained; divide the time period according to the preset time interval, so that the time period is divided into multiple time slices.

[0139] In some optional implementation manners, the processor 801 is specifically configured to:

[0140] Determine the end time of the last data pull as the start time of the corresponding time slice; obtain the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice; determine whether the end time of the time slice is less than the current time; if less than, save the time slice, and use the end time of the time slice as the start time of the next time slice to continue the time slice division operation, and loop until the end time of the corresponding time slice is greater than or equal to the current time; if greater than or equal to, save the time slice and end the time slice division operation.

[0141] In some optional implementation manners, the processor 801 is specifically configured to:

[0142] According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table; the alarm information corresponding to the target time slice in the temporary table is displayed in the alarm information display interface.

[0143] In some optional implementations, the processor 801 is further configured to:

[0144] The status identifiers of multiple time slices stored in the temporary table are set to an unhandled state; the alarm information included in the time slices in the temporary table is processed and stored in the formal table; and the status identifiers of the time slices stored in the formal table are set to a handled state.

[0145] In some optional implementations, the processor 801 is further configured to:

[0146] If the number of times the alarm information corresponding to the target time slice fails to be pulled exceeds a threshold, the failure of the alarm information corresponding to the target time slice is recorded, and the alarm information corresponding to the next target time slice is pulled.

[0147] In some optional implementations, the processor 801 is further configured to:

[0148] A page lock indication is obtained, where the page lock indication is used to indicate locked target alarm information; when the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

[0149] In some optional implementation manners, the processing module is specifically used for:

[0150] When the first request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information; when the subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information.

[0151] Since the electronic device is the electronic device that executes the method in the embodiment of the present application, and the principle of solving the problem by the electronic device is similar to that of the method, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0152] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the intelligent tower crane reinforcement learning method as described above are implemented. The readable storage medium may be a non-volatile readable storage medium.

[0153] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor and / or other programmable device of a general-purpose computer, a special-purpose computer, to produce a machine, so that the instructions executed by the computer processor and / or other programmable device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.

[0154] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.

[0155] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0156] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for obtaining alarm information, It is characterized in that The method comprises: The time period for obtaining alarm information is divided into multiple time slices based on a preset time interval; Based on the multiple time slices, the alarm information in the corresponding time slices is pulled from the alarm security center for storage and display.

2. The method according to claim 1, It is characterized in that The time period for obtaining the alarm information is divided into a plurality of time slices based on a preset time interval, including: Determine the time period for obtaining alarm information based on the selected initial time and end time; The time period is divided according to the preset time interval, so that the time period is divided into a plurality of time slices.

3. The method according to claim 1, It is characterized in that The time period for obtaining the alarm information is divided into a plurality of time slices based on a preset time interval, including: The end time of the last data pull is determined as the start time of the corresponding time slice; Obtaining the end time of the corresponding time slice according to the preset time interval and the start time of the corresponding time slice; Determine whether the end time of the time slice is less than the current time; If it is less than, the time slice is saved, and the end time of the time slice is used as the start time of the next time slice to continue the time slice division operation, and the cycle continues until the end time of the corresponding time slice is greater than or equal to the current time; If it is greater than or equal to, the time slice is saved and the time slice division operation is ended.

4. The method according to claim 1, It is characterized in that The method of pulling out the alarm information in the corresponding time slices from the alarm security center based on the multiple time slices, storing and displaying the alarm information in the corresponding time slices respectively includes: According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table; The alarm information corresponding to the target time slice in the temporary table is displayed in the alarm information display interface.

5. The method according to claim 4, It is characterized in that The method further comprises: Setting the status identifiers of the multiple time slices stored in the temporary table to an unprocessed state; Processing the alarm information included in the time slice in the temporary table and storing it in the formal table; The state flag of the time slice stored in the formal table is set to a handled state.

6. The method according to claim 4, It is characterized in that According to the target time slice required by the scheduled operation, the interface of the alarm security center is called to pull the alarm information corresponding to the target time slice and store it in a temporary table, and further includes: If the number of times the alarm information corresponding to the target time slice fails to be pulled exceeds a threshold, the failure of the alarm information corresponding to the target time slice is recorded, and the alarm information corresponding to the next target time slice is pulled.

7. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: Obtaining a page lock indication, where the page lock indication is used to indicate locked target alarm information; When the alarm information is displayed in the alarm information display interface, the target alarm information is continuously displayed.

8. The method according to claim 7, It is characterized in that When displaying the alarm information in the alarm information display interface, continuously displaying the target alarm information includes: When the alarm information is requested to be displayed in the alarm information display interface for the first time, the interface responds and returns the queried target alarm information; When a subsequent request is made to display the alarm information in the alarm information display interface, the interface response returns the queried target alarm information.

9. A device for obtaining alarm information, It is characterized in that The device comprises: A division module, used to divide the time period for obtaining alarm information into multiple time slices based on a preset time interval; The processing module is used to pull the alarm information in the corresponding time slice from the alarm security center based on the multiple time slices, save and display them.

10. An electronic device, It is characterized in that include: at least one processor, and a memory communicatively connected to the at least one processor, wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 8.

11. A computer-readable medium storing computer-executable instructions, It is characterized in that The computer executable instructions are used to execute the method according to any one of claims 1-8.