Attribute linkage engine method and system for customer relationship management

Through the attribute linkage engine method for customer relationship management, the problem of attribute linkage relying on hard coding in traditional systems is solved, efficient automation and intelligence are achieved, system performance and user experience are improved, and data consistency and accuracy are ensured.

CN118245032BActive Publication Date: 2024-09-27WHALE CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410686280.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-27
Estimated Expiration
2044-05-30

Smart Images

  • Figure CN118245032B
    Figure CN118245032B
Patent Text Reader

Abstract

The present invention proposes a method and system for an attribute linkage engine for customer relationship management, including: clearly setting the type, value range and default value for each form or component attribute; accurately defining the linkage rules between attributes according to business logic, and indicating the automatic adjustment method of related attribute values; loading the configuration information of attributes and linkage rules, and initializing the data structure and variables required for executing attribute linkage; user interface operations trigger attribute changes, and accurately update the status of related attributes according to established rules; verifying the linkage effect to ensure consistency with the design rules, and continuously monitoring and optimizing the rules. Through precise linkage configuration and effective predictive control technology, the present invention significantly reduces the risk of configuration errors and operational errors, improves the overall configuration quality and system reliability, and ensures the consistency and stability of data, and ensures the accuracy and reliability of data in complex business environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of customer relationship management systems for telecommunication operators, and in particular to an attribute linkage engine method and system for customer relationship management. Background Art

[0002] In the context of the development of China Telecom's new generation BSS3.0 customer relationship management system, with the continuous changes in market demand and technological advancement, the attributes of public and government business products have become increasingly complex and diverse. In traditional customer relationship management systems, the attribute linkage of core business processes mostly relies on hard-coded settings. Although this hard-coded implementation method can meet basic business needs in the early stage, with the expansion of business and the increase of attributes, its limitations gradually emerge: poor maintainability, low readability, insufficient flexibility, and difficult testing. This not only increases the difficulty of system maintenance, but also seriously affects the system's scalability and ability to flexibly respond to market changes.

[0003] To meet these challenges, China Telecom proposed a new generation of BSS3.0 - customer relationship management system application specifications, which aims to improve the maintainability and scalability of the system by standardizing data, interfaces, processes, styles, etc. The BSS3.0 application specification emphasizes the importance of system businessization, requiring the organic combination of business rules, processes, data, etc. to build a business-driven system to improve the system's business processing capabilities and intelligence level.

[0004] In this context, the operator customer relationship management system attribute linkage engine technology (UALE) came into being. UALE follows the BSS3.0 application specification and uses configuration instead of hard coding to quickly adapt to changes in business development, reduce errors and inconsistencies that may be introduced by manual code modification, and reduce the workload of hard coding. The main technical challenges faced by UALE include: how to meet the high response speed requirements of the system when ensuring the page form attribute linkage configuration, and ensure that the system performance does not decrease when processing a large number of attribute linkages; how to improve the accuracy of attribute linkage, manage recursive linkage configuration and repeated linkage configuration, and ensure the accuracy of attribute linkage; and how to reduce the computational complexity of the mesh structure configuration that becomes more complicated as the number of attribute associations increases, and avoid data conflicts or inconsistencies. Summary of the invention

[0005] In order to overcome the shortcomings of the existing technology, the present invention proposes an attribute linkage engine method and system for customer relationship management. By integrating advanced technologies and methods, efficient automation and intelligence of business processes are achieved, while ensuring the high performance, stability and excellent user experience of the system, and effectively supporting complex customer relationship management needs.

[0006] To achieve the above object, the present invention provides an attribute linkage engine method for customer relationship management, comprising:

[0007] Step S1: Clearly set the type, value range and default value for each form or component attribute in the system to ensure its accurate identification and processing;

[0008] Step S2: Accurately define the linkage rules between attributes according to business logic, and specify the automatic adjustment method of related attribute values ​​under specific conditions;

[0009] Step S3: Load the configuration information of the attributes and linkage rules, and initialize the data structure and variables required to execute the attribute linkage;

[0010] Step S4: User interface operation triggers attribute changes, and accurately updates the relevant attribute status according to established rules;

[0011] Step S5: Systematically verify the linkage effect to ensure consistency with the design rules, and continuously monitor and optimize the rules to maintain the stability and high performance of the system.

[0012] Further, step S1 includes:

[0013] Step S11: List all forms or component attributes that need to be linked, including their types (such as text, drop-down list), value ranges, default values, etc.;

[0014] Step S12: Setting configuration information for these attributes in the system's linkage engine (UALE) to ensure that they can be correctly identified and processed.

[0015] Further, step S2 includes:

[0016] Step S21: Based on business requirements, define how to automatically adjust the values ​​of other related attributes when the value of one attribute changes. This includes conditional judgment, logical operation or function call, etc.;

[0017] Step S22: Input and save these linkage rules in UALE to ensure that these rules are consistent with business logic and can be correctly executed by UALE.

[0018] Further, step S3 includes:

[0019] Step S31: Loading configuration information such as attributes and linkage rules from a configuration file or a database;

[0020] Step S32: Create internal data structures for attributes and rules, and initialize necessary variables;

[0021] Step S33: Set an event listener so that when the user interface interacts (such as click, selection, etc.), the UALE can receive event notifications.

[0022] Further, step S4 includes:

[0023] Step S41: The user interface interaction operation triggers a property change. This change serves as a linkage touch point. The system identifies data or configuration objects related to the changed property and performs analysis.

[0024] Step S42: obtaining predefined attribute linkage templates according to the identified object, which templates specify linkage rules between different attributes;

[0025] Step S43: Based on the linkage template, further obtain detailed configuration strategies, including specific calculation logic, priority, etc., and execute corresponding linkage rules according to the obtained configuration strategies to trigger the update of other attributes;

[0026] Step S44: For complex linkage logic, split it into smaller subtasks that can be processed in parallel;

[0027] Step S45: perform specific calculations and data processing to determine the final linkage result, and trigger the corresponding linkage rule executor according to the calculation result to complete data update or other subsequent operations;

[0028] Step S46: storing the calculation results or important states in a cache to improve efficiency;

[0029] Step S47: Finally, the data results after linkage processing are displayed to the user through the page rendering engine.

[0030] Further,

[0031] Step S51: verify the linkage effect by simulating user operations, writing test cases or integration tests to ensure that it meets expectations and check whether there are performance or stability issues;

[0032] Step S52: Regularly monitor the operation status of the linkage engine, including performance indicators and error logs, so as to promptly discover and solve problems;

[0033] Step S53: According to business changes, user feedback or monitoring results, regularly update configuration, optimize algorithms, fix vulnerabilities, etc. to ensure system reliability and optimal performance.

[0034] A system adopting a customer relationship management-oriented attribute linkage engine method is applicable to the customer relationship management-oriented attribute linkage engine method, including a configuration state, a running state, a data synchronization aggregation component and a data persistence layer;

[0035] The configuration state is used to manage the customization of business process configuration and linkage rules;

[0036] The running state realizes the complete running process of UALE;

[0037] The data synchronization aggregation component uses distributed cache and JVM cache technology to achieve synchronous execution of aggregate objects and persistent synchronous analysis;

[0038] The data persistence layer provides stable and reliable data storage and management functions, ensures the real-time and consistency of data, convenient and efficient data access and query functions, and ensures the integrity and consistency of data.

[0039] Furthermore, the configuration state includes:

[0040] Linkage contact configuration: allows to define the events, conditions or other mechanisms that trigger the linkage of attributes, and set the type, conditions and timing of linkage triggering;

[0041] Linkage rule configuration: allows you to customize the linkage rules between attributes, supports multiple linkage types such as linkage between same values ​​and linkage between value ranges, including forward, reverse or bidirectional linkage;

[0042] Linkage template configuration: provides standardized templates to facilitate the creation and management of attribute linkage rules, and defines the association relationship and trigger conditions between attribute groups;

[0043] Linkage configuration prediction module: Utilizes predictive control technology to predict the output results of linkage relationships based on input attributes and parameters, and identifies and avoids repeated or recursive linkages.

[0044] Furthermore, the running state includes:

[0045] Attribute linkage splitting module: Uses dependency chain analysis and topology group scheduling technology to split complex linkage logic into small tasks that are easy to handle and achieve parallel processing;

[0046] Attribute linkage calculation module: Relying on complex relationship network management technology, it calculates and processes data for the split subtasks to meet real-time business needs;

[0047] Linkage rule execution module: executes linkage rules according to calculation results, automatically adjusts attribute status, and ensures dynamic relationship and logical consistency between attributes;

[0048] Object rendering module: presents the data results after linkage processing to users through front-end technology to improve user experience.

[0049] Furthermore, data synchronization aggregation includes:

[0050] Aggregate object synchronization executor: aggregates multiple linkage operations, executes according to the configuration, and monitors the correctness and stability of the linkage process;

[0051] Distributed cache: Improve data access efficiency, reduce direct access to the database, and improve system response speed and throughput through the cache mechanism;

[0052] JVM cache: Use Java virtual machine memory management to cache calculation results and temporary data, reducing repeated calculations and external storage access;

[0053] Persistent synchronization parser: ensures the persistent storage of key information such as calculation results and linkage rules, and ensures the persistence and consistency of data.

[0054] Compared with the prior art, the present invention has the following beneficial effects:

[0055] 1. The present invention provides an attribute linkage engine method and system for customer relationship management. By providing a flexible configuration interface and intelligent predictive control technology, the system greatly improves the automation and intelligence level of business processes, allowing operators to easily customize and optimize linkage rules. The internal optimization of the system, such as orderly execution of tasks, efficient data processing and accurate triggering of linkage rules, greatly improves processing efficiency, reduces system response time, and enables rapid feedback on user operations.

[0056] 2. The present invention provides an attribute linkage engine method and system for customer relationship management. Through precise linkage configuration and effective predictive control technology, the system significantly reduces the risk of configuration errors and operational errors, improves the overall configuration quality and system reliability, and utilizes advanced data synchronization aggregation technology and a stable data persistence layer. The system ensures data consistency and stability, ensuring data accuracy and reliability in complex business environments.

[0057] 3. The present invention provides an attribute linkage engine method and system for customer relationship management. Through real-time attribute linkage effects and efficient object rendering, the system provides users with a smooth and intuitive operating experience, thereby enhancing user satisfaction.

[0058] 4. The present invention provides an attribute linkage engine method and system for customer relationship management. The modular design and clear architectural layering of the system not only facilitate maintenance and updating, but also provide convenience for future functional expansion and technical upgrades. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0060] Figure 1 is a flow chart of the system of the present invention;

[0061] Figure 2 This is a schematic diagram of the attribute linkage template of the present invention;

[0062] Figure 3 It is a schematic diagram of the system architecture of the present invention;

[0063] Figure 4 It is the DAG directed acyclic graph of the present invention;

[0064] Figure 5 This is a diagram showing the algorithm for topological sorting of the present invention;

[0065] Figure 6 This is a demonstration diagram of the internal linearization processing of DAG of the present invention;

[0066] Figure 7 This is a schematic diagram of the linkage attribute prediction process of the present invention;

[0067] Figure 8 A new A-C linkage modeling demonstration diagram is added for the present invention;

[0068] Fig. 9 A new A-D linkage modeling demonstration diagram is added for the present invention;

[0069] Fig.10 A new C-linked D modeling demonstration diagram is added to the present invention;

[0070] Fig.11 This is a demonstration diagram of deduplication processing of the present invention;

[0071] Fig.12 This is a demonstration diagram of recursive detection 1 of the present invention;

[0072] Fig.13 This is a demonstration diagram of recursive detection 2 of the present invention;

[0073] Fig.14 It is a schematic diagram of the dynamic programming process of the present invention;

[0074] Fig.15 It is a schematic diagram of the trial calculation mechanism flow of the present invention;

[0075] Fig.16 This is a functional structure diagram of complex relationship network management of the present invention;

[0076] Fig.17 A0 is a tree structure diagram of the present invention with the starting node being A0;

[0077] Fig.18 This is a demonstration diagram of the present invention with Q0 as the vertex;

[0078] Fig.19The demonstration diagram is completed for the present invention;

[0079] Fig. 20 A0 is the entrance for traversal demonstration diagram of the present invention;

[0080] Fig.21 A1 is the entrance for traversal demonstration diagram of the present invention;

[0081] Fig. 22 This is a comparison chart of the effects of the new and old solutions of the present invention. DETAILED DESCRIPTION

[0082] The technical solution of the present invention will be more clearly and completely explained below through description of preferred embodiments of the present invention in combination with the accompanying drawings.

[0083] Terminology explanation:

[0084] 1. Universal Attribute Linkage Engine (UALE)

[0085] UALE provides a complete set of attribute linkage configuration strategies for operator customer relationship management systems, which allows developers to develop more efficiently. Different types of linkage methods play an important role in user interface design and system interaction, and can help achieve more intelligent and user-friendly interaction effects.

[0086] 2. Distributed Cache

[0087] The cache property, which can improve the speed of instruction and data reading, has been widely used in the field of distributed computing as local computer systems expand to distributed systems. It is called distributed cache.

[0088] Distributed cache can handle large amounts of dynamic data, so it is more suitable for scenarios where user-generated content is required, such as social networking sites in the Web 2.0 era. After expanding from local cache to distributed cache, the focus has expanded from the differences in data transmission speeds between CPU, memory, and cache to the differences in data transmission speeds between business systems, databases, and distributed cache.

[0089] 3. JVM Cache

[0090] Also known as JVM process cache, it is a mechanism that stores loaded classes and data in memory. By caching loaded classes and data, JVM can avoid repeated class loading and data initialization operations, thereby improving program performance. JVM process cache usually includes class loader cache, method area cache, etc.

[0091] 4. Attribute A and Z

[0092] The starting and ending points of an association or linkage between attributes. The "A end" can be considered the starting point that triggers the attribute change or condition, while the "Z end" is the end point that is affected by the "A end" and changes.

[0093] For example, suppose there are two attributes in a form: Attribute A and Attribute B, and there is a linkage relationship between them. If the value of Attribute A changes, the display mode or options of Attribute B will change accordingly, then Attribute A can be regarded as the "A end" of the attribute linkage, and Attribute B is the "Z end". The change of Attribute A triggers the corresponding change of Attribute B, thus forming a linkage relationship between the attributes.

[0094] 5. Attribute data linkage

[0095] Attribute linkage refers to the way in which attributes are linked and moved according to a certain relationship. When the value of one attribute changes, the other attribute will also change in real time. Attribute linkage is often triggered by real-time touch signals, which can form a synergistic linkage effect.

[0096] Value linkage

[0097] Attribute value linkage means that when the value of one attribute changes, the values ​​of other attributes will also change accordingly. This linkage is usually used to ensure consistency or correlation between attributes so that the system or user interface can automatically adjust related attributes.

[0098] Same value linkage

[0099] Same value linkage is a special form of attribute value linkage, which means that when the value of one attribute is the same as the value of another attribute, a linkage occurs between them. This linkage is usually used to ensure that two or more attributes have the same value or status.

[0100] Value range linkage

[0101] Range linkage means that when the value of one attribute changes within a specific range, the values ​​of other attributes will also change within the corresponding range accordingly. This linkage is usually used to limit the range of attribute values ​​or ensure that attribute values ​​are within a reasonable range.

[0102] Style linkage

[0103] Style linkage means that when the value of an attribute changes, the style of the current attribute or other attributes will also change accordingly. This linkage is usually used to achieve dynamic style effects, such as changing whether a text box is displayed, required, or editable based on user operations.

[0104] Linking values ​​and styles

[0105] Value and style linkage combines the concepts of attribute value linkage and style linkage, that is, when the value of an attribute changes, the related style will also change accordingly. This linkage can make the user interface more interactive and convenient for limiting whether attribute data is required or editable during order entry.

[0106] The implementation steps of the present invention can be summarized into the following stages:

[0107] (1) Configuration properties:

[0108] First, you need to clarify the properties of each form or component, including their type, value range, default value, etc. Then, configure each property in UALE so that it can be correctly identified and processed by the framework engine. After completing the property configuration, UALE can clearly know the specific situation of each property, providing a basis for the subsequent design of linkage rules.

[0109] (2) Design linkage rules:

[0110] Design linkage rules between attributes according to business needs. These rules describe how other related attributes should respond when the value of a certain attribute changes. Rules can be based on simple conditional judgments or involve complex logical operations or function calls. After the linkage rules are designed, when the value of a certain attribute changes, UALE can automatically adjust the values ​​of other attributes according to these rules to achieve linkage effects between attributes.

[0111] (3)UALE initialization:

[0112] Loads properties, rules and other configurations from configuration files or databases. Creates internal data structures and initializes variables. Registers event listeners and waits for the engine to run to process linkage requests in real time.

[0113] (4) UALE runs to perform attribute linkage processing

[0114] 1) Create new linkage rules or edit existing rules: The engine provides a user-friendly interface that allows users to create or edit linkage rules. The interface should contain necessary input fields and controls for users to define properties, conditions, and operations. After users complete the rule definition in the editing interface, the engine needs to parse these definitions. The parsing process includes verifying the legality of the input, parsing conditional expressions, and building rule execution logic. The parsed rule information needs to be stored in a place that the engine can access, mainly in the database, distributed cache, and local jvm cache.

[0115] 2) Associate the attribute start end, attribute end and linkage logic: According to the association relationship defined by the user, the engine builds the corresponding linkage logic. For the attribute linkage relationship of the complex mesh structure, the engine designs a precise calculation strategy through mesh structure analysis and algorithm structure optimization, so as to finally calculate the accurate Z-end attribute linkage value, linkage style, linkage range, etc.

[0116] (5) Verification of linkage effect

[0117] In actual applications, the linkage effect needs to be verified. This can be achieved by simulating user operations, writing test cases, or performing integration tests. During the verification process, attention should be paid to whether the linkage effect meets expectations and whether there are performance or stability issues. Through verification, it can be ensured that the linkage framework engine can correctly execute the linkage rules in actual applications and achieve the expected linkage effect. At the same time, potential problems can be discovered and fixed in a timely manner.

[0118] (6) Monitoring and maintenance:

[0119] Regularly monitor the operation status of the linkage engine. Monitoring can include performance monitoring, error log collection, etc., so as to promptly discover and solve potential problems. Maintenance includes regular configuration updates, algorithm optimization, vulnerability repairs, etc., to keep the system up to date and at optimal performance. At the same time, respond to and solve any failures or problems in a timely manner. Update and optimize linkage rules based on business changes and user feedback

[0120] As a specific implementation case, Figure 1 As shown in the figure, the order entry page accepted by the front end of the customer relationship management system is a very important part of the customer relationship management system. This page allows users (usually sales staff or customer service representatives) to enter and manage customer order information. When entering order details, attribute linkage allows different fields or attributes on the page to automatically interact and associate. The attribute start end and attribute end are mainly calculated through the background UALE for linkage strategy.

[0121] The main operation process of UALE is as follows:

[0122] Start UALE through attribute contact:

[0123] When a property changes or triggers a specific event, the system will start the UALE trigger mechanism through the property touchpoint, which can be a user operation on the interface, such as clicking a button, selecting a value in a drop-down box list, etc. When the user performs these operations, the system will identify the touchpoints related to the property and start the UALE.

[0124] A-side attribute object identification:

[0125] After launching UALE, the system needs to identify objects related to the attribute. This may involve obtaining attribute objects from the scene, parsing and identifying them.

[0126] The A-side attribute object refers to the data or configuration object related to the attribute. The system needs to obtain these instance objects, such as sales instance, product instance, etc., from the instance cache data, and parse and identify them for subsequent linkage operations.

[0127] The attribute linkage template is obtained as follows Figure 2 As shown,

[0128] Based on the identified instance object, the system will obtain the attribute linkage templates related to it. These templates define the linkage relationships and rules between different attributes.

[0129] The attribute linkage template is a predefined set of rules or configuration files that guide the system on how to perform attribute linkage operations. The system determines the linkage relationships and rules between different attributes based on the identified attribute objects and the definition of the template.

[0130] Attribute linkage configuration strategy acquisition:

[0131] Based on the obtained linkage template, the system further obtains configuration strategies related to attribute linkage. These strategies may include calculation logic, priority rules, etc., which are used to guide the subsequent linkage process.

[0132] Attribute linkage configuration strategies provide more detailed and specific operational guidance to ensure that attribute linkage meets business requirements and rules. These strategies may include calculation logic, priority rules, data conversion rules, etc., which are used to guide the system on how to perform attribute linkage operations.

[0133] Execution attribute linkage rule list:

[0134] The system executes a list of rules related to attribute linkage based on the obtained configuration policy. These rules define how changes in different attributes trigger changes in other attributes.

[0135] Executing the attribute linkage rule list is to perform attribute linkage operations according to the set rules and strategies. These rules may include calculating new attribute values, updating data, triggering other events, etc.

[0136] Attribute linkage splitting:

[0137] For complex attribute linkage logic, the system may split it into smaller subtasks to facilitate parallel processing and improve efficiency. The split subtasks can be executed independently and can be distributed across multiple nodes or services.

[0138] The split subtasks can be executed independently, which improves the system's processing power and response speed. At the same time, complex attribute linkage logic can be completed more quickly through parallel processing.

[0139] Attribute linkage rule calculation:

[0140] According to the split subtasks, the system performs specific calculations and data processing to determine the linkage results of the attributes. Attribute linkage rule calculation is to perform specific calculations and data processing according to the set rules and strategies. This may involve the application of complex logical operations, data conversion, and calculation models to determine the final attribute values ​​and associations.

[0141] Trigger linkage rule executor:

[0142] When the calculation is completed, the system triggers the corresponding linkage rule executor and performs corresponding operations according to the calculation results, such as triggering the same value linkage executor, value range linkage executor, value and style linkage executor, etc.

[0143] Triggering the linkage rule executor is to perform corresponding operations or responses based on the calculation results. This may include updating cached data, sending notifications, calling other services, or performing other business logic processing.

[0144] Set the Z-side cache value:

[0145] After executing the linkage rules, the system may store certain results or states in the cache for subsequent use or verification. Setting the Z-side cache value can save key data or states in the cache, improving the performance and response speed of the system.

[0146] Setting the Z-side cache value can save important data or status in the cache to reduce the number of accesses to the database or other data sources, improve system performance and response speed. At the same time, caching can also reduce repeated calculation or generation of data and improve system efficiency.

[0147] Execute the page object rendering engine:

[0148] Finally, the system presents the processed data and results to the user or other components of the system. This is usually done through the page object rendering engine, which partially or fully refreshes the Z-side data and renders it to the user. The execution of the page object rendering engine can present the data to the user in an easy-to-understand way, providing a friendly user experience. At the same time, the rendering engine can also display dynamic data in real time on the interface to achieve real-time attribute linkage effects.

[0149] As a specific implementation case, the system architecture is as follows Figure 3 As shown, including:

[0150] Configuration state (configuration management module) is used to manage the customization of business process configuration and linkage rules. It provides a friendly user interface (UI) and visual configuration tools so that operators can easily and flexibly configure attribute linkage templates, attribute linkage contacts, and attribute linkage rules, improve the automation and intelligence level of the system, and better meet business needs and user experience. In addition, this module also supports version management and history of attribute linkage rules to ensure the traceability and rollback capabilities of configuration.

[0151] Linkage contact configuration

[0152] The linkage contact configuration is used to define the contact that triggers the attribute linkage rules. It can be an event, condition or other trigger mechanism to trigger the linkage between attributes. In the linkage contact configuration, developers can define the type of contact, trigger condition and trigger timing to trigger the attribute linkage rules in specific situations.

[0153] Linkage rule configuration

[0154] Linkage rule configuration is used to define the specific content of attribute linkage rules. It can realize the association and triggering between different attributes according to the needs and business logic defined by the developer. In the linkage rule configuration, developers can define specific linkage rules, including the linkage of the same value of attributes, linkage of value range, linkage of value and style, linkage of style, and other AZ-side forward linkage, reverse linkage, or bidirectional linkage, so as to automatically perform corresponding operations when specific conditions are met.

[0155] Linkage template configuration

[0156] Linkage template configuration is a template for defining attribute linkage rules. It provides a standardized way for developers to easily create and manage attribute linkage rules. In linkage template configuration, developers can define different attribute groups and attributes, and specify the associations and triggering conditions between them.

[0157] Linkage configuration prediction module

[0158] Relying on linkage attribute predictive control technology, based on the input attributes and parameters, the final output result of the linkage relationship between them is predicted, and whether there is repeated linkage, recursive linkage, etc.

[0159] Running state:

[0160] The running state of UALE includes four parts: attribute linkage splitting module, attribute linkage calculation module, linkage rule execution module and object rendering module. These parts cooperate with each other to realize the complete running process of UALE, meet the real-time business needs, and improve the performance and reliability of the system.

[0161] Attribute linkage split module

[0162] The attribute linkage splitting module is the first module in the UALE running state. It uses DAG dependency chain parsing topology grouping scheduling technology to split the complex attribute linkage logic into smaller and easier-to-handle subtasks. This link decomposes large tasks into a series of small tasks based on the dependency and association of attributes. For example, the Z end triggered by the A end attribute is divided into different types of attribute groups in the page form, such as main product attributes, functional product attributes, sales product attributes, etc., so that each small task can be executed independently and in parallel. Through attribute linkage splitting, UALE can handle complex attribute linkage logic more efficiently and improve the performance and response speed of the system.

[0163] Attribute linkage calculation module

[0164] The attribute linkage calculation module is the core part of UALE operation. It relies on the attribute complex relationship network management technology and is responsible for specific calculations and data processing according to the split subtasks. Through the attribute linkage calculation module, UALE can quickly process large amounts of data and complex calculation tasks to meet real-time business needs.

[0165] Linkage rule execution module

[0166] The linkage rule execution module is a key component of the UALE operation state. It also relies on the attribute complex relationship network management technology and is responsible for executing the corresponding linkage rules based on the split subtasks and calculation results. This component usually processes and analyzes data based on predefined rule bases and algorithms to determine which attributes are associated and trigger corresponding linkage operations. Through the linkage rule executor, UALE can automatically execute corresponding linkage operations according to business needs and rule bases, realizing dynamic changes in attributes and automatic updates of associations.

[0167] Object rendering module

[0168] The object rendering module is the last link of the UALE operation state. It is responsible for presenting the calculation results and the results of the linkage rule execution to the user or other components of the system. This component usually uses visualization technology or front-end framework. Through the object rendering module, UALE can present the processed data to the user in an intuitive and easy-to-understand way, providing a friendly user experience.

[0169] Data synchronization aggregation components:

[0170] UALE's data synchronization aggregation module is a key component that uses distributed cache and JVM cache technology to achieve synchronous execution of aggregated objects and persistent synchronous parsing.

[0171] Aggregate object synchronization executor

[0172] The aggregate object synchronization executor is a module responsible for aggregate execution of multiple attributes or operations. In UALE, the aggregate object synchronization executor can integrate and execute the linkage rules of multiple attributes or operations to achieve linkage changes of attributes.

[0173] Its working principle is as follows: when a certain attribute changes, the aggregate object synchronization executor will pass the change of the attribute on the A side according to the linkage rule and the configuration conditions to the corresponding linkage processor for distribution and processing, and trigger the linkage change of the attribute on the Z side through the same value linkage, value range linkage, value and style linkage and other processors. At the same time, the executor will also monitor and manage the entire linkage process to ensure the correctness and stability of the linkage process.

[0174] Distributed Cache

[0175] Distributed cache is a cache technology that stores data on multiple nodes, which can effectively improve the performance and scalability of the system. In UALE, distributed cache can be used to store key information such as attribute data, linkage templates, and linkage rules, reduce the number of database accesses, and improve the system's response speed and throughput. When a certain attribute or linkage rule needs to be accessed, the system will first obtain the data from the JVM cache. If there is no data in the JVM, it will obtain the data from the distributed cache. If there is no data in the distributed cache, it will obtain the data from the database or other data sources and store it in the cache. When the data changes, the system will update the data in the cache in real time to ensure the real-time and consistency of the data.

[0176] JVM Cache

[0177] JVM cache technology refers to the technology that uses the memory management mechanism of the Java Virtual Machine (JVM) to cache data. In UALE, JVM cache technology can be used to store calculation results and temporary data, reduce the number of accesses to the database or other external storage, and improve the performance and response speed of the system. When the system needs to calculate a certain attribute or perform an operation, the calculation result or temporary data will be stored in the JVM cache. The next time the same data is needed, it can be directly obtained from the JVM cache without recalculation or access to external storage.

[0178] Persistent Synchronous Resolver

[0179] The persistent synchronization parser is a module responsible for persisting data to a database or other external storage. In UALE, the persistent synchronization parser can persist key information such as calculation results, temporary data, and linkage rules to a database or other external storage to ensure data persistence and consistency. When the system needs to persist data, the persistent synchronization parser will convert the data into a format suitable for storage and write it to a database or other external storage. At the same time, the parser will also monitor and manage the data writing process to ensure the correctness and security of the data.

[0180] Data persistence layer

[0181] The role of data persistence in UALE is mainly reflected in providing stable and reliable data storage and management functions, ensuring the real-time and consistency of data, convenient and efficient data access and query functions, and ensuring the integrity and consistency of data.

[0182] As a specific implementation case, UALE is used to process attributes with dependencies to ensure that they are linked or triggered in the correct order. DAG dependency chain parsing topology group scheduling technology is adopted.

[0183] In UALE, the vertices of DAG can represent different attributes or events, and the directed edges represent the dependencies between them. In UALE, different attribute linkage tasks and events have interdependent relationships and need to be executed or triggered in a certain order. By representing these tasks and events as vertices and edges of DAG, UALE can use DAG dependency chain parsing topology group scheduling technology to determine the correct execution order between them.

[0184] Specifically, dependency parsing can help UALE identify the dependencies between attributes or events and construct the corresponding DAG. Then, through topological sorting, the engine can determine the execution order of attributes or events to ensure that before triggering or processing an attribute or event, all its dependent attributes or events have been correctly processed. The purpose of group scheduling is to divide attributes with the same dependencies into a group and perform parallel processing between attributes within the group to improve the overall efficiency of the system.

[0185] The DAG-based topology-dependent group scheduling technology is of great significance in realizing the automation of business processes, optimizing resource allocation, and improving system efficiency. The details are as follows:

[0186] 1.1 Graphical expression of attributes and dependencies

[0187] In UALE, each attribute can be regarded as a node in DAG. The dependency between attributes, such as the value of one attribute depends on the calculation result of another attribute, is represented by directed edges in DAG. This graphical expression makes complex dependency relationships intuitive and easy for developers to analyze and understand.

[0188] Build DAG and resolve dependencies:

[0189] Build a DAG based on the defined attributes and dependencies. Figure 4 As shown in Figure 1, each vertex represents an attribute, and the directed edges represent the dependencies between attributes. Since it is a directed acyclic graph, there is no circular dependency.

[0190] from Figure 4 It can be seen that D→E→A→B is a path, D→E→F is also a path, and Figure 4 There is no way to get back to the vertex by passing through several edges. Figure 4 The coherence relationship is used to express the dependency relationship between attributes. Among them, the vertices represent the attributes and the operation operators that produce the attributes, and the directed edges represent the linkage relationship between operators.

[0191] 1.2. Topological sorting ensures execution order

[0192] Due to the characteristics of DAG, that is, there is no cycle, we can use the topological sorting algorithm to sort the nodes in the DAG and obtain a linear sequence that satisfies all dependencies. This sequence determines the execution order of each attribute operation in the attribute linkage framework. In this way, the framework can ensure that each attribute is calculated only after all its dependent attributes are calculated, thus avoiding logical errors caused by incorrect execution order.

[0193] exist Figure 4 Delete the least edges to make it a DAG; the specific method of topological sorting is as follows: first count the in-degree of all nodes, find a node with an in-degree of 0 as the first node of the sequence, and remove the node from the Figure 4 Delete it, delete all directed edges with this node as the arc tail, and reduce the in-degree of the vertex pointed by the directed edge by one to get a new graph, and then repeat the above operation.

[0194] In UALE, each attribute is a node of DAG, and the dependency is a directed edge. First, sort out all the linkage relationships of each A end, that is, obtain all the dependencies of A end through cache in the program. Assume that there is such a DAG graph, which is used to express the linkage relationship in one of the grouping templates of A end and Z end. The algorithm demonstration of its topological sorting is as follows: Figure 5 As shown, the final topological sequence is:

[0195] C -> D -> A -> B -> E

[0196] At the end of the operation, if not all nodes are deleted, that is, no node with in-degree 0 is found, it means that the remaining nodes form a loop, that is, Figure 5 There is a cycle in , then the function throws an error, there is a circular reference, and the calculation is terminated.

[0197] Topologically sort the DAG to determine the correct order for properties to fire. Topological sorting produces a linear sequence where each property precedes its dependencies. This ensures that before a property is fired or processed, all its dependencies have been processed.

[0198] 1.3. Group scheduling and parallel processing improve execution efficiency

[0199] Node grouping and parallel processing in DAG are the key to improving execution efficiency. By identifying groups of nodes in DAG that have no dependencies, the engine can execute operations on these nodes in parallel without waiting for other nodes to complete. This parallel processing capability enables the engine to fully utilize computing resources and reduce unnecessary waiting time, thereby improving overall execution efficiency.

[0200] The order entry page in the customer relationship management system acceptance capability center involves different types of attributes, and there is often a certain linkage relationship between different types of attributes. For example, sales attributes, product attributes, order attributes, and public attributes. UALE groups the Z-end attributes triggered by the A-end, and different attribute templates process the Z-end attributes of different groups. By identifying independent subgraphs in the DAG (node ​​groups without shared dependencies), parallel processing can be achieved. Figure 6 The A->H, A->F, and A->G processes can use multi-threading or multi-process solutions to speed up the execution of the Z-side attribute value calculation.

[0201] 2. Linked attribute predictive control technology

[0202] When solving problems such as attribute linkage template configuration, attribute linkage specification configuration, and attribute linkage contact configuration, the linkage attribute predictive control technology can preset linkage rules based on configuration optimization to help the system automatically identify and associate linkage rules between different attributes, thereby improving the system's response speed and user experience. Figure 7 shown.

[0203] 2.1 Prediction in the incremental configuration scenario

[0204] In the scenario of newly added configuration, the linkage attribute predictive control technology optimizes the linkage configuration through a series of means to ensure the accuracy and efficiency of the configuration.

[0205] In UALE, attributes and their dependencies may change as business and demand evolve. The DAG structure has good dynamic adjustment capabilities, and nodes and edges can be easily added, deleted, or modified to adapt to these changes. The engine can rebuild the DAG and perform topological sorting based on the new dependencies to ensure that attribute linkage can still be correctly executed in new business scenarios.

[0206] 2.1.1 Dependency modeling (dynamic adjustment and adaptation to changes):

[0207] Dependency modeling can clearly reveal the dependencies between attributes. When new configuration items are added, the system automatically analyzes the dependencies between these configuration items and existing attributes and updates the dependency graph or relationship matrix. This helps to quickly locate and handle the dependencies related to the new configuration items in subsequent linkage configuration adjustments.

[0208] Assume that there is a stock dependency model of B linked to A, A linked to C, and D linked to B. Now add A linked to C ( Figure 8 )、Added A linkage D( Fig. 9 ) and newly added C linkage D ( Fig.10 ) configuration logic, the dependency modeling is as follows:

[0209] 2.1.2 Deduplication and recursion detection (error detection and prevention):

[0210] When new attributes or configuration items are added to the system, the deduplication mechanism automatically checks and removes duplicate or similar configuration items, such as Fig.11 As shown, configuration redundancy and conflict are avoided. This step ensures the uniqueness and accuracy of each configuration item in the system by comparing the properties and rules of the new configuration item with the existing configuration item. Recursive detection is used to deeply check the linkage relationship between the new configuration item and the existing configuration item, such as Figure 12-13 As shown, by recursively traversing the configuration tree or graph, the system is able to discover potential linkage paths and dependencies, thereby ensuring the integrity and consistency of the linkage rules.

[0211] 2.2 Prediction of attribute change trends and configuration adjustments

[0212] The linkage attribute predictive control technology combines predictive control technologies such as dynamic programming and trial calculation mechanism to predict the trend of attribute changes, so as to make linkage configuration adjustments in advance.

[0213] Dynamic programming: Dynamic programming technology uses historical data and current status information to predict the future change trend of attributes. By building a prediction model and applying optimization algorithms, the system can predict key indicators such as the range of changes in attribute values, providing strong support for subsequent linkage configuration adjustments, such as Fig.14 As shown;

[0214] Trial calculation mechanism: Before adjusting the linkage configuration, the trial calculation mechanism will simulate and test the new configuration scheme. By simulating the attribute changes and behavior responses in different scenarios, the system can evaluate the effectiveness and reliability of the new configuration scheme, thereby ensuring that the expected effect can be achieved in actual application, such as Fig.15 As shown;

[0215] 3. Complex relationship network management technology

[0216] When executing linkage rules in the running state, spider web-like data structures often appear, and data needs to be obtained from this structure for linkage, such as Fig.16 As shown, each node in the structure represents a data object, and the edge represents the attribute relationship between objects, forming a complex mesh structure. These relationships can be direct (for example, a direct connection between two objects) or indirect (for example, a connection established through other objects). Therefore, in the linkage process, the breadth algorithm is used to traverse the relationship between each attribute, helping the system to correctly calculate the linkage direction, assisting in deduplication of linkage relationships, and improving the system's response speed and user experience.

[0217] Data query and object aggregation based on deep search

[0218] First, the application of deep search in data query is mainly reflected in the traversal and search of complex data structures. Deep search can go deep into each node and query the configuration data recursively. It queries the Z-end configuration data with the A end as the vertex. In the next round, it continues to query the corresponding Z-end relationship with the queried Z end as the A end. In this way, we can get a tree structure diagram with A0 as the starting node, such as Fig.17 As shown; secondly, based on all the tree structure diagrams obtained by the query, different linkage types are grouped and objects of related types are aggregated together.

[0219] 3.2 Data traversal and data cleaning based on breadth-first search

[0220] Breadth-first search, or BFS for short, is a strategy that searches for the shortest path from one node to another, and searches layer by layer, first traversing all nodes in the current layer, and then traversing the next layer. This ensures that the first path found is the shortest of all possible paths, thus ensuring that the performance of the linkage process from end A to end Z is optimal.

[0221] 3.2.1 Simple Relationship Traversal and Cleaning Enqueue

[0222] from Fig.18 Start to Fig.19The execution is completed. With A0 as the entry point, first, we visit the starting node A0. Next, we check all nodes that have a direct linkage relationship with A0, and push these nodes (here A1, A4, A7) into the stack. These nodes are the next layer of nodes for breadth-first traversal. Then, we take a node from the stack (such as A1), and check all unvisited nodes that have a direct linkage relationship with A1, and push these nodes into the stack as well. Repeat this process until the stack is empty. When the stack is empty, it means that all nodes in the current layer have been visited. At this point, if there are still unvisited nodes waiting to be processed in the stack (such as A4 and A7), we continue to take nodes out of the stack and repeat the above steps until all nodes have been visited.

[0223] 3.2.2 Complex Relationship Traversal and Cleaning

[0224] In actual business scenarios, complex relationship diagrams often appear. Figure 20 to Figure 21 As an example, we enumerate each node as a vertex and assume that Fig. 20 When A0 is used as the starting node for the first time:

[0225] First round of traversal (starting from A0): Start from A0 and perform breadth-first traversal. Add the direct adjacent nodes of A0 (such as A1, A2, A3, A4, A5, A6, A7) to queue 1. Traverse each node in queue 1 and check their direct adjacent nodes. However, in this round, we do not add these adjacent nodes to the queue because we only need to calculate the nodes directly related to A0.

[0226] Second round of traversal: Now, we start processing the nodes in queue 1. For each node in queue 1 (such as A1), we perform breadth-first traversal again. Add the direct adjacent nodes of A1 (except A0, because it has been processed in the first round) to queue 2. Repeat this process for each node in queue 1 until queue 1 is empty.

[0227] Third round of traversal: Next process the nodes in queue 2 and add their immediate adjacent nodes (except those that have already appeared in the previous queue) to queue 3. Continue this process until all nodes have been processed and no new nodes can be added to the queue.

[0228] Save results to memory: During the traversal process, we save each queue in memory. These queues represent different levels of node relationships starting from the starting point (such as A0). Use a list data structure to store these queues. Each queue can be an independent data structure, or they can be organized into a larger data structure for subsequent processing and querying.

[0229] Fig.21The second time, A1 is used as the starting point for breadth-first traversal, and Fig.21 If there are repeated relationship data represented by dotted lines, these repeated relationships need to be specially handled during the traversal process to avoid repeated calculation or storage of the same data.

[0230] Use visit tags: Set an visit tag for each node to indicate whether the node has been visited. During the traversal process, when you encounter a node, first check its visit tag. If the node has been visited, skip it and continue traversing other nodes. This ensures that the same nodes and relationships are not processed repeatedly.

[0231] Relation deduplication: Before adding a relationship data to a queue or saving a result, check whether the relationship already exists. If a duplicate relationship exists, you can choose to ignore it or merge related information. This can be achieved by using a collection data structure to achieve fast relationship lookup and deduplication.

[0232] 4. Grouping Executors

[0233] In the last step, the executor will execute the linkage rules according to the preset rules and logic analysis. The group executor divides the linkage operations into different groups. Each group contains a group of operations with the same or similar linkage logic. Group processing helps to optimize the execution process and reduce unnecessary calculations and resource consumption. For each group of linkage operations, the group executor will select the appropriate executor for execution. For example, for value linkage operations, you can select the value linkage executor; for range linkage operations, you can select the value range linkage executor, etc. At the same time, the group executor will also determine the execution order of the executors to ensure the correctness and consistency of the operations. After the executors are assigned, the group executor will call the corresponding executors in sequence to execute the linkage operations according to the preset execution order. During the execution process, UALE will monitor the status of the executors to ensure the smooth completion of the operations. When all linkage operations are executed, the group executor will feedback the execution results to the rule linkage calculation module. This helps the system understand the execution status and effect of the linkage operations and provide a basis for subsequent decision-making and optimization.

[0234] The present invention uses DAG modeling and topological sorting to make the task execution sequence clear, reduce resource conflicts, and shorten the overall processing time.

[0235] The linkage attribute prediction control technology in the present invention: optimizes linkage configuration, reduces redundancy and errors, and predicts user behavior and attribute change trends. Optimize configuration through deduplication, recursive detection and other means, combine intelligent decision-making technology to achieve prediction, reduce error rate, and improve configuration efficiency; complex relationship network management technology: reduce configuration calculation complexity, ensure data consistency, and effectively detect and resolve conflicts.

[0236] The present invention reduces computational complexity, ensures data consistency, improves conflict detection and processing efficiency, realizes incremental update and parallel processing, and compares it with the existing technology, that is, the old solution. Fig. 22 shown.

[0237] The above specific implementations are only descriptions of the preferred implementations of the present invention, and do not limit the protection scope of the present invention. Without departing from the design concept and spirit of the present invention, various modifications, substitutions and improvements made by ordinary technicians in this field to the technical solution of the present invention based on the text description and drawings provided by the present invention should all fall within the protection scope of the present invention. The protection scope of the present invention is determined by the claims.

Claims

1. An attribute linkage engine method for customer relationship management, characterized in that: include: Step S1: Clearly set the type, value range and default value for each form or component attribute to ensure its identification and processing; Step S2: define linkage rules between attributes according to business logic, and specify the automatic adjustment method of related attribute values; Step S3: Load the configuration information of the attributes and linkage rules, and initialize the data structure and variables required to execute the attribute linkage; Step S4: User interface operation triggers attribute change, and updates the relevant attribute status according to linkage rules; Step S4 includes: Step S41: The user interface interaction operation triggers a property change. This change serves as a linkage touch point. The system identifies data or configuration objects related to the changed property and performs analysis. Step S42: obtaining a predefined attribute linkage template according to the identified object, the template defining linkage rules between different attributes; Step S43: Based on the linkage template, obtain the configuration strategy, including specific calculation logic and priority, and execute the corresponding linkage rules according to the obtained configuration strategy to trigger the update of other attributes; Step S44: For complex linkage logic, split it into smaller subtasks that can be processed in parallel; Step S45: perform calculation and data processing to determine the final linkage result, trigger the corresponding linkage rule executor according to the calculation result, and complete data update or other subsequent operations; Step S46: storing the calculation results or important states in a cache to improve efficiency; Step S47: finally displaying the data results after linkage processing to the user through the page rendering engine; Step S5: Verify the linkage effect to ensure consistency with the design rules, and continuously monitor and optimize the rules to maintain the stability and high performance of the system.

2. The attribute linkage engine method for customer relationship management according to claim 1, characterized in that: Step S1 includes: Step S11: List all forms or component attributes that need to be linked, including their types, value ranges, and default values; Step S12: In the system's attribute linkage engine, ie, UALE, configuration information is set for the linked form or component attributes.

3. The attribute linkage engine method for customer relationship management according to claim 1, characterized in that: Step S2 includes: Step S21: according to business requirements, define that when the value of one attribute changes, the values ​​of other related attributes are automatically adjusted, including conditional judgment, logical operation or function call; Step S22: Input and save the linkage rules in UALE to ensure that the linkage rules are consistent with the business logic and can be correctly executed by UALE.

4. The attribute linkage engine method for customer relationship management according to claim 1, characterized in that: Step S3 includes: Step S31: Loading attribute and linkage rule configuration information from a configuration file or a database; Step S32: Create internal data structures for attributes and rules, and initialize variables; Step S33: Set an event listener so that when the user interface interacts, the UALE can receive event notifications.

5. The attribute linkage engine method for customer relationship management according to claim 1, characterized in that: Step S5 includes: Step S51: verify the linkage effect by simulating user operations, writing test cases or integration tests to ensure that it meets expectations and check whether there are performance or stability issues; Step S52: Regularly monitor the operation status of the linkage engine, including performance indicators and error logs, so as to promptly discover and solve problems; Step S53: According to business changes, user feedback or monitoring results, regularly update configuration, optimize algorithms and fix vulnerabilities to ensure system reliability and optimal performance.

6. A system using a customer relationship management-oriented attribute linkage engine method, applicable to the customer relationship management-oriented attribute linkage engine method according to any one of claims 1 to 5, characterized in that: Includes configuration state, running state, data synchronization aggregation components and data persistence layer; The configuration state is used to manage the customization of business process configuration and linkage rules; the configuration state includes: Linkage contact configuration: allows to define the events, conditions or other mechanisms that trigger the linkage of attributes, and set the type, conditions and timing of linkage triggering; Linkage rule configuration: allows you to customize the linkage rules between attributes, supports linkage of same value, linkage of value range and multiple linkage types, including forward, reverse or bidirectional linkage; Linkage template configuration: provides standardized templates to facilitate the creation and management of attribute linkage rules, and defines the association relationship and trigger conditions between attribute groups; Linkage configuration prediction module: uses predictive control technology to predict the output results of linkage relationships based on input attributes and parameters, and identifies and avoids repeated or recursive linkages; The running state realizes the complete running process of UALE; the attribute linkage splitting module: uses dependency chain analysis and topology group scheduling technology to split the complex linkage logic into small tasks that are easy to handle and realize parallel processing; Attribute linkage calculation module: Relying on complex relationship network management technology, it calculates and processes data for the split subtasks to meet real-time business needs; Linkage rule execution module: executes linkage rules according to calculation results, automatically adjusts attribute status, and ensures dynamic relationship and logical consistency between attributes; Object rendering module: presents the data results after linkage processing to users through front-end technology to improve user experience; The data synchronization aggregation component uses distributed cache and JVM cache technology to implement synchronous execution of aggregate objects and persistent synchronous parsing; data synchronization aggregation includes: Aggregate object synchronization executor: aggregates multiple linkage operations, executes according to the configuration, and monitors the correctness and stability of the linkage process; Distributed cache: Improve data access efficiency, reduce direct access to the database, and improve system response speed and throughput through the cache mechanism; JVM cache: Use Java virtual machine memory management to cache calculation results and temporary data, reducing repeated calculations and external storage access; Persistent synchronization parser: ensures the persistent storage of key information and guarantees data persistence and consistency; The data persistence layer provides stable and reliable data storage and management functions, ensures the real-time and consistency of data, facilitates and efficiently accesses and queries data, and ensures the integrity and consistency of data.