Data acquisition system for financial science and technology information
By introducing technologies such as blockchain and bat optimization algorithm into the financial technology information data collection system, the deficiencies in data processing efficiency and risk assessment of the existing system are solved, and efficient and low-cost financial data management and decision support are achieved. .
Patent Information
- Application Number
- CN202410779288.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-18
AI Technical Summary
The existing data collection system for financial technology information has low data processing concurrency and efficiency, which increases the energy consumption and cost of the system. It is unable to respond to market demand and data changes in a timely manner, and cannot effectively evaluate the risks and benefits of decision-making plans. Decision quality of financial institutions and investors.
A system including a collection preprocessing module, data storage module, security management module, data scheduling module, data analysis module, risk management module, algorithmic trading module, user interface module, monitoring module and customer support module is designed, using block Chain technology, bat optimization algorithm and machine learning method realize efficient storage, scheduling and analysis of data, real-time monitoring of market risks and optimization of trading strategies.
It improves the concurrency and efficiency of data processing, reduces system energy consumption and costs, and can respond to market changes in a timely manner, helping financial institutions and investors make more informed decisions, reduce risks, and improve decision quality.
Smart Images

Figure CN118799045A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of financial monitoring, and in particular to a data collection system for financial technology information. Background Art
[0002] In today's digital age, the complexity and volatility of financial markets are increasing, and financial institutions and individual investors are facing more intense competition and risks. With the continuous evolution of financial technology, the application of information technology in the financial field has become increasingly extensive and in-depth. Fintech has become an important driving force for the transformation and upgrading of the financial industry, bringing many new opportunities and challenges to the financial market. In the financial field, the acquisition and analysis of information are crucial. Investors need to keep abreast of market trends, financial institutions need to accurately grasp risks and opportunities, and regulators need to effectively supervise market order. However, due to the complexity and uncertainty of the financial market, traditional data collection and analysis methods can no longer meet the needs of modern financial markets. Therefore, the present invention proposes a data collection system for financial technology information.
[0003] The existing data collection system for financial technology information has low concurrency and efficiency in data processing, which increases the energy consumption and cost of the system and cannot respond to changing market demands and data conditions in a timely manner. In addition, the existing data collection system for financial technology information cannot evaluate the risks and benefits of different decision-making plans, which is not conducive to financial institutions and investors making wise decisions, increases risks, and reduces decision-making efficiency and quality. To this end, we propose a data collection system for financial technology information. Summary of the invention
[0004] The purpose of the present invention is to solve the defects in the prior art and to propose a data collection system for financial technology information.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A data collection system for financial technology information, comprising a collection preprocessing module, a data storage module, a security management module, a data scheduling module, a data analysis module, a risk management module, an algorithmic trading module, a user interface module, a monitoring module, a report generation module, and a customer support module;
[0007] The acquisition and preprocessing module is used to acquire and preprocess various financial data in real time;
[0008] The data storage module is used to store and manage each group of financial data;
[0009] The security management module is used to perform multi-factor authentication on user identities and to encrypt, store and transmit sensitive data;
[0010] The data scheduling module is used to automatically schedule and distribute data, and optimize the execution order of data scheduling tasks in real time;
[0011] The data analysis module is used to predict financial market trends and determine market sentiment;
[0012] The risk management module is used to monitor market risks in real time and conduct dynamic risk warning by analyzing multi-dimensional data;
[0013] The algorithmic trading module is used to perform automatic trading operations and optimize trading strategies to find the best trading path and timing;
[0014] The user interface module is used to intuitively display various financial data and analysis results, and supports user-defined data display and analysis requirements;
[0015] The monitoring module monitors the operating status and performance indicators of each module of the system in real time;
[0016] The report generation module is used to regularly generate various market analysis and risk assessment reports;
[0017] The customer support module is used to provide round-the-clock technical support and customer service.
[0018] As a further solution of the present invention, the specific steps of storage management of the data storage module are as follows:
[0019] Step 1: The acquisition preprocessing module sends the preprocessed data to the data storage module through a secure transmission protocol, then uses a hash function to verify the data format and integrity, and divides the data into multiple small pieces according to the data volume and type, and uses a symmetric encryption algorithm or an asymmetric encryption algorithm to encrypt sensitive data;
[0020] Step 2: Use a distributed database system to distribute and store data shards on multiple database nodes, then generate a hash value for each data shard as a unique identifier for the data, and merge the hash values of all shards to generate a hash value for the entire data set;
[0021] Step 3: Pack the hash value of the data and the corresponding metadata into a block, use the blockchain consensus mechanism to verify the validity of the block, and then add the block to the blockchain. After storage is completed, create an index for the stored data and use the reverse index to optimize the index performance;
[0022] Step 4: Use a combination of incremental backup and full backup to regularly back up data in the distributed database. When data is lost or damaged, use the backup data for recovery.
[0023] As a further solution of the present invention, the data scheduling module performs the following specific steps for sequence optimization:
[0024] Step 1: Pre-write the smart contract code, define the rules for data scheduling and distribution, deploy the smart contract on the blockchain network, and make it a permanently stored contract on the chain. When new data is collected, the metadata of the data is registered in the smart contract;
[0025] Step 2: The user or system module issues a data access request, and the smart contract verifies the legitimacy of the request. The smart contract checks the hash value of the requested data. After verification, the data access is authorized. When the predefined scheduling conditions are met, the smart contract automatically triggers data scheduling. The smart contract determines the data distribution strategy based on the preset rules and records the data hash value and distribution instructions on the blockchain.
[0026] Step 3: Set the bat population size N and the maximum number of iterations Max_Iter, and initialize the position x of each bat i , speed v i , frequency f i , pulse emission rate r i And the response A i Various parameters, and the bat positions are expressed as the execution order of the data scheduling tasks, where the value of i ranges from 1 to N;
[0027] Step 4: Define the fitness function fit(x i ), calculate the fitness value of each bat’s current position, and then update the speed of each bat based on the current bat’s position, the current optimal solution’s position, and the bat’s frequency;
[0028] Step 5: Each bat moves to a new position based on the updated speed, randomly selects a bat, and performs a local search near its current position, simulating the corresponding loudness and emission rate of the bat's state update when approaching the prey;
[0029] Step 6: Calculate the fitness value of each bat's new position, and then compare the fitness value of each bat's new position with the fitness value of the current global optimal solution. If the fitness value of the new position is better than the current global optimal solution, update the global optimal solution. At the same time, check whether the new position of the bat is better than its previous position.
[0030] Step 7: If it is better than the previous position, the new position is used as the current position of the bat. Otherwise, the previous position is retained and the iterative update is repeated until Max_Iter is reached or the global optimal solution no longer changes significantly. The iteration is terminated and the execution order of the data scheduling tasks is adjusted according to the optimal solution found.
[0031] As a further solution of the present invention, the specific calculation formula for updating the bat speed in step 4 is as follows:
[0032] f i =f min +(f max -f min )·β
[0033]
[0034] In the formula, f min Represents the minimum frequency; f max represents the maximum frequency; β represents a random number uniformly distributed between [0,1]; Represents the updated speed; Represents the current position of the bat; x * Represents the current global optimal position;
[0035] The specific calculation formula for the bat position in step 5 is as follows:
[0036]
[0037] In the formula, Represents the updated position;
[0038] The specific calculation formula for the local search in step 5 is as follows:
[0039]
[0040] In the formula, x old represents the current position of the bat; ε represents a random number uniformly distributed between [-1,1]; Represents the loudness of the current bat;
[0041] The specific calculation formula for updating the loudness and emission rate described in step 5 is as follows:
[0042]
[0043] r i t+1 =r i 0 ·[1-exp(-γt)]
[0044] Where α represents the loudness attenuation coefficient; r i 0 represents the initial emission rate; γ represents the emission rate increase coefficient; t represents the current number of iterations.
[0045] As a further solution of the present invention, the specific steps of the data analysis module financial market trend prediction are as follows
[0046] Step 1: Use interpolation or mean value to fill or delete missing data, and then detect and process outliers through statistical methods or machine learning methods. Divide the financial data into time windows to form a fixed-length sequence, normalize the processed financial data, and then divide the data into training set, validation set, and test set.
[0047] Step 2: Input the training set data into the CNN model as input data. The convolution layer of the CNN model uses the convolution kernel to perform convolution calculation on the input data, activates the convolution layer output through the ReLU activation function, and then performs dimensionality reduction and feature extraction on the activated output through the pooling layer;
[0048] Step 3: Expand the output of the pooling layer into a one-dimensional vector, integrate the features through the fully connected layer, output the corresponding prediction result, calculate the error between the prediction result and the true value through the cross entropy loss function, perform back propagation through the chain rule, calculate the gradient layer by layer, and update the model parameters according to the calculated gradient;
[0049] Step ④: After each round of training, the validation set is used to evaluate the model performance, and the test set is used to evaluate the model performance on unseen data, and the generalization ability of the model is evaluated. The CNN model is trained, validated, and evaluated repeatedly until the preset number of training times is reached;
[0050] Step ⑤: Input real-time data through API or batch processing, use the trained model to make predictions, compare the prediction results output by the model with the actual market data, use charts to display stock price trends and market fluctuations, use NLP technology to extract sentiment features, combine market data prediction results with sentiment analysis results, comprehensively judge market sentiment, and analyze the impact of market sentiment on financial market trends.
[0051] As a further solution of the present invention, the specific steps of the dynamic risk warning of the risk management module are as follows:
[0052] Step I: Based on historical data and expert experience, define the prior probabilities of different events or states, then construct likelihood functions based on the distribution of observed data under different events or states, and calculate the posterior probabilities based on the prior probabilities and likelihood functions;
[0053] Step II: Calculate the expected utility of different decision options based on the posterior probability, and select the decision with the largest expected utility as the optimal decision. Extract key features from historical data, market news, and social media data, and then fuse data from different sources to form a comprehensive data set.
[0054] Step III: Use stream processing technology to monitor and process real-time data, and update the data set in real time. Then use machine learning or statistical methods to detect anomalies in the data and identify potential risks. Then, based on the real-time updated data, calculate the posterior probability of each hypothesis and evaluate the current market status and risk level based on the posterior probability.
[0055] Step IV: Set the risk threshold. When the posterior probability exceeds the threshold, the risk warning is triggered and the user is reminded through system notification. According to the risk assessment results and the optimal decision-making rules, market feedback and decision-making effects, the decision model and early warning system are continuously optimized.
[0056] As a further solution of the present invention, the specific steps of optimizing the trading strategy of the algorithmic trading module are as follows:
[0057] Step 1: Set the trading goals and financial assets, formulate specific trading rules, and develop trading strategies and algorithms. Then connect to the API of the exchange or trading platform, randomly generate multiple groups of individuals as the initial fish school, and represent each group of individuals as a possible trading strategy.
[0058] Step 2: Use the performance index of the trading strategy as the optimization objective function. According to the performance of the trading strategy, calculate the value of the objective function of each group of individuals. Randomly select a new position within the current fish's field of view and calculate the objective function value of the new position. If the objective function value of the new position is better than the current objective function value, update the fish's position, otherwise keep the current position.
[0059] Step 3: Calculate the average value of the positions of all fish in the current school of fish as the center of the school of fish, and calculate the objective function value of the center of the school of fish. If the objective function value of the center is better than the objective function value of the current fish position, move a small step toward the center according to the preset moving step length.
[0060] Step 4: Select a fish with the best objective function value in the field of view of each group of individual fish as the target for pursuit. If the objective function value of the target fish's position is better than the objective function value of the current fish's position, move a small step toward the target fish's position according to the preset moving step length.
[0061] Step 5: Update the position of each fish based on the results of foraging, aggregation and tail-chasing behaviors, and calculate the objective function value corresponding to the new position. If the preset maximum number of iterations is reached, stop updating. Based on the final objective function value, select the trading strategy with the best performance as the final result, apply the optimized trading strategy parameters to actual transactions, and automatically execute buy and sell operations based on real-time market data.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] 1. The present invention determines the data distribution strategy according to preset rules, records the data hash value and distribution instructions on the blockchain, sets the bat population size and the maximum number of iterations, initializes the parameters of each bat, and represents the bat position as the execution order of the data scheduling task. The fitness function is defined based on the execution time and resource utilization of the scheduling task, and the fitness value of the current position of each bat is calculated. Then, the speed of each bat is updated based on the current bat position, the position of the current optimal solution and the frequency of the bat. Each bat moves to a new position according to the updated speed, randomly selects a bat, and performs a local search near its current position. The corresponding loudness and emission rate of the bat state when approaching the prey are simulated, and the new position of each bat is calculated. Fitness value, and then compare the fitness value of each bat's new position with the fitness value of the current global optimal solution. If the fitness value of the new position is better than the current global optimal solution, the global optimal solution is updated. At the same time, check whether the bat's new position is better than its previous position. If it is better than the previous position, the new position is used as the bat's current position. Otherwise, the previous position is retained and the iterative update is repeated until the maximum number of iterations is reached or the global optimal solution no longer changes significantly. The iteration is terminated, and then the execution order of the data scheduling tasks is adjusted according to the optimal solution found. This can improve the concurrency and efficiency of data processing, reduce the energy consumption and cost of the system, and improve resource utilization, thereby optimizing system performance and ensuring that the system can respond to changing market demands and data conditions in a timely manner.
[0064] 2. The present invention defines the prior probability of different events or states based on historical data and expert experience, and then constructs a likelihood function based on the distribution of observed data under different events or states, calculates the posterior probability based on the prior probability and the likelihood function, calculates the expected utility of different decision-making schemes based on the posterior probability, and selects the decision with the largest expected utility as the optimal decision, extracts key features from historical data, market news and social media data, and then fuses data from different sources to form a comprehensive data set, uses stream processing technology to monitor and process real-time data, and updates the data set in real time, and then detects abnormalities in the data through machine learning methods or statistical methods to identify potential risks, and then calculates the posterior probability of each hypothesis based on the real-time updated data, evaluates the current market status and risk level based on the posterior probability, sets a risk threshold, triggers a risk warning when the posterior probability exceeds the threshold, and reminds the user through a system notification, and continuously optimizes the decision model and the early warning system based on the risk assessment results and the optimal decision rule, based on market feedback and decision effects, and can accurately assess the risks and benefits of different decision-making schemes, which helps financial institutions and investors make more informed decisions, reduce risks, and improve decision efficiency and quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0066] Figure 1 This is a system block diagram of a data collection system for financial technology information proposed in the present invention. DETAILED DESCRIPTION
[0067] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0068] Example 1
[0069] Reference Figure 1 , a data collection system for financial technology information, including a collection preprocessing module, a data storage module, a security management module, a data scheduling module, a data analysis module, a risk management module, an algorithmic trading module, a user interface module, a monitoring module, a report generation module and a customer support module.
[0070] The collection and preprocessing module is used to acquire and preprocess various financial data in real time; the data storage module is used to store and manage each group of financial data.
[0071] Specifically, the collection and preprocessing module sends the preprocessed data to the data storage module through a secure transmission protocol, and then uses a hash function to verify the data format and integrity, and divides the data into multiple small pieces according to the data volume and type, and uses a symmetric encryption algorithm or an asymmetric encryption algorithm to encrypt sensitive data. The distributed database system is used to distribute and store the data shards on multiple database nodes, and then a hash value is generated for each data shard as a unique identifier of the data, and the hash values of all shards are merged to generate a hash value for the entire data set. The hash value of the data and the corresponding metadata are packaged into a block, and the validity of the block is verified using the blockchain consensus mechanism, and then the block is added to the blockchain. After the storage is completed, an index is created for the stored data, and a reverse index is used to optimize the index performance. A combination of incremental backup and full backup is used to regularly back up the data in the distributed database. When the data is lost or damaged, the backup data is used for recovery.
[0072] The security management module is used to perform multi-factor authentication on user identities and to encrypt the storage and transmission of sensitive data; the data scheduling module is used to automatically schedule and distribute data and optimize the execution order of data scheduling tasks in real time.
[0073] Specifically, the smart contract code is written in advance to define the rules for data scheduling and distribution, and the smart contract is deployed on the blockchain network to make it a contract permanently stored on the chain. When new data is collected, the metadata of the data is registered in the smart contract. The user or system module issues a data access request, and the smart contract verifies the legitimacy of the request. The smart contract checks the hash value of the requested data. After verification, the data access is authorized. When the predefined scheduling conditions are met, the smart contract automatically triggers data scheduling. The smart contract determines the data distribution strategy according to the preset rules, and records the data hash value and distribution instructions on the blockchain. The bat population size N and the maximum number of iterations Max_Iter are set, and the position x of each bat is initialized. i , speed v i , frequency f i , pulse emission rate r i And the response A i The bat positions are expressed as the execution order of the data scheduling tasks, where the value of i ranges from 1 to N. The fitness function fit(x i ), calculate the fitness value of each bat's current position, and then update the speed of each bat based on the current bat's position, the position of the current optimal solution and the frequency of the bat. Each bat moves to a new position according to the updated speed. A bat is randomly selected and a local search is performed near its current position. The corresponding loudness and emission rate are updated to simulate the state of the bat approaching the prey, and the fitness value of the new position of each bat is calculated. Then, the fitness value of the new position of each bat is compared with the fitness value of the current global optimal solution. If the fitness value of the new position is better than the current global optimal solution, the global optimal solution is updated. At the same time, check whether the new position of the bat is better than its previous position. If it is better than the previous position, the new position is used as the current position of the bat. Otherwise, the previous position is retained and the iterative update is repeated until Max_Iter is reached or the global optimal solution no longer changes significantly. The iteration is terminated, and then the execution order of the data scheduling tasks is adjusted according to the optimal solution found.
[0074] In this embodiment, the specific calculation formula for bat speed update is as follows:
[0075] f i =f min +(f max -f min )·β
[0076]
[0077] In the formula, f min Represents the minimum frequency; f maxrepresents the maximum frequency; β represents a random number uniformly distributed between [0,1]; Represents the updated speed; Represents the current position of the bat; x * Represents the current global optimal position;
[0078] The specific calculation formula for the bat position is as follows:
[0079]
[0080] In the formula, Represents the updated position;
[0081] The specific calculation formula for local search is as follows:
[0082]
[0083] In the formula, x old represents the current position of the bat; ε represents a random number uniformly distributed between [-1,1]; Represents the loudness of the current bat;
[0084] The specific calculation formula for loudness and emission rate update is as follows:
[0085]
[0086] r i t+1 =r i 0 ·[1-exp(-γt)]
[0087] Where α represents the loudness attenuation coefficient; r i 0 represents the initial emission rate; γ represents the emission rate increase coefficient; t represents the current number of iterations.
[0088] The data analysis module is used to predict financial market trends and determine market sentiment.
[0089] Specifically, interpolation and mean filling or deletion of missing data are used, and then statistical methods or machine learning methods are used to detect and process outliers. Financial data is divided into time windows to form a sequence of fixed length, and the processed financial data is normalized. The data is then divided into training set, validation set and test set. The training set data is input into the CNN model as input data. The convolution layer of the CNN model uses the convolution kernel to perform convolution calculation on the input data, and the convolution layer output is activated by the ReLU activation function. The activated output is then reduced in dimension and features are extracted by the pooling layer. The output of the pooling layer is expanded into a one-dimensional vector, and features are integrated through the fully connected layer. The corresponding prediction results are output, and the error between the prediction result and the true value is calculated by the cross entropy loss function. , back propagates through the chain rule, calculates gradients layer by layer, updates model parameters according to the calculated gradients, uses validation sets to evaluate model performance after each training cycle, and uses test sets to evaluate model performance on unseen data, evaluates model generalization, repeats training, validation, and evaluation of CNN models until the preset number of training times is reached, inputs real-time data through API or batch processing, uses trained models for prediction, compares prediction results output by the model with actual market data, uses charts to display stock price trends and market fluctuations, uses NLP technology to extract sentiment features, combines market data prediction results with sentiment analysis results, comprehensively judges market sentiment, and analyzes the impact of market sentiment on financial market trends.
[0090] Example 2
[0091] Reference Figure 1 , a data collection system for financial technology information, including a collection preprocessing module, a data storage module, a security management module, a data scheduling module, a data analysis module, a risk management module, an algorithmic trading module, a user interface module, a monitoring module, a report generation module and a customer support module.
[0092] The risk management module is used to monitor market risks in real time and provide dynamic risk warnings by analyzing multi-dimensional data.
[0093] Specifically, based on historical data and expert experience, define the prior probabilities of different events or states, and then construct a likelihood function based on the distribution of observed data under different events or states. Calculate the posterior probability based on the prior probability and the likelihood function, calculate the expected utility of different decision-making options based on the posterior probability, and select the decision with the largest expected utility as the optimal decision. Extract key features from historical data, market news, and social media data, and then fuse data from different sources to form a comprehensive data set. Use stream processing technology to monitor and process real-time data, and update the data set in real time. Use machine learning methods or statistical methods to detect anomalies in the data and identify potential risks. Calculate the posterior probability of each hypothesis based on the real-time updated data, evaluate the current market status and risk level based on the posterior probability, set a risk threshold, and trigger a risk warning when the posterior probability exceeds the threshold, and remind users through system notifications. Continuously optimize the decision model and early warning system based on risk assessment results and optimal decision-making rules, market feedback, and decision-making effects.
[0094] The algorithmic trading module is used to perform automatic trading operations and optimize trading strategies to find the best trading paths and timing.
[0095] Specifically, set the transaction goals and financial assets, formulate specific trading rules, and formulate trading strategies and algorithms, then connect to the API of the exchange or trading platform, randomly generate multiple groups of individuals as the initial fish school, and each group of individuals represents a possible trading strategy, and use the performance indicators of the trading strategy as the optimization objective function. According to the performance of the trading strategy, calculate the value of the objective function of each group of individuals, randomly select a new position within the current fish's field of view, calculate the objective function value of the new position, if the objective function value of the new position is better than the current objective function value, then update the fish's position, otherwise keep the current position, calculate the average position of all fish in the current fish school as the center position of the fish school, and calculate the objective function value of the center position of the fish school, if the center position If the objective function value of the set fish position is better than the objective function value of the current fish position, then move a small step toward the center position according to the preset moving step length, and select a fish with the best objective function value within the field of view of each group of individual fish as the tail-chasing target. If the objective function value of the target fish position is better than the objective function value of the current fish position, then move a small step toward the target fish position according to the preset moving step length, update the position of each fish according to the results of foraging, gathering and tail-chasing behavior, calculate the objective function value corresponding to the new position, and stop updating if the preset maximum number of iterations is reached. According to the final objective function value, select the trading strategy with the best performance as the final result, apply the optimized trading strategy parameters to actual transactions, and automatically execute buy and sell operations according to real-time market data.
[0096] The user interface module is used to intuitively display various financial data and analysis results, and supports user-defined data display and analysis requirements; the monitoring module monitors the operating status and performance indicators of each module of the system in real time; the report generation module is used to regularly generate various market analysis and risk assessment reports; the customer support module is used to provide round-the-clock technical support and customer service.
Claims
1. A data collection system for financial technology information, characterized in that: It includes collection preprocessing module, data storage module, security management module, data scheduling module, data analysis module, risk management module, algorithmic trading module, user interface module, monitoring module, report generation module and customer support module; The acquisition and preprocessing module is used to acquire and preprocess various financial data in real time; The data storage module is used to store and manage each group of financial data; The security management module is used to perform multi-factor authentication on user identities and to encrypt, store and transmit sensitive data; The data scheduling module is used to automatically schedule and distribute data, and optimize the execution order of data scheduling tasks in real time; The data analysis module is used to predict financial market trends and determine market sentiment; The risk management module is used to monitor market risks in real time and conduct dynamic risk warning by analyzing multi-dimensional data; The algorithmic trading module is used to perform automatic trading operations and optimize trading strategies to find the best trading path and timing; The user interface module is used to intuitively display various financial data and analysis results, and supports user-defined data display and analysis requirements; The monitoring module monitors the operating status and performance indicators of each module of the system in real time; The report generation module is used to regularly generate various market analysis and risk assessment reports; The customer support module is used to provide round-the-clock technical support and customer service.
2. A data collection system for financial technology information according to claim 1, characterized in that: The specific steps of storage management of the data storage module are as follows: Step 1: The acquisition preprocessing module sends the preprocessed data to the data storage module through a secure transmission protocol, then uses a hash function to verify the data format and integrity, and divides the data into multiple small pieces according to the data volume and type, and uses a symmetric encryption algorithm or an asymmetric encryption algorithm to encrypt sensitive data; Step 2: Use a distributed database system to distribute and store data shards on multiple database nodes, then generate a hash value for each data shard as a unique identifier for the data, and merge the hash values of all shards to generate a hash value for the entire data set; Step 3: Pack the hash value of the data and the corresponding metadata into a block, use the blockchain consensus mechanism to verify the validity of the block, and then add the block to the blockchain. After storage is completed, create an index for the stored data and use the reverse index to optimize the index performance; Step 4: Use a combination of incremental backup and full backup to regularly back up data in the distributed database. When data is lost or damaged, use the backup data for recovery.
3. A data collection system for financial technology information according to claim 2, characterized in that: The specific steps of executing the order optimization of the data scheduling module are as follows: Step 1: Pre-write the smart contract code, define the rules for data scheduling and distribution, deploy the smart contract on the blockchain network, and make it a permanently stored contract on the chain. When new data is collected, the metadata of the data is registered in the smart contract; Step 2: The user or system module issues a data access request, and the smart contract verifies the legitimacy of the request. The smart contract checks the hash value of the requested data. After verification, the data access is authorized. When the predefined scheduling conditions are met, the smart contract automatically triggers data scheduling. The smart contract determines the data distribution strategy based on the preset rules and records the data hash value and distribution instructions on the blockchain. Step 3: Set the bat population size N and the maximum number of iterations Max_Iter, and initialize the position x of each bat i , speed v i , frequency f i , pulse emission rate r i And the response A i Various parameters, and the bat positions are expressed as the execution order of the data scheduling tasks, where the value of i ranges from 1 to N; Step 4: Define the fitness function fit(x i ), calculate the fitness value of each bat’s current position, and then update the speed of each bat based on the current bat’s position, the current optimal solution’s position, and the bat’s frequency; Step 5: Each bat moves to a new position based on the updated speed, randomly selects a bat, and performs a local search near its current position, simulating the corresponding loudness and emission rate of the bat's state update when approaching the prey; Step 6: Calculate the fitness value of each bat's new position, and then compare the fitness value of each bat's new position with the fitness value of the current global optimal solution. If the fitness value of the new position is better than the current global optimal solution, update the global optimal solution. At the same time, check whether the new position of the bat is better than its previous position. Step 7: If it is better than the previous position, the new position is used as the current position of the bat. Otherwise, the previous position is retained and the iterative update is repeated until Max_Iter is reached or the global optimal solution no longer changes significantly. The iteration is terminated and the execution order of the data scheduling tasks is adjusted according to the optimal solution found.
4. A data collection system for financial technology information according to claim 1, characterized in that: The specific steps of the financial market trend prediction of the data analysis module are as follows Step 1: Use interpolation or mean value to fill or delete missing data, and then detect and process outliers through statistical methods or machine learning methods. Divide the financial data into time windows to form a fixed-length sequence, normalize the processed financial data, and then divide the data into training set, validation set, and test set. Step 2: Input the training set data into the CNN model as input data. The convolution layer of the CNN model uses the convolution kernel to perform convolution calculation on the input data, activates the convolution layer output through the ReLU activation function, and then performs dimensionality reduction and feature extraction on the activated output through the pooling layer; Step 3: Expand the output of the pooling layer into a one-dimensional vector, integrate the features through the fully connected layer, output the corresponding prediction result, calculate the error between the prediction result and the true value through the cross entropy loss function, perform back propagation through the chain rule, calculate the gradient layer by layer, and update the model parameters according to the calculated gradient; Step ④: After each round of training, the validation set is used to evaluate the model performance, and the test set is used to evaluate the model performance on unseen data, and the generalization ability of the model is evaluated. The CNN model is trained, validated, and evaluated repeatedly until the preset number of training times is reached; Step ⑤: Input real-time data through API or batch processing, use the trained model to make predictions, compare the prediction results output by the model with the actual market data, use charts to display stock price trends and market fluctuations, use NLP technology to extract sentiment features, combine market data prediction results with sentiment analysis results, comprehensively judge market sentiment, and analyze the impact of market sentiment on financial market trends.
5. A data collection system for financial technology information according to claim 2, characterized in that: The specific steps of dynamic risk warning of the risk management module are as follows: Step I: Based on historical data and expert experience, define the prior probabilities of different events or states, then construct likelihood functions based on the distribution of observed data under different events or states, and calculate the posterior probabilities based on the prior probabilities and likelihood functions; Step II: Calculate the expected utility of different decision options based on the posterior probability, and select the decision with the largest expected utility as the optimal decision. Extract key features from historical data, market news, and social media data, and then fuse data from different sources to form a comprehensive data set. Step III: Use stream processing technology to monitor and process real-time data, and update the data set in real time. Then use machine learning or statistical methods to detect anomalies in the data and identify potential risks. Then, based on the real-time updated data, calculate the posterior probability of each hypothesis and evaluate the current market status and risk level based on the posterior probability. Step IV: Set the risk threshold. When the posterior probability exceeds the threshold, the risk warning is triggered and the user is reminded through system notification. According to the risk assessment results and the optimal decision-making rules, market feedback and decision-making effects, the decision model and early warning system are continuously optimized.
6. A data collection system for financial technology information according to claim 5, characterized in that: The specific steps of optimizing the trading strategy of the algorithmic trading module are as follows: Step 1: Set the trading goals and financial assets, formulate specific trading rules, and develop trading strategies and algorithms. Then connect to the API of the exchange or trading platform, randomly generate multiple groups of individuals as the initial fish school, and represent each group of individuals as a possible trading strategy. Step 2: Use the performance index of the trading strategy as the optimization objective function. According to the performance of the trading strategy, calculate the value of the objective function of each group of individuals. Randomly select a new position within the current fish's field of view and calculate the objective function value of the new position. If the objective function value of the new position is better than the current objective function value, update the fish's position, otherwise keep the current position. Step 3: Calculate the average value of the positions of all fish in the current school of fish as the center of the school of fish, and calculate the objective function value of the center of the school of fish. If the objective function value of the center is better than the objective function value of the current fish position, move a small step toward the center according to the preset moving step length. Step 4: Select a fish with the best objective function value in the field of view of each group of individual fish as the target for pursuit. If the objective function value of the target fish's position is better than the objective function value of the current fish's position, move a small step toward the target fish's position according to the preset moving step length. Step 5: Update the position of each fish based on the results of foraging, aggregation and tail-chasing behaviors, and calculate the objective function value corresponding to the new position. If the preset maximum number of iterations is reached, stop updating. Based on the final objective function value, select the trading strategy with the best performance as the final result, apply the optimized trading strategy parameters to actual transactions, and automatically execute buy and sell operations based on real-time market data.
Citation Information
Cited By
Task scheduling method based on improved bat algorithm in mobile edge computing environment
CN119521309A
Task scheduling method based on improved bat algorithm in mobile edge computing environment
CN119521309B
Distributed storage electronic data processing system
CN119668529A
A distributed storage electronic data processing system
CN119668529B
Automatic anomaly detection and correction method and system in data processing process
CN122795864A
