Transaction service method and system based on voice recognition
Through the transaction service method based on voice recognition, the shortcomings of the automatic ticketing system in terms of user needs and time management are solved, and a more efficient and personalized lottery purchasing process is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202510727300.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-07-01
AI Technical Summary
The existing automatic ticketing system has limited capabilities in understanding and handling user complex needs, especially in the personalized settings of budget and lottery types, which leads to users being unable to purchase products that best meet their needs, and lacks efficient time management, which reduces service efficiency and user satisfaction.
Using a trading service method based on voice recognition, voice commands are converted into digital signals through signal processing technology, keywords and intentions are extracted, purchasing parameters are configured, time configuration is optimized using linear planning tools, and lottery purchasing strategies are analyzed to recommend the optimal purchasing strategy.
It improves the efficiency and accuracy of lottery purchases, shortens processing time, enhances the accessibility and personalization of services, and provides a convenient and safe ticket purchase experience, especially for users with limited mobility or vision.
Smart Images

Figure CN120236582A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automatic ticket selling, and particularly to a transaction service method and system based on voice recognition. Background Art
[0002] The technical field of automatic ticket selling refers to the field of using various automation technologies to sell tickets, which is widely applied in multiple industries such as transportation, entertainment, and sports. This technology mainly involves channels such as automatic ticket vending machines, Internet ticketing platforms, and mobile devices, to achieve fully automated processing from ticket selection, payment to ticket issuance. The automatic ticket selling system provides convenient services by integrating hardware devices and software applications, reducing labor costs, and improving efficiency and user experience. Such systems integrate advanced identification technologies, such as barcode scanning, RFID identification, and biometric identification, etc., to ensure the security and accuracy of transactions.
[0003] Among them, the voice recognition lottery service method refers to using voice recognition technology to assist the lottery purchase process. This method allows users to operate lottery purchases through voice commands, and can complete the process from number selection to payment by voice. Its main purpose is to provide a more convenient and fast way to purchase lottery tickets. Especially for users with limited mobility or vision problems, they can complete ticket purchases through simple voice interactions, greatly enhancing the user experience and service accessibility. This technology also supports multiple languages, further expanding the scope of application. Summary of the Invention
[0004] In order to provide a new automatic ticket selling technology processing and personalized service for the existing technology, the existing system has limited capabilities in understanding and processing complex user requirements. For example, it is not flexible enough in terms of budget and personalized settings of lottery types, and cannot accurately reflect the specific intentions of users, resulting in users being unable to purchase the products that best meet their needs. This lack of flexibility and personalized service makes it difficult for the system to meet the needs of all users. Especially for users with special needs, such as those with limited vision, they will encounter more difficulties when using traditional automatic ticket selling systems. The lack of an efficient time management and optimization mechanism also causes users to waste time during the ticket purchase process, reducing the overall service efficiency and user satisfaction. Therefore, the present invention provides a transaction service method and system based on voice recognition. The technical solutions are as follows:
[0005] On the one hand, a transaction service method based on voice recognition is provided, including the following steps:
[0006] S1: Receive a user's voice command, use signal processing technology to convert the sound wave of the voice command into a digital signal, and generate a voice text conversion result by converting the digital signal voice to text;
[0007] S2: Extract keywords based on the speech text conversion result. The keywords include budget, lottery type, and betting method. Analyze the intention of the user's voice command, identify the command data structure, and obtain the purchase command parsing result;
[0008] S3: Configure purchase parameters through the purchase command parsing result, set budget limits and preferred lottery types, and perform parameter configuration for purchase settings to obtain the initial lottery purchase settings;
[0009] S4: Adopt the initial lottery purchase settings, analyze the time cost of the lottery purchase process, use linear programming tools to adjust the time of multiple links, optimize speech recognition, command parsing, network response, and transaction processing, and generate an optimized time configuration;
[0010] S5: According to the optimized time configuration, analyze the costs and potential returns of different lottery purchase strategies, calculate the expected value of the strategies, evaluate the purchase probabilities and expected returns of each lottery type, and obtain the optimal purchase strategy;
[0011] S6: Based on the optimal purchase strategy, combined with the user's purchase intention and budget, recommend lottery-related services to the user, including the types and quantities of lottery tickets to be purchased, and generate a lottery purchase plan.
[0012] As a further solution of the present invention, the speech text conversion result includes the recognized keywords, syntactic structure, and instruction integrity evaluation result. The purchase command parsing result includes the parsed keywords, budget, and lottery type, the intention of the instruction, and the data structure classification. The initial lottery purchase settings include the budget limit set by the user, the selected lottery type, and the purchase frequency. The optimized time configuration includes the adjusted speech recognition speed, command parsing time, and response rate of transaction processing. The optimal purchase strategy includes the analyzed lottery type priority, expected return on investment, and risk assessment result. The lottery purchase plan includes the recommended lottery types, the recommended number of tickets to be purchased, and the expected purchase frequency.
[0013] As a further solution of the present invention, for the step of receiving the user's voice command, using signal processing technology to convert sound waves into digital signals, and generating a speech text conversion result by converting speech to text, specifically:
[0014] S101: Receive the user's voice command, convert the sound wave into a digital signal by setting the sampling rate, filter out the part with a frequency exceeding the human voice range, and optimize the signal quality to obtain a digital signal sample;
[0015] S102: Based on the digital signal sample, perform time segmentation to distinguish speech and silent segments, apply dynamic range compression to reduce the signal dynamic change, suppress background noise, and extract key speech frequencies to generate key speech segments;
[0016] S103: Perform frequency-domain conversion based on the key voice segment to extract voice features, verify the vocabulary boundary through continuity, convert the matching voice pattern into corresponding text, and generate the voice text conversion result.
[0017] As a further solution of the present invention, the steps of extracting keywords including budget, lottery type, and betting method according to the voice text conversion result, analyzing the user's voice instruction intention, and identifying the instruction data structure to obtain the purchase instruction parsing result are specifically as follows:
[0018] S201: Based on the voice text conversion result, perform keyword extraction operations, screen for vocabulary related to amount and product category, including budget and lottery type, locate numerical values and lottery types through semantic analysis, and obtain the keyword extraction data set;
[0019] S202: Analyze the user's voice instruction intention through the keyword extraction data set, parse the user's requirements in combination with the context, and identify the target lottery to be purchased and the spending limit to obtain the intention parsing data;
[0020] S203: Use the intention parsing data to construct an instruction data structure, including the key-value pair relationship of amount and lottery type, perform iterative processing and respond to user instructions to obtain the purchase instruction parsing result.
[0021] As a further solution of the present invention, the steps of configuring purchase parameters, setting budget limits and preferred lottery types, and performing parameter configuration for purchase settings to obtain the initial lottery purchase settings through the purchase instruction parsing result are specifically as follows:
[0022] S301: According to the purchase instruction parsing result, identify and extract the user's budget and lottery type data, configure purchase parameters to match the user's requirements, and give priority to processing by setting an amount upper limit and selecting the target type of lottery to obtain a parameter configuration list;
[0023] S302: Use the parameter configuration list to set a budget limit that does not exceed the amount specified by the user, adjust the lottery purchase settings to match the user's preferred lottery type, and obtain the preset purchase parameters;
[0024] S303: Based on the preset purchase parameters, integrate the settings for lottery purchase, verify that the parameters reflect the user's intention and restrictions, complete the preparation work before purchase, and obtain the initial lottery purchase settings.
[0025] As a further solution of the present invention, the steps of analyzing the time cost of the lottery purchase process using the initial lottery purchase settings, adjusting the time of multiple links using a linear programming tool, and optimizing voice recognition, command parsing, network response, and transaction processing to generate an optimized time configuration are as follows:
[0026] S401: Analyze the time costs of multiple links in the entire lottery purchase process according to the initial lottery purchase settings, including speech recognition, command parsing, network response, and transaction processing, record the time consumption of each link, and obtain the time cost analysis result;
[0027] S402: Based on the time cost analysis result, adopt the simulated annealing algorithm to adjust the time of multiple links in the purchase process, balance the link load, and obtain the time adjustment plan;
[0028] S403: Implement the time adjustment plan, implement optimization measures, adjust the time of speech recognition, command parsing, network response, and transaction processing, optimize the overall efficiency and user experience, and obtain the optimized time configuration.
[0029] As a further solution of the present invention, the formula of the simulated annealing algorithm is as follows:
[0030]
[0031] Among them, is the new time configuration, is the time of the original link, is the expected time savings, is the current temperature, is the annealing rate, is the balance coefficient of time adjustment, is the average time consumption within the cycle, is the adjustment coefficient, is the standard deviation of time consumption, is the base of the natural logarithm.
[0032] As a further solution of the present invention, according to the optimized time configuration, analyze the costs and potential returns of differential lottery purchase strategies, calculate the expected value of the strategies, evaluate the purchase probabilities and expected returns of each lottery type, and the steps to obtain the optimal purchase strategy are specifically as follows:
[0033] S501: Based on the optimized time configuration, analyze the costs of differential lottery purchase strategies, including the time cost and capital cost of purchase, and at the same time evaluate the potential returns of the strategies. By collecting the winning data and cost information of multiple types of lotteries, obtain the strategy cost and return analysis result;
[0034] S502: According to the strategy cost and return analysis result, calculate the expected value of the differential lottery purchase strategy, refer to the winning probabilities and bonus amounts of each lottery type, and obtain the strategy expected value calculation result by weighing the costs and potential benefits;
[0035] S503: Use the calculated result of the strategy expected value to evaluate the purchase probability and expected return of each lottery type. Combine the user's purchase preferences and budget constraints to select a lottery type with high expected return and moderate risk, and obtain the optimal purchase strategy.
[0036] As a further solution of the present invention, based on the optimal purchase strategy, combine the user's purchase intention and budget to recommend lottery-related services for the user, including the types and quantities of lottery tickets purchased. The steps to generate a lottery purchase plan are specifically as follows:
[0037] S601: Based on the optimal purchase strategy, refer to the user's purchase intention and budget, analyze the lottery types preferred by the user and the investable amount, select the lottery types and purchase quantities that match the user's budget and expected return, and obtain a customized lottery selection;
[0038] S602: Use the customized lottery selection to recommend services associated with the selected lottery types and quantities, including automatic purchase renewal, automatic bonus redemption, and tax optimization measures, to provide the user with a one-stop service to optimize the purchase experience, and obtain a lottery-related service recommendation list;
[0039] S603: According to the lottery-related service recommendation list, integrate the recommended services and lottery purchase options, and check whether the lottery services match the user's needs and budget constraints to obtain a lottery purchase plan.
[0040] On the other hand, a voice recognition-based transaction service system is provided. This system is applied to a voice recognition-based transaction service method. The system includes:
[0041] The voice receiving module receives the user's voice instruction, collects sound waves through the microphone, converts them into digital signals, and then translates the voice information into text to obtain the voice text conversion result;
[0042] The parameter configuration module, based on the voice text conversion result, identifies keywords, records the budget and lottery types, configures purchase parameters, sets budget and lottery type preferences, and obtains the purchase instruction parsing result;
[0043] The time cost analysis module uses the purchase instruction parsing result to analyze and optimize the time cost of the purchase process, adjusts the processing time through linear programming, reduces the waiting and processing time, and generates a time optimization configuration;
[0044] The purchase strategy evaluation module, based on the time optimization configuration, calculates the costs and potential returns of different lottery purchase strategies, evaluates the purchase probabilities and expected returns of multiple strategies, and obtains the strategy optimization result;
[0045] The lottery recommendation module utilizes the optimized results of the strategy to recommend the most suitable types and quantities of lottery tickets according to the user's purchase intention and budget, and generates a lottery purchase plan.
[0046] The beneficial effects brought by the technical solutions provided by the embodiments of the present invention at least include: By improving the speech recognition technology and optimizing the purchase parameter settings, the efficiency and accuracy of lottery purchases are improved. During the process of receiving and converting the user's voice instructions, the signal processing technology is adopted to not only improve the accuracy of voice conversion, but also shorten the processing time, making the entire ticket purchase process smoother and faster. Through keyword extraction and intention analysis, the user's needs, such as budget and lottery type, can be more accurately parsed, and purchase parameters that better meet the user's needs can be configured. The linear programming tool is used to optimize the time allocation of the purchase process, reduce waiting and processing time, and improve transaction efficiency. This time optimization not only enhances the user experience, but also reduces errors and delays through precise time management. By analyzing lottery purchase strategies, calculating the expected value, and recommending the optimal purchase strategy, users can make more informed purchase decisions based on the expected return, improving the potential for investment returns. It greatly enhances the accessibility and personalization of the service, especially for users with limited mobility or vision, providing a more convenient and secure ticket purchase experience. Brief Description of the Drawings
[0047] Figure 1 It is a schematic diagram of the working process of the present invention;
[0048] Figure 2 It is a detailed flowchart of S1 of the present invention;
[0049] Figure 3 It is a detailed flowchart of S2 of the present invention;
[0050] Figure 4 It is a detailed flowchart of S3 of the present invention;
[0051] Figure 5 It is a detailed flowchart of S4 of the present invention;
[0052] Figure 6 It is a detailed flowchart of S5 of the present invention;
[0053] Figure 7 It is a detailed flowchart of S6 of the present invention;
[0054] Figure 8 It is a system flowchart of the present invention. Detailed Embodiments
[0055] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0056] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by terms such as "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In the description of the present invention, "a plurality of" means two or more, unless otherwise specifically defined.
[0057] Please refer to Figure 1 , an embodiment of the present invention provides a transaction service method based on speech recognition. The processing flow of this method may include the following steps:
[0058] S1: Receive the user's voice command, convert the sound wave into a digital signal using signal processing technology, and generate a voice text conversion result by converting the voice into text.
[0059] S2: According to the voice text conversion result, extract keywords, including budget, lottery type, and betting method, analyze the intention of the user's voice command, identify the command data structure, and obtain a purchase command parsing result.
[0060] S3: Through the purchase command parsing result, configure purchase parameters, set budget limits and preferred lottery types, and perform parameter configuration for purchase settings to obtain an initial lottery purchase setting.
[0061] S4: Adopt the initial lottery purchase setting, analyze the time cost of the lottery purchase process, use linear programming tools to adjust the time of multiple links, optimize speech recognition, command parsing, network response, and transaction processing, and generate an optimized time configuration.
[0062] S5: According to the optimized time configuration, analyze the costs and potential returns of different lottery purchase strategies, calculate the expected value of the strategy, evaluate the purchase probability and expected return of each lottery type, and obtain the optimal purchase strategy.
[0063] S6: Based on the optimal purchase strategy, combined with the user's purchase intention and budget, recommend lottery-related services to the user, including the types and quantities of lottery tickets purchased, and generate a lottery purchase plan.
[0064] The speech text conversion result includes the recognized keywords, syntactic structure, and the evaluation result of instruction integrity. The purchase instruction parsing result includes the parsed keywords, budget, lottery type, intention of the instruction, and data structure classification. The initial lottery purchase settings include the budget limit set by the user, the selected lottery type, and the purchase frequency. The optimized time configuration includes the adjusted speech recognition speed, command parsing time, and response rate of transaction processing. The optimal purchase strategy includes the analyzed priority of lottery types, expected return on investment, and risk assessment result. The lottery purchase plan includes the recommended lottery types, the recommended number of tickets to purchase, and the estimated purchase frequency.
[0065] Please refer to Figure 2 , receive the user's speech instruction, and use signal processing technology to convert the sound wave into a digital signal. The steps of generating the speech text conversion result by converting speech to text are as follows:
[0066] S101: Accept the user's speech instruction, convert the sound wave into a digital signal by setting the sampling rate, filter out the part with a frequency exceeding the human voice range, optimize the signal quality, and the execution process of obtaining the digital signal sample is as follows;
[0067] During the process of receiving the speech instruction, the sampling rate is determined based on the frequency characteristics of the human voice. Selecting 8 kHz or 16 kHz helps to capture the subtle changes in the human voice. For the human speech signal, the effective frequency range is generally between 300 Hz and 3400 Hz. Therefore, setting a sampling rate higher than this frequency range helps to avoid aliasing effects and ensure signal quality. During the process of converting the sound wave into a digital signal, it involves the conversion from an analog signal to a digital signal, which needs to be carried out through an analog-to-digital converter (ADC). The process also includes quantifying and encoding the signal. The higher the number of quantization bits, the better the fidelity of the converted digital signal, but at the same time, the data volume is also larger. For filtering out unnecessary frequency parts, a digital filter is used to achieve this. A low-pass filter is used to remove high-frequency noise. The process of optimizing the signal not only includes filtering, but also requires adjusting the parameters of the filter according to the specific application scenario, such as the cut-off frequency and roll-off rate, to ensure that the final digital signal sample can effectively reflect the original sound information and obtain the digital signal sample.
[0068] S102: Based on the digital signal sample, perform time segmentation to distinguish between speech and silent paragraphs, apply dynamic range compression to reduce the dynamic change of the signal, suppress background noise, and extract the key speech frequency. The execution process of generating the key speech segment is as follows;
[0069] Through dynamic range compression and background noise suppression, optimize the extraction of the key speech segment. According to the formula , calculate the dynamic range after improving the signal-to-noise ratio. In the formula, represents the compressed dynamic range, Represents the signal strength, Represents the noise strength. Detailed formula explanation and formula calculation derivation process: In speech signal processing, dynamic range compression is an important step used to reduce the dynamic range of the signal while suppressing background noise. The compression ratio is represented by where is the average power of the signal, is the average power of the background noise. If the power of the original signal is 0.2 watts and the power of the background noise is 0.02 watts, then the compression ratio is calculated as follows: . This value indicates that by applying dynamic range compression, the dynamic range of the signal is mathematically compressed by approximately 1.04 times, which helps to capture and understand speech more clearly in a noisy environment.
[0070] S103: According to the key speech segments, perform frequency domain conversion to extract speech features, verify the vocabulary boundaries through continuity, and convert the matching speech patterns into corresponding text. The execution process of generating the speech text conversion result is as follows;
[0071] Performing frequency domain conversion according to the key speech segments is a process of converting a time-domain signal to a frequency-domain signal, which is achieved through Fourier transform. After frequency domain conversion, the speech features are more obvious and easier to analyze. The verification of vocabulary boundaries is based on these features and is determined by detecting the mutation points of energy and frequency in the speech signal. These mutation points indicate speech pauses or pronunciation changes. Converting the matching speech patterns into corresponding text is completed through a speech recognition algorithm, which uses a known speech pattern library for comparison to identify the spoken content. The process needs to ensure that the algorithm adapts to different languages and accents and has good recognition efficiency and accuracy in various environments to generate the speech text conversion result.
[0072] Please refer to Figure 3 , according to the speech text conversion result, extract keywords, including budget, lottery type, and betting method, analyze the user's speech instruction intention, identify the instruction data structure, and the steps to obtain the purchase instruction parsing result are specifically as follows:
[0073] S201: Based on the speech text conversion result, perform keyword extraction operations, filter the vocabulary of amount and product category, including budget and lottery type, locate the numerical value and lottery type through semantic analysis, and the execution process of obtaining the keyword extraction data set is as follows;
[0074] Based on the speech-to-text conversion result, the extraction of keywords involves the precise positioning of amounts and product categories. The process analyzes the text content through natural language processing technology to identify numerical information and product types in it. For example, for the extraction of budget and lottery types, the system needs to be able to distinguish and understand various currency units and the naming of lottery types, and achieve this through a preset keyword list and semantic analysis algorithm. The semantic analysis algorithm locates these words according to the context relationship to ensure the accuracy of recognition. The process of obtaining the keyword extraction dataset not only includes the recognition of words, but also needs to verify the relevance and accuracy of these words in a specific context to prevent misrecognition or omission of key information, and obtain the keyword extraction dataset.
[0075] S202: Through the keyword extraction dataset, analyze the user's speech instruction intention, combine the context to parse the user's needs, identify the target lottery to be purchased and the spending limit, and the execution process of obtaining the intention parsing data is as follows;
[0076] Through the keyword extraction dataset, further analyze the user's speech instruction intention. The process parses the user's specific needs by integrating context information, such as identifying the user's intention to purchase a specific lottery and the set spending limit. In the process of intention parsing, the system uses context parsing technologies, such as situation awareness and user behavior pattern analysis, to enhance the accuracy and relevance of recognition. Based on multi-level semantic understanding and context correlation, the purpose is to accurately capture the user's needs and convert them into actionable data information, so that the system can better serve the user's actual purchase decision-making and obtain the intention parsing data.
[0077] S203: Use the intention parsing data to construct an instruction data structure, including the key-value pair relationship of the amount and lottery type, perform iterative processing and respond to the user's instruction, and the execution process of obtaining the purchase instruction parsing result is as follows;
[0078] Use the intention parsing data to construct an instruction data structure. By integrating the key-value pair relationship of the amount and lottery type, during the process, it is necessary to define the basic framework of the structure, including clarifying the types and expected formats of each parameter. The relationship between the amount and lottery type is represented in the form of key-value pairs to ensure rapid retrieval and processing when responding to the user's instruction. Respond to the user's instruction through iterative processing. The constructed instruction data structure should be flexible and scalable to adapt to possible future instruction changes and ensure that the user's purchase requirements can be accurately executed to obtain the purchase instruction parsing result.
[0079] Please refer to Figure 4 , through the purchase instruction parsing result, configure the purchase parameters, set the budget limit and the preferred lottery type, and perform the parameter configuration of the purchase settings. The specific steps to obtain the initial lottery purchase settings are as follows:
[0080] S301: According to the parsing result of the purchase instruction, identify and extract the user's budget and lottery type data, configure the purchase parameters to match the user's needs, and give priority to processing by setting the amount limit and selecting the target type of lottery. The execution process of obtaining the parameter configuration list is as follows;
[0081] According to the parsing result of the purchase instruction, extract the user's budget and lottery type data, and configure the purchase parameters. The process involves understanding the user's purchase intention and concretizing it into operable parameters. For example, identifying the user's setting of the amount limit and the selection requirement of the lottery type. The operation of configuring the purchase parameters not only includes data extraction, but also requires data verification and the setting of priority processing strategies to ensure that the parameter settings fully meet the user's needs. List all the necessary purchase parameters, such as the amount limit and lottery type. After these parameters are precisely configured, the purchase process can be made more efficient and meet the user's expectations, obtaining the parameter configuration list.
[0082] S302: Adopt the parameter configuration list, set the budget limit not exceeding the amount specified by the user, and adjust the lottery purchase settings to match the lottery type preferred by the user. The execution process of obtaining the preset purchase parameters is as follows;
[0083] When using the parameter configuration list for purchase settings, it is necessary to strictly abide by the user's budget limit and adjust the lottery purchase settings to match the user's preferences. During the process, the budget limit is a key constraint condition for purchase decisions and has a direct impact on the selection of lottery types. The setting of the preset purchase parameters is based on the amount and type preferences proposed in the user's instruction. The adjustment process includes evaluating the matching degree of various lottery types with the budget to ensure that the purchase parameters not only meet the user's financial constraints but also satisfy the specific requirements for the lottery types. Such a setting process ensures the personalization and accuracy of the purchase settings, obtaining the preset purchase parameters.
[0084] S303: Based on the preset purchase parameters, integrate the settings to purchase lottery tickets, verify that the parameters reflect the user's intention and restrictions, and complete the preparatory work before purchase. The execution process of obtaining the initial lottery purchase settings is as follows;
[0085] Integrate the settings to purchase lottery tickets, and calculate the total cost of the purchase plan according to the formula , where in the formula, represents the total cost, represents the number of lottery tickets purchased, represents the cost of a single lottery ticket. Explanation of the formula and the derivation process of the formula calculation: In the settings of lottery ticket purchase, considering the budget and lottery type set by the user, calculating the total cost is a key step. For example, if the user plans to buy 5 welfare lottery tickets and the cost of each ticket is 10 yuan, the formula for calculating the total cost is: This calculation formula reflects the financial budget of the purchase plan in line with the user's purchase intention, verifies the accuracy of parameter settings, and ensures that the user's budget limit is not exceeded. In this way, the preparatory work before purchase is completed to ensure the smooth progress of lottery purchase, meeting the user's expectations and financial plans.
[0086] Please refer to Figure 5 , adopt the initial lottery purchase settings, analyze the time cost of the lottery purchase process, use linear programming tools to adjust the time of multiple links, optimize speech recognition, command parsing, network response, and transaction processing. The specific steps to generate the optimized time configuration are as follows:
[0087] S401: According to the initial lottery purchase settings, analyze the time costs of multiple links in the entire lottery purchase process, including speech recognition, command parsing, network response, and transaction processing, record the time consumption of each link, and the execution process of obtaining the time cost analysis result is as follows;
[0088] Analyze the time cost of the lottery purchase process. According to the formula , calculate the total time consumption. In the formula, represents the total time, represents the speech recognition time, represents the command parsing time, represents the network response time, represents the transaction processing time. Explanation of the formula and the derivation process of formula calculation: In the lottery purchase process, effective management of time cost is crucial. For example, if the speech recognition takes 2 seconds, the command parsing takes 1.5 seconds, the network response takes 1 second, and the transaction processing takes 2.5 seconds, the calculation formula for the total time cost is: . This value reflects the time efficiency of the entire process from the user issuing a purchase instruction to completing the transaction. By calculating the time consumption of each link, the parts that need to be optimized can be identified, and further adjusted to shorten the total time and improve the overall efficiency and user experience.
[0089] S402: Based on the time cost analysis result, adopt the simulated annealing algorithm to adjust the time of multiple links in the purchase process, balance the link load, and the execution process of obtaining the time adjustment plan is as follows;
[0090] The formula of the simulated annealing algorithm is as follows:
[0091]
[0092] Among them, is the new time configuration, is the time of the original link, is the expected time saving, is the current temperature, is the annealing rate, is the balance coefficient for time adjustment, is the average time consumption within a cycle, is the adjustment coefficient, is the standard deviation of time consumption, is the base of the natural logarithm.
[0093] Detailed formula explanation and formula calculation derivation process: Considering the time optimization of the actual purchase process, data monitoring shows:
[0094] : The total time of the original process, obtained by averaging the data of the past 30 days, is 120 minutes.
[0095] : The average time consumption in the past cycle, obtained from the system database, is 100 minutes.
[0096] : The expected time saving, set to reduce the total time by 20%, that is, 24 minutes.
[0097] : The current execution temperature of the algorithm, set to the current number of steps. There are 5 steps set, so .
[0098] : The annealing rate, set to 0.1 according to past algorithm optimization tests.
[0099] : The adjustment coefficient of the standard deviation of time consumption, set to 0.05 according to data volatility analysis.
[0100] : The standard deviation of time consumption, statistically obtained from the operation data of the past 30 days, is 15 minutes.
[0101] Weight parameter and adjustment coefficient The settings are based on adjusting the initial time estimation and increasing the flexibility in calculations. The numerical settings are based on past data monitoring and algorithm performance tests. The weights and coefficient values are dynamically adjusted according to data changes to ensure the real-time and accuracy of each calculation.
[0102] The specific calculation process is as follows:
[0103] 1. Calculate the weighted average time: minutes.
[0104] 2. Calculate the adjusted annealing parameter: .
[0105] 3. Use the simulated annealing formula to calculate the new time configuration: minutes
[0106] The results show that after applying the simulated annealing algorithm, the new time configuration is extremely low, almost approaching 0, indicating that the algorithm is over-optimized or the parameter adjustment of the formula needs to be re-evaluated to avoid unrealistic results, suggesting that the current time savings setting is too large or the selection of the adjustment coefficient needs to be adjusted.
[0107] S403: Implement the time adjustment plan, implement optimization measures, adjust the time of speech recognition, command parsing, network response, and transaction processing, and optimize the overall efficiency and user experience. The execution process of obtaining the optimized time configuration is as follows;
[0108] Implement the time adjustment plan and take optimization measures to adjust the key steps in the lottery purchase process, such as speech recognition, command parsing, network response, and transaction processing. During the process, the optimization of speech recognition includes improving the efficiency of the recognition algorithm or using a faster processor. The optimization of command parsing focuses on algorithm optimization and more accurate command prediction. The adjustment of network response involves improving the server's response speed and data transmission efficiency. The optimization of transaction processing involves upgrading the payment system and simplifying the transaction verification process. Through these optimization measures, the time consumption of each link can be significantly reduced, the overall efficiency and user experience can be optimized, enabling users to feel smoother and faster services during use, and obtaining the optimized time configuration.
[0109] Please refer to Figure 6 , according to the optimized time configuration, analyze the costs and potential returns of different lottery purchase strategies, calculate the expected value of the strategy, evaluate the purchase probability and expected return of each lottery type, and the specific steps to obtain the optimal purchase strategy are as follows:
[0110] S501: Based on the optimized time configuration, analyze the costs of different lottery purchase strategies, including the time cost and capital cost of purchase, and at the same time evaluate the potential returns of the strategy. The execution process of obtaining the analysis results of strategy costs and returns by collecting winning data and cost information of multiple types of lotteries is as follows;
[0111] Analyze the costs of different lottery purchase strategies and calculate the total strategy cost according to the formula . In the formula, represents the total cost, represents the time cost, represents the unit price of the time cost, represents the capital cost. Formula details and formula calculation derivation process: When evaluating lottery purchase strategies, time cost and capital cost are two key factors. If the time cost per hour is 10 yuan, the purchase process takes 0.5 hours, and the capital cost is 50 yuan, then the formula for calculating the total cost of the strategy is: This value helps decision-makers understand the overall investment required to adopt a specific purchasing strategy. By collecting winning data and cost information for various types of lottery tickets, the potential returns of the strategy are evaluated to ensure that the strategy selection is both economical and effective.
[0112] S502: According to the results of the strategy cost and return analysis, calculate the expected value of the differentiated lottery purchase strategy. Referring to the winning probability and bonus amount of each lottery type, by weighing the cost and potential benefits, the execution process of obtaining the calculation result of the strategy expected value is as follows;
[0113] According to the results of the strategy cost and return analysis, calculate the expected value of the differentiated lottery purchase strategy. The process requires accurate evaluation of the winning probability and bonus amount of various lottery types. By comparing the cost and potential benefits, the most favorable purchase plan is determined. The calculation of the expected value takes into account the purchase cost of the lottery, including time and capital costs, as well as the winning probability and bonus amount of the lottery. This calculation method ensures the scientificity and rationality of the strategy selection. By analyzing the statistical data of different lottery types in detail, the revenue potential and cost-effectiveness of various strategies can be better understood, and a lottery purchase strategy that meets the user's expectations and investment returns can be formulated to obtain the calculation result of the strategy expected value.
[0114] S503: Adopt the calculation result of the strategy expected value to evaluate the purchase probability and expected return of each lottery type. Combining the user's purchase preferences and budget constraints, select the lottery type with high expected return and moderate risk to obtain the execution process of the optimal purchase strategy as follows;
[0115] Adopt the calculation result of the strategy expected value to evaluate the purchase probability and expected return of each lottery type. Combining the user's purchase preferences and budget constraints, select the lottery type with high expected return and moderate risk. In the process, the decision-maker needs to weigh the risks and returns of different lottery types, consider the user's personal preferences and financial situation, and conduct a comprehensive evaluation. The user's risk tolerance and budget range should be fully considered, while pursuing the highest revenue potential. By comparing and evaluating different lottery types in detail, ensure that the selected strategy can maximize the user's satisfaction and investment returns to obtain the optimal purchase strategy.
[0116] Please refer to Figure 7 , based on the optimal purchase strategy, combined with the user's purchase intention and budget, recommend lottery-related services to the user, including the types and quantities of lottery tickets purchased. The specific steps to generate a lottery purchase plan are as follows:
[0117] S601: Based on the optimal purchase strategy, referring to the user's purchase intention and budget, analyze the lottery types preferred by the user and the investable amount, and select the lottery types and purchase quantities that match the user's budget and expected return. The execution process of obtaining the customized lottery selection is as follows;
[0118] Based on the optimal purchase strategy, analyze the lottery types preferred by the user and the investable amount, select the lottery types and purchase quantities that match the user's budget and expected return. The process needs to comprehensively consider the user's purchase intention and financial situation. By precisely analyzing the lottery types preferred by the user and evaluating the rationality of the investable amount, ensure that the selected lottery types not only conform to the user's financial ability but also meet the expectation of return. The process of customizing lottery selection includes comparing the return rates and costs of different lottery types and selecting the option that best meets the user's needs. This customized service not only improves user satisfaction but also increases the pertinence and efficiency of purchases, ensuring that the user obtains the maximum potential return within the limited budget and getting the customized lottery selection.
[0119] S602: Adopt customized lottery selection and recommend services associated with the selected lottery types and quantities, including automatic purchase renewal, automatic bonus redemption, and tax optimization measures, to provide users with a one-stop service to optimize the purchase experience. The execution process of obtaining the lottery-related service recommendation list is as follows;
[0120] Adopt customized lottery selection and recommend services associated with the selected lottery types and quantities, such as automatic purchase renewal, automatic bonus redemption, and tax optimization measures. These services are designed to optimize the user's purchase experience and provide a one-stop service. Through the recommendation of these associated services, users can enjoy a more convenient purchase process and subsequent management. Automatic purchase renewal ensures that users will not miss any purchase opportunity, the automatic bonus redemption function can transfer the winning amount into the user's account in a timely manner, and tax optimization measures help users legally reduce the tax burden. The overall service design considers the convenience and financial benefits of users, ensuring that users receive comprehensive support and optimization at every step from purchase to winning and then to fund management, and obtaining the lottery-related service recommendation list.
[0121] S603: According to the lottery-related service recommendation list, integrate the recommended services and lottery purchase options, and check whether the lottery services match the user's needs and budget limitations. The execution process of obtaining the lottery purchase plan is as follows;
[0122] Integrate the recommended services and lottery purchase options, and calculate the total service utility according to the formula , where. In the formula, represents the total service utility, represents the number of lottery tickets purchased, represents the added value utility of a single service, Represents the basic service utility. Detailed formula explanation and formula calculation derivation process: When providing lottery-related services, consider the contributions of value-added services and basic services to the overall user experience. For example, if a user purchases 5 lottery tickets, and each lottery ticket provides an additional utility score of 2 points through value-added services (such as automatic renewal, automatic bonus redemption), and the fixed utility of the basic services (such as customer support and tax optimization) is 10 points, then the calculation formula for the total service utility is: This calculation model helps ensure that the provided services not only meet the actual needs of users, but also provide the maximum utility and convenience while maintaining budget constraints, optimizing the overall purchase and usage experience of users.
[0123] Please refer to Figure 8 , on the other hand, provides a voice recognition-based transaction service system, which is applied to a voice recognition-based transaction service method. The system includes:
[0124] The voice receiving module receives the user's voice instructions, collects sound waves through the microphone, converts them into digital signals, and then translates the voice information into text to obtain the voice text conversion result;
[0125] The parameter configuration module, based on the voice text conversion result, identifies keywords, records the budget and lottery types, configures purchase parameters, sets budget and lottery type preferences, and obtains the purchase instruction parsing result;
[0126] The time cost analysis module uses the purchase instruction parsing result to analyze and optimize the time cost of the purchase process, adjusts the processing time through linear programming, reduces the waiting and processing time, and generates a time optimization configuration;
[0127] The purchase strategy evaluation module, based on the time optimization configuration, calculates the costs and potential returns of different lottery purchase strategies, evaluates the purchase probabilities and expected returns of multiple strategies, and obtains the strategy optimization result;
[0128] The lottery recommendation module uses the strategy optimization result to recommend the most suitable lottery types and quantities according to the user's purchase intention and budget, and generates a lottery purchase plan.
[0129] As described above, it is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A transaction service method based on speech recognition, characterized in that, The method includes: Receiving a voice command from a user, converting the sound wave of the voice command into a digital signal using signal processing technology, and generating a voice-to-text conversion result by converting the digital signal into text; Extracting keywords according to the voice-to-text conversion result, where the keywords include budget, lottery type, and betting method, analyzing the intent of the voice command, and identifying the command data structure to obtain a purchase command parsing result; Configuring purchase parameters through the purchase command parsing result, setting budget limits and preferred lottery types, and performing parameter configuration for purchase settings to obtain an initial lottery purchase setting; Using the initial lottery purchase setting, analyzing the time cost of the lottery purchase process, using a linear programming tool to adjust the time of multiple links, and optimizing voice recognition, command parsing, network response, and transaction processing to generate an optimized time configuration; According to the optimized time configuration, analyzing the costs and potential returns of different lottery purchase strategies, calculating the expected value of the strategies, evaluating the purchase probabilities and expected returns of each lottery type, and obtaining an optimal purchase strategy; Based on the optimal purchase strategy, combining the user's purchase intention and budget, recommending lottery-related services to the user, including the types and quantities of lottery tickets to be purchased, and generating a lottery purchase plan.
2. The transaction service method based on speech recognition according to claim 1, wherein The voice-to-text conversion result includes recognized keywords, syntactic structures, and an evaluation result of command integrity. The purchase command parsing result includes parsed keywords, budget and lottery type, the intent of the command, and data structure classification. The initial lottery purchase setting includes budget limits set by the user, selected lottery types, and purchase frequencies. The optimized time configuration includes adjusted voice recognition speed, command parsing time, and response rate of transaction processing. The optimal purchase strategy includes analyzed lottery type priorities, expected return on investment, and risk assessment results. The lottery purchase plan includes recommended lottery types, recommended number of tickets to be purchased, and estimated purchase frequencies.
3. The transaction service method based on speech recognition according to claim 1, characterized in that The steps of receiving a voice command from a user, converting the sound wave into a digital signal using signal processing technology, and generating a voice-to-text conversion result by converting the voice into text are specifically as follows: Receiving a voice command from a user, converting the sound wave into a digital signal by setting a sampling rate, filtering out parts with frequencies outside the human voice range, and optimizing the signal quality to obtain a digital signal sample; Performing time segmentation based on the digital signal sample, distinguishing voice and silent segments, applying dynamic range compression to reduce signal dynamic changes, suppressing background noise, and extracting key voice frequencies to generate key voice segments; According to the key voice segments, performing frequency domain conversion to extract voice features, verifying vocabulary boundaries through continuity, and converting the matching voice patterns into corresponding text to generate a voice-to-text conversion result.
4. The transaction service method based on speech recognition according to claim 1, wherein Extracting keywords according to the voice-to-text conversion result, where the keywords include budget, lottery type, and betting method, analyzing the intent of the voice command, and identifying the command data structure to obtain a purchase command parsing result, including: Based on the speech text conversion result, perform keyword extraction operations to screen for words related to amounts and product categories. The words include budget and lottery types. Locate numerical values and lottery types through semantic analysis to obtain a keyword extraction data set. Based on the keyword extraction data set, analyze the intent of the user's voice command, combine with the context to parse the user's needs, and identify the target lottery to be purchased and the spending limit to obtain intent parsing data. Use the intent parsing data to construct an instruction data structure, including the key-value pair relationship of the amount and lottery type, perform iterative processing and respond to the user's instruction to obtain the purchase instruction parsing result.
5. The transaction service method based on voice recognition according to claim 1, characterized in that, The steps for configuring purchase parameters, setting budget limits and preferred lottery types, and performing parameter configuration for purchase settings based on the purchase instruction parsing result to obtain the initial lottery purchase settings are as follows: According to the purchase instruction parsing result, identify and extract the user's budget and lottery type data, configure purchase parameters to match the user's needs, and perform priority processing by setting an amount upper limit and selecting the target type of lottery to obtain a parameter configuration list. Use the parameter configuration list to set the budget limit not to exceed the amount specified by the user, adjust the lottery purchase settings to match the lottery type preferred by the user to obtain preset purchase parameters. Based on the preset purchase parameters, integrate the settings for lottery purchase, verify that the parameters reflect the user's intent and restrictions, complete the preparatory work before purchase to obtain the initial lottery purchase settings.
6. The transaction service method based on speech recognition according to claim 1, wherein The steps for using the initial lottery purchase settings to analyze the time cost of the lottery purchase process, use a linear programming tool to adjust the time of multiple links, and optimize speech recognition, command parsing, network response, and transaction processing to generate an optimized time configuration are as follows: According to the initial lottery purchase settings, analyze the time cost of multiple links in the entire lottery purchase process, including speech recognition, command parsing, network response, and transaction processing, record the time consumption of each link to obtain a time cost analysis result. Based on the time cost analysis result, use the simulated annealing algorithm to adjust the time of multiple links in the purchase process, balance the link load to obtain a time adjustment plan. Implement the time adjustment plan, implement optimization measures, adjust the time of speech recognition, command parsing, network response, and transaction processing, optimize the overall efficiency and user experience to obtain an optimized time configuration.
7. The transaction service method based on speech recognition according to claim 6, wherein The formula of the simulated annealing algorithm is as follows: ; wherein, is the new time configuration, is the time of the original process, is the desired time saving, is the current temperature, is the annealing rate, is the balance coefficient of time adjustment, is the average time consumption within a cycle, is the adjustment coefficient, is the standard deviation of time consumption, is the base of the natural logarithm.
8. The transaction service method based on voice recognition according to claim 1, characterized in that According to the optimized time configuration, analyze the cost and potential return of different lottery purchase strategies, calculate the expected value of the strategy, evaluate the purchase probability and expected return of each lottery type to obtain the optimal purchase strategy, including: Based on the optimized time configuration, analyze the cost of different lottery purchase strategies, including the time cost and capital cost of purchase, and at the same time evaluate the potential return of the strategy. By collecting the winning data and cost information of multiple types of lotteries, obtain the analysis result of the strategy cost and return. According to the results of the above-mentioned strategic cost and return analysis, calculate the expected value of the differentiated lottery purchase strategy. Referring to the winning probability and bonus amount of each lottery type, through weighing the costs and potential benefits, obtain the calculation results of the strategy expected value. Adopt the calculation results of the above-mentioned strategy expected value, evaluate the purchase probability and expected return of each lottery type, and combine the user's purchase preferences and budget constraints to select the lottery type with high expected return and moderate risk, so as to obtain the optimal purchase strategy.
9. The transaction service method based on voice recognition according to claim 1, wherein Based on the above-mentioned optimal purchase strategy, combined with the user's purchase intention and budget, recommend lottery-related services for the user, including the types and quantities of lottery tickets purchased, and generate a lottery purchase plan, including: Based on the above-mentioned optimal purchase strategy, referring to the user's purchase intention and budget, analyze the lottery types preferred by the user and the amount of investable funds, and select the lottery types and purchase quantities that match the user's budget and expected return to obtain a customized lottery selection. Adopt the above-mentioned customized lottery selection, recommend services associated with the selected lottery types and quantities, including automatic purchase renewal, automatic bonus redemption, and tax optimization measures, to provide the user with a one-stop service to optimize the purchase experience and obtain a list of recommended lottery-related services. According to the above-mentioned list of recommended lottery-related services, integrate the recommended services and lottery purchase options, and check whether the lottery services match the user's needs and budget constraints to obtain a lottery purchase plan.
10. A transaction service system based on speech recognition, characterized in that, According to the voice recognition-based transaction service method described in any one of claims 1-9, the system includes: The voice receiving module receives the user's voice command, collects sound waves through the microphone, converts them into digital signals, and then translates the voice information into text to obtain the voice text conversion result. The parameter configuration module, based on the above-mentioned voice text conversion result, identifies keywords, records the budget and lottery type, configures the purchase parameters, sets the budget and lottery type preferences, and obtains the purchase instruction parsing result. The time cost analysis module adopts the above-mentioned purchase instruction parsing result, analyzes and optimizes the time cost of the purchase process, adjusts the processing time through linear programming, reduces the waiting and processing time, and generates a time optimization configuration. The purchase strategy evaluation module, based on the above-mentioned time optimization configuration, calculates the costs and potential returns of the differentiated lottery purchase strategy, evaluates the purchase probabilities and expected returns of multiple strategies, and obtains the strategy optimization result. The lottery recommendation module uses the strategy optimization result to recommend the most suitable lottery types and quantities according to the user's purchase intention and budget, and generates a lottery purchase plan.
Citation Information
Patent Citations
Payout optimizing method for football betting
CN104376520A
Lottery pooled-purchasing method based on user behavior characteristics
CN105528724A
Investment scheme generation system and investment method using guessing type sports lottery
CN110659756A
Lottery service method and device based on deep learning, and lottery intelligent service terminal
CN113674472A
Lottery system and method
KR1020160015461A
Cited By
Lottery recognizer self-adaptive adjustment method and system based on image recognition
CN121747135A