Self-service terminal data synchronization optimization method and system based on feature analysis
By identifying data synchronization characteristics and conflict relationships of self-service terminals, calculating abnormal probability and optimizing synchronization strategies, the efficiency and accuracy problems caused by the lack of flexibility in synchronization strategies in the existing technology are solved, and more efficient and accurate data synchronization is achieved.
Patent Information
- Application Number
- CN202510023031.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-07
AI Technical Summary
The existing self-service terminal data synchronization strategy lacks flexibility, resulting in inefficient synchronization efficiency and insufficient synchronization accuracy.
By obtaining the synchronous data port, data characteristics and access records of the self-service terminal, identifying the data synchronization characteristics, and analyzing the relationship between time, network transmission and user access dimensions to obtain conflicting relationships. Use data synchronization logs to search for conflict relationships and exception information, calculate the abnormal probability of conflict relationships, and optimize the synchronization strategy based on the abnormal probability.
It realizes flexible adjustment of synchronization strategies according to data synchronization needs, improves synchronization efficiency and accuracy, and reduces resource waste and conflict events.
Smart Images

Figure CN119848142A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to data processing related fields, and in particular to a self-service terminal data synchronization optimization method and system based on feature analysis. Background Art
[0002] With the rapid development of information technology, self-service terminals are increasingly used in various industries, such as bank ATMs, self-service ticket machines, self-service payment machines, etc. These self-service terminals need to frequently synchronize data with the backend server to ensure the accuracy and consistency of the data. In actual applications, the data synchronization process is often affected by various factors, such as time delays, network fluctuations, user access conflicts, etc. These factors may cause data synchronization failures or anomalies, thereby affecting the normal operation of the self-service terminal and user experience. In existing technologies, data synchronization of self-service terminals usually adopts fixed synchronization strategies, such as timed synchronization, triggered synchronization, etc. These strategies lack flexibility and cannot be dynamically adjusted according to actual synchronization requirements and network environment, resulting in low synchronization efficiency or waste of resources.
[0003] In the current related technologies, the data synchronization of self-service terminals has the technical problem of lack of flexibility in synchronization strategy, resulting in low synchronization efficiency and insufficient synchronization accuracy. Summary of the invention
[0004] The present application provides a self-service terminal data synchronization optimization method and system based on feature analysis, which obtains the synchronization data port, data features, access records and other information of the self-service terminal, identifies the data synchronization features, performs relationship analysis among time synchronization dimension, network transmission dimension and user access dimension, obtains conflict relationships, uses data synchronization logs to search for conflict relationships and abnormal synchronization information, outputs the abnormal probability of conflict relationships through conditional probability calculation, performs synchronization strategy balance identification and optimization on the synchronization data port according to the abnormal probability, outputs the optimal data synchronization strategy result for synchronization control and other technical means, thereby achieving the technical effect of flexibly adjusting the synchronization strategy according to the data synchronization requirements, thereby improving the synchronization efficiency and synchronization accuracy.
[0005] The present application provides a method for optimizing data synchronization of a self-service terminal based on feature analysis, including: obtaining a synchronization data port, data features, and access records of a self-service terminal; identifying data synchronization features according to the synchronization data port, data features, and access records; performing relationship analysis among time synchronization dimensions, network transmission dimensions, and user access dimensions according to the data synchronization features to obtain conflict relationships; performing conflict relationship and abnormal synchronization information search according to the data synchronization log of the self-service terminal to obtain conflict relationship record information and abnormal synchronization record information; performing conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information to output the abnormal probability of the conflict relationship; performing balanced identification and optimization of the synchronization strategies of various synchronization resources of the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, outputting the data synchronization strategy results, and performing synchronization control of the self-service terminal according to the data synchronization strategy results.
[0006] In a possible implementation, the relationship between the time synchronization dimension, the network transmission dimension, and the user access dimension is analyzed according to the data synchronization characteristics to obtain the conflict relationship, and the following processing is performed: the dimension relationship is aligned according to the time synchronization dimension, the network transmission dimension, and the user access dimension respectively; based on the alignment relationship, the synchronization cross-resources are extracted, and the synchronization cross-resources are the resources commonly occupied by various types of synchronization data in the self-service terminal; based on the usage load status of the synchronization cross-resources, the conflict points are searched, and the conflict points are synchronization usage nodes whose synchronization cross-resource occupancy ratio exceeds the load threshold and the synchronization efficiency decreases; the conflict points are associated with the relationship dimensions and the resource load ratio mapping to obtain the conflict relationship.
[0007] In a possible implementation, dimension relationship alignment is performed according to the time synchronization dimension, network transmission dimension, and user access dimension, respectively, and the following processing is performed: key feature parameters of the time synchronization dimension, network transmission dimension, and user access dimension are configured, where the key feature parameters include a time window and a synchronization frequency; key feature identification and labeling of the data synchronization features are performed according to the key feature parameters; and corresponding relationship dimensions are aligned according to the key feature labels.
[0008] In a possible implementation, conditional probability calculation is performed based on the conflict relationship record information and the abnormal synchronization record information, the abnormal probability of the conflict relationship is output, and the following processing is performed: based on the conflict relationship record information, the probability of conflict occurrence is calculated; based on the conflict relationship record information and the abnormal synchronization record information, the probability of simultaneous occurrence is calculated; based on the conflict occurrence probability and the simultaneous occurrence probability, the abnormal probability of the conflict relationship is calculated through the conditional probability formula.
[0009] In a possible implementation, the synchronization strategy balance identification and optimization of each synchronization resource of the synchronization data port of the self-service terminal is performed according to the abnormal probability of the conflict relationship, and the data synchronization strategy result is output, and the following processing is performed: according to the abnormal probability of the conflict relationship, the conflict relationship balance weight is configured; based on the abnormal probability of the conflict relationship, the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are obtained, where N is the number of conflict relationships; the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are balanced and identified according to the conflict relationship balance weight to obtain the data synchronization strategy result.
[0010] In a possible implementation, based on the abnormal probability of the conflict relationship, a first conflict relationship strategy combination, a second conflict relationship strategy combination, and so on, are obtained, and the following processing is performed: a conflict relationship compensation analysis is performed according to the conflict relationship to determine the compensation direction and compensation parameters; a dimensional parameter search and variation of the conflict relationship is performed according to the compensation direction and compensation parameters to obtain a conflict relationship strategy combination.
[0011] In a possible implementation, the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are balanced and identified according to the conflict relationship balance weight to obtain the data synchronization strategy result, and the following processing is performed: a cost function for each conflict relationship is established; the conflict relationship strategy combination is balanced based on the cost function of the conflict relationship; an evaluation function of the self-service terminal is established, and the evaluation function is used to evaluate the strategy cost of the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination; the strategy cost evaluation is minimized based on the conflict relationship balance weight to obtain the data synchronization strategy result.
[0012] The present application also provides a self-service terminal data synchronization optimization system based on feature analysis, including: a data record acquisition module, used to obtain the synchronization data port, data features, and access records of the self-service terminal; a data synchronization feature identification module, used to identify the data synchronization features according to the synchronization data port, data features, and access records; a conflict relationship acquisition module, used to perform time synchronization dimension, network transmission dimension, and user access dimension relationship analysis according to the data synchronization features to obtain the conflict relationship; an information search module, used to perform conflict relationship and abnormal synchronization information search according to the data synchronization log of the self-service terminal, and obtain conflict relationship record information and abnormal synchronization record information; a conditional probability calculation module, used to perform conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information, and output the abnormal probability of the conflict relationship; a synchronization strategy balance identification and optimization module, used to perform synchronization strategy balance identification and optimization of each synchronization resource of the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, output the data synchronization strategy result, and use the data synchronization strategy result to perform synchronization control of the self-service terminal.
[0013] The self-service terminal data synchronization optimization method and system based on feature analysis proposed in the present application first obtain the synchronization data port, data features, and access records of the self-service terminal, then identify the data synchronization features based on the synchronization data port, data features, and access records, and then perform relationship analysis on the time synchronization dimension, network transmission dimension, and user access dimension based on the data synchronization features to obtain the conflict relationship, and then perform a search for the conflict relationship and abnormal synchronization information based on the data synchronization log of the self-service terminal to obtain the conflict relationship record information and abnormal synchronization record information, and then perform conditional probability calculation based on the conflict relationship record information and the abnormal synchronization record information to output the abnormal probability of the conflict relationship, and finally perform balanced identification and optimization of the synchronization strategy of each synchronization resource of the synchronization data port of the self-service terminal based on the abnormal probability of the conflict relationship, output the data synchronization strategy result, and use the data synchronization strategy result to perform synchronization control of the self-service terminal, thereby achieving the technical effect of flexibly adjusting the synchronization strategy according to the data synchronization requirements, thereby improving the synchronization efficiency and synchronization accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.
[0015] Figure 1A flowchart of a method for optimizing data synchronization of self-service terminals based on feature analysis provided in an embodiment of the present application.
[0016] Figure 2 A schematic diagram of the structure of a self-service terminal data synchronization optimization system based on feature analysis provided in an embodiment of the present application.
[0017] Explanation of reference numerals: data record acquisition module 10 , data synchronization feature recognition module 20 , conflict relationship acquisition module 30 , information search module 40 , conditional probability calculation module 50 , synchronization strategy balance recognition and optimization module 60 . DETAILED DESCRIPTION
[0018] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.
[0019] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0020] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.
[0021] The present application embodiment provides a self-service terminal data synchronization optimization method based on feature analysis, such as Figure 1 As shown, the method includes: Step S100, obtaining the synchronization data port, data characteristics, and access records of the self-service terminal.
[0022] Specifically, the synchronous data port information (such as port number, communication protocol, etc.), data characteristics (information describing data attributes, such as data type, data format, data size, etc.) and access records (information recording users’ access to the self-service terminal, such as access time, access frequency, access users, etc.) are collected from the self-service terminal through the monitoring system or log collection tool. These data are captured from the self-service terminal regularly or in real time and stored in a central database or log file for subsequent analysis. Among them, the synchronous data port refers to the communication interface used by the self-service terminal for data synchronization.
[0023] Step S200, identifying data synchronization features according to the synchronization data port, data features, and access records.
[0024] Specifically, data mining and machine learning algorithms are used to process and analyze the collected data to extract characteristics such as periodicity, concurrency, and data flow of data synchronization. The data synchronization characteristics are information that describes the regularity, periodicity, concurrency, and other characteristics exhibited during the data synchronization process. For example, through association rule mining, it can be found that the frequency of data synchronization in certain time periods has increased significantly, which means that this time period is the peak period of user access, and the synchronization strategy needs to be optimized to cope with high concurrent access. For another example, through cluster analysis, similar data synchronization features can be clustered into one category for subsequent targeted optimization processing. The data synchronization features obtained from the analysis are summarized and organized to form a structured feature representation, including creating feature vectors, feature matrices, or feature graphs.
[0025] Step S300: performing relationship analysis on the time synchronization dimension, the network transmission dimension, and the user access dimension according to the data synchronization feature to obtain a conflict relationship.
[0026] Specifically, based on the characteristics of data synchronization, we analyze the relationship from three dimensions: time, network transmission, and user access. We identify factors that may cause data synchronization conflicts through comparative analysis, correlation analysis, and other methods. The time synchronization dimension refers to the arrangement and planning of data synchronization in time. The network transmission dimension refers to the performance and stability of network transmission during data synchronization. The user access dimension refers to the user's access behavior and pattern to the self-service terminal.
[0027] In a possible implementation, the relationship between the time synchronization dimension, the network transmission dimension, and the user access dimension is analyzed according to the data synchronization feature to obtain the conflict relationship. Step S300 further includes step S310, which aligns the dimension relationship according to the time synchronization dimension, the network transmission dimension, and the user access dimension. Specifically, the original data is cleaned, converted, and formatted through data preprocessing tools or scripts. The collected synchronization data of the self-service terminal is classified according to the time synchronization dimension (such as the specific time point or time period when the synchronization occurs), the network transmission dimension (such as network bandwidth usage, network delay, etc.) and the user access dimension (such as the number of visiting users, access frequency, access mode, etc.). Then, the data alignment algorithm is used to ensure that the data under different dimensions can correspond to each other to form a unified data view.
[0028] Step S320, based on the alignment relationship, extract the synchronous cross resources, which are the resources commonly occupied by various types of synchronous data in the self-service terminal. Specifically, through resource monitoring tools or custom scripts, the resource usage of the self-service terminal is collected in real time or regularly, including CPU usage, memory usage, disk I / O, etc. On the basis of data alignment, the data analysis algorithm is used to identify the resources that are commonly occupied by multiple synchronous tasks or user accesses at the same time, which are synchronous cross resources.
[0029] Step S330, based on the usage load status of the synchronization cross resource, search for conflict points, the conflict points are synchronization usage nodes where the synchronization cross resource occupancy ratio exceeds the load threshold and the synchronization efficiency decreases. Specifically, a load threshold is set, and when the usage load of the synchronization cross resource exceeds the threshold, the conflict detection mechanism is triggered. The conflict detection algorithm analyzes the execution log and performance data of the synchronization task, and finds those synchronization usage nodes where the synchronization efficiency is significantly reduced, which are the conflict points.
[0030] Step S340, establish a mapping association between the conflict point and the relationship dimension and resource load ratio to obtain the conflict relationship. Specifically, use data analysis software or tools to integrate and analyze the relevant information of the conflict point (such as the occurrence time, the network parameters involved, the user access mode, and the resource load ratio, etc.) to form a conflict relationship map. This map intuitively shows the relationship between the conflict point and different dimensions (time synchronization dimension, network transmission dimension, user access dimension), as well as the impact of the conflict on the data synchronization performance of the self-service terminal. This implementation method accurately identifies potential conflict points and bottlenecks by comprehensively analyzing various factors (time, network, user access) and resource usage in the data synchronization process of the self-service terminal, providing a scientific basis for formulating effective data synchronization strategies.
[0031] In a possible implementation, the dimensional relationship alignment is performed according to the time synchronization dimension, the network transmission dimension, and the user access dimension, and step 310 further includes step S311, configuring the key characteristic parameters of the time synchronization dimension, the network transmission dimension, and the user access dimension, wherein the key characteristic parameters include the time window and the synchronization frequency. Specifically, in the time synchronization dimension, the time window, i.e., the time range or period of data synchronization, and the time point or frequency of synchronization are set. In the network transmission dimension, the synchronization frequency, i.e., the frequency of data transmission between different nodes or systems, is set. In the user access dimension, parameters such as the mode, frequency, and peak period of user access are set.
[0032] Step S312: identify and label the data synchronization features according to the key feature parameters. Specifically, the data synchronization features are identified according to the key feature parameters such as the time window and the synchronization frequency using a preset algorithm or model. The identified key features are labeled so as to align the corresponding relationship dimensions later.
[0033] Step S313, align the corresponding relationship dimensions according to the key feature identifier. Specifically, according to the key feature identifier, correspond and match the features of the time synchronization dimension, network transmission dimension and user access dimension. Ensure that the data and information between the dimensions are consistent, and can correspond and relate to each other. This implementation method ensures the accuracy and efficiency of data synchronization by configuring key feature parameters. Through key feature identification and identification, features with important influence or representativeness can be screened out from a large number of data synchronization features. Through the alignment of the corresponding relationship dimensions, it is ensured that the data and information between the dimensions are consistent, and can correspond and relate to each other, which helps to discover conflicts and anomalies in the data synchronization process.
[0034] Step S400: searching for conflict relationship and abnormal synchronization information according to the data synchronization log of the self-service terminal to obtain conflict relationship record information and abnormal synchronization record information.
[0035] Specifically, the data synchronization log of the self-service terminal (a log file that records various events and states that occur during the data synchronization process of the self-service terminal) is deeply mined through log analysis tools, and the log data is screened, classified, counted, and other operations are performed to identify and extract conflict relationships and abnormal synchronization information. Among them, it refers to the information of conflict events recorded by the self-service terminal during the data synchronization process, including the conflict type, occurrence time, and data involved. Abnormal synchronization record information refers to the information of abnormal events recorded by the self-service terminal during the data synchronization process, such as synchronization failure, data corruption, etc.
[0036] Step S500: performing conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information, and outputting the abnormal probability of the conflict relationship.
[0037] Specifically, the conditional probability calculation method in statistics is used to process the conflict relationship record information and the abnormal synchronization record information, calculate the probabilities of conflict and abnormal events, evaluate their correlation, and calculate the abnormal probability of the conflict relationship, that is, the probability of the conflict relationship leading to the occurrence of abnormal synchronization events.
[0038] In a possible implementation, conditional probability calculation is performed based on the conflict relationship record information and the abnormal synchronization record information, and the abnormal probability of the conflict relationship is output. Step S500 further includes step S510, which calculates the probability of conflict occurrence based on the conflict relationship record information. Specifically, the conflict relationship record information is sorted and analyzed, and the conflict relationship record information contains various types of conflict events, such as data inconsistency, synchronization timeout, data loss, etc. For each conflict event, the frequency of its occurrence in the record is counted. Then, by dividing these frequencies by the total number of conflict events, the probability of each conflict event occurring, that is, the probability of conflict occurrence, is obtained.
[0039] Step S520, based on the conflict relationship record information and the abnormal synchronization record information, calculate the probability of simultaneous occurrence. Specifically, considering the conflict relationship record information and the abnormal synchronization record information at the same time, first, identify which conflict events are related to the abnormal synchronization events, that is, they are caused by the same root cause. Then, for each pair of related events, count the number of times they occur at the same time. Finally, by dividing these times by the total number of records, the probability of these events occurring at the same time, that is, the probability of simultaneous occurrence, is obtained.
[0040] Step S530, according to the probability of occurrence of the conflict and the probability of simultaneous occurrence, the abnormal probability of the conflict relationship is calculated by the conditional probability formula. Specifically, the abnormal probability of the conflict relationship is calculated using the conditional probability formula, which is P(A|B)=P(A,B) / P(B), where P(A|B) represents the probability of event A occurring under the condition that event B occurs, P(A,B) represents the probability of event A and event B occurring simultaneously, and P(B) represents the probability of event B occurring. Here, the abnormal synchronization event is event A, and the conflict event is event B. Then, the probability of occurrence of the conflict and the probability of simultaneous occurrence calculated in steps S510 and S520 are substituted into the conditional probability formula for calculation to obtain the abnormal probability of the conflict relationship, that is, the probability of the abnormal synchronization event also occurring under the condition that the conflict event occurs, which is used to evaluate the correlation between the conflict event and the abnormal synchronization event.
[0041] Step S600, performing synchronization strategy balance identification and optimization of each synchronization resource on the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, outputting a data synchronization strategy result, and performing synchronization control of the self-service terminal with the data synchronization strategy result.
[0042] Specifically, based on the abnormal probability of the conflict relationship, the synchronous data port of the self-service terminal is optimized, and the data synchronization strategy is adjusted, such as adjusting the synchronization frequency, optimizing the network transmission path, and restricting user access, so as to reduce the occurrence of conflicts and anomalies, and realize the balanced allocation and efficient utilization of synchronization resources. Among them, the synchronization strategy balanced identification optimization refers to optimizing the synchronization strategy through an algorithm or model to realize the balanced allocation and efficient utilization of resources. The data synchronization strategy result is an optimized data synchronization strategy, which is used to guide the synchronization control of the self-service terminal. The embodiment of the present application adopts the following technical means: obtaining the synchronization data port, data characteristics, access records and other information of the self-service terminal, identifying the data synchronization characteristics, performing time synchronization dimension, network transmission dimension, user access dimension relationship analysis, obtaining the conflict relationship, using the data synchronization log to search for the conflict relationship and abnormal synchronization information, calculating the abnormal probability of the conflict relationship through conditional probability, performing the synchronization strategy balanced identification optimization of the synchronization data port according to the abnormal probability, and outputting the optimal data synchronization strategy result for synchronization control, so as to achieve the technical effect of flexibly adjusting the synchronization strategy according to the data synchronization requirements, thereby improving the synchronization efficiency and synchronization accuracy.
[0043] In a possible implementation, the synchronization strategy balance identification optimization of each synchronization resource is performed on the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, and the data synchronization strategy result is output. Step S600 further includes step S610, configuring the conflict relationship balance weight according to the abnormal probability of the conflict relationship. Specifically, the abnormal probability of the conflict relationship represents the strength of the correlation between the conflict event and the abnormal synchronization event. The higher the abnormal probability, the stronger the correlation between the conflict event and the abnormal synchronization event, which may have a greater impact on the stability and efficiency of data synchronization. Based on this understanding, a balance weight is assigned to each conflict relationship, and the weight is determined according to the abnormal probability of the conflict relationship, which is used to measure the degree of influence of different conflict relationships on the stability and efficiency of data synchronization. The weight allocation can adopt a variety of methods, such as linear mapping, nonlinear mapping, piecewise function, etc. For example, a threshold can be set, and when the abnormal probability is higher than the threshold, a higher weight is assigned; when the abnormal probability is lower than the threshold, a lower weight is assigned. Alternatively, a function can be designed so that the weight changes smoothly with the change of the abnormal probability.
[0044] Step S620, based on the abnormal probability of the conflict relationship, obtain the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination, where N is the number of conflict relationships. Specifically, a variety of possible solution strategies are designed for each conflict relationship, and these strategies may be adjusting the synchronization time interval, optimizing the network transmission path, limiting user access rights, and the like. Then, based on the abnormal probability of the conflict relationship, select the most appropriate strategy combination for each conflict relationship. For example, for conflict relationships with a higher abnormal probability, a more radical or more comprehensive solution strategy can be selected; for conflict relationships with a lower abnormal probability, a more conservative or more local strategy can be selected. Finally, a strategy combination is generated for each conflict relationship, and these combinations are used as inputs for subsequent equilibrium identification. Among them, the conflict relationship strategy combination is a set of multiple possible solutions designed for a specific conflict relationship, which is used to optimize the data synchronization process.
[0045] Step S630, balance identification is performed on the first conflict relationship strategy combination, the second conflict relationship strategy combination, and up to the Nth conflict relationship strategy combination according to the conflict relationship balance weight, to obtain the data synchronization strategy result. Specifically, the conflict relationship balance weight is used to evaluate the comprehensive effect of different strategy combinations, and the weighted sum or weighted average of each strategy combination is calculated, and the strategy combination with the highest weighted sum or weighted average is selected as the data synchronization strategy result. This implementation method can more accurately optimize the data synchronization process by assigning balance weights to different conflict relationships and selecting the optimal strategy combination based on these weights, which not only improves the stability and efficiency of data synchronization, but also reduces unnecessary waste of resources and the occurrence of conflict events.
[0046] In a possible implementation, based on the abnormal probability of the conflict relationship, a first conflict relationship strategy combination, a second conflict relationship strategy combination, and up to the Nth conflict relationship strategy combination are obtained, and step S620 further includes step S621, performing conflict relationship compensation analysis according to the conflict relationship to determine the compensation direction and compensation parameters. Specifically, an in-depth analysis is performed on the conflict relationship to identify the root causes of the conflict, including time synchronization deviation, network transmission bottleneck, abnormal user access mode, and other aspects. Once the cause of the conflict is identified, the direction of compensation can be determined, that is, the specific aspects to which the compensation measures are directed, such as time synchronization, network transmission, user access, etc. For example, if the conflict is caused by network congestion, then the compensation direction can be to optimize the network transmission path or adjust the data packet size. After the compensation direction is determined, specific compensation parameters are set, which can quantitatively describe the degree of compensation, such as the degree of optimization of the network transmission path, the adjustment range of the data packet size, etc.
[0047] Step S622, search and mutate the dimension parameters of the conflict relationship according to the compensation direction and compensation parameters to obtain a conflict relationship strategy combination. Specifically, based on the compensation direction and compensation parameters determined in step S621, search and mutate the dimension parameters of the conflict relationship to generate possible conflict relationship strategy combinations. Specifically, it is clear which dimension parameters can be searched and mutated. These parameters are closely related to the compensation direction of the conflict relationship, such as the interval of time synchronization, the rate of network transmission, and the user access authority. Next, search and mutate these dimension parameters using search and mutation algorithms (such as genetic algorithms, simulated annealing algorithms, etc.). These algorithms can automatically find the optimal solution or approximate optimal solution in a given search space. Through the search and mutation algorithm, multiple possible conflict relationship strategy combinations are generated, and these combinations are the inputs of equilibrium identification in subsequent steps. This implementation method systematically explores the possible solution space through conflict relationship compensation analysis and dimension parameter search and mutation, thereby finding the optimal or approximate optimal strategy combination for a specific conflict relationship, thereby improving the pertinence and effectiveness of the solution.
[0048] In a possible implementation, the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are balanced and identified according to the conflict relationship balance weight to obtain the data synchronization strategy result. Step S630 further includes step S631, establishing a cost function for each conflict relationship. Specifically, a cost function is established for each conflict relationship to quantify the negative impact of the conflict relationship on the data synchronization process. The cost function is a mathematical expression, which calculates a value according to the specific characteristics of the conflict relationship (such as time delay, data loss rate, network congestion, etc.), and the value reflects the negative impact of the conflict relationship. Therefore, it is first necessary to extract key features from the conflict relationship record information and the abnormal synchronization record information, and these features can accurately reflect the nature and severity of the conflict relationship. Then, based on the extracted features, a cost function is designed, which can reflect the internal strategy balance of the conflict relationship and can map these features to a single value. The smaller the value, the better the balance of the conflict relationship is made by the strategy combination, and vice versa. Finally, the parameters of the cost function are tuned through some experiments or simulations to ensure that it can accurately reflect the actual impact of the conflict relationship.
[0049] Step S632, balancing the conflict relationship strategy combination based on the cost function of the conflict relationship. Specifically, setting an initial parameter value for the conflict relationship strategy combination, iteratively adjusting the parameters of the strategy combination using an optimization algorithm, calculating the output value of the cost function in each iteration, and adjusting the parameters according to the output value until a convergence condition is reached (such as the cost function value no longer decreases significantly).
[0050] Step S633, establish an evaluation function for the self-service terminal, and use the evaluation function to evaluate the strategy cost of the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination. Specifically, a comprehensive evaluation method is used to establish an evaluation function for the self-service terminal. The evaluation function is a mathematical expression for quantifying the overall synchronization cost of the self-service terminal, which combines the costs of multiple conflict relationships and other performance indicators of the self-service terminal, such as synchronization success rate, synchronization speed, etc. The output of this expression is a numerical value, which is used to quantify the overall synchronization effect of the self-service terminal. The smaller the numerical value, the smaller the cost of the strategy combination and the better the overall effect.
[0051] Step S634, based on the conflict relationship balance weight, the policy cost evaluation is minimized and searched to obtain the data synchronization policy result. Specifically, during the search process, the influence of the conflict relationship balance weight on the policy cost evaluation is considered, and these weights reflect the relative importance between different conflict relationships. A search algorithm is used to search in the policy space, and each search calculates the policy cost evaluation (i.e., the output value of the evaluation function), and the search direction is adjusted according to the output value and the conflict relationship balance weight until a policy combination that minimizes the output value of the evaluation function is found. The optimal policy combination found is output as the data synchronization policy result. This implementation method ensures that a good policy equilibrium state is achieved within each conflict relationship by establishing a cost function and optimizing the policy combination. By establishing an evaluation function and performing a minimization search, the costs of multiple conflict relationships and the overall synchronization effect of the self-service terminal are comprehensively considered, so as to find the optimal data synchronization policy result, ensure that the best trade-off point is found between multiple conflict relationships, and achieve the optimization of the overall synchronization effect.
[0052] In the above, refer to Figure 1 The self-service terminal data synchronization optimization method based on feature analysis according to an embodiment of the present invention is described in detail. Figure 2 A self-service terminal data synchronization optimization system based on feature analysis according to an embodiment of the present invention is described.
[0053] The self-service terminal data synchronization optimization system based on feature analysis according to the embodiment of the present invention is used to solve the technical problem that the existing self-service terminal data synchronization lacks flexibility in synchronization strategy, resulting in low synchronization efficiency and insufficient synchronization accuracy, and achieves the technical effect of improving synchronization efficiency and synchronization accuracy by flexibly adjusting the synchronization strategy according to data synchronization requirements. The self-service terminal data synchronization optimization system based on feature analysis includes: a data record acquisition module 10, a data synchronization feature recognition module 20, a conflict relationship acquisition module 30, an information search module 40, a conditional probability calculation module 50, and a synchronization strategy equilibrium recognition optimization module 60.
[0054] The data record acquisition module 10 is used to acquire the synchronization data port, data features, and access records of the self-service terminal; the data synchronization feature identification module 20 is used to identify the data synchronization features according to the synchronization data port, data features, and access records; the conflict relationship acquisition module 30 is used to perform time synchronization dimension, network transmission dimension, and user access dimension relationship analysis according to the data synchronization features to obtain the conflict relationship; the information search module 40 is used to perform conflict relationship and abnormal synchronization information search according to the data synchronization log of the self-service terminal to obtain conflict relationship record information and abnormal synchronization record information; the conditional probability calculation module 50 is used to perform conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information, and output the abnormal probability of the conflict relationship; the synchronization strategy balance identification and optimization module 60 is used to perform synchronization strategy balance identification and optimization of each synchronization resource of the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, output the data synchronization strategy result, and perform synchronization control of the self-service terminal with the data synchronization strategy result.
[0055] The specific configuration of the conflict relationship acquisition module 30 will be described in detail below. As described above, the relationship between the time synchronization dimension, the network transmission dimension, and the user access dimension is analyzed according to the data synchronization characteristics to obtain the conflict relationship. The conflict relationship acquisition module 30 may further include: a dimension relationship alignment unit for aligning the dimension relationship according to the time synchronization dimension, the network transmission dimension, and the user access dimension; a synchronization cross resource extraction unit for extracting synchronization cross resources based on the alignment relationship, wherein the synchronization cross resources are resources commonly occupied by various types of synchronization data in the self-service terminal; a conflict point search unit for searching for conflict points based on the usage load status of the synchronization cross resources, wherein the conflict point is a synchronization usage node whose synchronization cross resource occupancy ratio exceeds the load threshold and whose synchronization efficiency decreases; a mapping association establishment unit for establishing a mapping association between the conflict point and the relationship dimension and the resource load ratio to obtain the conflict relationship.
[0056] Among them, dimension relationship alignment is performed respectively according to the time synchronization dimension, network transmission dimension and user access dimension, and the dimension relationship alignment unit may further include: a key feature parameter configuration subunit is used to configure the key feature parameters of the time synchronization dimension, network transmission dimension and user access dimension, wherein the key feature parameters include a time window and a synchronization frequency; a key feature identification subunit is used to identify and mark the key features of the data synchronization features according to the key feature parameters; and a dimension alignment subunit is used to align the corresponding relationship dimensions according to the key feature identification.
[0057] The specific configuration of the conditional probability calculation module 50 will be described in detail below. As described above, the conditional probability calculation is performed according to the conflict relationship record information and the abnormal synchronization record information, and the abnormal probability of the conflict relationship is output. The conditional probability calculation module 50 may further include: a conflict occurrence probability calculation unit is used to calculate the conflict occurrence probability according to the conflict relationship record information; a simultaneous occurrence probability calculation unit is used to calculate the simultaneous occurrence probability based on the conflict relationship record information and the abnormal synchronization record information; and an abnormal probability calculation unit is used to calculate the abnormal probability of the conflict relationship through a conditional probability formula according to the conflict occurrence probability and the simultaneous occurrence probability.
[0058] The specific configuration of the synchronization strategy balance identification optimization module 60 will be described in detail below. As described above, the synchronization strategy balance identification optimization module 60 performs synchronization strategy balance identification optimization of each synchronization resource on the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, and outputs the data synchronization strategy result. The synchronization strategy balance identification optimization module 60 may further include: a conflict relationship balance weight configuration unit is used to configure the conflict relationship balance weight according to the abnormal probability of the conflict relationship; a conflict relationship strategy combination acquisition unit is used to obtain the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination based on the abnormal probability of the conflict relationship, where N is the number of conflict relationships; and a balance identification unit is used to perform balance identification on the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination according to the conflict relationship balance weight to obtain the data synchronization strategy result.
[0059] Among them, based on the abnormal probability of the conflict relationship, the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are obtained, and the conflict relationship strategy combination acquisition unit may further include: a conflict relationship compensation analysis subunit is used to perform conflict relationship compensation analysis according to the conflict relationship, and determine the compensation direction and compensation parameters; a dimensional parameter search mutation subunit is used to perform dimensional parameter search and mutation of the conflict relationship according to the compensation direction and compensation parameters to obtain the conflict relationship strategy combination.
[0060] Among them, according to the conflict relationship balance weight, the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are balanced and identified to obtain the data synchronization strategy result. The balance identification unit may further include: a cost function establishment subunit for establishing the cost function of each conflict relationship; a conflict relationship strategy combination balancing subunit for balancing the conflict relationship strategy combination based on the cost function of the conflict relationship; a strategy cost evaluation subunit for establishing an evaluation function of the self-service terminal, and using the evaluation function to evaluate the strategy cost of the first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination; a minimization search subunit for minimizing the strategy cost evaluation based on the conflict relationship balance weight to obtain the data synchronization strategy result.
[0061] The self-service terminal data synchronization optimization system based on feature analysis provided in the embodiment of the present invention can execute the self-service terminal data synchronization optimization method based on feature analysis provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0062] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0063] The above specific implementation manner does not constitute a limitation to the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application. In some cases, the actions or steps recorded in the present application can be performed in an order different from that in the embodiment and can still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A self-service terminal data synchronization optimization method based on feature analysis, characterized in that: include: Obtain the synchronization data port, data characteristics, and access records of the self-service terminal; Identify data synchronization features according to the synchronization data port, data features, and access records; According to the data synchronization characteristics, the relationship between the time synchronization dimension, the network transmission dimension, and the user access dimension is analyzed to obtain the conflict relationship; Search for conflicting relationships and abnormal synchronization information based on the data synchronization log of the self-service terminal to obtain conflicting relationship record information and abnormal synchronization record information; Perform conditional probability calculation based on the conflict relationship record information and the abnormal synchronization record information, and output the abnormal probability of the conflict relationship; According to the abnormal probability of the conflict relationship, the synchronization strategy balance identification and optimization of each synchronization resource of the synchronization data port of the self-service terminal is performed, and the data synchronization strategy result is output, and the synchronization control of the self-service terminal is performed based on the data synchronization strategy result.
2. The method for optimizing data synchronization of self-service terminals based on feature analysis according to claim 1, characterized in that: According to the data synchronization feature, the relationship between the time synchronization dimension, the network transmission dimension, and the user access dimension is analyzed to obtain the conflict relationship, including: Perform dimensional relationship alignment according to the time synchronization dimension, network transmission dimension, and user access dimension respectively; Based on the alignment relationship, extract the synchronous cross resources, where the synchronous cross resources are resources commonly occupied by various types of synchronous data in the self-service terminal; Based on the usage load status of the synchronization cross resource, searching for a conflict point, the conflict point being a synchronization usage node whose synchronization cross resource occupancy ratio exceeds a load threshold and whose synchronization efficiency decreases; A mapping association is established between the conflict point, the relationship dimension, and the resource load ratio to obtain the conflict relationship.
3. The method for optimizing self-service terminal data synchronization based on feature analysis according to claim 2, characterized in that: The dimension relationship alignment is performed according to the time synchronization dimension, the network transmission dimension, and the user access dimension, including: Configure key characteristic parameters of the time synchronization dimension, network transmission dimension, and user access dimension, wherein the key characteristic parameters include a time window and a synchronization frequency; Performing key feature recognition and identification on the data synchronization feature according to the key feature parameters; Align the corresponding relationship dimensions according to key feature identifiers.
4. The self-service terminal data synchronization optimization method based on feature analysis according to claim 1, characterized in that: Performing conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information to output the abnormal probability of the conflict relationship includes: Calculating the probability of conflict occurrence according to the conflict relationship record information; Calculating a simultaneous occurrence probability based on the conflict relationship record information and the abnormal synchronization record information; The abnormal probability of the conflict relationship is obtained by calculating the conditional probability formula according to the conflict occurrence probability and the simultaneous occurrence probability.
5. The method for optimizing self-service terminal data synchronization based on feature analysis according to claim 1, characterized in that: According to the abnormal probability of the conflict relationship, the synchronization strategy of each synchronization resource of the synchronization data port of the self-service terminal is balanced and identified and optimized, and the data synchronization strategy result is output, including: According to the abnormal probability of the conflict relationship, configure the conflict relationship balance weight; Based on the abnormal probability of the conflict relationship, a first conflict relationship strategy combination, a second conflict relationship strategy combination, and an Nth conflict relationship strategy combination are obtained, where N is the number of conflict relationships; The first conflict relationship strategy combination, the second conflict relationship strategy combination, and up to the Nth conflict relationship strategy combination are balanced and identified according to the conflict relationship balance weight to obtain the data synchronization strategy result.
6. The method for optimizing self-service terminal data synchronization based on feature analysis according to claim 5, characterized in that: Based on the abnormal probability of the conflict relationship, a first conflict relationship strategy combination, a second conflict relationship strategy combination, and up to an Nth conflict relationship strategy combination are obtained, including: Perform conflict relationship compensation analysis according to the conflict relationship to determine compensation direction and compensation parameters; According to the compensation direction and compensation parameters, the dimension parameters of the conflict relationship are searched and varied to obtain a conflict relationship strategy combination.
7. The method for optimizing self-service terminal data synchronization based on feature analysis according to claim 6, characterized in that: The first conflict relationship strategy combination, the second conflict relationship strategy combination, and the Nth conflict relationship strategy combination are balanced and identified according to the conflict relationship balance weight to obtain the data synchronization strategy result, including: Establish the cost function of each conflict relationship; Balancing the conflict relationship strategy combination based on a cost function of the conflict relationship; Establishing an evaluation function of the self-service terminal, and using the evaluation function to evaluate the strategy costs of the first conflict relationship strategy combination, the second conflict relationship strategy combination, and up to the Nth conflict relationship strategy combination; The strategy cost evaluation is minimized and searched based on the conflict relationship balance weight to obtain the data synchronization strategy result.
8. The self-service terminal data synchronization optimization system based on feature analysis is characterized by: The system is used to implement the self-service terminal data synchronization optimization method based on feature analysis according to any one of claims 1 to 7, and the system includes: The data record acquisition module is used to obtain the synchronization data port, data characteristics, and access records of the self-service terminal; A data synchronization feature identification module, used to identify data synchronization features according to the synchronization data port, data features, and access records; A conflict relationship acquisition module, used to perform relationship analysis on the time synchronization dimension, the network transmission dimension, and the user access dimension according to the data synchronization characteristics to obtain the conflict relationship; An information search module is used to search for conflicting relationships and abnormal synchronization information based on the data synchronization log of the self-service terminal, and obtain conflicting relationship record information and abnormal synchronization record information; A conditional probability calculation module, used to perform conditional probability calculation according to the conflict relationship record information and the abnormal synchronization record information, and output the abnormal probability of the conflict relationship; The synchronization strategy balance identification and optimization module is used to perform synchronization strategy balance identification and optimization of each synchronization resource of the synchronization data port of the self-service terminal according to the abnormal probability of the conflict relationship, output the data synchronization strategy result, and perform synchronization control of the self-service terminal with the data synchronization strategy result.
Citation Information
Patent Citations
Data collecting and monitoring method of electric power mobile operation platform
CN107180459A
Data transmission method and device, electronic equipment and storage medium
CN117294503A
Method for grabbing target data in batch in mass data synchronization process
CN118673034A
Data acquisition method and device, electronic equipment and readable storage medium
CN118708099A
Systems, methods, and devices to map and / or provide an interface to a distributed ledger
WO2023107482A1
Cited By
Cloud-edge collaborative industrial control network security protection method based on strategy library
CN121396652A