CN106097002A - The tables of data update method adjusted for user integral and system - Google Patents
The tables of data update method adjusted for user integral and system Download PDFInfo
- Publication number
- CN106097002A CN106097002A CN201610397701.2A CN201610397701A CN106097002A CN 106097002 A CN106097002 A CN 106097002A CN 201610397701 A CN201610397701 A CN 201610397701A CN 106097002 A CN106097002 A CN 106097002A
- Authority
- CN
- China
- Prior art keywords
- data
- transaction
- calculating
- computation rule
- transaction data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
Abstract
The present invention provides a kind of tables of data update method adjusted for user integral and system, and described method includes: receive the transaction data that transaction system sends;Obtain the computation rule corresponding with described transaction system;According to the computation rule obtained, the transaction data received is carried out calculating process;The result processed according to calculating updates the integrated value of relative users in user integral tables of data.Implement the present invention, for different transaction systems, it is possible to carry out corresponding calculating process according to corresponding computation rule, it is not necessary to develop the most targetedly for different transaction systems, reduce development cost.
Description
Technical field
The present invention relates to the communications field, specifically for, relate to user integral adjust tables of data update method
And system.
Background technology
User integral refers to the performance relevant with core business degree of cooperation that businessman is arranged in order to maintain customer relationship
Form.User integral can directly reflect the cooperation tightness degree between user and businessman, integration Yue Gao businessman and the connection of user
It is the tightst thus the feedback dynamics of businessman is the biggest.This form of expression be widely used in communication, bank, aviation,
The industries such as Shang Chao, membership-based services mechanism.
At present, along with the continuous popularization of businessman's core business, the business affecting user integral gets more and more.But, each
The rule that the transaction system of business calculates integration is the most different, in the middle of prior art, often has for different transaction systems
Develop different integrations pointedly and adjust system.Each integration adjusts system for corresponding transaction system respectively according to intrinsic
Computation rule calculates cumulative integral, and adjusts the integrated value of user according to the cumulative integral calculated.But, such way is deposited
In problems such as development cost are high.
Summary of the invention
For solving above-mentioned technical problem, the present invention provides a kind of tables of data update method adjusted for user integral and is
System.
On the one hand, embodiments of the present invention provide a kind of tables of data update method adjusted for user integral, institute
The method of stating includes:
Receive the transaction data that transaction system sends;
Obtain the computation rule corresponding with described transaction system;
According to the computation rule obtained, the transaction data received is carried out calculating process;
The result processed according to calculating updates the integrated value of relative users in user integral tables of data.
On the other hand, embodiment of the present invention provides a kind of tables of data renewal system adjusted for user integral, institute
The system of stating includes:
Receiver module, for receiving the transaction data that transaction system sends;
Acquisition module, for obtaining the computation rule corresponding with described transaction system;
Computing module, for the friendship received described receiver module according to the computation rule acquired in described acquisition module
Easily data carry out calculating process;
Integration more new module, the result that the calculating for being carried out according to described computing module processes updates user integral number
According to the integrated value of relative users in table.
Implement the tables of data update method adjusted for user integral and system that the present invention provides, for different transaction
System, it is possible to carry out corresponding calculating process according to corresponding computation rule, it is not necessary to carry out respectively for different transaction systems
Develop targetedly, reduce development cost.
Accompanying drawing explanation
Fig. 1 is the flow process of a kind of tables of data update method adjusted for user integral according to embodiment of the present invention
Figure;
Fig. 2 is that the structure that a kind of tables of data adjusted for user integral according to embodiment of the present invention updates system is shown
It is intended to.
Detailed description of the invention
For making the purpose of embodiments of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing to this
Bright it is described in further detail.
Fig. 1 is the flow process of a kind of tables of data update method adjusted for user integral according to embodiment of the present invention
Figure.
S100: receive the transaction data that transaction system sends.
S200: obtain the computation rule corresponding with described transaction system.
S300: the transaction data received is carried out calculating process according to the computation rule obtained.
Such as, based on computation rule identification transaction data calculates the field required for cumulative integral;Parse described word
Section, and carry out numerical operation to obtain cumulative integral value according to the value of the computation rule field to parsing.
S400: the result processed according to calculating updates the integrated value of relative users in user integral tables of data.
In certain embodiments of the present invention, can process while S200 in execution, be executed concurrently following process:
Request according to described transaction system updates computation rule.
In certain embodiments of the present invention, the transaction data of reception is multiple, in this case, in order to improve process
Efficiency, processing S300 can be realized by following process: distribute in the most individual data capsule by the multiple transaction data received, its
In, the corresponding multiple calculating of the plurality of data capsule process thread;Call the plurality of calculating concomitantly and process thread to accordingly
Transaction data in data capsule carries out calculating process according to corresponding computation rule.
In certain embodiments of the present invention, the plurality of data capsule the most corresponding multiple integrations more new thread, at this
Under situation, processing S400 can be realized by following process: call the plurality of integration more new thread concomitantly according to respective counts
According to the integrated value of relative users during the calculating result of transaction data updates user integral tables of data in container.
Owing to having universal field (adjusting field necessary to user integral) between the transaction data of different transaction systems,
And the title of universal field and numeric format are unified, therefore, in certain embodiments of the present invention, can be general according to certain
The multiple transaction data received are distributed in the most individual data capsule by the cryptographic Hash of field.
Below in conjunction with object lesson, embodiments of the present invention are specifically described.
Step 1: receive a plurality of transaction data that multiple transaction system sends.
Wherein, different transaction systems is respectively provided with transaction data and the computation rule of correspondence.
Such as, the transaction data of A system includes: serial number, user identifier, dealing money.The transaction data package of B system
Include: serial number, user identifier, the fee.For A system, computation rule can be such as to be multiplied by 2 works with dealing money
For cumulative integral.For B system, computation rule can be such as to be multiplied by 10 as cumulative integral using the fee.
Step 2: read the computation rule of each transaction system from rule base.
In certain embodiments of the present invention, corresponding computation rule can be updated according to the request of transaction system.
Step 3: being distributed in the most individual data capsule by the multiple transaction data received, the plurality of data capsule correspondence is many
Individual calculating processes thread and multiple integration more new thread.
For example, it is possible to (adjust field necessary to user integral, such as according to certain universal field of different transaction data
User identifier etc.) cryptographic Hash transaction data is allocated.
Step 4: call the plurality of calculating concomitantly and process thread to the transaction data in corresponding data container according to phase
The computation rule answered carries out calculating process, and the result that calculating processes is stored to corresponding data container.
Wherein, the calculating carried out transaction data processes and such as includes procedure below: based on corresponding computation rule identification
Transaction data calculates the field required for cumulative integral and (such as, for the transaction data of A system, calculates cumulative integral
Need dealing money field);Parse described field and carry out numerical value according to this corresponding computation rule field to parsing
Computing (such as the numerical value of dealing money being multiplied by 2) is to obtain cumulative integral value.
Step 5: call the plurality of integration more new thread concomitantly according to the calculating of transaction data in corresponding data container
Result updates the integrated value of relative users in user integral tables of data.
Certainly, the invention is not restricted to this, those skilled in the art can patrol in conjunction with concrete process according to actual needs
Volume, calculating process or integration renewal are processed and is divided into multiple process task, the corresponding multiple process threads of each task.Different task
Process thread between can be interacted by destination file.
Fig. 2 is that the structure that a kind of tables of data adjusted for user integral according to embodiment of the present invention updates system is shown
It is intended to.As in figure 2 it is shown, this system 1000 may include that receiver module 100, acquisition module 200, computing module 300, Yi Jiji
Score value more new module 400, specifically:
Receiver module 100 is for receiving the transaction data that transaction system sends.
Acquisition module 200 is for obtaining the computation rule corresponding with described transaction system.
Computing module 300 is for the friendship received receiver module 100 according to the computation rule acquired in acquisition module 200
Easily data carry out calculating process.
The result that integration more new module 400 processes for the calculating carried out according to computing module 300 updates user integral
The integrated value of relative users in tables of data.
In certain embodiments of the present invention, described system 1000 can also include computation rule more new module, is used for
Request according to described transaction system updates computation rule.
In certain embodiments of the present invention, the transaction data of reception is multiple, in this case, in order to improve process
Efficiency, computing module 300 may include that allocation unit and concurrent unit, and wherein, allocation unit is for many by receiving
Individual transaction data distributes in the most individual data capsule, and the corresponding multiple calculating of the plurality of data capsule process thread;Concurrent
Unit processes thread to the transaction data in corresponding data container according to based on accordingly by calling the plurality of calculating concomitantly
Calculate rule and carry out calculating process.
In certain embodiments of the present invention, the plurality of data capsule the most corresponding multiple integrations more new thread, at this
Under situation, integration more new module 400 can include concurrent update unit, and this concurrent update unit calls described many for concomitantly
Individual integration more new thread is according to phase during the calculating result of transaction data updates user integral tables of data in corresponding data container
Answer the integrated value of user.
Owing to having universal field (adjusting field necessary to user integral) between the transaction data of different transaction systems,
And the title of universal field and numeric format are unified, therefore, in certain embodiments of the present invention, described allocation unit is permissible
Including Hash allocation component, multiple numbers of deals that this Hash allocation component will receive for the cryptographic Hash according to certain universal field
According to distributing in the most individual data capsule.
Implement the tables of data update method adjusted for user integral and system that the present invention provides, for different transaction
System, it is possible to carry out corresponding calculating process according to corresponding computation rule, it is not necessary to carry out respectively for different transaction systems
Develop targetedly, reduce development cost.
Through the above description of the embodiments, those skilled in the art is it can be understood that can be by the present invention
The mode of software combined with hardware platform realizes.Based on such understanding, background technology is made tribute by technical scheme
That offers can embody with the form of software product in whole or in part, and this computer software product can be stored in storage and be situated between
In matter, such as ROM/RAM, magnetic disc, CD etc., instruct with so that a computer equipment (can be individual calculus including some
Machine, server, smart mobile phone or the network equipment etc.) perform described in some part of each embodiment of the present invention or embodiment
Method.
The term used in description of the invention and wording, just to illustrating, are not intended to constitute restriction.Ability
Field technique personnel should be appreciated that on the premise of the ultimate principle without departing from disclosed embodiment, to above-mentioned embodiment
In each details can carry out various change.Therefore, the scope of the present invention is only determined by claim, in the claims, unless
Being otherwise noted, all of term should be understood by the broadest rational meaning.
Claims (10)
1. the tables of data update method adjusted for user integral, it is characterised in that described method includes:
Receive the transaction data that transaction system sends;
Obtain the computation rule corresponding with described transaction system;
According to the computation rule obtained, the transaction data received is carried out calculating process;
The result processed according to calculating updates the integrated value of relative users in user integral tables of data.
2. the method for claim 1, it is characterised in that described method also includes:
When performing the process of the described acquisition computation rule corresponding with described transaction system, it is executed concurrently following process: root
Computation rule is updated according to the request of described transaction system.
3. method as claimed in claim 1 or 2, it is characterised in that when receiving multiple transaction data, according to acquisition
Computation rule to receive transaction data carry out calculating process include:
The multiple transaction data received are distributed in the most individual data capsule, wherein, the corresponding multiple meters of the plurality of data capsule
Calculation processes thread;
Call the plurality of calculating concomitantly and process thread to the transaction data in corresponding data container according to calculating rule accordingly
Then carry out calculating process.
4. method as claimed in claim 3, it is characterised in that update line at the most corresponding multiple integrations of the plurality of data capsule
When journey, the result processed according to calculating updates the integrated value of relative users in user integral tables of data and includes:
Call the plurality of integration more new thread concomitantly according to the calculating result of transaction data in corresponding data container more
The integrated value of relative users in new user integral tables of data.
5. method as claimed in claim 3, it is characterised in that distribute the most individual data capsule by the multiple transaction data received
Include:
Based on hash algorithm, the multiple transaction data received are distributed in the most individual data capsule.
6. the tables of data adjusted for user integral updates system, it is characterised in that described system includes:
Receiver module, for receiving the transaction data that transaction system sends;
Acquisition module, for obtaining the computation rule corresponding with described transaction system;
Computing module, for the number of deals received described receiver module according to the computation rule acquired in described acquisition module
According to carrying out calculating process;
Integration more new module, the result that the calculating for being carried out according to described computing module processes updates user integral tables of data
The integrated value of middle relative users.
7. system as claimed in claim 6, it is characterised in that described system also includes:
Computation rule more new module, updates computation rule for the request according to described transaction system.
System the most as claimed in claims 6 or 7, it is characterised in that when receiving multiple transaction data, described calculating
Module includes:
Allocation unit, the multiple transaction data for receiving distribute in the most individual data capsule, and wherein, the plurality of data are held
The corresponding multiple calculating of device process thread;
Concurrent unit, processes thread to the transaction data in corresponding data container for calling the plurality of calculating concomitantly
Calculating process is carried out according to corresponding computation rule.
9. system as claimed in claim 8, it is characterised in that update line at the most corresponding multiple integrations of the plurality of data capsule
When journey, described integration more new module includes:
Concurrent update unit, for calling the plurality of integration more new thread according to transaction data in corresponding data container concomitantly
Calculating result update the integrated value of relative users in user integral tables of data.
10. system as claimed in claim 9, it is characterised in that described allocation unit includes:
Hash allocation component, for distributing the multiple transaction data received in the most individual data capsule based on hash algorithm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610397701.2A CN106097002A (en) | 2016-06-07 | 2016-06-07 | The tables of data update method adjusted for user integral and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610397701.2A CN106097002A (en) | 2016-06-07 | 2016-06-07 | The tables of data update method adjusted for user integral and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106097002A true CN106097002A (en) | 2016-11-09 |
Family
ID=57227315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610397701.2A Pending CN106097002A (en) | 2016-06-07 | 2016-06-07 | The tables of data update method adjusted for user integral and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106097002A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685578A (en) * | 2018-12-28 | 2019-04-26 | 上汽通用五菱汽车股份有限公司 | Integration managing method, server and the storage medium of card and subsystem |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104751359A (en) * | 2013-12-30 | 2015-07-01 | 中国银联股份有限公司 | System and method for payment and settlement |
CN104966207A (en) * | 2015-05-27 | 2015-10-07 | 李观升 | Trading consumption credit point accumulation and credit extension platform and method |
CN105469275A (en) * | 2015-11-12 | 2016-04-06 | 广州优识资讯系统有限公司 | Credit data processing method and system based on plurality of merchants |
-
2016
- 2016-06-07 CN CN201610397701.2A patent/CN106097002A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104751359A (en) * | 2013-12-30 | 2015-07-01 | 中国银联股份有限公司 | System and method for payment and settlement |
CN104966207A (en) * | 2015-05-27 | 2015-10-07 | 李观升 | Trading consumption credit point accumulation and credit extension platform and method |
CN105469275A (en) * | 2015-11-12 | 2016-04-06 | 广州优识资讯系统有限公司 | Credit data processing method and system based on plurality of merchants |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685578A (en) * | 2018-12-28 | 2019-04-26 | 上汽通用五菱汽车股份有限公司 | Integration managing method, server and the storage medium of card and subsystem |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105813047B (en) | A kind of flow control method, apparatus and system | |
CN114815761B (en) | Production line adaptation method and system based on industrial Internet of things | |
CN110069353A (en) | Business asynchronous processing method and device | |
CN102446303A (en) | Distribution method and device of process route subassembly | |
CN108984125A (en) | A kind of method, apparatus and storage medium of resource allocation | |
US8341044B1 (en) | System, method, and computer program product for rating and re-rating events | |
CN107295007A (en) | A kind of method of servicing for supporting various protocols, apparatus and system | |
CN109600324A (en) | Video communication method, device, computer equipment and storage medium | |
CN105654375A (en) | Data processing method and system | |
CN105554730A (en) | Communication method, server and terminal | |
EP4293600A1 (en) | Registration and execution methods and apparatuses for a smart contract in a blockchain | |
CN106097002A (en) | The tables of data update method adjusted for user integral and system | |
CN101567944A (en) | Interaction voice response system and realization method thereof | |
CN102348186A (en) | Account and asset loader tool | |
CN106933873A (en) | A kind of cross-platform data querying method and equipment | |
US20110151843A1 (en) | Asynchronous Activation of Wireless Devices Within A Real Time Billing Infrastructure | |
CN108536854A (en) | The method, apparatus and computer readable storage medium of data interaction | |
CN115619114A (en) | Numbering method, numbering device, electronic equipment and computer readable storage medium | |
CN106056410A (en) | Data table update method for bonus point account adjustment and bonus point calculating system | |
CN106845926A (en) | A kind of Third-party payment supervisory systems distributed data method for stream processing and system | |
CN105848128A (en) | Telephone bill processing method and system | |
US7957720B2 (en) | Systems and methods for providing multiple simultaneous calls from the same prepaid account | |
CN105657831A (en) | Baseband resource management method and device | |
CN101742581A (en) | Method, device and system for guaranteeing key-point business | |
CN102025609A (en) | Packet message-based load balancing distribution system and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |