A block-based service processing method and terminal
By generating business block nodes and temporary blocks and caching based on user transmission information, the problems of differences in user devices and uneven network speeds are solved, a fair business processing method is achieved, and the gap between users is reduced.
Patent Information
- Application Number
- CN202411083435.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2044-08-08
AI Technical Summary
In existing systems for flash sales and coupon redemption, differences in user devices, network speeds, and typing speeds lead to unfair business processing, affecting users' success rate in making purchases.
By generating business block nodes and temporary blocks, the system determines whether the user's transmission information meets the preset conditions. User data that does not meet the conditions is cached and compensated using caching technology to ensure the determinism of data transmission speed.
It reduces the gap in business processing between users, provides a fairer business processing method, and reduces the impact of external transmission factors on business processing.
Smart Images

Figure CN119254784B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of block data processing, and in particular to a block-based business processing method and terminal. BACKGROUND
[0002] With the rapid development and popularization of the Internet, online activities such as online shopping, ticket booking, and coupon collection have become an integral part of people's daily life. These activities are often accompanied by fierce competition, especially in situations where resources are limited and demand is high, such as train ticket purchases during the Spring Festival, booking of popular performances, and limited-time purchase of discounted goods. Such activities are highly sensitive to time, and whether a user can successfully purchase the desired goods or services often depends on a combination of technical conditions and human factors.
[0003] Existing railway 12306 ticketing system: As an official railway ticket booking platform, its ticketing function aims to provide convenient ticketing services for users. However, in the face of a large user base and limited ticket sources, the system, although constantly optimized, still cannot completely avoid the situation of "one ticket difficult to obtain." In addition, the existence of illegal ticketing methods further exacerbates the difficulty of ticketing.
[0004] Ctrip ticketing service: As a third-party ticketing service platform, Ctrip provides more flexible ticketing strategies and value-added services such as acceleration packages, standby ticketing, etc. These measures have improved the success rate of user ticketing to some extent, but also face challenges, and service fees have become one of the factors for users to consider.
[0005] Taobao whole point purchase coupon: E-commerce platforms such as Taobao issue limited-time shopping coupons to attract user consumption and enhance user stickiness. However, due to the concentration of purchase time and the large number of users, the acquisition of shopping coupons is often a "speed war", which puts high requirements on the user's network speed and hand speed.
[0006] Douyin lucky bag: As an interactive function of short video platforms, Douyin lucky bag increases user participation and platform activity by randomly issuing rewards. Although its mechanism is different from ticketing and coupon acquisition, it still tests the user's reaction speed and network environment.
[0007] As can be seen, the current business processing method has the following shortcomings:
[0008] 1. Device differences: Different users have significant differences in device configuration, such as screen sensitivity, CPU performance, etc., which directly affect the user's operation efficiency and purchase success rate. In addition, multiple devices operating simultaneously further exacerbate the difficulty of ordinary users' purchase.
[0009] 2. Network speed inequality: Due to geographical location, network infrastructure and other factors, there are large differences in network speed among different regions and different users. This difference is particularly evident in time-sensitive activities such as rush buying, resulting in some users missing opportunities due to slow network speed.
[0010] 3. Speed difference: Users of different ages and experiences differ in reaction speed and operation proficiency. Younger users generally have faster reaction speed and more skilled operation skills, while older users may be at a disadvantage.
[0011] In summary, although the existing ticket rush and coupon collection systems meet user needs to some extent, there are still many shortcomings and challenges. With the continuous progress of technology and the increasing diversification of user needs, it is particularly important to develop more fair, efficient and convenient business processing systems. SUMMARY
[0012] The technical problem to be solved by the present application is to provide a block-based business processing method and terminal that can provide a more fair business processing method to reduce the business processing gap between users.
[0013] To solve the above technical problems, the technical solution adopted by the present application is:
[0014] A block-based business processing method, comprising the steps of:
[0015] Generating a corresponding business server according to the business type in the business block, generating a corresponding business block node for the business block, and generating a temporary block for the business block node, storing business data in the business block node;
[0016] Determine whether the transmission information of the user and the business block node meets the preset transmission condition, if not, generate a cache node for the user, store the user data of the user in the temporary block of the business block node through the cache node, so that the business block node directly processes the user data through the temporary block, and sends the processing result to the business server.
[0017] To solve the above technical problems, another technical solution adopted by the present application is:
[0018] A block-based business processing terminal, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to realize each step of the above-mentioned block-based business processing method.
[0019] The beneficial effect of the present application is that: according to the service type in the service block, the corresponding service server is generated, the corresponding service block node is generated for the service block, and the temporary block is generated for the service block node, the service data is stored in the service block node, and the data transmission speed between the service block node and the service server can be ensured; and for the transmission speed of the user to the service block node, if the transmission information of the user to the service block node does not reach the preset transmission condition, the user data can be cached by using the caching technology, and the corresponding temporary block is assisted to process, so that the transmission speed of the user to the service block node is compensated. In this way, the transmission speed of the user to the service block node can be reduced by compensation, and the transmission speed of the service block node to the server can also be determined, compared with the prior art, the influence of external transmission factors on service processing is reduced, and a more fair service processing method is provided to reduce the service processing gap between users. BRIEF DESCRIPTION OF DRAWINGS
[0020] Figure 1 A flowchart of a service processing method based on blocks according to an embodiment of the present application;
[0021] Figure 2 A schematic diagram of a service processing terminal based on blocks according to an embodiment of the present application;
[0022] Figure 3 A service processing logic flowchart according to an embodiment of the present application;
[0023] Figure 4 A structural schematic diagram of a service server according to an embodiment of the present application;
[0024] Figure 5 A relationship diagram of a user, a service block node and a service server according to an embodiment of the present application.
[0025] Label explanation:
[0026] 1. A service processing terminal based on blocks; 2. A memory; 3. A processor. DETAILED DESCRIPTION
[0027] To explain the technical content, the purpose and the effect of the present application in detail, the following will be explained in combination with the embodiments and the drawings.
[0028] Please refer to Figure 1 The embodiment of the present application provides a service processing method based on blocks, which comprises the following steps:
[0029] According to the service type in the service block, the corresponding service server is generated, the corresponding service block node is generated for the service block, and the temporary block is generated for the service block node, the service data is stored in the service block node.
[0030] determining whether the transmission information of the user and the service block node meets preset transmission conditions, if not, generating a cache node of the user, storing the user data of the user to the temporary block of the service block node through the cache node, so that the service block node directly processes the user data through the temporary block, and sends the processing result to the service server.
[0031] From the above description, the beneficial effects of the present application are that: according to the service type in the service block, the corresponding service server is generated, the corresponding service block node is generated for the service block, and the temporary block is generated for the service block node, and the service data is stored in the service block node, which can ensure that the data transmission speed between the service block node and the service server is determined; and for the transmission speed of the user to the service block node, if the transmission information of the user to the service block node does not meet the preset transmission conditions, the user data can be cached by using the cache technology, and the corresponding temporary block is assisted to process, so as to compensate for the transmission speed of the user to the service block node. In this way, the transmission speed of the user to the service block node can be reduced by compensation, and the transmission speed of the service block node to the server is also determined, compared with the prior art, the influence of external transmission factors on service processing is reduced, and a more fair service processing method is provided to reduce the service processing gap between users.
[0032] Further, determining whether the transmission information of the user and the service block node meets preset transmission conditions comprises:
[0033] If the network transmission time between the user and the service block node is greater than the network transmission time between the user and the service server, the transmission information of the user and the service block node does not meet the preset transmission conditions.
[0034] If the network transmission time between the user and the service block node is greater than the average network transmission time between the user and the service block node, the transmission information of the user and the service block node does not meet the preset transmission conditions.
[0035] From the above description, for the network transmission time, the user data with larger network transmission time is cached, which can adaptively compensate for the transmission speed of the user to reduce the service processing gap between users.
[0036] Further, determining whether the transmission information of the user and the service block node meets preset transmission conditions further comprises:
[0037] Obtaining operation information of the user, if time concentration degree of the operation information of the user is less than a concentration threshold, transmission information of the user and the business block node does not satisfy a preset transmission condition.
[0038] From the above description, it can be known that the user data with large operation concentration degree is cached, the operation speed of the user can be compensated adaptively, and the business processing gap between users can be reduced.
[0039] Further, the method further comprises:
[0040] When the user equipment processes data according to the simulated internal operation information, if the data processing time is greater than a time threshold, the transmission information of the user and the business block node does not satisfy the preset transmission condition.
[0041] From the above description, it can be known that the user equipment with large processing time is cached by simulating the operation of the user equipment, the processing speed of the user equipment can be compensated adaptively, and the business processing gap between users can be reduced.
[0042] Further, if the transmission information of the user and the business block node satisfies the preset transmission condition, user data of the user is sent to the business block node, the user data is marked, a business target of the user is generated, the business block node processes the user data and the business target, and a processing result is sent to the business server.
[0043] From the above description, when the transmission information of the user and the business block node satisfies the preset transmission condition, the user data is sent to the business block node, the user data is marked, and the business target of the user is generated, so that the data transmission speed between the business block node and the business server is optimal in the case that the transmission of the user to the business block node satisfies the condition.
[0044] Please refer to Figure 2 Another embodiment of the present application provides a business processing terminal based on block, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements each step of the above-mentioned business processing method based on block when executing the computer program.
[0045] The above-mentioned business processing method and terminal based on block are particularly suitable for a rush purchase system, and can provide a more fair business processing method to reduce the business processing gap between users, which will be described below through specific embodiments.
[0046] Embodiment one
[0047] Referring to Figure 1 A block-based business processing method, comprising the steps of:
[0048] S1, generating a corresponding business server according to the business type in the business block, generating a corresponding business block node for the business block, and generating a temporary block for the business block node, and storing business data into the business block node.
[0049] Specifically, referring to Figure 3 The business in the business block is divided into whole point business and bidding business, wherein the whole point business includes e-commerce whole point coupon and other businesses, and the bidding business includes rush purchase and other businesses.
[0050] Referring to Figure 4 and Figure 5 According to the business in the business block, a corresponding business server is generated, and a corresponding business block node is generated for the business block, which can make the transmission time between the business server and the business block node less than the transmission time threshold, and the business data is loaded into the business block node.
[0051] S2, judging whether the transmission information between the user and the business block node satisfies the preset transmission condition, if not, generating a cache node of the user, storing the user data of the user into the temporary block of the business block node through the cache node, so that the business block node directly processes the user data through the temporary block, and sends the processing result to the business server.
[0052] S21, judging whether the transmission information between the user and the business block node satisfies the preset transmission condition, if not, generating a cache node of the user, storing the user data of the user into the temporary block of the business block node. Specifically, from three dimensions of network speed, user speed and user equipment performance:
[0053] 1. Network speed:
[0054] If the network transmission time between the user and the business block node is greater than the network transmission time between the user and the business server, the transmission information between the user and the business block node does not satisfy the preset transmission condition;
[0055] Specifically, the ping value between the user and the business block node is obtained, and when the ping value between the user and the business block node is much greater than the ping value from the block to the business server, the user data is cached, and the user cache is stored in the temporary block.
[0056] If the network transmission time between the user and the service block node is greater than the average network transmission time between the user and the service block node, the transmission information between the user and the service block node does not satisfy the preset transmission condition.
[0057] Specifically, the total sum of all ping values between the current active user and the block is obtained, p 总 = p1+ p2+ p n , and then the average value sp = p 总 / n is calculated, after which the ping value between the user to be transmitted and the block and the average value are subtracted, T = sp-p i When T < 0, the deviation is too large, and the user data is cached in a temporary block or transferred to a block where T (sp-p i )> 0.
[0058] For example, there are 5 members with ping values of 30ms, 60ms, 42ms, 100ms and 50ms, respectively, and the average value is (30+60+42+100+50) / 5 = 56.4. It can be seen that the ping values of the second and fourth members exceed the average value, and are transferred to the next block or cached in a temporary block.
[0059] 2. User speed:
[0060] The operation information of the user is obtained, and if the time concentration degree of the user's operation information is less than the concentration degree threshold, the transmission information between the user and the service block node does not satisfy the preset transmission condition.
[0061] Specifically, the operation information of the user is obtained, for example, when a key / touch is clicked, a corresponding relationship between the click operation P and the cycle time T is established, that is, how many times the click operation occurs within a cycle T. A P / T dot matrix is established, and T is taken as the abscissa, P is taken as the ordinate, a rectangular coordinate system is established, and the data concentration data in P / T is established in the horizontal and vertical coordinate mode. The concentration data is obtained as the concentration threshold. When the time concentration degree of the user's operation information is lower than the concentration threshold, the user data is cached in a temporary block.
[0062] 3. User device performance:
[0063] When the user device processes data according to the simulated internal operation information, if the data processing time is greater than the time threshold, the transmission information between the user and the service block node does not satisfy the preset transmission condition.
[0064] Specifically, an internal device touch (click event) is generated to simulate a user click event, and the internal execution efficiency is judged by calculating the processing time required for the user device to process the intermediate data in the click event. If the processing time is greater than a preset time threshold, it is determined that the user device needs to temporarily store user data in the block.
[0065] In some embodiments, the three dimensions described above can be combined to determine.
[0066] S22, if the transmission information of the user and the service block node meets the preset transmission condition, the user data of the user is sent to the service block node, and the user data is marked to generate the service target of the user, so that the service block node processes the user data and the service target, and sends the processing result to the service server.
[0067] Embodiment two
[0068] Please refer to Figure 2 A block-based service processing terminal 1, comprising a memory 2, a processor 3 and a computer program stored on the memory 2 and executable on the processor 3, the processor 3 executes the computer program to realize each step of the block-based service processing method of embodiment one.
[0069] In summary, the block-based service processing method and terminal provided by the present application can generate corresponding service servers according to the service types in the service block, generate corresponding service block nodes for the service block, and generate temporary blocks for the service block nodes. The service data is stored in the service block node, which can ensure that the data transmission speed between the service block node and the service server is determined. It is judged whether the transmission information of the user and the service block node meets the preset transmission condition, specifically from the three dimensions of network speed, user speed and user device performance. If the transmission information of the user to the service block node does not meet the preset transmission condition, the user data can be cached by using the caching technology, and the corresponding temporary block can assist in processing, so as to compensate for the transmission speed of the user to the service block node. In this way, the transmission speed of the user to the service block node can be reduced by compensation, and the transmission speed of the service block node to the server can also be determined. Compared with the prior art, the influence of external transmission factors on service processing is reduced, and a more fair service processing method is provided to reduce the service processing gap between users.
[0070] The above description is only an embodiment of the present application, and does not limit the patent range of the present application. Any equivalent transformation or direct or indirect application in related technical field based on the content of the specification and drawings of the present application is also included in the patent protection range of the present application.
Claims
1. A block-based service processing method applied to a rush purchase system, characterized in that, The method comprises the steps of: generating a corresponding business server according to a business type in a business block, generating a corresponding business block node for the business block, generating a temporary block for the business block node, and storing business data into the business block node; judging whether transmission information of a user and the business block node meets preset transmission conditions, and if not, generating a cache node for the user, storing user data of the user into the temporary block of the business block node through the cache node, so that the business block node directly processes the user data through the temporary block, and sends a processing result to the business server; judging whether transmission information of a user and the business block node meets preset transmission conditions, comprising: if network transmission time between the user and the business block node is greater than network transmission time between the user and the business server, the transmission information of the user and the business block node does not meet the preset transmission conditions; if network transmission time between the user and the business block node is greater than average network transmission time between the user and the business block node, the transmission information of the user and the business block node does not meet the preset transmission conditions; judging whether transmission information of a user and the business block node meets preset transmission conditions, further comprising: obtaining operation information of the user, and if time concentration degree of the operation information of the user is less than a concentration degree threshold, the transmission information of the user and the business block node does not meet the preset transmission conditions; when a user equipment processes data according to simulated internal operation information, if data processing time is greater than a time threshold, the transmission information of the user and the business block node does not meet the preset transmission conditions.
2. The block-based business process processing method of claim 1, wherein, if the transmission information of the user and the business block node meets the preset transmission conditions, sending user data of the user to the business block node, marking the user data, generating a business target for the user, so that the business block node processes the user data and the business target, and sends a processing result to the business server. 3.A block-based service processing terminal applied to a rush purchase system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the following steps when executing the computer program: generating a corresponding business server according to a business type in a business block, generating a corresponding business block node for the business block, generating a temporary block for the business block node, and storing business data into the business block node; judging whether transmission information of a user and the business block node meets preset transmission conditions, and if not, generating a cache node for the user, storing user data of the user into the temporary block of the business block node through the cache node, so that the business block node directly processes the user data through the temporary block, and sends a processing result to the business server; judging whether transmission information of a user and the business block node meets preset transmission conditions, comprising: If the network transmission time between the user and the service block node is greater than the network transmission time between the user and the service server, the transmission information between the user and the service block node does not satisfy the preset transmission condition; if the network transmission time between the user and the service block node is greater than the average network transmission time between the user and the service block node, the transmission information between the user and the service block node does not satisfy the preset transmission condition; The method further comprises: Obtaining operation information of the user, and if the time concentration degree of the operation information of the user is less than a concentration degree threshold, the transmission information between the user and the service block node does not satisfy the preset transmission condition. When the user equipment performs data processing according to the simulated internal operation information, if the data processing time is greater than a time threshold, the transmission information between the user and the service block node does not satisfy the preset transmission condition.
4. A block-based business processing terminal according to claim 3, wherein If the transmission information between the user and the service block node satisfies the preset transmission condition, the user data of the user is sent to the service block node, the user data is marked, a service target of the user is generated, the service block node processes the user data and the service target, and the processing result is sent to the service server.
Citation Information
Patent Citations
Device and method for controlling order to generate, and seckilling system
CN105160572A
Service processing system, second kill order processing method and equipment
CN107220878A