Business data processing method and system based on streaming computing

By obtaining real-time data stream slices in the streaming computing system and predicting task correlation strength, and adjusting the business execution process tracking array, the problems of low task scheduling efficiency and inflexible process migration in traditional systems are solved, and efficient and reliable streaming is achieved. calculate.

CN118193590BActive Publication Date: 2024-09-13湖北消费金融股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410115983.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2024-09-13
Estimated Expiration
2044-01-26

AI Technical Summary

Technical Problem

When faced with complex business data flows, traditional stream computing systems have difficulty accurately predicting the correlation strength between tasks, resulting in low task scheduling and execution efficiency, a lack of real-time adjustment mechanisms, and a lack of flexible strategies and accurate judgments during process migration. Resulting in performance loss and resource waste.

Method used

By obtaining business data flow slices of real-time nodes, predict the correlation strength between tasks based on the pre-configured task network, adjust the business execution process tracking array, dynamically adjust the task correlation strength, and generate discriminant information based on the adjusted process migration results, calculate The directive trusts parameters to determine the output target of the streaming directive.

Benefits of technology

It achieves dynamic analysis of business data flow and accurate assessment of task correlation, improves the accuracy and efficiency of streaming computing, enhances the system's control over the business execution process, and improves the reliability and stability of streaming computing instructions. performance, reducing the risk of incorrect instruction execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118193590B
    Figure CN118193590B
Patent Text Reader

Abstract

The present application provides a business data processing method and system based on streaming computing, which obtains the business data stream slices corresponding to the real-time nodes, and predicts the correlation strength in multiple reference tasks based on the pre-configured task network to construct the target task of the target streaming computing instruction. According to these correlation strengths, the business execution process tracking array is adjusted to record and update the correlation strength and maximum correlation strength of the target task. In addition, the process migration is performed according to the adjusted business execution process tracking array, and the first discrimination information is generated based on the migration result. If all business execution processes are judged to be passed, the trust parameters of the target streaming computing instruction are calculated and output. When the trust parameter reaches the set value, the output of the target streaming computing instruction is confirmed. In this way, dynamic analysis and processing of business data stream slices are realized, the accuracy and efficiency of streaming computing are improved, and the system's control over the business execution process is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and system for processing business data based on streaming computing. Background Art

[0002] With the rapid development of information technology, stream computing, as a real-time data processing technology, has been widely used in big data analysis, Internet of Things, financial transactions and other fields. Stream computing can process continuous data streams in real time, provide instant analysis and response, and meet the high requirements for data real-time performance.

[0003] However, traditional streaming computing systems often have some problems when facing complex business data flows. First, due to the dynamic and uncertain nature of business data flows, traditional streaming computing systems find it difficult to accurately predict the strength of associations between tasks, resulting in low efficiency in task scheduling and execution. Second, existing streaming computing systems lack an effective mechanism for tracking and adjusting business execution processes, and are unable to adjust the execution order and resource allocation of tasks in real time according to changes in business data flows. Finally, traditional streaming computing systems often lack flexible migration strategies and accurate migration judgments when performing process migration, resulting in performance loss and resource waste during the migration process. Summary of the invention

[0004] In view of this, the purpose of this application is to provide a business data processing method and system based on streaming computing.

[0005] According to a first aspect of the present application, a method for processing business data based on stream computing is provided, the method comprising:

[0006] Get the business data stream slice corresponding to the real-time node;

[0007] Predicting, based on a previously configured task network, the association strength of the business data stream slice corresponding to each reference task in a plurality of reference tasks, wherein the plurality of reference tasks include a target task constituting a target stream computing instruction;

[0008] Based on the association strength of the business data stream slice associated with each of the reference tasks, adjusting the association strength of the target task in the business execution process tracking array, the business execution process tracking array is used to record the association strength of the target task in a set node window and the maximum association strength of the target task in the set node window, the set node window is a priori node window of the real-time node;

[0009] According to the comparison result between the maximum correlation strength of the current business execution process in the adjusted business execution process tracking array and the preset correlation strength, the current business execution process is migrated based on the task set of the target streaming computing instruction, the current business execution process is a target task in the target streaming computing instruction waiting to be activated at the real-time node, and the task set is a set generated after arranging the target tasks based on the time domain arrangement information of the target tasks in the target streaming computing instruction;

[0010] If the migration result of the process migration meets the set requirements, the first discrimination information of the current business execution process is determined based on the adjusted association strength of the target task in the business execution process tracking array and the maximum association strength of the current business execution process. When the first discrimination information is a passed discrimination, if all business execution processes of the target streaming computing instruction are judged to be passed, the instruction trust parameter of the target streaming computing instruction is calculated;

[0011] If the instruction trust parameter is greater than the set parameter value, it is determined to output the target streaming computing instruction.

[0012] In a possible implementation of the first aspect, the process migration of the current business execution process based on the task set of the target streaming computing instruction according to the comparison result of the adjusted maximum association strength of the current business execution process in the business execution process tracking array and the preset association strength includes:

[0013] If the comparison result indicates that the maximum association strength of the current business execution process is not less than the preset association strength, the current business execution process is arranged forward by one business execution process based on the time domain arrangement information in the target task in the task set, and the current business execution process is the business execution process before the last target task;

[0014] If the comparison result indicates that the maximum association strength of the current business execution process is less than the preset association strength, the current business execution process is arranged one business execution process after the initial business execution process based on the time domain arrangement information in the target task in the task set.

[0015] In a possible implementation of the first aspect, determining that a migration result of the process migration meets a set requirement includes:

[0016] If the migration result of the process migration is to arrange the current business execution process forward by one business execution process based on the time domain arrangement information in the target task in the task set, it is determined that the migration result of the process migration meets the set requirement;

[0017] Alternatively, if the migration result of the process migration is to arrange the current business execution process one business execution process backward based on the time domain arrangement information in the target task in the task set, the current business execution process obtained after arranging the business execution process one business execution process backward is analyzed to generate analysis information;

[0018] If the analysis information indicates that the current business execution process obtained after arranging a business execution process later is not the initial business execution process, it is determined that the migration result of the process migration meets the set requirement.

[0019] In a possible implementation of the first aspect, the method further includes:

[0020] If the analysis information represents that the current business execution process obtained after arranging a business execution process backward is the initial business execution process, the business execution process is restored on the process migration block to generate a basic process migration block. The process migration block includes multiple elements, and the multiple elements include the task set, the current business execution process and the business execution process tracking array.

[0021] In a possible implementation of the first aspect, the task tag of the target task is an abnormal business detection item, and the method further includes:

[0022] Based on the configuration instruction for the target stream computing instruction, generate an abnormal business detection instruction set for the target stream computing instruction;

[0023] Performing an abnormal business detection item search based on the abnormal business detection instructions included in the abnormal business detection instruction set to generate the task set;

[0024] A basic process migration block is constructed based on the task set.

[0025] In a possible implementation of the first aspect, the method further includes:

[0026] When the first determination information is determined to be a passed determination, adjusting the process conversion category of the current business execution process to a first category attribute;

[0027] Determining that all business execution processes of the target stream computing instruction have been judged to have passed includes:

[0028] According to the process conversion categories respectively corresponding to all the business execution processes of the target stream computing instruction, all the business execution processes of the target stream computing instruction are analyzed to generate second discrimination information;

[0029] If the second discrimination information indicates that the process conversion categories corresponding to all the business execution processes of the target stream computing instruction are all the first category attributes, it is determined that all the business execution processes of the target stream computing instruction have passed the discrimination.

[0030] In a possible implementation of the first aspect, the method further includes:

[0031] If the second discrimination information indicates that the process conversion category of at least one business execution process of the target stream computing instruction is a second category attribute, a cost value is determined for the current business execution process to generate a target cost value;

[0032] If the target cost value is not less than the set cost value, the business execution process of the process migration block is restored to generate a basic process migration block.

[0033] In a possible implementation of the first aspect, determining the first discrimination information of the current business execution process based on the adjusted association strength of the target task in the business execution process tracking array and the maximum association strength of the current business execution process includes:

[0034] Acquire a target association strength from the association strength of the target task, where the target association strength is the association strength of the current business execution process determined according to the business data flow slice;

[0035] Comparing the target association strength with the maximum association strength of the current business execution process to generate comparison information;

[0036] If the comparison information shows that the target association strength is less than the maximum association strength of the current business execution process, determining that the first determination information is determined to be determined to be passed;

[0037] If the comparison information shows that the target association strength is not less than the maximum association strength of the current business execution process, it is determined that the first determination information is a determination failure.

[0038] In a possible implementation of the first aspect, the method further includes:

[0039] When the first determination information indicates that the determination fails, the maximum association strength of the current business execution process is adjusted according to the target association strength.

[0040] According to the second aspect of the present application, a streaming computing system is provided, which includes a machine-readable storage medium and a processor, wherein the machine-readable storage medium stores machine-executable instructions, and when the processor executes the machine-executable instructions, the streaming computing system implements the aforementioned business data processing method based on streaming computing.

[0041] According to a third aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed, the aforementioned business data processing method based on streaming computing is implemented.

[0042] According to any one of the above aspects, the technical effect of the present application is:

[0043] The embodiment of the present application obtains the business data flow slice corresponding to the real-time node, and predicts its association strength in multiple reference tasks based on the pre-configured task network to construct the target task of the target stream computing instruction. Then, according to these association strengths, the business execution process tracking array is adjusted to record and update the association strength and maximum association strength of the target task. This method provides a flexible and efficient processing method, which can dynamically adjust the association strength of the task according to the change of the real-time data flow, and improve the accuracy and efficiency of the stream computing. In addition, the process migration is performed according to the adjusted business execution process tracking array, and the first discrimination information is generated based on the migration result. If all business execution processes are judged to be passed, the stream computing system will calculate and output the trust parameters of the target stream computing instruction. When the trust parameter reaches the set value, the stream computing system confirms the output of the target stream computing instruction. This method not only enhances the control over the process execution results, but also improves the reliability and stability of the stream computing instruction. As a result, the dynamic analysis and processing of the business data flow slice is realized, the accuracy and efficiency of the stream computing are improved, the control of the system over the business execution process is enhanced, and the reliability and stability of the stream computing instruction are improved.

[0044] That is to say, the present application achieves dynamic analysis of business data flows and accurate assessment of task relevance by obtaining the business data flow slice corresponding to the real-time node and predicting the strength of association between the slice and multiple reference tasks based on the previously configured task network. Furthermore, the strength of association between the business data flow slice and the reference task is used to adjust the strength of association of the target task in the business execution process tracking array, thereby reflecting the actual association status between the tasks in real time. By comparing the maximum strength of association of the current business execution process in the adjusted business execution process tracking array with the preset strength of association, the present invention can intelligently migrate the current business execution process and optimize the execution efficiency and accuracy of the streaming computing instructions. At the same time, after the process migration, based on the strength of association of the target task in the adjusted business execution process tracking array and the maximum strength of association of the current business execution process, the first discrimination information of the current business execution process is determined, further ensuring the reliability of the streaming computing instructions. When all business execution processes of the target streaming computing instruction are judged to have passed, the instruction trust parameter of the instruction is calculated, and the output target streaming computing instruction is determined when the instruction trust parameter is greater than the set parameter value. This mechanism effectively improves the instruction screening capability and overall execution performance of the streaming computing system, and reduces the execution risk of erroneous instructions. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 A flow chart of a method for processing business data based on streaming computing provided in an embodiment of the present application;

[0047] Figure 2 A schematic diagram of the component structure of a streaming computing system provided in an embodiment of the present application for implementing the above-mentioned streaming computing-based business data processing method is shown. DETAILED DESCRIPTION

[0048] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0049] Those skilled in the art will appreciate that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when an element is "connected" or "coupled" to another element, the element may be directly connected or coupled to the other element, or may refer to the element and the other element establishing a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B".

[0050] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation mode of the present application will be further described in detail with reference to the accompanying drawings. The technical solution of the embodiment of the present application and the technical effect produced by the technical solution of the present application are explained below by describing several exemplary implementation modes. It should be pointed out that the following implementation modes can refer to, draw lessons from or combine with each other, and the same terms, similar features and similar implementation steps in different implementation modes are not described repeatedly.

[0051] Figure 1 The flowchart of the business data processing method and system based on streaming computing provided by the embodiment of the present application is shown. It should be understood that in other embodiments, the order of some steps in the business data processing method based on streaming computing of this embodiment can be shared with each other according to actual needs, or some steps can be omitted or maintained. The detailed steps of the business data processing method based on streaming computing include:

[0052] Step S110, obtain the business data flow slice corresponding to the real-time node, and predict the association strength of the business data flow slice corresponding to each reference task in multiple reference tasks based on the previously configured task network, and the multiple reference tasks include the target task constituting the target streaming computing instruction.

[0053] In a streaming computing system, a real-time node refers to a computing unit that can receive and process data streams in real time. It is responsible for capturing data streams from data sources and processing and analyzing the data in a very short time. For example, in the recommendation system of an e-commerce platform, a real-time node may be responsible for receiving users' real-time browsing and purchasing data in order to immediately update the recommendation model and provide personalized recommendation content.

[0054] A business data stream slice refers to a subset of data within a time window intercepted from the entire business data stream. This business data stream slice contains business events or records within a specific time period and is used for real-time processing in the stream computing system. For example, in a trading system, a business data stream slice may contain all transaction records in the past five minutes, which are used to calculate real-time transaction volume statistics.

[0055] The pre-configured task network refers to a set of pre-defined tasks and their interrelationships in the streaming computing system, which describes the dependencies, execution order, and data flow paths between different tasks. For example, in an intelligent traffic management system, the task network may include multiple tasks such as vehicle detection, traffic flow analysis, and congestion warning, which are interconnected in a certain logical order and data dependency.

[0056] The reference tasks are part of the task network, which are used to evaluate the strength of association between business data stream slices and various tasks. Reference tasks may include target tasks and other related tasks. For example, in a social media analysis platform, reference tasks may include sentiment analysis, topic detection, user behavior prediction, etc. These tasks are used to analyze real-time tweet data streams and extract valuable information.

[0057] The association strength refers to the correlation or closeness between a business data stream slice and a specific task. It can be quantified by calculating the statistical correlation between data features and task objectives, pattern matching, or prediction confidence of a machine learning model. For example, in a fraud detection system, the association strength may indicate the similarity between a real-time transaction and a known fraud pattern, and a higher association strength may mean that the transaction has a greater risk of fraud.

[0058] The target task is one of the specific tasks that constitute the target stream computing instruction. It is a task that needs to be focused on and optimized in the stream computing system, and is usually directly related to the business goal. For example, in an online advertising system, the target task may be the selection and delivery of real-time bidding ads. The optimization of this task directly affects the display effect and revenue of the ads.

[0059] The target stream computing instructions refer to a set of task execution instructions defined in the stream computing system, which describe how to process and analyze real-time data streams to achieve specific business goals. For example, in an energy management system, the target stream computing instructions may include the execution logic and parameter configuration of tasks such as real-time energy consumption monitoring, peak load forecasting, and energy scheduling.

[0060] Thus, in a busy streaming computing environment, the real-time nodes continuously receive and process business data streams. In this step, the first task of the streaming computing system is to capture a slice of the business data stream associated with a specific real-time node. This business data stream slice represents the data that arrives in a short time window, which may contain tens of thousands of events or records.

[0061] After capturing a data stream slice, the data can be analyzed using a pre-configured task network. The task network is a complex structure that defines the relationships and dependencies between various tasks. For the current data stream slice, the strength of its association with multiple reference tasks can be predicted. These reference tasks include the target tasks that constitute the target streaming computation instructions. The prediction of association strength may be based on historical data, machine learning models, or rule engines, which can generate a numerical value representing the correlation for each task.

[0062] Step S120, based on the association strength of the business data flow slice associated with each of the reference tasks, adjust the association strength of the target task in the business execution process tracking array, the business execution process tracking array is used to record the association strength of the target task in the set node window and the maximum association strength of the target task in the set node window, the set node window is the prior node window of the real-time node.

[0063] The business execution process tracking array is a data structure used to record and track the correlation strength of the target task within a set node window in a streaming computing system. It can be a dynamically updated array or matrix that can store and reflect the changes in the correlation between the real-time data stream and the target task. For example, in the recommendation system of an e-commerce platform, the business execution process tracking array may record the correlation strength between different recommendation algorithms (i.e., target tasks) and user interests when users browse products in real time. As user behavior continues to change, this array will also be updated in real time to ensure that the recommended content is always highly relevant to user interests.

[0064] The set node window refers to a time window predefined in streaming computing, which is used to limit the time range for recording the correlation strength in the business execution process tracking array. The size and position of this window are determined according to system requirements and business scenarios. For example, in a trading system, the set node window may be the trading data within the past hour, and the correlation strength between each trading strategy (i.e., target task) and the current market status can be calculated and updated based on the data in this time window.

[0065] The prior node window refers to the time window of the data stream that has been processed before the real-time node. The data in this window is known and previous information for the real-time node, and can be used to assist the data processing and decision-making of the current node. For example, in video stream processing, the prior node window may contain the picture information of the previous few frames of video. When the real-time node processes the current frame, it can use the information in the prior node window to detect moving objects, identify scene changes, etc.

[0066] Association strength adjustment refers to the process of updating or recalculating the association strength of the target task in the business execution process tracking array based on the association strength between the real-time data stream slice and the reference task. This process is designed to ensure that the association strength in the array always reflects the latest correlation between the data stream and the task. For example, in an intelligent transportation system, when new traffic flow data (real-time data stream slice) arrives, the association strength of the congestion warning task (target task) in the business execution process tracking array can be adjusted based on the association strength between this data and the traffic congestion prediction model (reference task). If the new data shows that the risk of congestion has increased, the corresponding association strength in the array will also increase accordingly.

[0067] That is to say, in this embodiment, the business execution process tracking array is a key component in the stream computing system, which records the association strength and maximum association strength of the target task in the set node window. This business execution process tracking array not only stores the current association strength information, but also retains historical data so that the system can track the changes in association strength.

[0068] Thus, the calculated association strength can be used to adjust the value in the business execution process tracking array. If the new association strength is higher than the previously recorded value, the corresponding entry in the business execution process tracking array is updated. This adjustment is continuous, ensuring that the business execution process tracking array always reflects the latest association strength information.

[0069] In addition, you can also pay attention to the change in the maximum association strength. If at a certain point in time, the association strength between a new data stream slice and a task exceeds the previously recorded maximum value, the record of the maximum association strength can be updated. This tracking of the maximum association strength is crucial for subsequent process migration and decision making.

[0070] Step S130, based on the comparison result of the maximum association strength of the current business execution process in the adjusted business execution process tracking array and the preset association strength, the current business execution process is migrated based on the task set of the target streaming computing instruction, the current business execution process is a target task in the target streaming computing instruction waiting to be activated in the real-time node, and the task set is a set generated after sorting the target task based on the time domain arrangement information of the target task in the target streaming computing instruction.

[0071] The preset correlation strength is a threshold value preset in the stream computing system, which is used to evaluate whether the correlation between the current business execution process and the target task is strong enough. When the actual correlation strength is lower than this preset value, process migration may be considered.

[0072] Process migration refers to the process of dynamically adjusting the business execution process in a streaming computing system based on the current data flow and task status. This usually involves transferring processing resources from one task to another to adapt to changes in data flow or optimize system performance.

[0073] The target task waiting for activation refers to the task in the target streaming computing instruction that has not started execution in the real-time node but is ready to be started at any time according to the system scheduling and data flow situation.

[0074] The task set refers to a group of related tasks generated based on the time domain arrangement information of the target task in the target stream computing instruction. These tasks are usually organized together in a specific order or dependency relationship to support the realization of business goals.

[0075] The time-domain arrangement information refers to the relevant information of the target task in the target stream computing instruction arranged in time order. This includes the start time, end time, execution order, and possible time interval of the task. For example, in a trading strategy, the time-domain arrangement information may describe the triggering order and time interval between different trading signals (i.e., target tasks), such as first detecting that the stock price breaks through a certain threshold, and then waiting for a certain period of time before executing a buy or sell operation.

[0076] That is, in this step, process migration refers to dynamically adjusting the processing flow according to the current data flow and task status. Therefore, in the embodiment, whether to perform process migration can be evaluated based on the information in the adjusted business execution process tracking array.

[0077] Specifically, the maximum correlation strength of the current business execution process can be compared with a preset correlation strength threshold. This correlation strength threshold is a pre-set standard for judging whether the current process is effective enough. If the maximum correlation strength is lower than this correlation strength threshold, it can be considered that the current process is no longer the best choice and migration is considered.

[0078] The goal of migration is to select a new task to execute from the task set of the target streaming instruction. This task set is organized based on the time domain arrangement information of the target task in the instruction. The streaming computing system will select the next task to execute based on various factors (such as task priority, resource availability, etc.) and ensure that the migration process is as smooth and efficient as possible.

[0079] Step S140, if the migration result of the process migration meets the set requirements, then based on the adjusted association strength of the target task in the business execution process tracking array and the maximum association strength of the current business execution process, determine the first judgment information of the current business execution process. When the first judgment information is a passed judgment, if all business execution processes of the target streaming computing instruction are judged to be passed, calculate the instruction trust parameter of the target streaming computing instruction. If the instruction trust parameter is greater than the set parameter value, determine to output the target streaming computing instruction.

[0080] After the process migration is completed, the effect of the migration needs to be evaluated. In this embodiment, it is possible to check whether the new process configuration meets the preset performance indicators and requirements. These indicators may include processing delay, throughput, resource utilization, etc.

[0081] If the migration result meets these requirements, the association strength of the target task in the adjusted business execution process tracking array and the maximum association strength of the current business execution process can be further calculated, and a first judgment information is determined based on this information. This judgment information is a comprehensive evaluation result used to determine whether the current process is effective enough to continue execution.

[0082] Next, check whether all other business execution processes in the target streaming instruction have also passed a similar judgment process. Only when all processes are considered valid will the streaming computing system calculate the trust parameter of the entire instruction. This trust parameter is a summary score that reflects the overall reliability and performance of the instruction.

[0083] Finally, the trust parameter can be compared with a preset parameter value. If the trust parameter exceeds this value, the output target streaming computing instruction is determined. This means that the instruction is considered reliable and valid enough to be further processed or applied to related business scenarios.

[0084] Exemplarily, the specific implementation process of calculating the instruction trust parameter of the instruction and determining whether to output the instruction can be explained by the following detailed example:

[0085] Suppose there is a recommendation system for an e-commerce platform that uses streaming computing to process users' real-time browsing and purchasing data and generates personalized product recommendations based on this data. In this scenario, the target streaming computing instruction may be a specific recommendation algorithm, which includes multiple business execution processes, such as data preprocessing, feature extraction, model prediction, and recommendation result sorting.

[0086] First, we can judge each business execution process according to the preset rules and conditions to ensure that they are all completed successfully and without errors. For example, the data preprocessing process needs to ensure that the input data is in the correct format and has no missing values; the feature extraction process needs to extract features that can effectively represent user interests and product characteristics, etc.

[0087] Once all business execution processes have passed the judgment, the instruction trust parameter of the target streaming computing instruction is calculated. This instruction trust parameter is a comprehensive evaluation indicator, which may be based on multiple factors, such as historical recommendation accuracy, user feedback, process execution efficiency, etc.

[0088] For example, a weighted average method can be used to calculate the instruction trust parameter, where each business execution process has an associated weight and evaluation value. These weights and evaluation values ​​can be adjusted according to business needs and system performance. The calculated instruction trust parameter is compared with a pre-set parameter value. This set parameter value represents the system's minimum requirement for the performance of the recommendation algorithm. If the instruction trust parameter is greater than the set parameter value, it means that the performance of the current recommendation algorithm is good enough to be output to the user; otherwise, other alternative algorithms may be selected or further optimized.

[0089] When the instruction trust parameters meet the requirements, the output target stream computing instruction is determined, that is, the recommendation results are displayed to the user. This output process may involve presenting the recommendation results to the user in a preset format and manner, such as through a web page, APP interface, or email.

[0090] For example, suppose there is a recommendation algorithm A, which includes four business execution processes: data preprocessing, feature extraction, model prediction, and recommendation result sorting. Each process has an associated evaluation value and weight, which is used to calculate the instruction trust parameter.

[0091] The evaluation value of the data preprocessing process is 0.9 (indicating good data quality) and the weight is 0.2.

[0092] The evaluation value of the feature extraction process is 0.8 (indicating that the extracted features are more effective) and the weight is 0.3.

[0093] The evaluation value of the model prediction process is 0.85 (indicating that the model prediction accuracy is high) and the weight is 0.4.

[0094] The evaluation value of the recommendation result sorting process is 0.9 (indicating that the sorting algorithm is better), and the weight is 0.1.

[0095] The parameter value is set to 0.82, that is, the result of the recommendation algorithm A will be output only when the instruction trust parameter is greater than 0.82.

[0096] Then, instruction trust parameter = 0.9*0.2+0.8*0.3+0.85*0.4+0.9*0.1=0.85

[0097] Since the instruction trust parameter 0.85 is greater than the set parameter value 0.82, the system will determine to output the result of recommendation algorithm A to the user. In this process, the evaluation value and weight of each business execution process can be adjusted and optimized according to the actual situation to improve the performance and accuracy of the recommendation algorithm. At the same time, the set parameter value can also be dynamically adjusted according to business needs to meet the performance requirements in different scenarios.

[0098] Based on the above steps, the embodiment of the present application obtains the business data flow slice corresponding to the real-time node, and predicts its association strength in multiple reference tasks based on the pre-configured task network to construct the target task of the target streaming computing instruction. Then, according to these association strengths, the business execution process tracking array is adjusted to record and update the association strength and maximum association strength of the target task. This method provides a flexible and efficient processing method, which can dynamically adjust the association strength of the task according to the changes in the real-time data flow, thereby improving the accuracy and efficiency of streaming computing. In addition, the process migration is performed according to the adjusted business execution process tracking array, and the first discrimination information is generated based on the migration result. If all business execution processes are judged to be passed, the streaming computing system will calculate and output the trust parameters of the target streaming computing instruction. When the trust parameter reaches the set value, the streaming computing system confirms the output of the target streaming computing instruction. This method not only enhances the control over the process execution results, but also improves the reliability and stability of the streaming computing instructions. As a result, dynamic analysis and processing of business data stream slices are achieved, the accuracy and efficiency of streaming computing are improved, the system's control over business execution processes is enhanced, and the reliability and stability of streaming computing instructions are improved.

[0099] That is to say, the present application achieves dynamic analysis of business data flows and accurate assessment of task relevance by obtaining the business data flow slice corresponding to the real-time node and predicting the strength of association between the slice and multiple reference tasks based on the previously configured task network. Furthermore, the strength of association between the business data flow slice and the reference task is used to adjust the strength of association of the target task in the business execution process tracking array, thereby reflecting the actual association status between the tasks in real time. By comparing the maximum strength of association of the current business execution process in the adjusted business execution process tracking array with the preset strength of association, the present invention can intelligently migrate the current business execution process and optimize the execution efficiency and accuracy of the streaming computing instructions. At the same time, after the process migration, based on the strength of association of the target task in the adjusted business execution process tracking array and the maximum strength of association of the current business execution process, the first discrimination information of the current business execution process is determined, further ensuring the reliability of the streaming computing instructions. When all business execution processes of the target streaming computing instruction are judged to have passed, the instruction trust parameter of the instruction is calculated, and the output target streaming computing instruction is determined when the instruction trust parameter is greater than the set parameter value. This mechanism effectively improves the instruction screening capability and overall execution performance of the streaming computing system, and reduces the execution risk of erroneous instructions.

[0100] In a possible implementation, in step S130, if the comparison result indicates that the maximum association strength of the current business execution process is not less than the preset association strength, the current business execution process is arranged forward by one business execution process based on the time domain arrangement information in the target task in the task set, and the current business execution process is the business execution process before the last target task.

[0101] For example, in the recommendation system of an e-commerce platform, the streaming computing system is responsible for processing users' real-time browsing and purchasing data and generating personalized product recommendations based on this data. The business execution process includes steps such as user behavior analysis, interest modeling, recommendation algorithm application, and recommendation list generation.

[0102] When the streaming computing system detects changes in the real-time data stream, it evaluates the maximum correlation strength of the current business execution process and compares it with the preset correlation strength. Based on the comparison results, it decides whether the process needs to be migrated.

[0103] For example, suppose a user suddenly starts browsing a certain category of products (such as sports shoes) frequently and adds multiple items to the shopping cart. In this case, the association strength of the recommended tasks related to the user in the business execution process tracking array will be significantly improved.

[0104] If the maximum correlation strength is not less than the preset correlation strength, the current data stream is considered to be highly relevant to the recommendation task. Therefore, the current business execution process (such as recommendation algorithm application) can be arranged in front, that is, immediately after user behavior analysis and interest modeling. The purpose of this is to generate a personalized recommendation list for the user as soon as possible, so as to provide timely recommendation services when the user's shopping enthusiasm is high.

[0105] Furthermore, if the comparison result indicates that the maximum association strength of the current business execution process is less than the preset association strength, the current business execution process is arranged one business execution process backward based on the time domain arrangement information in the target task in the task set, and the current business execution process is the business execution process after the initial business execution process.

[0106] On the other hand, if a user just browses some products casually without showing a clear purchase intention, the association strength of the recommendation tasks related to this user may be relatively low.

[0107] If the maximum correlation strength is less than the preset correlation strength, the current data stream is considered to be not highly relevant to the recommendation task. Therefore, it will postpone the current business execution process (such as recommendation list generation) to a later time, that is, to collect more user data and analyze user behavior. The purpose of this is to avoid generating inaccurate recommendation lists when user intent is unclear, thereby wasting computing resources and user time.

[0108] In this way, the order of business execution processes can be dynamically adjusted according to the actual data flow and task relevance to improve the accuracy of recommendations and user satisfaction. At the same time, it can also better respond to changes in real-time data flows and maintain efficient and flexible task execution capabilities.

[0109] In a possible implementation, determining whether a migration result of the process migration meets set requirements includes:

[0110] If the migration result of the process migration is to arrange the current business execution process forward by one business execution process based on the time domain arrangement information in the target task in the task set, it is determined that the migration result of the process migration meets the set requirement.

[0111] In the recommendation system of the e-commerce platform, the streaming computing system continuously monitors the business execution process and migrates the process according to the characteristics of the real-time data stream.

[0112] For example, when the streaming computing system detects that a user's browsing behavior suddenly becomes very active, such as viewing multiple items of the same category in succession, it can be considered a strong purchase signal. In this case, in order to respond to user needs more quickly and improve the recommendation effect, the current business execution process (such as the application of the recommendation algorithm) can be arranged one business execution process forward.

[0113] Specifically, if the original process is "user behavior analysis -> interest modeling -> recommendation algorithm application -> recommendation list generation", then the process after the previous arrangement may become "user behavior analysis -> recommendation algorithm application -> interest modeling -> recommendation list generation". The advantage of this is that it can respond to new user behaviors more quickly, because the recommendation algorithm application is advanced before interest modeling.

[0114] In this case, since the forward arrangement is to better adapt to the changes in real-time data flow and improve the efficiency of task execution, the system can determine that the migration result of this process migration meets the set requirements.

[0115] Alternatively, if the migration result of the process migration is to arrange the current business execution process one business execution process backward based on the time domain arrangement information in the target task in the task set, the current business execution process obtained after arranging one business execution process backward is analyzed to generate analysis information.

[0116] If the analysis information indicates that the current business execution process obtained after arranging a business execution process later is not the initial business execution process, it is determined that the migration result of the process migration meets the set requirement.

[0117] On the other hand, if a user's browsing behavior is sparse or has no obvious purchase intention, it can be considered that the current data stream is not strongly related to the recommendation task. In this case, in order to avoid wasting computing resources and generating inaccurate recommendation lists, the current business execution process can be postponed by one business execution process.

[0118] For example, the original process is "user behavior analysis -> interest modeling -> recommendation algorithm application -> recommendation list generation", and the process after the arrangement may become "user behavior analysis -> interest modeling -> recommendation list generation -> recommendation algorithm application". The advantage of this is that it gives the system more time to collect and analyze user data, so as to generate a more accurate recommendation list when the user shows a clearer purchase intention.

[0119] However, after arranging a business execution process, additional analysis is required to ensure the correctness of the migration results. Specifically, you can check whether the current business execution process obtained after arranging a business execution process is the initial business execution process. If it is not the initial business execution process, it means that the migration has not caused process loops or confusion, so it can be determined that the migration result of the process migration meets the set requirements.

[0120] For example, in this scenario, even if the recommendation algorithm application is postponed, it is still not the initial business execution process (user behavior analysis), so it can be determined that this process migration meets the set requirements.

[0121] By processing these two scenarios, the streaming computing system can dynamically adjust the order of business execution processes according to actual conditions to better adapt to changes in real-time data streams and improve the efficiency and accuracy of task execution.

[0122] In a possible implementation, if the analysis information represents that the current business execution process obtained after arranging a business execution process backward is the initial business execution process, the business execution process is restored on the process migration block to generate a basic process migration block, and the process migration block includes multiple elements, and the multiple elements include the task set, the current business execution process and the business execution process tracking array.

[0123] In the recommendation system of the e-commerce platform, the streaming computing system not only needs to migrate the process according to the characteristics of the real-time data stream, but also needs to handle possible abnormal situations to ensure the stability and continuity of the system.

[0124] For example, when a streaming computing system monitors a user's recommendation process, if the user's behavior data is not sufficient to support effective recommendations or the system misjudges the real-time nature of the data, it is possible that after trying to arrange a business execution process later, the current business execution process obtained is actually the initial business execution process. This situation usually means that the process migration has caused a loop or returned to the starting point, which is not the expected result.

[0125] For example, the original business execution process may be "user behavior analysis -> interest modeling -> recommendation algorithm application -> recommendation list generation". If for some reason, the streaming computing system decides to put "recommendation algorithm application" at the end, but after the arrangement it returns to "user behavior analysis", this forms a closed loop with no substantial progress.

[0126] To avoid this situation, when it is detected that the business execution process is returned to the initial business execution process after the backward arrangement, a business execution process restoration mechanism will be triggered. Specifically, the process migration block can be restored to generate a basic process migration block. This process migration block is a container containing multiple elements, including a task set, the current business execution process, and a business execution process tracking array.

[0127] In this scenario, the task set may include all tasks related to user recommendation, such as data collection, preprocessing, user behavior analysis, interest modeling, recommendation algorithm application, etc.; the current business execution process refers to the tasks that are being executed or about to be executed, such as "user behavior analysis"; the business execution process tracking array is a data structure that records the execution status and correlation strength of each task in the process.

[0128] Through business execution process restoration, the chaos caused by process migration can be reset and returned to a stable and controllable state. In this state, the real-time data flow can be re-evaluated, and based on the new evaluation results, it can be decided whether the process migration needs to be performed again. In this way, system instability and resource waste caused by incorrect process migration can be avoided, and the robustness and reliability of the system can be improved.

[0129] In a possible implementation manner, the task tag of the target task is an abnormal business detection item, and the method further includes:

[0130] Step A110: Based on the configuration instruction for the target stream computing instruction, generate an abnormal business detection instruction set for the target stream computing instruction.

[0131] Step A120: Search for abnormal service detection items based on the abnormal service detection instructions included in the abnormal service detection instruction set to generate the task set.

[0132] Step A130: construct a basic process migration block based on the task set.

[0133] For example, in the recommendation system of an e-commerce platform, the streaming computing system must not only handle the normal business execution process, but also have the ability to detect abnormal business to ensure stability and security.

[0134] For example, when the stream computing system receives a target stream computing instruction, and the task tag of the target stream computing instruction is marked as an abnormal business detection item, it first generates an abnormal business detection instruction set according to the configuration instructions of the instruction. This abnormal business detection instruction set contains a series of instructions for detecting different types of abnormal business, such as detecting traffic surges, detecting abnormal user behavior, detecting data inconsistency, etc.

[0135] For example, in the recommendation system of an e-commerce platform, abnormal business may include malicious order brushing, false reviews, ad click fraud, etc. In order to detect these anomalies, the streaming computing system may generate a series of related detection instructions, such as analyzing user behavior patterns, monitoring review quality, and detecting click rate anomalies.

[0136] After generating the abnormal business detection instruction set, the stream computing system will use these instructions to search for abnormal business detection items. For example, it can search for abnormal patterns or behaviors that match these instructions in the real-time data stream.

[0137] For example, you may find that a user browses and purchases a large number of items in a very short period of time. This behavior pattern is inconsistent with normal user behavior, so it is marked as a potential abnormal business detection item.

[0138] Once potential abnormal business detection items are found, a task set is constructed based on these detection items. This task set contains all the tasks required to handle these abnormal businesses, such as further data analysis, user behavior verification, abnormal report generation, etc.

[0139] Subsequently, a basic process migration block is constructed based on this task set, which contains not only the task set itself but also other information related to these tasks, such as the priority, execution order, and dependency of the tasks.

[0140] For example, when handling abnormal business involving malicious order brushing, the basic process migration block may include data analysis tasks (analyzing the patterns and characteristics of order brushing behavior), user behavior verification tasks (verifying whether the user behavior suspected of order brushing is real), abnormal report generation tasks (generating a report containing details of order brushing), etc.

[0141] By building basic process migration blocks, the stream computing system can handle abnormal business in an orderly manner to ensure the stability and security of the system. At the same time, since the migration block contains all the tasks and related information required to handle abnormal business, it can respond to and handle different types of abnormal business more efficiently.

[0142] In a possible implementation manner, when the first determination information is determination passed, the process conversion category of the current business execution process is adjusted to a first category attribute.

[0143] Determining that all business execution processes of the target streaming computing instruction have been judged to have passed includes: analyzing all business execution processes of the target streaming computing instruction according to the process conversion categories respectively corresponding to all business execution processes of the target streaming computing instruction, and generating second judgment information. If the second judgment information indicates that the process conversion categories respectively corresponding to all business execution processes of the target streaming computing instruction are all the first category attributes, it is determined that all business execution processes of the target streaming computing instruction have been judged to have passed.

[0144] For example, in the recommendation system of an e-commerce platform, the streaming computing system not only needs to handle the business execution process, but also needs to judge and adjust the process to ensure the correctness and efficiency of the process.

[0145] When the stream computing system determines a business execution process and the first determination information is that the determination is passed, the process conversion category of the current business execution process can be adjusted to the first category attribute. This step means that the system believes that the business execution process meets the preset standards or requirements and can be classified as the first category attribute for subsequent processing and management.

[0146] For example, in the recommendation system of an e-commerce platform, a business execution process may be "user behavior analysis -> interest modeling -> recommendation algorithm application". If it is determined that this process can effectively process real-time data streams and generate accurate recommendation results, then its process conversion category will be adjusted to the first category attribute, indicating that this is an efficient and reliable process.

[0147] In order to determine whether all business execution processes of the target stream computing instruction have been judged to be passed, analysis can be performed based on the process conversion categories corresponding to these business execution processes. The stream computing system compares whether each process conversion category is consistent with the first category attribute and generates second judgment information.

[0148] For example, the target stream computing instruction may contain multiple business execution processes, such as "user behavior analysis", "interest modeling", "recommendation algorithm application" and "recommendation list generation". The stream computing system will check whether the process conversion categories of these processes are all first-category attributes.

[0149] If the second discrimination information indicates that the process conversion categories corresponding to all the business execution processes of the target stream computing instruction are all the first category attributes, it can be determined that all the business execution processes of the target stream computing instruction have passed the discrimination. This means that the system believes that these processes are efficient and reliable and can continue to be executed or proceed to the next step.

[0150] For example, in the above scenario, if the process conversion categories of the four processes of "user behavior analysis", "interest modeling", "recommendation algorithm application" and "recommendation list generation" are all adjusted to the first category attributes, then the system will determine that these processes have passed the judgment and can continue to execute to generate a recommendation list and provide it to the user.

[0151] Through the above process identification and adjustment mechanism, the streaming computing system can ensure that only business execution processes that meet the requirements will be executed or continue to be executed, thereby improving the efficiency and accuracy of the system.

[0152] In a possible implementation, if the second discrimination information indicates that the process conversion category of at least one business execution process of the target stream computing instruction is a second category attribute, a cost value is determined for the current business execution process to generate a target cost value. If the target cost value is not less than the set cost value, the process migration block is restored to the business execution process to generate a basic process migration block.

[0153] For example, in the recommendation system of an e-commerce platform, the streaming computing system needs to continuously identify and optimize the business execution process to ensure performance and accuracy.

[0154] For example, when the stream computing system analyzes the business execution process of the target stream computing instruction, if it finds that the process conversion category of at least one process is the second category attribute (which usually means that the process has some problems or does not meet expectations), the stream computing system will determine the cost value of the current business execution process. This cost value is used to quantify the cost or risk of process execution, which may be based on multiple factors, such as process complexity, resource consumption, error rate, etc.

[0155] For example, in a recommendation system, a business execution process may be marked as a second-category attribute due to data delay or algorithm error. Therefore, the impact of this process on the overall recommendation performance can be evaluated and a corresponding cost value can be given.

[0156] After determining the target cost of the current business execution process, it can be compared with a preset set cost value. This set cost value is the maximum cost or risk threshold acceptable to the system, which is usually set based on system performance requirements, business needs and resource constraints.

[0157] If the target cost value is not less than the set cost value, it means that the cost or risk of the current business execution process is too high, and intervention is needed to avoid potential problems.

[0158] When it is detected that the target cost value is not less than the set cost value, a process restoration mechanism can be triggered. Specifically, the business execution process of the process migration block can be restored to generate a basic process migration block. This basic process migration block is a simplified or reset process designed to bring the system back to a more stable and lower-risk state.

[0159] For example, in a recommendation system, if a business execution process is judged to be too costly due to a high error rate, it may be chosen to revert to a more basic recommendation algorithm, sacrificing some personalization to ensure the stability and accuracy of the recommendation results.

[0160] Through such cost value determination and process restoration mechanisms, the streaming computing system can dynamically manage and optimize the business execution process to ensure that it remains efficient and stable when facing different challenges.

[0161] In a possible implementation, step S140 may include:

[0162] Step S141, obtaining a target association strength from the association strength of the target task, wherein the target association strength is the association strength of the current business execution process determined based on the business data flow slice.

[0163] Step S142: Compare the target association strength with the maximum association strength of the current business execution process to generate comparison information.

[0164] Step S143: If the comparison information shows that the target association strength is less than the maximum association strength of the current business execution process, it is determined that the first determination information is determined to be passed.

[0165] Step S144: if the comparison information shows that the target association strength is not less than the maximum association strength of the current business execution process, it is determined that the first determination information is a determination failure.

[0166] In a streaming computing system, determining the effectiveness of a business execution process is a key step, which relies on an accurate assessment of the strength of association between each task in the process.

[0167] For example, when a streaming computing system processes a business data stream, it can evaluate the correlation strength of each task in the current business execution process based on the characteristics of the data stream and the slice information. These correlation strengths reflect the dependencies and mutual influences between tasks. Among them, the correlation strength of the target task can be extracted from the business execution process tracking array, and this correlation strength is calculated based on the current business data stream slice.

[0168] For example, when processing a real-time transaction data stream of an e-commerce platform, the strength of the association between the two tasks of "user browsing products" and "user placing an order" may be evaluated. If a user purchases a product soon after browsing it, the strength of the association between the two tasks will be high.

[0169] After obtaining the target association strength, it can be compared with the maximum association strength of the current business execution process. The maximum association strength represents the strongest possible association between all tasks in the current process. It is a benchmark value used to determine whether the target association strength has reached a sufficiently high level.

[0170] In this comparison process, a contrast information is generated, which reflects the relationship between the target association strength and the maximum association strength.

[0171] Based on the comparison information, the first judgment information of the current business execution process can be determined. If the comparison information shows that the target association strength is less than the maximum association strength, this means that although the task association in the current process exists, it has not yet reached the strongest state, so it can be considered that this is a valid process configuration, and the first judgment information is determined as passed.

[0172] On the contrary, if the target association strength is not less than the maximum association strength, this may mean that the association between the tasks is too close, or there is some abnormal situation that causes the association strength to increase abnormally. In this case, the first discrimination information can be determined as a failure to pass the discrimination, and further investigation or adjustment of the process configuration may be required.

[0173] Through such association strength assessment and process identification mechanisms, the streaming computing system can dynamically monitor and manage the effectiveness of the business execution process to ensure that the process can efficiently and accurately process real-time data streams.

[0174] When the first judgment information indicates that the judgment fails, the maximum association strength of the current business execution process is adjusted according to the target association strength.

[0175] For example, when the stream computing system judges a current business execution process and obtains the first judgment information that the judgment fails, the accuracy of the judgment information is first verified to avoid unnecessary process adjustments caused by misjudgment.

[0176] For example, when processing the real-time order data stream of an e-commerce platform, if the correlation strength between the two tasks of "order generation" and "inventory update" is found to be abnormally high, resulting in the failure of the process judgment, the streaming computing system will reconfirm whether this anomaly actually exists and whether it is caused by data errors or system configuration problems.

[0177] After confirming that the first judgment information is a failure, we will conduct an in-depth analysis of the target association strength that caused the failure. This step aims to understand why the target association strength exceeds the maximum association strength of the current business execution process and the impact of this exceeding on process performance and stability.

[0178] In the above order processing flow, it may be found that due to some reason (such as a surge in order volume caused by promotional activities), the correlation strength between "order generation" and "inventory update" rises sharply, exceeding the maximum correlation strength originally set.

[0179] Based on the analysis of the target association strength, decide whether to adjust the maximum association strength of the current business execution process. If the increase in the target association strength is reasonable and acceptable (for example, due to normal growth in business volume), the set value of the maximum association strength can be increased to adapt to this change.

[0180] For example, in the order processing process, if it is confirmed that the increase in order volume is a long-term business trend rather than a temporary fluctuation, the maximum threshold of the association strength between "order generation" and "inventory update" will be increased accordingly to ensure that the process can smoothly handle the increased business volume.

[0181] Through such a maximum association strength adjustment mechanism, the streaming computing system can dynamically adapt to changes in the business environment and maintain efficient and stable operation of the process.

[0182] Figure 2 In an embodiment of the present application, a stream computing system 100 is provided, including a processor 1001 and a memory 1003 and a program code stored in the memory 1003 , and the processor 1001 executes the above program code to implement the steps of a business data processing method based on stream computing.

[0183] Figure 2 The streaming computing system 100 shown includes: a processor 1001 and a memory 1003. The processor 1001 and the memory 1003 are connected, such as through a bus 1002. Optionally, the streaming computing system 100 may also include a transceiver 1004, which may be used for data interaction between the streaming computing system and other streaming computing systems, such as data transmission and / or data reception. It should be noted that the transceiver 1004 is not limited to one in actual scheduling, and the structure of the streaming computing system 100 does not constitute a limitation on the embodiments of the present application.

[0184] Processor 1001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 1001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0185] The bus 1002 may include a path to transmit information between the above components. The bus 1002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 1002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0186] The memory 1003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to have or store program code and can be read by a computer, without limitation herein.

[0187] The memory 1003 is used to store program codes for executing the embodiments of the present application, and the execution is controlled by the processor 1001. The processor 1001 is used to execute the program codes stored in the memory 1003 to implement the steps shown in the above method embodiments.

[0188] The streaming computing system includes, but is not limited to, mobile terminals such as mobile phones, notebook computers, PADs, etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0189] An embodiment of the present application provides a computer-readable storage medium having program code stored thereon. When the program code is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.

[0190] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless there is a clear description in this article, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders based on demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages according to the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage in these sub-steps or stages can also be executed at different times respectively. In different scenarios at the execution time, the execution order of these sub-steps or stages can be flexibly configured based on demand, and the embodiment of the present application does not limit this.

[0191] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the scheme of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A business data processing method based on stream computing, It is characterized in that The method comprises: Get the business data stream slice corresponding to the real-time node; Predicting, based on a previously configured task network, the association strength of the business data stream slice corresponding to each reference task in a plurality of reference tasks, wherein the plurality of reference tasks include a target task constituting a target stream computing instruction; Based on the association strength of the business data stream slice associated with each of the reference tasks, adjusting the association strength of the target task in the business execution process tracking array, the business execution process tracking array is used to record the association strength of the target task in a set node window and the maximum association strength of the target task in the set node window, the set node window is a priori node window of the real-time node; According to the comparison result between the maximum correlation strength of the current business execution process in the adjusted business execution process tracking array and the preset correlation strength, the current business execution process is migrated based on the task set of the target streaming computing instruction, the current business execution process is a target task in the target streaming computing instruction waiting to be activated at the real-time node, and the task set is a set generated after arranging the target tasks based on the time domain arrangement information of the target tasks in the target streaming computing instruction; If the migration result of the process migration meets the set requirements, the first discrimination information of the current business execution process is determined based on the adjusted association strength of the target task in the business execution process tracking array and the maximum association strength of the current business execution process. When the first discrimination information is a passed discrimination, if all business execution processes of the target streaming computing instruction are judged to be passed, the instruction trust parameter of the target streaming computing instruction is calculated; If the instruction trust parameter is greater than the set parameter value, determine to output the target stream computing instruction; The process of performing process migration on the current business execution process based on the task set of the target stream computing instruction according to the comparison result between the maximum correlation strength of the current business execution process in the adjusted business execution process tracking array and the preset correlation strength includes: If the comparison result indicates that the maximum association strength of the current business execution process is not less than the preset association strength, the current business execution process is arranged forward by one business execution process based on the time domain arrangement information in the target task in the task set, and the current business execution process is the business execution process before the last target task; If the comparison result indicates that the maximum association strength of the current business execution process is less than the preset association strength, the current business execution process is arranged one business execution process later based on the time domain arrangement information in the target task in the task set, and the current business execution process is the business execution process after the initial business execution process; The determining the first discrimination information of the current business execution process based on the adjusted association strength of the target task in the business execution process tracking array and the maximum association strength of the current business execution process includes: Acquire a target association strength from the association strength of the target task, where the target association strength is the association strength of the current business execution process determined according to the business data flow slice; Comparing the target association strength with the maximum association strength of the current business execution process to generate comparison information; If the comparison information shows that the target association strength is less than the maximum association strength of the current business execution process, determining that the first determination information is determined to be determined to be passed; If the comparison information shows that the target association strength is not less than the maximum association strength of the current business execution process, determining that the first determination information is a determination failure; The method further comprises: When the first determination information indicates that the determination fails, the maximum association strength of the current business execution process is adjusted according to the target association strength.

2. The method for processing business data based on streaming computing according to claim 1, It is characterized in that Ensure that the migration results of the process migration meet the set requirements, including: If the migration result of the process migration is to arrange the current business execution process forward by one business execution process based on the time domain arrangement information in the target task in the task set, it is determined that the migration result of the process migration meets the set requirement; Alternatively, if the migration result of the process migration is to arrange the current business execution process one business execution process backward based on the time domain arrangement information in the target task in the task set, the current business execution process obtained after arranging the business execution process one business execution process backward is analyzed to generate analysis information; If the analysis information indicates that the current business execution process obtained after arranging a business execution process later is not the initial business execution process, it is determined that the migration result of the process migration meets the set requirement.

3. The method for processing business data based on streaming computing according to claim 2, It is characterized in that The method further comprises: If the analysis information represents that the current business execution process obtained after arranging a business execution process backward is the initial business execution process, the business execution process is restored on the process migration block to generate a basic process migration block. The process migration block includes multiple elements, and the multiple elements include the task set, the current business execution process and the business execution process tracking array.

4. The method for processing business data based on streaming computing according to claim 3, It is characterized in that The task label of the target task is an abnormal business detection item, and the method further includes: Based on the configuration instruction for the target stream computing instruction, generate an abnormal business detection instruction set for the target stream computing instruction; Performing an abnormal business detection item search based on the abnormal business detection instructions included in the abnormal business detection instruction set to generate the task set; A basic process migration block is constructed based on the task set.

5. The method for processing business data based on streaming computing according to claim 1, It is characterized in that The method further comprises: When the first determination information is determined to be a passed determination, adjusting the process conversion category of the current business execution process to a first category attribute; Determining that all business execution processes of the target stream computing instruction have been judged to have passed includes: According to the process conversion categories respectively corresponding to all the business execution processes of the target stream computing instruction, all the business execution processes of the target stream computing instruction are analyzed to generate second discrimination information; If the second discrimination information indicates that the process conversion categories corresponding to all the business execution processes of the target stream computing instruction are all the first category attributes, it is determined that all the business execution processes of the target stream computing instruction have passed the discrimination.

6. The method for processing business data based on stream computing according to claim 5, It is characterized in that The method further comprises: If the second discrimination information indicates that the process conversion category of at least one business execution process of the target stream computing instruction is a second category attribute, a cost value is determined for the current business execution process to generate a target cost value; If the target cost value is not less than the set cost value, the business execution process of the process migration block is restored to generate a basic process migration block.

7. A streaming computing system, It is characterized in that It includes a processor and a computer-readable storage medium, wherein the computer-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by the processor, the business data processing method based on streaming computing described in any one of claims 1-6 is implemented.