Service Platform Access Pressure Reduction via Blockchain Block Generation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Service platforms face high access pressure and operational faults when a predetermined moment arrives, such as during flash sales, leading to reduced service execution efficiency.
Innovation Solution
A service execution method using a blockchain system where nodes continuously generate blocks, store them on a blockchain, and provide the blockchain to end-user devices, allowing users to obtain block generation rules ahead of time, perform consensus procedures, and execute services based on user identifiers included in selected blocks, thereby alleviating access pressure and ensuring fairness.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the service platform receives all qualification acquisition requests at the predetermined moment, then all users can participate in the qualification acquisition activity, but the service platform faces high access pressure and operational faults
Solution Approach 1:
The system performs preliminary actions by having nodes continuously generate blocks and store them on the blockchain before the predetermined moment arrives. Users can obtain block generation rules and generate preprocessing blocks in advance, so that when the predetermined moment comes, the service platform only needs to perform simple verification and selection operations rather than processing all qualification acquisition requests from scratch.
Solution Approach 2:
The blockchain acts as an intermediary between users and the service platform. Instead of users directly submitting qualification acquisition requests to the service platform at the predetermined moment, they submit requests to nodes that continuously generate blocks on the blockchain. The service platform then verifies blocks from the blockchain rather than processing raw user requests directly, thereby reducing access pressure and improving reliability.
2Productivity
If the service platform processes all user requests simultaneously at the predetermined moment, then service execution can be performed, but service execution efficiency is reduced due to high access pressure
Solution Approach 1:
Blocks are generated and stored on the blockchain in advance by nodes continuously operating before the predetermined moment. This preliminary block generation eliminates the need for the service platform to process complex qualification verification at the moment of service execution, thereby improving service execution efficiency while maintaining platform stability.
Solution Approach 2:
Nodes continuously generate blocks and maintain the blockchain throughout the service period, not just at the predetermined moment. This continuous operation ensures that the service platform always has access to pre-generated, verified blocks, enabling efficient service execution without interruption or performance degradation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present application discloses a service execution method and device. In the method, after receiving a qualification acquisition request sent by an end-user device, a service platform can return a block generation rule to the end-user device, instead of returning the block generation rule to the end-user device only when a predetermined moment arrives. Therefore, even if the end-user device sends the qualification acquisition request to the service platform before the predetermined moment, the service platform still returns the block generation rule to the end-user device. In other words, the service platform can separate, in terms of time, users who participate in obtaining service qualification, so that some users can obtain the block generation rule before the predetermined moment, and then participate in a service based on the obtained block generation rule when the predetermined moment arrives. As such, access pressure faced by the service platform when the predetermined moment arrives is greatly relieved, and normal running of the service platform after the predetermined moment arrives is ensured.