POS machine control data transmission method and device based on application scene

By introducing pre-authorization processing and edge computing nodes into POS machines, it solves the problems of network congestion and security risks of traditional POS machines during peak periods, achieves fast transaction processing and data security, and ensures high efficiency under unstable network conditions. operations.

CN118609276AInactive Publication Date: 2024-09-06NORTHERN LIGHTS INNOVATION TECH (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410697248.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional POS machines can easily cause network congestion during peak periods, resulting in low transaction processing efficiency, and lack of flexible resource management and data processing mechanisms, which pose security risks. Especially when network conditions are poor, they cannot continue to process transactions, affecting merchant operations.

Method used

Introducing a pre-authorization processing mechanism and edge computing nodes, authenticating customers' mobile payment applications through POS machines, dynamically updating pre-authorized tokens, using high-performance processors and data caching modules for local transaction data processing, and synchronizing after network recovery Data, use AES or RSA encryption algorithm to protect data transmission.

Benefits of technology

Improves transaction processing speed and security, reduces dependence on central servers, ensures efficient operation under various network conditions, shortens transaction settlement time, improves customer satisfaction, and continues to process transactions when the network is disconnected. Reduces the risk of system failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609276A
    Figure CN118609276A
Patent Text Reader

Abstract

The invention relates to the field of financial payment and retail management, and discloses a POS machine control data transmission method and device based on an application scenario, and the method comprises the following steps: S1, verifying the mobile payment application identity of a customer through a POS machine, and initiating a pre-authorization request; s2, receiving and storing a pre-authorization Token generated by the payment platform; s3, dynamically updating the pre-authorization Token according to the order modification condition; s4, after the customer confirms the order, the final amount is sent to the payment platform for settlement, and the pre-authorization Token is converted into actual deduction; and S5, enabling the pre-authorization Token to be invalid after settlement is completed. Through the pre-authorization processing and the edge computing node, the transaction processing speed is accelerated, the pre-authorization mechanism ensures that funds are deducted immediately after the order is confirmed, a traditional payment confirmation process does not need to be waited, the pre-authorization Token is generated and updated in real time, the transaction settlement time is shortened, and the overall efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of financial payment and retail management, and in particular to a method and device for controlling data transmission of a POS machine based on an application scenario. Background Art

[0002] With the increasing prosperity of modern business activities and the rapid development of information technology, POS (Point of Sale) is increasingly used in various business scenarios. Traditional POS mainly relies on central servers to process and settle transaction data, which can easily lead to network congestion during peak hours and affect transaction efficiency. In addition, in the existing payment process, after confirming the order, customers need to go through a long period of payment confirmation and settlement, which can easily cause customer dissatisfaction. Especially in the fast-paced catering and retail industries, efficient transaction processing is particularly important.

[0003] Currently, POS machines on the market usually adopt simple transaction processing procedures and lack flexible resource management and data processing mechanisms, which makes it difficult to ensure the stability and efficiency of the system when processing high-frequency transactions. Especially when the network conditions are poor or disconnected, the traditional POS system cannot continue to process transactions, which seriously affects the normal operation of merchants. In addition, the traditional POS machine data transmission process lacks effective encryption protection, which poses certain security risks and easily leads to transaction data being intercepted or tampered with.

[0004] In order to solve the above problems, a method and device for controlling data transmission of a POS machine based on an application scenario are provided. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention provides a POS machine control data transmission method and device based on application scenarios. By introducing a pre-authorization processing mechanism and edge computing nodes, the speed and security of transaction processing are improved, the dependence on the central server is reduced, the use of system resources is optimized, and efficient operation under various network conditions is ensured.

[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a POS machine control data transmission method based on application scenarios, comprising the following steps:

[0007] Authenticate the customer's mobile payment application through the POS terminal and initiate a pre-authorization request;

[0008] Receive the pre-authorization Token generated by the payment platform and store it in the POS machine;

[0009] During the customer ordering process, the pre-authorization token is dynamically updated according to the order modification situation;

[0010] After the customer confirms the order, the final amount is sent to the payment platform for final settlement, and the pre-authorization token is converted into actual deduction;

[0011] The pre-authorization token will be invalidated after settlement is completed.

[0012] Preferably, the pre-authorization Token is encrypted using an AES or RSA encryption algorithm to ensure security during transmission and storage.

[0013] Preferably, when processing transaction data, the POS machine uses an edge computing node for local processing, and the edge computing node includes:

[0014] High-performance processor and large memory for fast processing of order data and payment verification;

[0015] The data cache module is used to cache transaction records locally and synchronize data with the central server during low traffic periods.

[0016] Preferably, the edge computing node includes:

[0017] Fault detection and response module, which is used to monitor the operating status of edge computing nodes and automatically transfer data processing tasks to backup edge computing nodes once a fault or performance degradation is detected;

[0018] The data integrity verification module is used to verify the integrity and consistency of data during the data synchronization process to ensure the accuracy of data when it is synchronized between the local and central servers.

[0019] Preferably, the edge computing node can switch to offline mode to continue processing transaction data when the network is delayed or interrupted, and synchronize the data to the central server after the network is restored.

[0020] Preferably, the method further comprises a transaction queue management step, wherein the transaction queue management comprises:

[0021] Set transaction priorities based on order urgency, customer VIP level, and expected processing time;

[0022] Monitor the transaction queue status in real time and dynamically adjust the transaction processing order according to the system load;

[0023] The current queue status and estimated waiting time are displayed through the POS interface to help operators manage transactions.

[0024] Preferably, the transaction queue management utilizes an intelligent resource allocation strategy to optimize the resource usage of the POS machine and ensure rapid processing of high priority transactions.

[0025] Preferably, the transaction queue management further includes:

[0026] Transaction timeout processing mechanism, used to monitor the real-time nature of transaction processing and automatically adjust the priority or reallocate resources for transactions that exceed the scheduled processing time;

[0027] The transaction data analysis module is used to analyze historical transaction data and real-time transaction data, make predictive adjustments to the transaction queue based on the analysis results, and optimize the transaction processing strategy.

[0028] Preferably, the pre-authorization process includes:

[0029] Dynamic adjustment mechanism for pre-authorization amount, automatically adjusting the pre-authorization amount according to the real-time increase or decrease of customer order items;

[0030] After the customer confirms the order, the amount in the pre-authorization Token is finally confirmed through the POS machine. If the actual consumption amount is lower than the pre-authorization amount, a request to partially release the pre-authorization amount is initiated.

[0031] The present invention also provides a POS device for implementing the method, comprising:

[0032] An authentication module for authenticating customers through their mobile payment apps;

[0033] The pre-authorization processing module is used to initiate pre-authorization requests and receive and manage pre-authorization tokens;

[0034] Edge computing nodes, including high-performance processors and data cache modules, are used to locally process and cache transaction data;

[0035] The transaction queue management module is used to set and manage transaction priorities and adjust transaction queues in real time;

[0036] The data encryption and transmission module uses AES or RSA encryption algorithm and SSL / TLS protocol to protect the security of data transmission.

[0037] The present invention provides a method and device for controlling data transmission of a POS machine based on an application scenario, which has the following beneficial effects:

[0038] 1. The present invention greatly speeds up the transaction processing speed by introducing pre-authorization processing and edge computing nodes. The pre-authorization mechanism ensures that funds can be deducted immediately after the customer confirms the order, without waiting for the traditional payment confirmation process. By generating and updating pre-authorization tokens in real time, the system greatly shortens the transaction settlement time and improves the overall transaction efficiency. The edge computing nodes enable transaction data to be processed quickly locally, reducing dependence on the central server, thereby improving the overall transaction efficiency.

[0039] 2. The present invention uses a mechanism for final confirmation and release of the pre-authorization amount, so that the system ensures that the deduction is consistent with the actual consumption amount, reduces financial disputes caused by errors in the pre-authorization amount, and improves customers' trust and satisfaction with the transaction system.

[0040] 3. The present invention uses the offline processing function of edge computing nodes and intelligent resource allocation strategy to ensure that even when the network is disconnected or otherwise unstable, the system can continue to process transactions and save data, and automatically synchronize to the central server after the network is restored. In addition, the fault detection and response mechanism further improves the system's self-healing ability and reduces the risk of service interruption caused by system failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the method flow of the present invention;

[0042] Figure 2 It is a schematic diagram of the device structure of the present invention. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the specification of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] Please see attached Figure 1 The embodiment of the present invention provides a POS machine control data transmission method based on application scenarios, aiming to improve transaction processing speed, security and customer experience by optimizing the pre-authorization mechanism.

[0045] Specifically, the method comprises the following steps:

[0046] S1. Customer identity verification and pre-authorization request

[0047] In this step, the POS machine first authenticates the customer by interacting with the customer's mobile payment application. The customer can choose to authenticate using a QR code, NFC, or by entering a mobile phone number and payment password. Once the identity is successfully authenticated, the POS machine initiates a pre-authorization request to the payment platform. This request will specify an estimated amount based on the customer's historical spending behavior or standard spending patterns, thereby setting a credit limit for the upcoming transaction.

[0048] By pre-authorizing before the transaction begins, it can be ensured that once the transaction is confirmed, the funds will be deducted quickly. This not only reduces the transaction settlement time, but also enhances the security of the transaction process, because the use of funds is only carried out after the customer's identity is verified. It significantly improves the processing speed and security of transactions and reduces the inconvenience and queuing time caused by waiting for settlement.

[0049] S2. Receive and store the pre-authorization token

[0050] After processing the pre-authorization request, the payment platform will generate a pre-authorization token and send it back to the POS machine. The token contains information such as the authorized amount and validity period. After receiving this token, the POS machine will store it securely for amount control and final settlement during the transaction.

[0051] The use of Tokens ensures the controllability and security of the amount during the entire transaction process. Through Tokens, the payment platform can track the use of the pre-authorized amount and confirm it at the final settlement. This enhances the flexibility and security of fund management, while providing a layer of protection for data transmission between POS machines and payment platforms.

[0052] S3, Dynamically update pre-authorization token

[0053] During the customer ordering process, if the order is modified (such as adding or reducing order items), the POS machine will update the pre-authorization request based on the real-time order amount. This step involves recalculating the pre-authorization amount and requesting the payment platform to update the amount in the Token.

[0054] This dynamic update mechanism ensures that the pre-authorization amount always reflects the customer's final consumption amount, thus avoiding the problem of over-authorization or insufficient funds. It provides higher transaction flexibility and precise fund control, ensuring the rational use of funds and the smooth completion of transactions.

[0055] S4. Final amount settlement

[0056] After the customer confirms the order, the POS machine sends the final amount of the order to the payment platform, requesting that the pre-authorized token be converted into the actual deduction operation. This step is the final confirmation of the pre-authorization process, ensuring the accurate settlement of the transaction.

[0057] By converting pre-authorization into actual deduction, it is possible to ensure that the flow of funds in the transaction is synchronized with the delivery of goods or services. This ensures the financial transparency and correctness of the transaction, reducing fund processing errors and customer complaints.

[0058] S5. Invalidate the pre-authorization token

[0059] After the transaction is settled, the pre-authorized token will be invalidated. This measure prevents the repeated use of tokens and potential security risks.

[0060] Ending the validity of the token is an important step in cleaning up the remaining data after the transaction is completed, avoiding data leakage and unauthorized use. It enhances the security of the entire transaction processing process and ensures the protection of customer information and funds.

[0061] Through the above steps, the present invention not only optimizes the transaction processing flow, but also strengthens the security measures in the transaction process, improves customer satisfaction, and adapts to the needs of various sales environments. In addition, the present invention is easy to implement, economical, and easy to deploy and upgrade in the existing POS system.

[0062] In a preferred embodiment of the present invention, special attention is paid to the security of the pre-authorization token to ensure that the token will not be illegally obtained or tampered with during the entire data transmission and storage process. To this end, advanced encryption algorithms are used, including AES (Advanced Encryption Standard) and RSA (a public key encryption technology) to enhance the security protection of the pre-authorization token.

[0063] Encryption Implementation:

[0064] 1. AES encryption: When the pre-authorized token is generated, the system will use the AES encryption algorithm to encrypt the token. AES is a symmetric encryption technology, which means that the same key is used for encryption and decryption. The POS system and the payment platform share this key, which is exchanged and stored in a secure manner to ensure that only authorized systems can access and decrypt the token. AES encryption provides efficient data protection and is suitable for high-speed transaction environments, ensuring the confidentiality and integrity of data during storage and transmission.

[0065] 2.RSA encryption: In some cases, especially when secure key exchange is required across platforms or devices, RSA encryption is used. RSA is an asymmetric encryption technology that uses a pair of keys, namely a public key and a private key. The public key is used to encrypt data and the private key is used to decrypt. In this embodiment, the payment platform uses the public key to encrypt the token, and the POS machine uses the private key to decrypt. RSA encryption provides a secure way to deal with public key exchange problems and reduce the risk of man-in-the-middle attacks.

[0066] By using AES and RSA encryption technology, it can ensure that the pre-authorized token will not be eavesdropped or tampered with when transmitted in the public network, protecting the customer's financial information security. Encryption ensures that even if the data is intercepted during transmission, the data content cannot be interpreted without the corresponding decryption key, thus effectively preventing data leakage.

[0067] By implementing this encryption measure, the present invention not only improves the security of transaction data, but also enhances consumers' trust in the POS system, creating favorable conditions for the widespread acceptance and use of electronic transactions. In addition, the implementation of this method also helps to avoid possible legal risks and economic losses, and is an economical and effective solution.

[0068] In a preferred embodiment of the present invention, the pre-authorization process further optimizes the management of pre-authorization by introducing a dynamic adjustment mechanism and a final amount confirmation process. These functions improve the efficiency of fund use and customer satisfaction, while ensuring the merchant's profit and fund security. The following describes in detail the implementation of these functions:

[0069] Dynamic adjustment mechanism of pre-authorization amount

[0070] Real-time monitoring of order changes: The POS system monitors in real time whether customers add or subtract items from their order during the ordering process. The system automatically records these changes and calculates the updated order total in real time.

[0071] Automatically adjust the pre-authorization amount: Based on the change in the total order amount, the system automatically initiates a request to the payment platform to adjust the pre-authorization amount. If the order amount increases, the system requests an increase in the pre-authorization amount; if the order amount decreases, the pre-authorization amount is reduced accordingly.

[0072] Final confirmation and release of pre-authorized amount

[0073] Order confirmation: After the customer finally confirms the order, the POS system recalculates the final consumption amount.

[0074] Confirm the amount in the pre-authorization token: The system checks the amount recorded in the current pre-authorization token based on the final confirmed order amount.

[0075] Handling amount discrepancies: If the actual consumption amount is lower than the pre-authorized amount, the system automatically initiates a request to the payment platform to partially release the pre-authorized amount to release unnecessary funds and ensure that only the actual consumption amount is deducted.

[0076] By tracking order changes in real time and automatically updating the pre-authorization amount, the system maintains the consistency between the pre-authorization amount and the actual consumption amount, reducing the financial burden of excessive pre-authorization on customers. At the same time, the pre-authorization amount is reviewed and adjusted after the order is finally confirmed to ensure payment accuracy, avoid excessive freezing of funds, and improve the liquidity and efficiency of funds.

[0077] Through this optimized pre-authorization processing mechanism, the POS system can not only manage transaction pre-authorization more efficiently and flexibly, but also provide more friendly and reliable customer service, which is a crucial improvement for any retail or catering business.

[0078] In a preferred embodiment of the present invention, edge computing nodes are introduced into the POS system to optimize the processing efficiency and response time of transaction data, which is a significant improvement over the traditional POS system. The implementation of edge computing nodes mainly focuses on improving transaction processing speed and reducing dependence on central servers. The following is a detailed implementation method:

[0079] High-performance processor and large memory

[0080] Configuration selection: Choose a high-performance processor suitable for a business environment, such as a multi-core processor that can handle multi-threaded tasks simultaneously and enhance data processing capabilities. At the same time, configure sufficient memory (for example, 16GB or higher) to support rapid access and processing of large amounts of concurrent transaction data.

[0081] Function realization: The high-performance processor and large-capacity memory work together to enable the POS machine to quickly complete the calculation of order data, payment verification and other tasks that require immediate processing, such as real-time price updates and inventory management.

[0082] Data Cache Module

[0083] Local data cache: Implement a data cache module in the edge computing node, which is used to temporarily store transaction records and related data. This not only speeds up data access, but also reduces the impact of network latency on transaction processing.

[0084] Smart Sync Mechanism: Set up a smart sync mechanism to automatically synchronize data with the central server when network traffic is low. This includes synchronizing data at night or during off-peak hours to optimize data flow and reduce system congestion.

[0085] By configuring high-performance processors and large-capacity memory, edge computing nodes can quickly process and respond to transaction requests locally without network delays, which is especially important in a fast-paced business environment. At the same time, the introduction of the data cache module allows the system to process and store data locally, so that it is not completely dependent on the continuous online status and response speed of the central server, which enhances the system's fault tolerance and stability.

[0086] In summary, the introduction of edge computing nodes has brought significant performance improvements and operational efficiency to the POS system, which is particularly suitable for business environments that handle high-frequency transactions, such as fast food restaurants, supermarkets, etc. This implementation method not only improves customer experience, but also enhances the business continuity and data processing capabilities of merchants.

[0087] In order to further enhance the reliability and data security of edge computing nodes, the edge computing nodes in the preferred embodiment of the present invention are also provided with a fault detection and response module and a data integrity verification module. The addition of these modules is intended to improve the self-recovery capability of the system and the correctness of the maintenance data during the processing process, thereby providing a more robust and reliable service.

[0088] Fault detection and response module

[0089] Fault monitoring mechanism: This module automatically identifies signs of system performance degradation or failure by monitoring key performance indicators of edge computing nodes in real time, such as CPU usage, memory usage, network status, and response time.

[0090] Automatic task transfer: Once any indicator anomaly or system failure is detected, the module will trigger an automatic response mechanism to quickly and seamlessly transfer data processing tasks to pre-configured backup edge computing nodes to ensure the continuity of transaction processing.

[0091] The fault detection and response module uses various system monitoring tools to evaluate the health of nodes. Through preset performance thresholds, the module can promptly identify potential faults and trigger countermeasures, such as reallocating resources or shifting loads, to prevent the overall system performance from being affected.

[0092] Data integrity verification module

[0093] Data verification algorithm: During the data synchronization process, this module uses technologies such as checksums, hash functions, or digital signatures to ensure that the data maintains integrity and consistency during synchronization from the edge computing node to the central server.

[0094] Consistency guarantee: A consistency check is performed before and after data transmission. If the data is inconsistent, the synchronization is automatically retried or an error is reported to avoid data loss or damage.

[0095] The data integrity verification module runs during the data transmission process, ensuring that the received data is consistent with the data sent by generating and comparing the hash value or other verification information of the data. This process helps identify any errors or tampering that may have occurred during the data transmission process.

[0096] In short, these optimization implementation measures have greatly enhanced the stability and reliability of the POS system when processing high-frequency, high-risk transactions, providing merchants with a safe and efficient transaction environment.

[0097] In a preferred embodiment of the present invention, the edge computing node has the ability of offline processing and data synchronization, which is to ensure that transaction processing can still proceed smoothly when the network is delayed or interrupted, so as to avoid affecting customer experience and operation efficiency. The following is a detailed implementation of this function:

[0098] Offline operation mode

[0099] Automatically detect network status: The edge computing node is equipped with a network status monitoring module, which can monitor the connection status with the central server in real time. Once the network connection is detected to be unstable or interrupted, the system automatically switches to offline mode.

[0100] Data processing and storage: In offline mode, all new transaction data is processed and temporarily stored in the local cache or built-in storage device. The system continues to perform all necessary transaction verification and recording tasks to ensure that transactions are not interrupted by network problems.

[0101] Data Synchronization

[0102] Automatic data synchronization: After the network is restored, the edge computing node automatically starts the data synchronization process. The system will organize the data accumulated during the offline period and upload the data to the central server in chronological order.

[0103] Consistency and integrity verification: During the data synchronization process, the edge computing node utilizes the previously described data integrity verification module to ensure that all data synchronized to the central server is complete and has not been tampered with.

[0104] Through real-time network monitoring and automatic switching mechanisms, edge computing nodes can flexibly adjust their operating modes according to current network conditions without manual intervention, maintaining business continuity and data security. Even when the network is unavailable, the offline mode ensures uninterrupted transaction processing, while using local processing capabilities to reduce dependence on the network and improve the overall efficiency of the system.

[0105] In the case of unstable or disconnected network, transaction activities can continue, ensuring that business operations will not be stalled due to technical problems, which is especially important in high-traffic business environments such as retail and catering industries. All transaction data is first processed and securely stored locally, and then synchronized to the central server when the network is restored, ensuring the integrity and accuracy of the data.

[0106] In summary, the offline operation and data synchronization functions in this preferred embodiment significantly improve the reliability and efficiency of the POS system, allowing it to maintain efficient operation even in an unstable network environment, thereby meeting the strict requirements for speed and stability in modern commercial operations.

[0107] In a preferred embodiment of the present invention, the introduction of transaction queue management further optimizes the transaction processing efficiency and customer experience of the POS system. This step is particularly targeted at busy business environments, such as large retail stores and fast food chains, where fast and accurate transaction processing is critical. The following is a specific implementation of transaction queue management:

[0108] Set transaction priorities

[0109] Priority rule definition: The system sets transaction priorities based on factors such as the urgency of the order, customer VIP level, expected processing time, etc. For example, customers with high VIP levels or urgent orders (such as pre-orders) can be given higher processing priority.

[0110] Automatic sorting mechanism: The POS system automatically sorts transactions entering the queue according to defined rules, ensuring that high-priority transactions are processed first.

[0111] Real-time monitoring of transaction queue status

[0112] Queue status monitoring: The system continuously monitors the status of the transaction queue, including queue length, processing speed, and waiting time for each transaction.

[0113] Dynamic Adjustment: Automatically adjust the order of transaction processing based on real-time data and system load, such as increasing processing resources or optimizing processing flows during peak hours to reduce waiting time for high-priority transactions.

[0114] Display queue status through POS interface

[0115] Interface design: POS interface design includes real-time display of transaction queue status information, such as the transactions currently being processed, the number of pending transactions, and the estimated waiting time.

[0116] Operator interaction: Operators can understand the queue status through the interface and make manual adjustments when necessary, such as prioritizing certain transactions or mobilizing resources to cope with queue changes.

[0117] By setting transaction priorities scientifically, the system can effectively identify and prioritize more urgent or higher-value transactions, optimizing resource allocation. Continuous system monitoring and real-time adjustment mechanisms ensure that the POS system can adapt to changing transaction needs and environments, improve processing efficiency and adaptability. By providing real-time data to operators, they can better understand and control the transaction processing process, improving management efficiency and responsiveness.

[0118] In general, the introduction of transaction queue management provides strong support for the POS system in processing a large number of transactions, which greatly improves the processing capacity and efficiency while ensuring the quality of service. This is particularly important for business environments that need to handle high-frequency transactions, and effectively supports the rapidly developing business needs.

[0119] In a preferred embodiment of the present invention, further optimization of transaction queue management is achieved by introducing an intelligent resource allocation strategy, which aims to optimize the resource usage of POS machines and ensure that high-priority transactions can be processed quickly and efficiently. This intelligent resource allocation strategy not only improves the efficiency of transaction processing, but also enhances the responsiveness and flexibility of the system. The following is a detailed implementation of the strategy:

[0120] Dynamic resource allocation

[0121] Resource monitoring: The system continuously monitors the key resources of the POS machine, such as CPU utilization, memory usage, network bandwidth, and storage space.

[0122] Demand Assessment: Based on the priority and estimated processing time of each transaction in the transaction queue, the system estimates the required resources and predicts the upcoming resource needs.

[0123] Resource allocation: Based on real-time resource usage and transaction queue requirements, the system automatically reallocates resources to prioritize resource requirements for high-priority transactions.

[0124] Priority-aware scheduling

[0125] Priority rules: The system dynamically adjusts the priority of transactions based on factors such as the urgency of the transaction, customer level (such as VIP level), and transaction amount.

[0126] Scheduling algorithm: Use advanced scheduling algorithms (such as priority queue scheduling, polling scheduling, etc.) to ensure that high-priority transactions can be processed first.

[0127] The system intelligently allocates resources based on real-time demand and resource status, reducing resource waste and improving resource utilization efficiency. At the same time, the system reserves and adjusts resources based not only on current resource usage, but also on predicted demand, ensuring rapid response during peak trading periods. And through efficient priority management, the system can ensure that key transactions will not be delayed due to insufficient resources, thereby improving the quality and speed of overall transaction processing.

[0128] In summary, the introduction of intelligent resource allocation strategy provides the POS system with an efficient and flexible way to cope with different transaction needs, ensuring the high efficiency and high stability of the system when facing high transaction volumes. It is an indispensable technical optimization solution in the modern retail environment.

[0129] In a preferred embodiment of the present invention, further expansion of transaction queue management includes a transaction timeout processing mechanism and a transaction data analysis module. These two functions enhance the system's control and prediction capabilities for transaction processing and further optimize the transaction processing flow. The following are detailed implementations of these functions:

[0130] Transaction timeout processing mechanism

[0131] Timeout monitoring settings: The system defines a scheduled processing time for each transaction type, which is set based on the complexity of the transaction and historical processing data. The system monitors the processing progress of each transaction in real time.

[0132] Automatic priority adjustment and resource reallocation: For transactions that exceed the scheduled processing time, the system automatically adjusts the priority to increase its processing priority, or dynamically reallocates more resources, such as increasing CPU processing power or memory resources, to speed up transaction processing.

[0133] Transaction data analysis module

[0134] Historical and real-time data analysis: The system integrates a data analysis module that continuously collects and analyzes historical and real-time transaction data.

[0135] Predictive Adjustment: Based on the analysis results, the system predicts future transaction patterns and possible bottlenecks, adjusts transaction queues and resources in advance, optimizes processing strategies, and prevents potential delays and problems.

[0136] The transaction timeout processing mechanism ensures that all transactions can be completed within a reasonable time, improving the system's responsiveness and customer satisfaction. The transaction data analysis module enables the system to intelligently predict and adapt to changing transaction needs by continuously learning and analyzing historical and real-time data, thereby performing more effective resource allocation and queue management.

[0137] By introducing these features, the transaction queue management of the POS system can not only process current transactions more efficiently, but also predict and adapt to future demand changes, providing retailers with a powerful tool to optimize transaction processing processes and improve customer satisfaction and business efficiency.

[0138] Please see attached Figure 2 The present invention also provides a POS device for implementing the above method embodiment, which is specially designed to improve transaction processing efficiency, enhance data security and optimize resource utilization.

[0139] Specifically, the device includes:

[0140] An authentication module for authenticating customers through their mobile payment apps;

[0141] The pre-authorization processing module is used to initiate pre-authorization requests and receive and manage pre-authorization tokens;

[0142] Edge computing nodes, including high-performance processors and data cache modules, are used to locally process and cache transaction data;

[0143] The transaction queue management module is used to set and manage transaction priorities and adjust transaction queues in real time;

[0144] The data encryption and transmission module uses AES or RSA encryption algorithm and SSL / TLS protocol to protect the security of data transmission.

[0145] The device of this embodiment can be used to execute the above method embodiment, and its principles and technical effects are similar, which will not be repeated here.

[0146] This POS device not only provides an efficient and secure transaction processing solution, but also enhances the system's adaptability and user experience through intelligent functions. This makes it an ideal choice for high-transaction environments such as retail and catering, helping companies improve customer satisfaction, optimize operational efficiency, and ensure data security.

[0147] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A POS machine control data transmission method based on application scenarios, characterized in that: The following steps are involved: Authenticate the customer's mobile payment application through the POS terminal and initiate a pre-authorization request; Receive the pre-authorization Token generated by the payment platform and store it in the POS machine; During the customer ordering process, the pre-authorization token is dynamically updated according to the order modification situation; After the customer confirms the order, the final amount is sent to the payment platform for final settlement, and the pre-authorization token is converted into actual deduction; The pre-authorization token will be invalidated after settlement is completed.

2. A POS machine control data transmission method based on application scenarios according to claim 1, characterized in that: The pre-authorization Token is encrypted using the AES or RSA encryption algorithm to ensure security during transmission and storage.

3. A POS machine control data transmission method based on application scenarios according to claim 1, characterized in that: When processing transaction data, the POS machine uses edge computing nodes for local processing, and the edge computing nodes include: High-performance processor and large memory for fast processing of order data and payment verification; The data cache module is used to cache transaction records locally and synchronize data with the central server during low traffic periods.

4. A POS machine control data transmission method based on application scenarios according to claim 3, characterized in that: The edge computing node includes: Fault detection and response module, which is used to monitor the operating status of edge computing nodes and automatically transfer data processing tasks to backup edge computing nodes once a fault or performance degradation is detected; The data integrity verification module is used to verify the integrity and consistency of data during the data synchronization process to ensure the accuracy of data when it is synchronized between the local and central servers.

5. A POS machine control data transmission method based on application scenarios according to claim 3, characterized in that: When the network is delayed or interrupted, the edge computing node can switch to offline mode to continue processing transaction data, and synchronize the data to the central server after the network is restored.

6. A POS machine control data transmission method based on application scenarios according to claim 1, characterized in that: The method further comprises a transaction queue management step, wherein the transaction queue management comprises: Set transaction priorities based on order urgency, customer VIP level, and expected processing time; Monitor the transaction queue status in real time and dynamically adjust the transaction processing order according to the system load; The current queue status and estimated waiting time are displayed through the POS interface to help operators manage transactions.

7. A POS machine control data transmission method based on application scenarios according to claim 6, characterized in that: The transaction queue management utilizes intelligent resource allocation strategies to optimize the resource usage of the POS machine and ensure fast processing of high priority transactions.

8. A POS machine control data transmission method based on application scenarios according to claim 6, characterized in that: The transaction queue management further includes: Transaction timeout processing mechanism, used to monitor the real-time nature of transaction processing and automatically adjust the priority or reallocate resources for transactions that exceed the scheduled processing time; The transaction data analysis module is used to analyze historical transaction data and real-time transaction data, make predictive adjustments to the transaction queue based on the analysis results, and optimize the transaction processing strategy.

9. A POS machine control data transmission method based on application scenarios according to claim 1, characterized in that: The pre-authorization process includes: Dynamic adjustment mechanism for pre-authorization amount, automatically adjusting the pre-authorization amount according to the real-time increase or decrease of customer order items; After the customer confirms the order, the amount in the pre-authorization Token is finally confirmed through the POS machine. If the actual consumption amount is lower than the pre-authorization amount, a request to partially release the pre-authorization amount is initiated.

10. A POS device for implementing any one of the methods of claims 1-9, characterized in that: include: An authentication module for authenticating customers through their mobile payment apps; The pre-authorization processing module is used to initiate pre-authorization requests and receive and manage pre-authorization tokens; Edge computing nodes, including high-performance processors and data cache modules, are used to locally process and cache transaction data; The transaction queue management module is used to set and manage transaction priorities and adjust transaction queues in real time; The data encryption and transmission module uses AES or RSA encryption algorithm and SSL / TLS protocol to protect the security of data transmission.

Citation Information

Cited By

  • Transaction platform user access method and system based on SSLVPN gateway

    CN120450867A