Management method for adding score after asynchronous splitting of integral file
Through the asynchronous splitting and batch processing of points file bonus methods, the data loss and slow speed in the points bonus process in the prior art are solved, and the stability and efficiency of the points bonus process are improved.
Patent Information
- Application Number
- CN202411239257.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-01-07
AI Technical Summary
In the prior art, data loss and slow bonus points are involved in the process of adding points, resulting in an increase in user complaints.
The management method of adding points after asynchronous splitting of integral files is adopted, and the stability and efficiency of the plus point process is ensured through decryption, storage, judgment rules, segmentation and batch processing of plus point files.
It has achieved significant improvement in the speed of bonus points without missing data and guaranteed the stable development of the system and real-time query capabilities.
Smart Images

Figure CN119273401A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a points management method, and in particular to a method for adding points to a user. Background Art
[0002] In order to improve customer stickiness, merchants use membership as an effective means. It is common in the industry to add points to members' consumption amounts and set different levels of membership levels corresponding to different rights and interests according to the points. Faced with an ever-changing market, merchants are beginning to form groups. For example, when a bank and an airline launch a co-branded bank card, when a user swipes the card to consume, the bank will add points to the user according to the accumulated points, and submit the statistics to the airline after a certain period of time to uniformly add points to the user's airline account. When transmitting data, a large amount of data is often transmitted for adding points (a user's data can reach several megabytes), the corresponding verification logic is complex, the speed of adding points is slow, and it is easy to lose the added data. However, points have actual economic value. If the points fail to be added or data is lost, it may cause user complaints. Summary of the invention
[0003] The present invention aims to solve the above-mentioned defects of the prior art and provide a management method for adding points after asynchronous splitting of the points file. The present invention can add points without losing data and greatly improve the speed of adding points.
[0004] The present invention is implemented as follows: a management method for adding points after asynchronous splitting of a points file, which includes a carrier equipped with a points management system and a system for performing a points adding operation that can be connected to an external network, and further includes the following steps:
[0005] S1, connect to the cooperative merchant system and collect external bonus files;
[0006] S2, decryption, decrypt the bonus file; if the decryption fails or the file is incomplete, the file will be listed as an abnormal file and returned to the cooperative merchant system;
[0007] S3, if the decryption is successful, the bonus file is stored in the database;
[0008] S4, judging whether the content of the bonus file complies with the bonus rules. If not, the file is listed as an abnormal file and returned to the cooperative merchant system;
[0009] S5, determining the number of points-added file contents, if the number is less than a specific number X, adding points in batches, if the number is greater than or equal to the specific number X, dividing the points-added file contents into a number of contents less than or equal to the specific number X and then adding points in batches;
[0010] S6, judging whether the score addition is successful, and generating a feedback file regardless of whether the score addition is successful or not;
[0011] S7, encrypt the feedback file and send it to the cooperative merchant system.
[0012] The specific number X is a configurable item, and is adaptively configured according to dynamic rules. The dynamic rules are system rules, that is, the system performs pressure adjustment according to the interface pressure, and adjusts the maximum batch transmission limit and thread limit.
[0013] In the management method for adding points after asynchronous splitting of a points file, X is 2500-5000.
[0014] The present invention disassembles the files in advance after receiving the files from the partners, performs file segmentation according to dynamic rules, and pushes the data to the scoring process after recording the corresponding batches, thereby ensuring the stable development of the scoring process and real-time queryability. At the same time, it also improves the efficiency of the scoring work. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention will be further described below in conjunction with the accompanying drawings:
[0016] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0017] See also Figure 1 A management method for adding points after asynchronous splitting of a points file includes a carrier equipped with a points management system and a system for performing a points adding operation that can be connected to an external network, and also includes the following steps:
[0018] S1, connect to the cooperative merchant system and collect external bonus files;
[0019] S2, decryption, decrypt the bonus file; if the decryption fails or the file is incomplete, the file will be listed as an abnormal file and returned to the cooperative merchant system;
[0020] S3, if the decryption is successful, the bonus file is stored in the database;
[0021] S4, judging whether the content of the bonus file complies with the bonus rules. If not, the file is listed as an abnormal file and returned to the cooperative merchant system;
[0022] S5, determining the number of points-added file contents, if the number is less than a specific number X, adding points in batches, if the number is greater than or equal to the specific number X, dividing the points-added file contents into a number of contents less than or equal to the specific number X and then adding points in batches;
[0023] S6, judging whether the score addition is successful, and generating a feedback file regardless of whether the score addition is successful or not;
[0024] S7, encrypt the feedback file and send it to the cooperative merchant system.
[0025] In the management method for adding points after asynchronous splitting of a points file, the specific number X is a configurable item, which is adaptively configured according to dynamic rules. The dynamic rules are system rules, that is, the system performs pressure adjustment according to the interface pressure and adjusts the batch maximum transmission limit and thread limit.
[0026] For example, an airline cooperates with a bank. After obtaining the points data from the bank, the airline decrypts it according to the agreement, and then determines whether the points file recording the points data complies with the rules. If it complies with the rules, the number of items in the file is determined. If a user's data exceeds a specific number X of three thousand items, it is divided into three thousand items and then added points. After adding points, it is encrypted and feedback is generated. If it is not compliant or the decryption fails, a feedback file is generated and notified to the bank. This can reduce the use of system resources and speed up the system's point addition.
Claims
1. A management method for adding points after asynchronous splitting of a points file, comprising a carrier equipped with a points management system and capable of connecting to an external network, characterized in that: It also includes the following steps: S1, connect to the cooperative merchant system and collect external bonus files; S2, decryption, decrypt the bonus file; if the decryption fails or the file is incomplete, the file will be listed as an abnormal file and returned to the cooperative merchant system; S3, if the decryption is successful, the bonus file is stored in the database; S4, judging whether the content of the bonus file complies with the bonus rules. If not, the file is listed as an abnormal file and returned to the cooperative merchant system; S5, determining the number of points-added file contents, if the number is less than a specific number X, adding points in batches, if the number is greater than or equal to the specific number X, dividing the points-added file contents into a number of contents less than or equal to the specific number X and then adding points in batches; S6, judging whether the score addition is successful, and generating a feedback file regardless of whether the score addition is successful or not; S7, encrypt the feedback file and send it to the cooperative merchant system.
2. A management method for adding points after asynchronous splitting of a points file according to claim 1, characterized in that: The specific number X is a configurable item, and is adaptively configured according to dynamic rules. The dynamic rules are system rules, that is, the system performs pressure adjustment according to the interface pressure, and adjusts the maximum batch transmission limit and thread limit.
3. A management method for adding points after asynchronous splitting of a points file according to claim 1, characterized in that: The X is 2500-5000.