Early warning service node visualization method and device, equipment and medium
By displaying and managing early warning service nodes on the display interface of the client, the problem of low customization of early warning processes in the existing technology is solved, and efficient early warning process updates and user experience improvements are achieved.
Patent Information
- Application Number
- CN202411411925.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-02-25
AI Technical Summary
In the prior art, visualization of early warning service nodes is limited to the display effect, and customers cannot issue or review it at the visual level, resulting in low efficiency in customizing the early warning process and poor user experience.
By determining the target warning process template corresponding to the current client, the current warning service node is selected and displayed on the client's display interface. The client's display interface displays the preset interface, receives processing requests, and updates the target warning process template or processes the current warning service node according to the request type.
The efficiency of customizing the early warning process has been improved. Users can interact with the server directly through the display interface and customize the update of the early warning process without the intervention of developers, improving the user experience and the update efficiency of the early warning process.
Smart Images

Figure CN119512778A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security situation awareness technology, and in particular to a warning service node visualization method, device, equipment and medium. Background Art
[0002] In some security situation awareness scenarios, customers often need to warn relevant operation and maintenance personnel after an alarm is triggered so that they can respond to and handle related issues in a timely manner. However, due to the different internal organizational structures of many customers who deploy security scenarios, it is impossible to use a set of warning processes. In other words, the warning business nodes corresponding to each client are different. In order to solve the customer's special customized warning process delivery requirements, it is necessary to use a visual process to deliver information.
[0003] Currently, the visualization of early warning business nodes is only a display effect, and customers cannot perform operations such as issuance or review at the visual level. Customers are required to fill out a form, and developers modify the early warning process based on the form, resulting in low efficiency and poor user experience.
[0004] From the above, it can be seen that how to improve the efficiency of customized early warning processes is a problem to be solved in this field. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a warning service node visualization method, device, equipment and medium, so as to improve the efficiency of customized warning process. The specific scheme is as follows:
[0006] In a first aspect, the present application discloses a warning service node visualization method, which is applied to a server, including:
[0007] Determine the target warning process template corresponding to the current client;
[0008] Filtering a current warning service node from a plurality of warning service nodes of the target warning process template, and displaying the current warning service node on a display interface of the current client;
[0009] Displaying a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface;
[0010] If the processing request is a template update request, the target warning process template is updated based on the template update request to obtain a new target warning process template, and the process is redirected to the step of filtering out the current warning service node from multiple warning service nodes of the target warning process template;
[0011] If the processing request is an early warning processing request for the current early warning service node, the early warning processing request is responded to so as to generate a processing result of the current early warning service node, and the processing result is displayed on the display interface of the current client.
[0012] Optionally, determining a target warning process template corresponding to the current client includes:
[0013] The target user ID currently logged in by the client is determined, and the target early warning process template corresponding to the target user ID is determined from various preset early warning process templates saved in the preset database.
[0014] Optionally, before determining the target warning process template corresponding to the current client, the method further includes:
[0015] Creating a preset warning process template corresponding to each user identifier, and generating a mapping relationship between the user identifier and the corresponding preset warning process template;
[0016] Saving each of the preset warning process templates and the mapping relationship in a preset database;
[0017] The management role corresponding to each of the user identifications is determined, and the management authority corresponding to each of the management roles is recorded.
[0018] Optionally, the warning service node visualization method further includes:
[0019] The management authority of the current client is determined according to the management role corresponding to the target user identifier, and if the management authority of the current client satisfies a preset condition for responding to the processing request, the processing request is responded to.
[0020] Optionally, displaying the current warning service node on the display interface of the current client includes:
[0021] WebGL technology is used to bind each warning service node of the target warning process template to the visualization layer of the current client, so as to display the current warning service node on the display interface of the current client.
[0022] Optionally, updating the target warning process template based on the template update request includes:
[0023] If the type of the template update request is a node modification type, selecting a to-be-modified service node corresponding to the template update request from each warning service node of the target warning process template, and modifying the to-be-modified service node according to the modification parameters carried in the template update request;
[0024] If the type of the template update request is a node deletion type, selecting a to-be-deleted service node corresponding to the template update request from each warning service node of the target warning process template, and removing the to-be-deleted service node from the target warning process template;
[0025] If the type of the template update request is a node addition type, creating a target business node in the target early warning process template based on the node creation parameters carried in the template update request;
[0026] If the type of the template update request is an execution logic update type, the current business node execution logic of the target warning process template is modified to the target business node execution logic carried in the template update request; wherein the current business node execution logic is the visualization order of the current warning business nodes of the target warning process template.
[0027] Optionally, the filtering out the current warning service node from the multiple warning service nodes of the target warning process template includes:
[0028] According to the current service node execution logic of the target early warning process template, the current early warning service node is screened out from each early warning service node of the target early warning process template.
[0029] In a second aspect, the present application discloses a warning service node visualization device, which is applied to a server, including:
[0030] A target determination module is used to determine the target warning process template corresponding to the current client;
[0031] A first display module, used to filter out a current warning service node from a plurality of warning service nodes of the target warning process template, and display the current warning service node on a display interface of the current client;
[0032] A request receiving module, used to display a preset interface on the display interface of the current client, so as to receive a processing request returned by the current client through the preset interface;
[0033] A template update module, for updating the target warning process template based on the template update request to obtain a new target warning process template if the processing request is a template update request, and re-jumping to the step of screening out the current warning service node from the multiple warning service nodes of the target warning process template;
[0034] The second display module is used to respond to the warning processing request if the processing request is a warning processing request for the current warning service node, so as to generate a processing result of the current warning service node and display the processing result on the display interface of the current client.
[0035] In a third aspect, the present application discloses an electronic device, comprising:
[0036] Memory, used to store computer programs;
[0037] The processor is used to execute the computer program to implement the steps of the aforementioned disclosed early warning service node visualization method.
[0038] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed early warning business node visualization method are implemented.
[0039] The beneficial effects of the present application are as follows: the present application determines a target early warning process template corresponding to the current client; filters out a current early warning business node from multiple early warning business nodes of the target early warning process template, and displays the current early warning business node on the display interface of the current client; displays a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface; if the processing request is a template update request, the target early warning process template is updated based on the template update request to obtain a new target early warning process template, and jumps again to the step of filtering out the current early warning business node from multiple early warning business nodes of the target early warning process template; if the processing request is an early warning processing request for the current early warning business node, responds to the early warning processing request to generate a processing result of the current early warning business node, and displays the processing result on the display interface of the current client. It can be seen that this application determines the target warning process template corresponding to the current client. Each client can have its corresponding target warning process template, that is, it supports customization of the warning process. The current warning business node in the target warning process template is displayed on the display interface of the current client, and the processing request returned by the current client can be directly received through the preset interface, and the processing request can be automatically responded to, that is, the target warning process template can be updated and the processing result display can be realized. In other words, this application supports users to interact with the server through the display interface of the current client, and can customize and update the warning process, that is, the customization of the warning process is realized, and users do not need to go through developers to update the warning process, which effectively improves the efficiency of warning process updates and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0041] Figure 1 A flowchart of a warning service node visualization method disclosed in this application;
[0042] Figure 2 A schematic diagram of a specific early warning service node visualization structure disclosed in this application;
[0043] Figure 3 This is a schematic diagram of the structure of a warning service node visualization device disclosed in this application;
[0044] Figure 4 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0046] In some security situation awareness scenarios, customers often need to warn relevant operation and maintenance personnel after an alarm is triggered so that they can respond to and handle related issues in a timely manner. However, due to the different internal organizational structures of many customers who deploy security scenarios, it is impossible to use a set of warning processes. In other words, the warning business nodes corresponding to each client are different. In order to solve the customer's special customized warning process delivery requirements, it is necessary to use a visual process to deliver information.
[0047] Currently, the visualization of early warning business nodes is only a display effect, and customers cannot perform operations such as issuance or review at the visual level. Customers are required to fill out a form, and developers modify the early warning process based on the form, resulting in low efficiency and poor user experience.
[0048] To this end, this application provides a warning business node visualization solution to improve the efficiency of customized warning processes.
[0049] See also Figure 1 As shown, the embodiment of the present application discloses a warning service node visualization method, including:
[0050] Step S11: Determine the target warning process template corresponding to the current client.
[0051] In this embodiment, the determination of the target warning process template corresponding to the current client includes: determining the target user ID logged in by the current client, and determining the target warning process template corresponding to the target user ID from various preset warning process templates saved in a preset database. Different user IDs have corresponding warning process templates, that is, there is a mapping relationship between the user ID and the warning process template, so according to the target user ID logged in by the current client, the corresponding target warning process template can be screened out from various preset warning process templates saved in the preset database, thereby achieving user customization and meeting the needs of different users.
[0052] In this embodiment, before determining the target warning process template corresponding to the current client, it also includes: creating a preset warning process template corresponding to each user identifier, and generating a mapping relationship between the user identifier and the corresponding preset warning process template; saving each of the preset warning process templates and the mapping relationship in a preset database; determining the management role corresponding to each of the user identifiers, and recording the management authority corresponding to each of the management roles. The management roles corresponding to different users may be different. A preset warning process template corresponding to each user ID is created according to the management role of each user. The preset warning process template contains various warning business nodes. For example, the warning business nodes contained in the preset warning process template with user ID A are respectively the initiation node, approval node, return node, and annotation node; the warning business nodes contained in the preset warning process template with user ID B are respectively the initiation node, viewing node, approval node, and return node. Suitable preset warning process templates are created for users with different management roles, that is, various suitable warning business nodes and the execution order of warning business nodes are created, and the mapping relationship between user ID and preset warning process template and each preset warning process template are saved in the preset database; in order for subsequent users to be able to change the preset warning process template and process the warning business node, it is necessary to record the management authority corresponding to each management role, so as to determine whether to respond to the received processing request later.
[0053] Step S12: Filtering out a current warning service node from a plurality of warning service nodes of the target warning process template, and displaying the current warning service node on a display interface of the current client.
[0054] In this embodiment, the current warning business node is selected from the multiple warning business nodes of the target warning process template, including: selecting the current warning business node from each warning business node of the target warning process template according to the current business node execution logic of the target warning process template. The warning process template not only stores each warning business node, but also specifies the execution logic of each warning business node, that is, the execution order of each warning business node, that is, the visualization order of each warning business node in the real interface. For example, if the previous warning business node is 2, then the current warning business node 3 is selected from each warning business node of the target warning process template according to the current business node execution logic of the target warning process template. In other words, the way to select the warning business node is to select according to the current business node execution logic.
[0055] In this embodiment, the current warning business node is displayed on the display interface of the current client, including: using WebGL technology to bind each warning business node of the target warning process template with the visualization layer of the current client, so as to display the current warning business node on the display interface of the current client.
[0056] WebGL (Web Graphics Library) technology is a 3D (Dimension) drawing protocol. This drawing technology standard allows JavaScript and OpenGL ES 2.0 to be combined together. By adding a JavaScript binding to OpenGL ES 2.0, WebGL can provide hardware 3D accelerated rendering for HTML5 (HyperText Markup Language) Canvas, so that Web developers can use the system graphics card to display 3D scenes and models more smoothly in the browser, and can also create complex navigation and data visualization. In this embodiment, WebGL technology is used to bind each warning business node of the target warning process template to the visualization layer of the current client, so that each warning business node can be displayed according to the requirements issued by the client. For example, when the previous warning business node is 2 and the current warning business node 3 needs to be displayed, the current warning business node 3 is displayed on the display interface of the current client.
[0057] Step S13: displaying a preset interface on the display interface of the current client, so as to receive a processing request returned by the current client through the preset interface.
[0058] The preset interface is displayed on the display interface of the current client. The form and number of the preset interface are not limited. The preset interface is used to receive processing requests returned by the client. In this way, the user can issue various processing requests through the preset interface, and the server and the client can interact in real time and effectively without the user filling in the form. The developer can perform operations such as modifying the business node according to the form.
[0059] In this embodiment, it also includes: determining the management authority of the current client according to the management role corresponding to the target user identifier, and responding to the processing request if the management authority of the current client meets the preset conditions for responding to the processing request. It can be understood that different user identifiers correspond to different management roles, and different management roles have different management authorities. When receiving the processing request of the current client, first verify whether the processing request issued by the current client matches the management authority corresponding to it. For example, the management authority of the current client A includes deleting the current warning service node a1, but does not include creating a new warning service node. If the processing request corresponds to deleting the current warning service node a1, then the processing request can be responded to. If the processing request corresponds to creating a new warning service node, then the processing request cannot be responded to, and the reason for not being able to respond to the request is returned.
[0060] It should be noted that processing requests are mainly divided into two categories. One is the update request made by the user for the target warning process template, which means that the business node needs to be modified. The other is the warning processing request issued by the user for the current warning business node to make warning processing.
[0061] Step S14: If the processing request is a template update request, the target warning process template is updated based on the template update request to obtain a new target warning process template, and then jumps again to the step of filtering out the current warning business node from multiple warning business nodes of the target warning process template.
[0062] In this embodiment, the target early warning process template is updated based on the template update request, including: if the type of the template update request is a node modification type, then the business node to be modified corresponding to the template update request is selected from each warning business node of the target early warning process template, and the business node to be modified is modified according to the modification parameters carried in the template update request; if the type of the template update request is a node deletion type, then the business node to be deleted corresponding to the template update request is selected from each warning business node of the target early warning process template, and the business node to be deleted is removed from the target early warning process template; if the type of the template update request is a node addition type, then the target business node is created in the target early warning process template based on the node creation parameters carried in the template update request; if the type of the template update request is an execution logic update type, then the current business node execution logic of the target early warning process template is modified to the target business node execution logic carried in the template update request; wherein, the current business node execution logic is the visualization order of each current warning business node of the target early warning process template. It can be understood that the types of template update requests are mainly node modification type, node deletion type, node addition type and execution logic update type. The specific request response process is as follows:
[0063] 1) If the type of the template update request is a node modification type, the business node to be modified corresponding to the template update request is selected from each warning business node of the target warning process template, and the business node to be modified is modified according to the modification parameters carried in the template update request; specifically, the properties and configuration of the business node to be modified can be modified, and the display position and display size of the business node to be modified on the display interface of the client can also be modified. The client can modify the display position of the business node to be modified by dragging the business node to be modified;
[0064] 2) If the type of the template update request is a node deletion type, then the to-be-deleted business node corresponding to the template update request is selected from each warning business node of the target warning process template, and the to-be-deleted business node is removed from the target warning process template; for example, each warning business node of the target warning process template is an initiation node, an approval node, a return node, and an annotation node. The processing request issued by the client requires the approval node to be deleted, so the approval node is the to-be-deleted business node. Therefore, the server implements the deletion of the to-be-deleted business node to obtain a new target warning process template containing only the initiation node, the return node, and the annotation node;
[0065] 3) If the type of the template update request is a node addition type, the target business node is created in the target warning process template based on the node creation parameters carried in the template update request; for example, the warning business nodes of the target warning process template are the initiation node, the approval node, and the annotation node, and the processing request issued by the client requires the creation of a return node, then the node creation parameters carried in the request may include the execution logic of the return node in the template, and the specific execution logic is in the order of initiation node → approval node → return node → annotation node, and the function and display mode to be implemented by the return node are determined according to other parameters in the node creation parameters;
[0066] 4) If the type of the template update request is the execution logic update type, the current business node execution logic of the target warning process template is modified to the target business node execution logic carried in the template update request; the execution logic represents the visual order of the warning business nodes, and modifying the execution logic is to modify the visual order of each warning business node. For example, the current business node execution logic of the target warning process template is initiation node → approval node → return node → annotation node. It can be modified to the target business node execution logic according to the template update request, specifically initiation node → return node → approval node → annotation node.
[0067] Step S15: If the processing request is an early warning processing request for the current early warning service node, respond to the early warning processing request to generate a processing result of the current early warning service node, and display the processing result on the display interface of the current client.
[0068] The user can also initiate an early warning processing request for the current early warning business node through the preset interface of the client. The server responds to the early warning processing request to generate the processing result of the current early warning business node, and displays the processing result on the display interface of the current client, so that the user can view the processing result and determine whether the current early warning business node has been processed.
[0069] The beneficial effects of the present application are as follows: the present application determines a target early warning process template corresponding to the current client; filters out a current early warning business node from multiple early warning business nodes of the target early warning process template, and displays the current early warning business node on the display interface of the current client; displays a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface; if the processing request is a template update request, the target early warning process template is updated based on the template update request to obtain a new target early warning process template, and jumps again to the step of filtering out the current early warning business node from multiple early warning business nodes of the target early warning process template; if the processing request is an early warning processing request for the current early warning business node, responds to the early warning processing request to generate a processing result of the current early warning business node, and displays the processing result on the display interface of the current client. It can be seen that this application determines the target warning process template corresponding to the current client. Each client can have its corresponding target warning process template, that is, it supports customization of the warning process. The current warning business node in the target warning process template is displayed on the display interface of the current client, and the processing request returned by the current client can be directly received through the preset interface, and the processing request can be automatically responded to, that is, the target warning process template can be updated and the processing result display can be realized. In other words, this application supports users to interact with the server through the display interface of the current client, and can customize and update the warning process, that is, the customization of the warning process is realized, and users do not need to go through developers to update the warning process, which effectively improves the efficiency of warning process updates and improves user experience.
[0070] Below Figure 2 Taking a specific early warning business node visualization structure diagram as an example, the application is explained accordingly. The server includes a business layer, and the client includes a visualization layer. The business layer and the visualization layer are two-way bound data streams. The business layer mainly implements the following two functions:
[0071] 1) Flexible configurable business nodes: First, the built-in warning process template includes various warning business nodes, such as automatic warning nodes, nodes to be issued, nodes to be rectified, nodes to be reviewed, and nodes that have been ended. It also supports the customization of template nodes according to the processing requests issued by the client, specifically, the name of the built-in nodes can be edited, logical nodes can be added, nodes can be annotated, marked, and commented, and logical nodes can be disabled.
[0072] 2) Configurable role permissions: Supports matching of roles and business nodes, and supports custom addition and deletion of roles. That is, if the type of the received processing request is a role matching type, the target warning business node is determined, and the target warning business node is matched with the management role corresponding to the processing request; if the type of the received processing request is a role adding type, a new management role is created based on the processing request, and the management permissions of the new management role are set; if the type of the processing request is a role deleting type, the management role to be deleted corresponding to the processing request is determined, and the management role to be deleted is removed;
[0073] Furthermore, the visualization layer can flexibly display the entire notification process based on the business layer configuration, support flexible dragging, adding, editing, and deleting of business nodes, and perform two-way binding with the business layer. What you see is what you get, real-time display of the current business node, support various mouse click event operations, and obtain detailed information of the current node when clicking;
[0074] The visual interface of the entire early warning process and the related browser-level operations are all implemented by webgl technology. At the same time, the underlying code is used to bidirectionally bind each business process to the visual interface to achieve a WYSIWYG effect. The business layer is actually the core of the entire early warning process. It is a highly customizable process. It also has a set of standard process solutions built in for users. Of course, users can also freely transform it on this basis, add or modify the original nodes, so that they can obtain the early warning process they need. The visual layer is a display layer integrated between business processes. It is completely bound to the business process. At the same time, users can directly perform business operations at this layer. For example, they can click on the relevant nodes to obtain detailed information, or they can click on the nodes to initiate, approve, return, annotate and other business operations. The configuration of role permissions is also involved in each process. The permissions of the relevant roles can be set for each node, and the logic of operations such as initiation, viewing, approval, and return can be assigned. In this way, the business process visualization two-way data binding does not require additional operations or secondary coding. The nodes can be customized to handle related processes, support real-time display of business processes, ensure the smoothness of the early warning process, occupy less network interaction resources, and do not require additional requests. Only one visualization interface needs to be generated.
[0075] See also Figure 3 As shown, the embodiment of the present application discloses a warning service node visualization device, which is applied to a server, including:
[0076] A target determination module 11 is used to determine a target warning process template corresponding to the current client;
[0077] A first display module 12, configured to filter out a current warning service node from a plurality of warning service nodes of the target warning process template, and display the current warning service node on a display interface of the current client;
[0078] A request receiving module 13, configured to display a preset interface on the display interface of the current client, so as to receive a processing request returned by the current client through the preset interface;
[0079] A template update module 14, which is used to update the target warning process template based on the template update request to obtain a new target warning process template if the processing request is a template update request, and jump again to the step of screening out the current warning service node from the multiple warning service nodes of the target warning process template;
[0080] The second display module 15 is used to respond to the warning processing request if the processing request is a warning processing request for the current warning service node, so as to generate a processing result of the current warning service node and display the processing result on the display interface of the current client.
[0081] The beneficial effects of the present application are as follows: the present application determines a target early warning process template corresponding to the current client; filters out a current early warning business node from multiple early warning business nodes of the target early warning process template, and displays the current early warning business node on the display interface of the current client; displays a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface; if the processing request is a template update request, the target early warning process template is updated based on the template update request to obtain a new target early warning process template, and jumps again to the step of filtering out the current early warning business node from multiple early warning business nodes of the target early warning process template; if the processing request is an early warning processing request for the current early warning business node, responds to the early warning processing request to generate a processing result of the current early warning business node, and displays the processing result on the display interface of the current client. It can be seen that this application determines the target warning process template corresponding to the current client. Each client can have its corresponding target warning process template, that is, it supports customization of the warning process. The current warning business node in the target warning process template is displayed on the display interface of the current client, and the processing request returned by the current client can be directly received through the preset interface, and the processing request can be automatically responded to, that is, the target warning process template can be updated and the processing result display can be realized. In other words, this application supports users to interact with the server through the display interface of the current client, and can customize and update the warning process, that is, the customization of the warning process is realized, and users do not need to go through developers to update the warning process, which effectively improves the efficiency of warning process updates and improves user experience.
[0082] Furthermore, an embodiment of the present application also provides an electronic device. Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0083] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Specifically, it may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the following steps:
[0084] Determine the target warning process template corresponding to the current client;
[0085] Filtering a current warning service node from a plurality of warning service nodes of the target warning process template, and displaying the current warning service node on a display interface of the current client;
[0086] Displaying a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface;
[0087] If the processing request is a template update request, the target warning process template is updated based on the template update request to obtain a new target warning process template, and the process is redirected to the step of filtering out the current warning service node from multiple warning service nodes of the target warning process template;
[0088] If the processing request is an early warning processing request for the current early warning service node, the early warning processing request is responded to so as to generate a processing result of the current early warning service node, and the processing result is displayed on the display interface of the current client.
[0089] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0090] The target user ID currently logged in by the client is determined, and the target early warning process template corresponding to the target user ID is determined from various preset early warning process templates saved in the preset database.
[0091] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0092] Creating a preset warning process template corresponding to each user identifier, and generating a mapping relationship between the user identifier and the corresponding preset warning process template;
[0093] Saving each of the preset warning process templates and the mapping relationship in a preset database;
[0094] The management role corresponding to each of the user identifications is determined, and the management authority corresponding to each of the management roles is recorded.
[0095] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0096] The management authority of the current client is determined according to the management role corresponding to the target user identifier, and if the management authority of the current client satisfies a preset condition for responding to the processing request, the processing request is responded to.
[0097] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0098] WebGL technology is used to bind each warning service node of the target warning process template to the visualization layer of the current client, so as to display the current warning service node on the display interface of the current client.
[0099] In some specific implementations, the processor can implement the following steps by executing the computer program stored in the memory:
[0100] If the type of the template update request is a node modification type, selecting a to-be-modified service node corresponding to the template update request from each warning service node of the target warning process template, and modifying the to-be-modified service node according to the modification parameters carried in the template update request;
[0101] If the type of the template update request is a node deletion type, selecting a to-be-deleted service node corresponding to the template update request from each warning service node of the target warning process template, and removing the to-be-deleted service node from the target warning process template;
[0102] If the type of the template update request is a node addition type, creating a target business node in the target early warning process template based on the node creation parameters carried in the template update request;
[0103] If the type of the template update request is an execution logic update type, the current business node execution logic of the target warning process template is modified to the target business node execution logic carried in the template update request; wherein the current business node execution logic is the visualization order of the current warning business nodes of the target warning process template.
[0104] In some specific implementations, the processor may further include the following steps by executing the computer program stored in the memory:
[0105] According to the current service node execution logic of the target early warning process template, the current early warning service node is screened out from each early warning service node of the target early warning process template.
[0106] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device; the communication interface 24 can create a data transmission channel between the electronic device and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0107] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0108] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.
[0109] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the early warning business node visualization method performed by the electronic device disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data received by the electronic device and transmitted from an external device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0110] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed early warning service node visualization method is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiment, and will not be repeated here.
[0111] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0112] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), memory, read-only memory (ROM), electrically programmable EPROM (Erasable Programmable Read Only Memory), electrically erasable programmable EEPROM (Electrically Erasable Programmable read only memory), register, hard disk, removable disk, CD-ROM (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.
[0113] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0114] The above is a detailed introduction to the early warning business node visualization method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for visualizing early warning service nodes, characterized in that: Applied to the server, including: Determine the target warning process template corresponding to the current client; Filtering a current warning service node from a plurality of warning service nodes of the target warning process template, and displaying the current warning service node on a display interface of the current client; Displaying a preset interface on the display interface of the current client to receive a processing request returned by the current client through the preset interface; If the processing request is a template update request, the target warning process template is updated based on the template update request to obtain a new target warning process template, and the process is redirected to the step of filtering out the current warning service node from multiple warning service nodes of the target warning process template; If the processing request is an early warning processing request for the current early warning service node, the early warning processing request is responded to so as to generate a processing result of the current early warning service node, and the processing result is displayed on the display interface of the current client.
2. The early warning service node visualization method according to claim 1, characterized in that: The step of determining a target warning process template corresponding to the current client includes: The target user ID currently logged in by the client is determined, and the target early warning process template corresponding to the target user ID is determined from various preset early warning process templates saved in the preset database.
3. The early warning service node visualization method according to claim 2, characterized in that: Before determining the target warning process template corresponding to the current client, the method further includes: Creating a preset warning process template corresponding to each user identifier, and generating a mapping relationship between the user identifier and the corresponding preset warning process template; Saving each of the preset warning process templates and the mapping relationship in a preset database; The management role corresponding to each of the user identifications is determined, and the management authority corresponding to each of the management roles is recorded.
4. The early warning service node visualization method according to claim 3 is characterized in that: Also includes: The management authority of the current client is determined according to the management role corresponding to the target user identifier, and if the management authority of the current client satisfies a preset condition for responding to the processing request, the processing request is responded to.
5. The early warning service node visualization method according to any one of claims 1 to 4, characterized in that: The displaying of the current warning service node on the display interface of the current client includes: WebGL technology is used to bind each warning service node of the target warning process template to the visualization layer of the current client, so as to display the current warning service node on the display interface of the current client.
6. The early warning service node visualization method according to claim 1, characterized in that: The updating of the target early warning process template based on the template update request includes: If the type of the template update request is a node modification type, selecting a to-be-modified service node corresponding to the template update request from each warning service node of the target warning process template, and modifying the to-be-modified service node according to the modification parameters carried in the template update request; If the type of the template update request is a node deletion type, selecting a to-be-deleted service node corresponding to the template update request from each warning service node of the target warning process template, and removing the to-be-deleted service node from the target warning process template; If the type of the template update request is a node addition type, creating a target business node in the target early warning process template based on the node creation parameters carried in the template update request; If the type of the template update request is an execution logic update type, the current business node execution logic of the target warning process template is modified to the target business node execution logic carried in the template update request; wherein the current business node execution logic is the visualization order of the current warning business nodes of the target warning process template.
7. The early warning service node visualization method according to claim 6, characterized in that: The step of selecting the current warning service node from the plurality of warning service nodes of the target warning process template includes: According to the current service node execution logic of the target early warning process template, the current early warning service node is screened out from each early warning service node of the target early warning process template.
8. A warning service node visualization device, characterized in that: Applied to the server, including: A target determination module is used to determine the target warning process template corresponding to the current client; A first display module, used to filter out a current warning service node from a plurality of warning service nodes of the target warning process template, and display the current warning service node on a display interface of the current client; A request receiving module, used to display a preset interface on the display interface of the current client, so as to receive a processing request returned by the current client through the preset interface; A template update module, for updating the target warning process template based on the template update request to obtain a new target warning process template if the processing request is a template update request, and re-jumping to the step of screening out the current warning service node from the multiple warning service nodes of the target warning process template; The second display module is used to respond to the warning processing request if the processing request is a warning processing request for the current warning service node, so as to generate a processing result of the current warning service node and display the processing result on the display interface of the current client.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the early warning service node visualization method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the early warning business node visualization method as described in any one of claims 1 to 7 are implemented.