Methods, devices, equipment, and media for monitoring policy data change trajectories
By constructing a policy business chain, obtaining data snapshots, identifying data change fields, and generating change models, the accuracy and efficiency issues of policy data change trajectory monitoring in the insurance industry have been solved, enabling real-time monitoring and efficient display of policy data change trajectories.
Patent Information
- Application Number
- CN202411710969.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-11-27
AI Technical Summary
Existing technologies in the insurance industry have poor accuracy and efficiency in monitoring policy data change trajectories, failing to meet real-time monitoring needs, and suffer from low database query efficiency and high error frequency.
By constructing a policy business chain, obtaining data snapshots, identifying data change fields, determining data locations, and generating change models, real-time monitoring of policy data can be achieved.
It improves the accuracy and efficiency of monitoring policy data change trajectories, has a short logical processing link, and can realize a complete display of the global change trajectory of policy data.
Smart Images

Figure CN119648428B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus, equipment and medium for monitoring the trajectory of policy data changes. Background Technology
[0002] Recording policy data changes is a crucial aspect of the insurance industry. The industry typically involves adding triggers at the database level to monitor data changes and then recording them in a change trajectory table. However, this method is complex, labor-intensive, has a long processing chain, and is prone to errors.
[0003] Existing solutions typically rely on traditional business databases. Incremental data from the business database is written to text files, processed using traditional ETL tools, and then merged with existing data for final aggregation and front-end reporting. However, as business grows, the amount of data in the source database increases year by year, query efficiency slows down, and the frequency and risk of data unloading errors increase. Furthermore, they cannot achieve truly real-time data statistics, failing to meet the need for real-time monitoring of policy data change trajectories. Therefore, improving the accuracy and efficiency of policy data change trajectory monitoring has become an urgent problem to be solved. Summary of the Invention
[0004] This invention provides a method, device, equipment, and medium for monitoring the trajectory of policy data changes, with the main purpose of solving the problems of poor accuracy and efficiency in existing policy data change trajectory monitoring.
[0005] To achieve the above objectives, the present invention provides a method for monitoring the trajectory of policy data changes, comprising:
[0006] Obtain the policy business chain and construct a policy data model based on the policy business chain;
[0007] Based on the workflow of the policy business link, a data snapshot corresponding to the policy data model is triggered to obtain the policy data object of the policy data model;
[0008] Detect the data change fields in the policy data object, and identify the policy change data of the policy data model based on the data change fields;
[0009] Determine the data location of the policy change data in the policy data model, and generate the policy change model based on the data location;
[0010] The change data of the policy change model is rendered to obtain the policy trajectory change model.
[0011] Optionally, constructing the policy data model based on the policy business chain includes:
[0012] The policy data model nodes and the connection relationships between them are determined based on the policy business link.
[0013] Extract the node code component corresponding to each policy model node from the pre-built database;
[0014] The node code components are assembled according to the connection relationship to obtain the policy data model.
[0015] Optionally, the step of triggering a data snapshot corresponding to the policy data model based on the workflow of the policy business link to obtain the policy data object of the policy data model includes:
[0016] Monitor the policy status of the policy data model;
[0017] When the policy status changes, a data snapshot of the policy data model is triggered;
[0018] By collecting the data snapshots, the policy data object of the policy data model is obtained.
[0019] Optionally, the detection of data change fields in the policy data object includes:
[0020] Read the policy data from adjacent data snapshots in the policy data object respectively;
[0021] The pre-built data comparison method is invoked based on the data type of the policy data;
[0022] The data comparison method is used to perform a data consistency comparison on the data attribute fields, and the data change fields are determined based on the results of the consistency comparison.
[0023] Optionally, determining the data location of the policy change data in the policy data model includes:
[0024] Identify the target node code component corresponding to the policy change data in the policy data model;
[0025] Field identification is performed on the data model of the target node code component to obtain the data fields of the data model;
[0026] The location of the policy change data in the policy data model is determined based on the location of the data field in the data model.
[0027] Optionally, generating the policy change model based on the data location includes:
[0028] The pre-built data binding technology is invoked based on the policy data model;
[0029] The policy change data is bound to the corresponding data location in the policy data model using the data binding technology to obtain the policy change model.
[0030] Optionally, the step of rendering change data on the policy change model to obtain the policy trajectory change model includes:
[0031] Identify the change data in the policy change model;
[0032] Based on the change data, the binding elements of the policy change model are extracted to obtain the change data elements;
[0033] The policy change model is rendered based on the transformed data elements to obtain the policy trajectory change model.
[0034] To address the aforementioned problems, the present invention also provides a monitoring device for policy data change trajectories, the device comprising:
[0035] The policy data model construction module is used to obtain the policy business chain and construct the policy data model based on the policy business chain.
[0036] The policy data object acquisition module is used to trigger a data snapshot corresponding to the policy data model according to the workflow of the policy business link, and obtain the policy data object of the policy data model.
[0037] The policy change data recognition module is used to detect data change fields in the policy data object and recognize policy change data of the policy data model based on the data change fields.
[0038] The policy change model generation module is used to determine the data position of the policy change data in the policy data model, and generate the policy change model based on the data position.
[0039] The policy trajectory change model rendering module is used to render the change data of the policy change model to obtain the policy trajectory change model.
[0040] To address the above problems, the present invention also provides a computer device, the computer device comprising:
[0041] At least one processor;
[0042] And, a memory communicatively connected to the at least one processor;
[0043] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the above-described method for monitoring policy data change trajectories.
[0044] To address the aforementioned problems, the present invention also provides a computer-readable storage medium storing at least one computer program, which is executed by a processor in a computer device to implement the aforementioned method for monitoring the policy data change trajectory.
[0045] This invention constructs a policy data model through the policy business chain. By triggering a data snapshot corresponding to the policy data model based on the workflow, a data copy of the policy data model can be quickly saved, improving the efficiency of subsequent monitoring of the policy data model's change trajectory. By identifying policy change data based on data change fields in the policy data object, policy data changes can be monitored at the data layer, and the short logical processing chain improves the efficiency and accuracy of policy data change trajectory monitoring. By generating a policy change model based on the policy change data and rendering the change data, a complete global change trajectory of the policy data can be viewed, effectively improving the accuracy of policy data change trajectory monitoring. Therefore, the policy data change trajectory monitoring method, device, computer equipment, and computer-readable storage medium proposed in this invention can solve the problem of poor accuracy and efficiency in existing policy data change trajectory monitoring. Attached Figure Description
[0046] Figure 1 This is a flowchart illustrating a method for monitoring the trajectory of policy data changes according to an embodiment of the present invention.
[0047] Figure 2 This is a schematic diagram of the process for constructing a policy data model according to an embodiment of the present invention;
[0048] Figure 3 This is a flowchart illustrating the process of detecting data change fields in a policy data object according to an embodiment of the present invention;
[0049] Figure 4 A functional block diagram of a policy data change trajectory monitoring device provided in an embodiment of the present invention;
[0050] Figure 5 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention;
[0051] Figure 6 This is another structural schematic diagram of a computer device according to one embodiment of the present invention.
[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0053] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0054] This application provides a method for monitoring the trajectory of policy data changes. The execution entity of this method includes, but is not limited to, at least one of the following computer devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the method for monitoring the trajectory of policy data changes can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0055] Reference Figure 1 The diagram shown is a flowchart illustrating a method for monitoring the trajectory of policy data changes according to an embodiment of the present invention. In this embodiment, the method for monitoring the trajectory of policy data changes includes:
[0056] S1. Obtain the policy business link and construct a policy data model based on the policy business link.
[0057] In this embodiment of the invention, the policy business chain refers to the entire process from sales, underwriting, insurance to claims services in the insurance field. Through the complete policy business chain, the data in the policy can be determined, and a more comprehensive policy data model can be constructed.
[0058] In the embodiments of the present invention, see Figure 2 As shown, the step of constructing a policy data model based on the policy business chain includes:
[0059] S21. Determine the policy data model nodes and the connection relationships between the policy model data nodes based on the policy business link;
[0060] S22. Extract the node code component corresponding to each policy model node from the pre-built database;
[0061] S23. The node code components are spliced together according to the connection relationship to obtain the policy data model.
[0062] In this embodiment of the invention, the policy data node is the data structure contained in the policy data model and the information that needs to be entered into the policy data model. For example, the primary insured, the policyholder, and the policy contact information are each a separate policy model node. Each data node may also include specific policy information. For example, the primary insured node may have information such as document type, document number, and name set to complete the policy data model.
[0063] Furthermore, developers can pre-define a standard policy data model and break it down into multiple policy model nodes. For each policy model node, one or more code files are written to obtain the node code corresponding to each policy data node. The corresponding node components can be written based on the node code. At the same time, a policy model node can have different node codes, and different code files correspond to different node code components. Therefore, the node code components can be customized based on the connection relationships between each policy model node.
[0064] The policy data model is a front-end interface that can be displayed on the front end. Each node code component can display a part of the policy data model, which can be displayed on the user interface to intuitively show the structure of the policy data and the subsequent changes in the policy data.
[0065] Specifically, connectivity refers to the interrelationships and dependencies between policy business elements corresponding to nodes in the data model. For example, the interrelationships and dependencies between insurance products, services, risk factors, and claims processing. Understanding connectivity helps companies understand the composition of the policy data model, leading to a more accurate model. Specifically, connectivity can be determined based on the execution order of business processes within the policy business chain.
[0066] S2. Trigger the data snapshot corresponding to the policy data model according to the workflow of the policy business link to obtain the policy data object of the policy data model.
[0067] In this embodiment of the invention, the workflow of the policy business link is the process of organizing and executing each business in the policy business link. The workflow may include multiple participants (such as employees, departments, devices, etc.) and may span different geographical locations and organizational levels. The workflow will include policy model data corresponding to different states in the policy business link, such as policy data when a user fills in the policy business model for the first time.
[0068] Furthermore, a data snapshot is a static copy or record of the policy data model at a specific point in time. A data snapshot provides an immediate view of the data. It is a copy of the data captured at a specific point in time, reflecting the data state at that time. That is, when the policy state of the policy data model changes, a data snapshot of the policy data model is retained.
[0069] In detail, data snapshots have different snapshot implementation methods on different devices and platforms, such as HDFS snapshots, Spark RDD snapshots, and Cloudera Snapshot Manager. Data snapshots can create consistent disk snapshots and achieve recovery point objectives (RPO) at the minute level, thereby quickly recovering data when it is lost or corrupted.
[0070] In this embodiment of the invention, the step of triggering a data snapshot corresponding to the policy data model based on the workflow of the policy business chain to obtain the policy data object of the policy data model includes:
[0071] Monitor the policy status of the policy data model;
[0072] When the policy status changes, a data snapshot of the policy data model is triggered;
[0073] By collecting the data snapshots, the policy data object of the policy data model is obtained.
[0074] In this embodiment of the invention, the policy status is the state of the policy data model at different points in time, reflecting the entire business cycle of the policy corresponding to the policy data model from purchase to termination or end. That is, when the policy data model changes, the policy status also changes. Therefore, when the policy status changes, a data snapshot is triggered to quickly obtain a copy of the policy data model for subsequent determination of the change trajectory of the policy data model.
[0075] Specifically, triggering logic can be embedded in the policy data model. That is, when the policy data model is built, the logic for triggering data snapshots can be embedded in the code corresponding to the policy data model. When a specific operation (such as data modification of the policy data model) occurs, the creation and storage of the data snapshot will be automatically triggered to obtain the policy data object.
[0076] In this embodiment of the invention, there can be multiple data snapshots of the policy data model. The data snapshots are stored in a preset storage space, such as a pre-built database, to facilitate subsequent detection of data change fields in the policy data object.
[0077] S3. Detect the data change field in the policy data object, and identify the policy change data of the policy data model based on the data change field.
[0078] In this embodiment of the invention, the policy data object may contain different types of data fields, such as string type, object type, etc. By the changes in the data fields, all fields that have changed between two adjacent data snapshots of the policy data model can be identified, thereby determining the data that has changed in the policy data model.
[0079] In the embodiments of the present invention, see Figure 3 As shown, the fields for detecting data changes in the policy data object include:
[0080] S31. Read the policy data of adjacent data snapshots in the policy data object respectively;
[0081] S32. Invoke the pre-built data comparison method according to the data type of the policy data;
[0082] S33. Use the data comparison method to perform a data consistency comparison on the data attribute fields, and determine the data change fields based on the results of the consistency comparison.
[0083] In this embodiment of the invention, the data attribute field is a data field that describes the business attributes of the policy data, such as the data fields corresponding to the primary insured, the policyholder, and policy contacts. The data attribute field is used to identify the data corresponding to each policy business in the policy data. Furthermore, by comparing the consistency of the data attribute fields between adjacent data snapshots, the data change fields that have undergone data changes can be detected.
[0084] Furthermore, a general JavaScript method can be predefined for fields of different data types (string type, object type, etc.) to detect fields that have changed between two adjacent data snapshots, that is, to perform a data consistency comparison on data attribute fields. Here, two adjacent data snapshots are data snapshots with adjacent timestamps, thereby determining the change trajectory of the policy data.
[0085] In JavaScript, a method refers to the implementation of a function within an object context. Functions in JavaScript can be called as methods of an object, accept parameters, and perform different operations based on the type or value of the parameters. For example, a method can be created to get the value of a specific field in an object, compare whether specific fields of two objects are equal, detect fields that have changed between data snapshots, and obtain the changed fields.
[0086] In this embodiment of the invention, all data change fields in the policy data model are statistically analyzed to obtain policy change data. The policy change data can be stored in a pre-built change collector for subsequent data binding to reflect changes in the policy data model. The change collector is a design pattern or tool used to collect or monitor the amount of data that has changed in the policy data model.
[0087] Furthermore, the data change field can be the timestamp of each change in the policy status in the policy data model, specific policy information, customer information, product information, etc., such as changes in fields like the birth date of the primary insured.
[0088] In this embodiment of the invention, by detecting data change fields using a predefined method, changes in policy data can be monitored at the data layer, solving performance issues in high-concurrency environments and improving the efficiency of policy data change trajectory monitoring. At the same time, the logical processing link of the data change fields is relatively short, which can solve the problem of low accuracy in policy data change trajectory monitoring.
[0089] S4. Determine the data position of the policy change data in the policy data model, and generate the policy change model based on the data position.
[0090] In this embodiment of the invention, the data location is the position of the changed policy data in the policy data model. For example, if the birth date of the primary insured changes, the policy change data of the primary insured's birth date should be bound to the data location of the primary insured's birth date in the policy data model in order to locate the change trajectory of the policy data.
[0091] In this embodiment of the invention, determining the data location of the policy change data in the policy data model includes:
[0092] Identify the target node code component corresponding to the policy change data in the policy data model;
[0093] Field identification is performed on the data model of the target node code component to obtain the data fields of the data model;
[0094] The location of the policy change data in the policy data model is determined based on the location of the data field in the data model.
[0095] In this embodiment of the invention, the target node code component is the node code component corresponding to the policy change data. It can be determined by the policy model node corresponding to the field of the policy change data. Through the data model in the target node code component, the code level for data binding of the target node code component can be determined, thereby determining the data position of the policy change data in the policy data model. The data model defines the type, attributes, behavior, and relationship with other data models of the target node code component data. Based on the data attributes represented by each field in the data model, the data fields for data binding in the data model can be determined, and the position of the data field in the data model is used as the data position of the policy change data in the policy data model.
[0096] In this embodiment of the invention, the policy change model binds the policy change data to the corresponding position in the policy data model to ensure the real-time performance and accuracy of the policy change data display.
[0097] In this embodiment of the invention, generating the policy change model based on the data location includes:
[0098] The pre-built data binding technology is invoked based on the policy data model;
[0099] The policy change data is bound to the corresponding data location in the policy data model using the data binding technology to obtain the policy change model.
[0100] In this embodiment of the invention, the data binding technology is determined according to the overall framework of the policy data model. For example, React uses state or props, Vue.js uses data or v-model, and Angular uses @Input() or [(ngModel)]. Through the data binding technology, the policy change data can be bound to the corresponding data position in the policy data model to obtain the policy change model that displays the changes in the form. For example, the policy change model can display the change in the birth date of the insured, from 1992-03-14 to 1993-03-19, which can intuitively display the trajectory of the policy data change.
[0101] S5. Render the change data of the policy change model to obtain the policy trajectory change model.
[0102] In this embodiment of the invention, data rendering involves adding a global display style to the policy change data. For data fields that have changed, they are highlighted using color, bold font, or other visual elements, allowing users to more intuitively see the trajectory of the entire policy data change.
[0103] In this embodiment of the invention, rendering the change data of the policy change model to obtain the policy trajectory change model includes:
[0104] Identify the change data in the policy change model;
[0105] Based on the change data, the binding elements of the policy change model are extracted to obtain the change data elements;
[0106] The policy change model is rendered based on the transformed data elements to obtain the policy trajectory change model.
[0107] In this embodiment of the invention, the changed data is the data that has undergone transformation in the policy change model, i.e., the policy change data. The extraction of bound elements is the extraction of elements from the policy change model for data processing. For example, policy nodes such as the primary insured, the policyholder, and policy contact information can be used as change data elements. By extracting bound elements, the model elements corresponding to the changed data in the policy change model can be obtained, and then the data bound to the model elements can be rendered to obtain the policy trajectory change model.
[0108] In this embodiment of the invention, element rendering involves drawing the visual elements of each element, such as text, color, border, and shadow, including changing the policy change data contained in the data elements, such as color, font size, and font weight.
[0109] Furthermore, element rendering can be achieved by changing the color, font size, and font weight of the policy change data to highlight the changed data, allowing users to more intuitively see the entire policy data change trajectory. Specifically, CSS (Cascading Style Sheets) styles can be added to control the color, font, and other visual characteristics of the policy change data to obtain the policy trajectory change model after the change is rendered.
[0110] Furthermore, the policy trajectory change model can intuitively display the change trajectory of policy data within a single policy data model, fully preserving complete policy data at all moments of policy status change. By rendering the change data, the global change trajectory of the policy data can be clearly and completely viewed, thereby improving the accuracy of policy data change trajectory monitoring.
[0111] like Figure 4 The diagram shown is a functional block diagram of a policy data change trajectory monitoring device provided in an embodiment of the present invention.
[0112] The policy data change trajectory monitoring device 100 of this invention can be installed in a computer device. Depending on the functions implemented, the policy data change trajectory monitoring device 100 may include a policy data model construction module 101, a policy data object acquisition module 102, a policy change data identification module 103, a policy change model generation module 104, and a policy trajectory change model rendering module 105. The module described in this invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of a computer device and can perform a fixed function, and are stored in the memory of the computer device.
[0113] In this embodiment, the functions of each module / unit are as follows:
[0114] The policy data model construction module 101 is used to obtain the policy business link and construct a policy data model based on the policy business link.
[0115] The policy data object acquisition module 102 is used to trigger a data snapshot corresponding to the policy data model according to the workflow of the policy business link, and obtain the policy data object of the policy data model.
[0116] The policy change data recognition module 103 is used to detect the data change field in the policy data object and recognize the policy change data of the policy data model based on the data change field.
[0117] The policy change model generation module 104 is used to determine the data position of the policy change data in the policy data model, and generate the policy change model according to the data position.
[0118] The policy trajectory change model rendering module 105 is used to render the change data of the policy change model to obtain the policy trajectory change model.
[0119] In detail, the modules in the policy data change trajectory monitoring device 100 described in this embodiment of the invention employ the same methods as described above during use. Figures 1 to 3 The method used is the same as the one described above for monitoring the trajectory of policy data changes, and it can produce the same technical effect, so it will not be elaborated here.
[0120] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile and / or volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with external clients via a network connection. When the computer program is executed by the processor, it implements the functions or steps of a server-side method for monitoring policy data change trajectories.
[0121] In one embodiment, a computer device is provided, which may be a client, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface is used to communicate with an external server via a network connection. When the computer program is executed by the processor, it implements client-side functions or steps of a method for monitoring policy data change trajectories.
[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:
[0123] Obtain the policy business chain and construct a policy data model based on the policy business chain;
[0124] Based on the workflow of the policy business link, a data snapshot corresponding to the policy data model is triggered to obtain the policy data object of the policy data model;
[0125] Detect the data change fields in the policy data object, and identify the policy change data of the policy data model based on the data change fields;
[0126] Determine the data location of the policy change data in the policy data model, and generate the policy change model based on the data location;
[0127] The change data of the policy change model is rendered to obtain the policy trajectory change model.
[0128] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0129] Obtain the policy business chain and construct a policy data model based on the policy business chain;
[0130] Based on the workflow of the policy business link, a data snapshot corresponding to the policy data model is triggered to obtain the policy data object of the policy data model;
[0131] Detect the data change fields in the policy data object, and identify the policy change data of the policy data model based on the data change fields;
[0132] Determine the data location of the policy change data in the policy data model, and generate the policy change model based on the data location;
[0133] The change data of the policy change model is rendered to obtain the policy trajectory change model.
[0134] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device described above can be referred to the relevant descriptions on the server side and client side in the foregoing method embodiments. To avoid repetition, they will not be described one by one here.
[0135] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0136] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0137] If any software tools or components not owned by the patent applicant appear in the embodiments of this application, it is merely to illustrate that a wide range of software tools or components can be selected in the actual implementation of the technical solutions disclosed in this application, and does not represent that the patent applicant actually used these example software tools or components; the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for monitoring the trajectory of policy data changes, characterized in that, The method includes: Obtain the policy business chain and construct a policy data model based on the policy business chain; Based on the workflow of the policy business link, a data snapshot corresponding to the policy data model is triggered to obtain the policy data object of the policy data model; Detect the data change fields in the policy data object, and identify the policy change data of the policy data model based on the data change fields; Determine the data location of the policy change data in the policy data model, and generate the policy change model based on the data location; The change data of the policy change model is rendered to obtain the policy trajectory change model; The step of determining the data position of the policy change data in the policy data model includes: identifying the target node code component corresponding to the policy change data in the policy data model; performing field identification on the data model of the target node code component to obtain the data fields of the data model; and determining the data position of the policy change data in the policy data model based on the position of the data fields in the data model. The step of rendering the change data of the policy change model to obtain the policy trajectory change model includes: identifying the change data in the policy change model; extracting the bound elements of the policy change model based on the change data to obtain change data elements; and rendering the policy change model based on the change data elements to obtain the policy trajectory change model.
2. The method for monitoring the trajectory of policy data changes as described in claim 1, characterized in that, The step of constructing a policy data model based on the policy business chain includes: The policy data model nodes and the connection relationships between them are determined based on the policy business link. The policy model data nodes are the data structures contained in the policy data model and the information that needs to be entered into the policy data model. Extract the node code component corresponding to each policy model node from the pre-built database; The node code components are assembled according to the connection relationship to obtain the policy data model.
3. The method for monitoring the trajectory of policy data changes as described in claim 1, characterized in that, The step of triggering a data snapshot corresponding to the policy data model based on the workflow of the policy business chain to obtain the policy data object of the policy data model includes: Monitor the policy status of the policy data model; When the policy status changes, a data snapshot of the policy data model is triggered; By collecting the data snapshots, the policy data object of the policy data model is obtained.
4. The method for monitoring the policy data change trajectory as described in claim 1, characterized in that, The fields for detecting data changes in the policy data object include: Read the policy data from adjacent data snapshots in the policy data object respectively; The pre-built data comparison method is invoked based on the data type of the policy data; The data comparison method described above is used to compare the data attribute fields of the policy data for data consistency, and the data change fields are determined based on the results of the consistency comparison.
5. The method for monitoring the policy data change trajectory as described in claim 1, characterized in that, The step of generating a policy change model based on the data location includes: The pre-built data binding technology is invoked based on the policy data model; The policy change data is bound to the corresponding data location in the policy data model using the data binding technology to obtain the policy change model.
6. A device for monitoring the trajectory of policy data changes, used to implement the method for monitoring the trajectory of policy data changes as described in any one of claims 1 to 5, characterized in that, The device includes: The policy data model construction module is used to obtain the policy business chain and construct the policy data model based on the policy business chain. The policy data object acquisition module is used to trigger a data snapshot corresponding to the policy data model according to the workflow of the policy business link, and obtain the policy data object of the policy data model. The policy change data recognition module is used to detect data change fields in the policy data object and recognize policy change data of the policy data model based on the data change fields. The policy change model generation module is used to determine the data position of the policy change data in the policy data model, and generate the policy change model based on the data position. The policy trajectory change model rendering module is used to render the change data of the policy change model to obtain the policy trajectory change model.
7. A computer device, characterized in that, The computer device includes: At least one processor; And, a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the method for monitoring policy data change trajectories as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for monitoring the policy data change trajectory as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Business process monitoring method, apparatus and device, and computer readable medium
CN111858621A
Using incremental snapshots to facilitate intent policy model rollback and deployment
CN118118337A