CN107305670A - Customer consumption data processing method and server - Google Patents

Customer consumption data processing method and server Download PDF

Info

Publication number
CN107305670A
CN107305670A CN201610260712.6A CN201610260712A CN107305670A CN 107305670 A CN107305670 A CN 107305670A CN 201610260712 A CN201610260712 A CN 201610260712A CN 107305670 A CN107305670 A CN 107305670A
Authority
CN
China
Prior art keywords
tradable commodity
share
user
server
information
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
Application number
CN201610260712.6A
Other languages
Chinese (zh)
Inventor
闫凤亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610260712.6A priority Critical patent/CN107305670A/en
Publication of CN107305670A publication Critical patent/CN107305670A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0213Consumer transaction fees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0222During e-commerce, i.e. online transactions

Abstract

The embodiment of the present invention provides a kind of customer consumption data processing method and server, and this method includes:Server obtains corresponding first numerical value of consumption data of user;The first tradable commodity information that server determines to exchange according to the first numerical value, is updated according to the first tradable commodity information to the accounts information of user;Server receives the transaction request message that user sends, and the accounts information of the user after renewal is handled according to transaction request message.So as to improve the efficiency and flexibility and accuracy of data processing.

Description

Customer consumption data processing method and server
Technical field
The present embodiments relate to data processing technique, more particularly to a kind of customer consumption data processing method And server.
Background technology
In recent years, customer consumption data processing method is all that by the way of numerical value rebating, numerical value rebating is Through being the common pattern used in each enterprise, such as:Enterprise determines corresponding according to the consumption data of user Numerical value, user can exchange the commodity of respective value by the numerical value of determination, or pair numerical value determined enters Row is discounted, or is that the numerical value possessed as user reaches pre-determined threshold, and the user can then participate in enterprise Sweepstake held etc..
To sum up, numerical value rebating mode is a kind of artificial numerical value rebating mode, which efficiency in the prior art Low, shortage flexibility and accuracy.
The content of the invention
The embodiment of the present invention provides a kind of customer consumption data processing method and server, so as to improve data Treatment effeciency, and data processing flexibility and accuracy.
In a first aspect, the embodiment of the present invention provides a kind of customer consumption data processing method, including:Service Device obtains corresponding first numerical value of consumption data of user;
The first tradable commodity information that the server determines to exchange according to first numerical value, described first Tradable commodity information includes:The mark of first tradable commodity and the institute exchanged according to first numerical value State the first share of the first tradable commodity;
The server is carried out more according to the first tradable commodity information to the accounts information of the user Newly;
The server receives the transaction request message that the user sends, and the transaction request message includes The identifying of first tradable commodity, the corresponding action type of first tradable commodity and the operation class Second share of corresponding first tradable commodity of type, wherein, the corresponding behaviour of first tradable commodity It is as type:Buy in or sell;
The server is carried out according to the transaction request message to the accounts information of the user after renewal Processing.
Alternatively, the first tradable commodity information that the server determines to exchange according to first numerical value, Including:
The server determines the property parameters and first tradable commodity of first numerical value per share pair The numerical value answered;
The server determines the mark of first tradable commodity according to the property parameters of first numerical value Know, and the of first tradable commodity is determined per the corresponding numerical value of share according to first tradable commodity One share;
Wherein, the property parameters of first numerical value include:Generate the mark of the enterprise of first numerical value.
Alternatively, the server is according to accounts information of the first tradable commodity information to the user It is updated, including:
If the accounts information of the user includes:The mark of first tradable commodity, the then server The user updated according to the first share of first tradable commodity in the accounts information of the user holds The share for first tradable commodity having;
If the accounts information of the user does not include:The mark of first tradable commodity, the then service Device adds the mark of first tradable commodity in the accounts information of the user, and determines described first First share of tradable commodity is the share for first tradable commodity that the user holds.
Alternatively, the server is according to account of the transaction request message to the user after renewal Information is handled, including:
If the corresponding action type of first tradable commodity is buys in, the server is by described second First tradable commodity of share distributes to the account of the user, with update that the user holds described The share of one tradable commodity;
If the corresponding action type of first tradable commodity is sells, the server is by described second First tradable commodity of share converts to fund information, and the fund information is distributed into the user's Account, to update the share for first tradable commodity that the user holds.
Alternatively, the server is according to account of the transaction request message to the user after renewal After information is handled, in addition to:
If the server determines that the share of first tradable commodity that the user holds before updating is more than The share for first tradable commodity that the user holds is less than second after first preset value, and renewal Preset value;
Then the server determines the share correspondence for first tradable commodity that the user holds after updating Second value, and according to the second value determine exchange the second tradable commodity information, described second Tradable commodity information includes:The mark of second tradable commodity and the institute exchanged according to the second value State the 3rd share of the second tradable commodity;
The server is according to account of the second tradable commodity information to the user after the renewal Information is updated again.
Second aspect, the embodiment of the present invention provides a kind of server, including:Acquisition module, for obtaining Corresponding first numerical value of consumption data of user;
Determining module, it is described for the first tradable commodity information for determining to exchange according to first numerical value First tradable commodity information includes:The mark of first tradable commodity and according to first numerical value exchange First tradable commodity the first share;
Update module, for being carried out according to the first tradable commodity information to the accounts information of the user Update;
Receiving module, for receiving the transaction request message that the user sends, the transaction request message Identifying including first tradable commodity, the corresponding action type of first tradable commodity and the behaviour Make the second share of corresponding first tradable commodity of type, wherein, the first tradable commodity correspondence Action type be:Buy in or sell;
Processing module, for according to the accounts information of the user after renewal to the transaction request message Handled.
Alternatively, the determining module specifically for:
Determine the property parameters and first tradable commodity of first numerical value per the corresponding numerical value of share;
According to the property parameters of first numerical value, the mark of first tradable commodity is determined, and according to First tradable commodity determines the first share of first tradable commodity per the corresponding numerical value of share;
Wherein, the property parameters of first numerical value include:Generate the mark of the enterprise of first numerical value.
Alternatively, the update module specifically for:
If the accounts information of the user includes:The mark of first tradable commodity, then the renewal mould Root tuber updates the user in the accounts information of the user according to the first share of first tradable commodity The share for first tradable commodity held;
If the accounts information of the user does not include:The mark of first tradable commodity, then it is described to update Module adds the mark of first tradable commodity in the accounts information of the user, and determines described First share of one tradable commodity is the share for first tradable commodity that the user holds.
Alternatively, the processing module specifically for:
If the corresponding action type of first tradable commodity is buys in, the processing module is by described the First tradable commodity of two shares distributes to the account of the user, so that the update module updates described The share for first tradable commodity that user holds;
If the corresponding action type of first tradable commodity is sells, the processing module is by described the First tradable commodity of two shares converts to fund information, and the fund information is distributed into the user Account so that the update module updates the share for first tradable commodity that the user holds.
Alternatively, if the determining module determines first tradable commodity that the user holds before updating Share be more than the first preset value, and part of first tradable commodity that the user holds after updating Volume is less than the second preset value;
Then the determining module, is additionally operable to first tradable commodity that the user holds after determining to update The corresponding second value of share, and according to the second value determine exchange the second tradable commodity information, The second tradable commodity information includes:The mark of second tradable commodity and according to the second value 3rd share of second tradable commodity exchanged;
The update module, is additionally operable to according to the second tradable commodity information to described in after the renewal The accounts information of user is updated again.
The third aspect, the embodiment of the present invention provides a kind of server, including:Processor, memory and connect Receive device;
The memory, the executable instruction for storing the processor;
Wherein, the processor is used for:
Obtain corresponding first numerical value of consumption data of user;
The the first tradable commodity information for determining to exchange according to first numerical value, the first tradable commodity letter Breath includes:The mark of first tradable commodity and first transaction exchanged according to first numerical value First share of commodity;
The accounts information of the user is updated according to the first tradable commodity information;
The receiver, for receiving the transaction request message that the user sends, the transaction request disappears Breath includes the identifying of first tradable commodity, the corresponding action type of first tradable commodity and described Second share of corresponding first tradable commodity of action type, wherein, first tradable commodity pair The action type answered is:Buy in or sell;
The processor, is additionally operable to the accounts information according to the user after renewal to the transaction request Message is handled.
Alternatively, the processor specifically for:
Determine the property parameters and first tradable commodity of first numerical value per the corresponding numerical value of share;
According to the property parameters of first numerical value, the mark of first tradable commodity is determined, and according to First tradable commodity determines the first share of first tradable commodity per the corresponding numerical value of share;
Wherein, the property parameters of first numerical value include:Generate the mark of the enterprise of first numerical value.
Alternatively, the processor specifically for:
If the accounts information of the user includes:The mark of first tradable commodity, the then processor The user updated according to the first share of first tradable commodity in the accounts information of the user holds The share for first tradable commodity having;
If the accounts information of the user does not include:The mark of first tradable commodity, the then processing Device adds the mark of first tradable commodity in the accounts information of the user, and determines described first First share of tradable commodity is the share for first tradable commodity that the user holds.
Alternatively, the processor specifically for:
If the corresponding action type of first tradable commodity is buys in, the processor is by described second First tradable commodity of share distributes to the account of the user, with update that the user holds described The share of one tradable commodity;
If the corresponding action type of first tradable commodity is sells, the processor is by described second First tradable commodity of share converts to fund information, and the fund information is distributed into the user's Account, to update the share for first tradable commodity that the user holds.
Alternatively, if the processor determines first tradable commodity that the user holds before updating Share is more than the share of first tradable commodity that the user holds after the first preset value, and renewal Less than the second preset value;
Then the processor is additionally operable to:
It is determined that the corresponding second value of share of first tradable commodity that the user holds after updating, And the second tradable commodity information for determining to exchange according to the second value, the second tradable commodity information Including:The mark of second tradable commodity and second trader exchanged according to the second value 3rd share of product;
The accounts information of the user after the renewal is carried out again according to the second tradable commodity information It is secondary to update.
The embodiment of the present invention provides a kind of customer consumption data processing method and server, including:Server Obtain corresponding first numerical value of consumption data of user;Server determines the first of exchange according to the first numerical value Tradable commodity information, is updated according to the first tradable commodity information to the accounts information of user;Server The transaction request message that user sends is received, and according to account of the transaction request message to the user after renewal Information is handled.This customer consumption data processing method is returned relative to artificial numerical value of the prior art Sharp mode data-handling efficiency is higher, meanwhile, server by handle user send transaction request message, To realize user's buying in or selling to tradable commodity so that this customer consumption data processing method tool There is higher flexibility, further, the customer consumption data processing method has more preferable accuracy.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing used required for applying in example or description of the prior art is briefly described, it should be apparent that, below Accompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art, Without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
The flow chart for the customer consumption data processing method that Fig. 1 provides for one embodiment of the invention;
The flow chart for determination the first tradable commodity information that Fig. 2 provides for one embodiment of the invention;
The server that Fig. 3 is provided for one embodiment of the invention is according to account of the first tradable commodity information to user The flow chart that family information is updated;
The server that Fig. 4 is provided for one embodiment of the invention is according to transaction request message to the user after renewal The flow chart that is handled of accounts information;
A kind of structural representation for server that Fig. 5 provides for one embodiment of the invention;
A kind of structural representation for server that Fig. 6 provides for another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and The embodiment being not all of.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
The present invention specification, claims and above-mentioned accompanying drawing in term " first ", " second ", etc. It is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that The data so used can be exchanged in the appropriate case, so as to embodiments of the invention described herein example It can be implemented with the order in addition to those for illustrating or describing herein.In addition, term " comprising " " having " and their any deformation, it is intended that covering is non-exclusive to be included, for example, comprising The process of series of steps, method, comprising a series of units, the system of module, product or equipment not Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for The intrinsic other steps of these processes, method, product or equipment or unit.In the present invention it is involved " extremely Few one kind " refers to one kind, or a variety of meanings.
It is a kind of artificial numerical value rebating mode, which effect to solve numerical value rebating mode in the prior art Rate is low, the problem of lack flexibility and accuracy, and the embodiment of the present invention is provided at a kind of customer consumption data Reason method and server, wherein, the executive agent of this method is server, and the application scenarios of this method are: User consumes in enterprise, generates corresponding customer consumption data, and Fig. 1 carries for one embodiment of the invention The flow chart of the customer consumption data processing method of confession, as shown in figure 1, this method includes following flow:
Step S101:Server obtains corresponding first numerical value of consumption data of user;
Wherein, in the embodiment of the present invention, the numerical value can be integration or reward voucher etc..User Corresponding first numerical value of consumption data be to be determined according to the current redemption criteria of enterprise, for example:User Consumed in A enterprises, corresponding consumption data is 1000 yuan, and then, enterprise disappears according to user's Take 1000 yuan of data and determine that corresponding first numerical value is 10 integrations.
Corresponding first numerical value of consumption data that server obtains user includes:End of the server into enterprise End sends request message, and the request message is used for the consumption data corresponding the of user described in acquisition request One numerical value, wherein, the user for identifying the user is carried in the request message and is identified;Server The response message that the terminal in enterprise is sent is received, the response message includes the consumption data of the user Corresponding first numerical value.
Or,
Corresponding first numerical value of consumption data that server obtains user includes:Terminal in enterprise directly to Server sends message, and the message includes corresponding first numerical value of consumption data of the user.
It should be noted that the communication that above-mentioned server is carried out with the terminal in enterprise, can be using straight Connect communication mode or the indirect communication mode forwarded using intermediate equipment.Either direct communication Mode or indirect communication mode are all based on transmission control protocol/Internet Protocol (Transmission Control Protocol/Internet Protocol, abbreviation TCP/IP) carry out.
Step S102:The first tradable commodity information that server determines to exchange according to the first numerical value, first hands over Easy merchandise news includes:The mark of first tradable commodity and the first tradable commodity exchanged according to the first numerical value The first share;
Then step S101 example proceeds explanation, for example:First tradable commodity is designated Charge1, it is assumed that the first tradable commodity 5 integrations of correspondence per share, then server is according to the first numerical value First share of the first tradable commodity of 10 accumulated point exchangings is/5 integrations=2 of 10 integrations.
For an enterprise, server finally can determine at least one tradable commodity for it.
Step S103:Server is updated according to the first tradable commodity information to the accounts information of user;
The accounts information of user before renewal includes:The account of user, every kind of tradable commodity that user holds Mark and share.
Step S104:Server receives the transaction request message that user sends, and transaction request message includes the The mark of one tradable commodity, the corresponding action type of the first tradable commodity and the action type corresponding Second share of one tradable commodity, wherein, the corresponding action type of the first tradable commodity is:Buy in or Sell;
For example:When the corresponding action type of the first tradable commodity to buy in, corresponding first trader is bought in Second share of product is the first tradable commodity that 3, i.e. user buy in 3 shares;When the first tradable commodity pair The action type answered is sold the second share of corresponding first tradable commodity and sold for 1, i.e. user to sell Go out the first tradable commodity of 1 share.
Step S105:Server according to transaction request message to the accounts information of the user after renewal at Reason.
Wherein, server is held according to transaction request message to the user in the accounts information of the user after renewal The share for the first tradable commodity having is updated.
The embodiment of the present invention provides a kind of customer consumption data processing method, including:Server obtains user Corresponding first numerical value of consumption data;The first tradable commodity that server determines to exchange according to the first numerical value Information, is updated according to the first tradable commodity information to the accounts information of user;Server receives user The transaction request message of transmission, and the accounts information of the user after renewal is carried out according to transaction request message Processing.This customer consumption data processing method is relative to artificial numerical value rebating mode number of the prior art It is higher according to treatment effeciency, meanwhile, server is by handling the transaction request message that user sends, to realize User buying in or selling to tradable commodity so that this customer consumption data processing method has higher Flexibility, further, in said process, server can accurately obtain the consumption data of user Corresponding first numerical value, the first tradable commodity information can be accurately determined by first numerical value, and The transaction request message of user's transmission can in time, be accurately handled, accordingly, with respect to prior art, This method has more preferable accuracy.
Further, the flow for determination the first tradable commodity information that Fig. 2 provides for one embodiment of the invention Figure, as shown in Fig. 2 above-mentioned steps S102 is specifically included:
Step S1021:Server determines the property parameters and the first tradable commodity of the first numerical value per share pair The numerical value answered;
Step S1022:Server determines the mark of the first tradable commodity according to the property parameters of the first numerical value Know, and the first share of the first tradable commodity is determined per the corresponding numerical value of share according to the first tradable commodity; Wherein, the property parameters of the first numerical value include:Generate the mark of the enterprise of the first numerical value.
For example:User is consumed in A enterprises, and A enterprises are designated company1, corresponding consumption Data are 1000 yuan, and enterprise determines that corresponding first numerical value is 10 according to 1000 yuan of the consumption data of user Individual integration, corresponding first numerical value of consumption data of user is determined according to the current redemption criteria of enterprise, The property parameters of first numerical value 10 integration include:The mark company1 of the enterprise of the first numerical value is generated, Server is designated charge1 according to what mark company1 determined the first tradable commodity, it is assumed that first Tradable commodity is 5 integrations per the corresponding numerical value of share, then server is converted according to 10 integrations of the first numerical value First share of the first tradable commodity changed is/5 integrations=2 of 10 integrations.
In the present embodiment, property parameters and the first every part of tradable commodity that server passes through the first numerical value of determination The corresponding numerical value of volume;The mark and the first of the first tradable commodity of the first tradable commodity can be accurately determined Share.
Further, Fig. 3 believes for the server that one embodiment of the invention is provided according to the first tradable commodity The flow chart being updated to the accounts information of user is ceased, as shown in figure 3, above-mentioned steps S103 is specifically wrapped Include:
Step S1031:If the accounts information of user includes:The mark of first tradable commodity, then server The first transaction that the user in the accounts information of user holds is updated according to the first share of the first tradable commodity The share of commodity.
For example:The accounts information of user before renewal includes:The mark for the first tradable commodity that user holds Charge1 and share 30.For example in table one:The account of user is user1, the friendship that user holds at present The mark and share of easy commodity be respectively:Charge1, share is 30;Charge2, share is 10; Charge3, share is 20.
Table one
Server is updated according to the first tradable commodity information to the accounts information of user, the use after renewal The accounts information at family such as table two:
Table two
Wherein, the share for the first tradable commodity that user holds is held for user before updating after renewal first The share of tradable commodity and the first share sum.
Step S1032:If the accounts information of user does not include:The mark of first tradable commodity, then service Device adds the mark of first tradable commodity in the accounts information of the user, and determines that first merchandises First share of commodity is the share for first tradable commodity that user holds.
For example:The accounts information of user before renewal does not include:The mark for the first tradable commodity that user holds Know charge1 and share.For example in table three:The account of user is user1, the friendship that user holds at present The mark and share of easy commodity be respectively:Charge2, share is 10;Charge3, share is 20;
Table three
Server is updated according to the first tradable commodity information to the accounts information of user, the use after renewal The accounts information at family such as table four:
Table four
It should be noted that in fact, server can perform step S1031 or step S1032, Rather than perform simultaneously between the two steps, and the two steps without order limitation.
Alternatively, the server that Fig. 4 is provided for one embodiment of the invention is according to transaction request message to updating The flow chart that the accounts information of user afterwards is handled, as shown in figure 4, above-mentioned steps S105 is specifically wrapped Include:
Step S1051:If the corresponding action type of the first tradable commodity is buys in, server is by second First tradable commodity of share distributes to the account of user, to update the first tradable commodity that user holds Share;
Step S1052:If the corresponding action type of the first tradable commodity is sells, server is by second First tradable commodity of share converts to fund information, and fund information is distributed into the account of user, with Update the share for the first tradable commodity that user holds.
Specifically, for the situation in table four, it is assumed that the corresponding action type of the first tradable commodity is to buy in, Second share is 3, then server distributes to the first tradable commodity of 3 shares the account of user, with The share for the first tradable commodity that user holds is updated, five are specifically shown in Table:
Table five
Wherein, the first tradable commodity charge1 held according to user before renewal the share of share 2 and second 3 sums, the share for the first tradable commodity charge1 that user holds is 5 after being updated.
For the situation in table four, it is assumed that the corresponding action type of the first tradable commodity is sells, second part Volume is 1, then the first tradable commodity of the second share 1 is converted to fund information by server, and by fund Information distributes to the account of user, to update the share for the first tradable commodity that user holds, it is assumed that enterprise Current fund redemption criteria is that 10 yuan of cashes are exchanged per share, then the second share 1 can exchange 10 First cash, correspondingly, wherein, the first tradable commodity charge1 held according to user before renewal share 2 and second share 1 difference, the share for the first tradable commodity charge1 that user holds is after being updated 1, specifically it is shown in Table six:
Table six
In the present embodiment, server according to the transaction request message of user can in time, accurately update use The accounts information at family, so as to improve the accuracy of whole customer consumption data processing method.
It should be noted that in fact, server can perform step S1051 or step S1052, Rather than simultaneously between the two steps, and the two steps without order limitation.
Further, after step S105, customer consumption data processing method also includes:
If server determines that the share of the first tradable commodity that user holds before updating is more than the first preset value, And the share for the first tradable commodity that user holds is less than the second preset value after updating;Then server is determined The corresponding second value of share for the first tradable commodity that user holds after renewal, and it is true according to second value Surely the second tradable commodity information exchanged, the second tradable commodity information includes:The mark of second tradable commodity With the 3rd share of second tradable commodity exchanged according to the second value;Server is according to second Tradable commodity information is updated again to the accounts information of the user after renewal.
Wherein, the first preset value is more than the second preset value, and the first preset value and the second preset value are all services Device is set according to actual conditions, such as:Server set the first preset value be:Server is generated for the first time During the first tradable commodity, the 90% of the total share of the first tradable commodity;Server set the second preset value be: The 40% of the total share of first tradable commodity, once server determines the first trader that user holds before updating The share that the share of product is more than the first tradable commodity that user holds after the first preset value, and renewal is less than During the second preset value, then user determines the share of the first tradable commodity that user holds after updating first, connects , determine the corresponding second value of the share, second value is generally different from the first numerical value, there are two originals Cause, first, user in the process of exchange of the first tradable commodity, the first tradable commodity that user holds Share is changed;Second, with the change and market fluctuation of enterprise's redemption criteria, cause numerical value Value parameter also changing, the value parameter of so-called numerical value be by the numerical value can exchange how much Cash is determined.
After server determines second value, server determines that exchange second hands over according to second value Easy merchandise news, the second tradable commodity information is new tradable commodity information, including:Second trader 3rd share of the mark of product and the second tradable commodity exchanged according to second value;Server is according to second Tradable commodity information is updated again to the accounts information of the user after renewal.Then, server can be with Continue the corresponding numerical value of consumption data of acquisition user, then, perform similarly to step S102 to step S105 process;Or, server can perform similarly to step S104 to step S105 process.
It should be noted that said process is actually, it is flat that server makes the first tradable commodity exit transaction Platform, the second tradable commodity is traded a process of platform.
In the present embodiment, server may determine that the share for updating the first tradable commodity that preceding user holds is It is no to be more than the first preset value, and judge whether the share of the first tradable commodity that user holds after updating is small In the second preset value, if meeting the two conditions, server determines second value, and according to the second number Value determines the second tradable commodity information exchanged, rather than continues with friendship of the user to the first tradable commodity Easily, so as to improve the flexibility of data processing, and the accuracy of data processing is improved.
A kind of structural representation for server that Fig. 5 provides for one embodiment of the invention, as shown in figure 5, Should, the server includes:Acquisition module 51, corresponding first numerical value of consumption data for obtaining user; Determining module 52, for the first tradable commodity information for determining to exchange according to first numerical value, described the One tradable commodity information includes:The mark of first tradable commodity and according to first numerical value exchange First share of first tradable commodity;Update module 53, for being believed according to first tradable commodity Cease and the accounts information of the user is updated;Receiving module 54, sends for receiving the user Transaction request message, the transaction request message includes the identifying of first tradable commodity, described first Second part of the corresponding action type of tradable commodity and corresponding first tradable commodity of the action type Volume, wherein, the corresponding action type of first tradable commodity is:Buy in or sell;Processing module 55, for being handled according to the accounts information of the user after renewal the transaction request message.
The server of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 1, its Implementing principle and technical effect are similar, and here is omitted.
Alternatively, the determining module 52 specifically for:Determine property parameters and the institute of first numerical value The first tradable commodity is stated per the corresponding numerical value of share;According to the property parameters of first numerical value, institute is determined The mark of the first tradable commodity is stated, and institute is determined per the corresponding numerical value of share according to first tradable commodity State the first share of the first tradable commodity;Wherein, the property parameters of first numerical value include:Generation institute State the mark of the enterprise of the first numerical value.
The determining module can be used for the technical scheme for performing embodiment of the method shown in Fig. 2, its realization principle Similar with technique effect, here is omitted.
Alternatively, the update module 53 specifically for:If the accounts information of the user includes:It is described The mark of first tradable commodity, then the update module according to the first share of first tradable commodity more The share for first tradable commodity that the user in the accounts information of the new user holds;
If the accounts information of the user does not include:The mark of first tradable commodity, then it is described to update Module adds the mark of first tradable commodity in the accounts information of the user, and determines described First share of one tradable commodity is the share for first tradable commodity that the user holds.
The update module can be used for the technical scheme for performing embodiment of the method shown in Fig. 3, its realization principle Similar with technique effect, here is omitted.
Alternatively, the processing module 55 specifically for:If the corresponding operation class of first tradable commodity Type is buys in, then the first tradable commodity of second share is distributed to the user by the processing module Account so that the update module updates the share for first tradable commodity that the user holds; If the corresponding action type of first tradable commodity is sells, the processing module is by described second part First tradable commodity of volume converts to fund information, and the fund information is distributed to the account of the user Family, so that the update module updates the share for first tradable commodity that the user holds.
The processing module can be used for the technical scheme for performing embodiment of the method shown in Fig. 4, its realization principle Similar with technique effect, here is omitted.
Further, if the determining module 52 determines first transaction that the user holds before updating The share of commodity is more than first tradable commodity that the user holds after the first preset value, and renewal Share be less than the second preset value;
Then the determining module 52, is additionally operable to first trader that the user holds after determining to update The corresponding second value of share of product, and determine that the second tradable commodity exchanged is believed according to the second value Breath, the second tradable commodity information includes:The mark of second tradable commodity and according to described second 3rd share of second tradable commodity that numerical value is exchanged;
The update module 53, is additionally operable to according to the second tradable commodity information to the institute after the renewal The accounts information for stating user is updated again.
The determining module and update module can be used for corresponding method and step after step S105, and it is realized Principle is similar with technique effect, and here is omitted.
A kind of structural representation for server that Fig. 6 provides for another embodiment of the present invention, as shown in fig. 6, The server includes:Processor 61, memory 62 and receiver 63;The memory 62 is used to store The executable instruction of the processor;
Wherein, the processor 61 is used for:
Obtain corresponding first numerical value of consumption data of user;
The the first tradable commodity information for determining to exchange according to first numerical value, the first tradable commodity letter Breath includes:The mark of first tradable commodity and first transaction exchanged according to first numerical value First share of commodity;
The accounts information of the user is updated according to the first tradable commodity information;
The receiver 63, for receiving the transaction request message that the user sends, the transaction request Message includes the identifying of first tradable commodity, the corresponding action type of first tradable commodity and institute The second share of corresponding first tradable commodity of action type is stated, wherein, first tradable commodity Corresponding action type is:Buy in or sell;
The processor 62, being additionally operable to please to the transaction according to the accounts information of the user after renewal Message is asked to be handled.
The server of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 1, its Implementing principle and technical effect are similar, and here is omitted.
Alternatively, the processor 62 specifically for:Determine the property parameters of first numerical value and described First tradable commodity is per the corresponding numerical value of share;According to the property parameters of first numerical value, it is determined that described The mark of first tradable commodity, and according to first tradable commodity corresponding numerical value determination per share First share of the first tradable commodity;Wherein, the property parameters of first numerical value include:Generation is described The mark of the enterprise of first numerical value.
The processor can be used for perform Fig. 2 shown in embodiment of the method technical scheme, its realization principle and Technique effect is similar, and here is omitted.
Alternatively, the processor 62 specifically for:If the accounts information of the user includes:Described The mark of one tradable commodity, then the processor is according to the first share of first tradable commodity renewal institute State the share for first tradable commodity that the user in the accounts information of user holds;
If the accounts information of the user does not include:The mark of first tradable commodity, the then processing Device adds the mark of first tradable commodity in the accounts information of the user, and determines described first First share of tradable commodity is the share for first tradable commodity that the user holds.
The processor can be used for perform Fig. 3 shown in embodiment of the method technical scheme, its realization principle and Technique effect is similar, and here is omitted.
Optionally, the processor 62 specifically for:If the corresponding action type of first tradable commodity To buy in, then the processor distributes to the first tradable commodity of second share account of the user Family, to update the share for first tradable commodity that the user holds;
If the corresponding action type of first tradable commodity is sells, the processor is by described second First tradable commodity of share converts to fund information, and the fund information is distributed into the user's Account, to update the share for first tradable commodity that the user holds.
The processor can be used for perform Fig. 4 shown in embodiment of the method technical scheme, its realization principle and Technique effect is similar, and here is omitted.
Further, if the processor 62 determines first trader that the user holds before updating The share of product is more than first tradable commodity that the user holds after the first preset value, and renewal Share is less than the second preset value;
Then the processor 62 is additionally operable to:
It is determined that the corresponding second value of share of first tradable commodity that the user holds after updating, And the second tradable commodity information for determining to exchange according to the second value, the second tradable commodity information Including:The mark of second tradable commodity and second trader exchanged according to the second value 3rd share of product;
The accounts information of the user after the renewal is carried out again according to the second tradable commodity information It is secondary to update.
The processor can be used for corresponding method and step after step S105, its realization principle and technology effect Seemingly, here is omitted for fruit.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, It can realize by another way.For example, apparatus embodiments described above are only schematical, For example, the division of the unit, only a kind of division of logic function, can have in addition when actually realizing Dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or Some features can be ignored, or not perform.It is another, shown or discussed coupling each other or Direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of equipment or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit that this illustrates as separating component can be or may not be it is physically separate, The part shown as unit can be or may not be physical location, you can with positioned at a place, Or can also be distributed on multiple NEs.Can select according to the actual needs part therein or Person's whole units realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, Can also be that unit is individually physically present, can also two or more units be integrated in a list In member.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds software The form of functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a computer In read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) Or processor (processor) performs the part steps of each embodiment methods described of the invention.And it is foregoing Storage medium include:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. is various can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each The division progress of functional module is for example, in practical application, as needed can divide above-mentioned functions With by different functional module completions, i.e., the internal structure of equipment is divided into different functional modules, with Complete all or part of function described above.The specific work process of the equipment of foregoing description, can be with With reference to the corresponding process in preceding method embodiment, it will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right It is limited;Although the present invention is described in detail with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent substitution is carried out to which part or all technical characteristic;And these modifications or replacement, and The essence of appropriate technical solution is not set to depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a kind of customer consumption data processing method, it is characterised in that including:
Server obtains corresponding first numerical value of consumption data of user;
The first tradable commodity information that the server determines to exchange according to first numerical value, described first Tradable commodity information includes:The mark of first tradable commodity and the institute exchanged according to first numerical value State the first share of the first tradable commodity;
The server is carried out more according to the first tradable commodity information to the accounts information of the user Newly;
The server receives the transaction request message that the user sends, and the transaction request message includes The identifying of first tradable commodity, the corresponding action type of first tradable commodity and the operation class Second share of corresponding first tradable commodity of type, wherein, the corresponding behaviour of first tradable commodity It is as type:Buy in or sell;
The server is carried out according to the transaction request message to the accounts information of the user after renewal Processing.
2. according to the method described in claim 1, it is characterised in that the server is according to described first Numerical value determines the first tradable commodity information exchanged, including:
The server determines the property parameters and first tradable commodity of first numerical value per share pair The numerical value answered;
The server determines the mark of first tradable commodity according to the property parameters of first numerical value Know, and the of first tradable commodity is determined per the corresponding numerical value of share according to first tradable commodity One share;
Wherein, the property parameters of first numerical value include:Generate the mark of the enterprise of first numerical value.
3. method according to claim 1 or 2, it is characterised in that the server is according to described First tradable commodity information is updated to the accounts information of the user, including:
If the accounts information of the user includes:The mark of first tradable commodity, the then server The user updated according to the first share of first tradable commodity in the accounts information of the user holds The share for first tradable commodity having;
If the accounts information of the user does not include:The mark of first tradable commodity, the then service Device adds the mark of first tradable commodity in the accounts information of the user, and determines described first First share of tradable commodity is the share for first tradable commodity that the user holds.
4. method according to claim 3, it is characterised in that the server is according to the transaction Request message is handled the accounts information of the user after renewal, including:
If the corresponding action type of first tradable commodity is buys in, the server is by described second First tradable commodity of share distributes to the account of the user, with update that the user holds described The share of one tradable commodity;
If the corresponding action type of first tradable commodity is sells, the server is by described second First tradable commodity of share converts to fund information, and the fund information is distributed into the user's Account, to update the share for first tradable commodity that the user holds.
5. method according to claim 4, it is characterised in that the server is according to the transaction After request message is handled the accounts information of the user after renewal, in addition to:
If the server determines that the share of first tradable commodity that the user holds before updating is more than The share for first tradable commodity that the user holds is less than second after first preset value, and renewal Preset value;
Then the server determines the share correspondence for first tradable commodity that the user holds after updating Second value, and according to the second value determine exchange the second tradable commodity information, described second Tradable commodity information includes:The mark of second tradable commodity and the institute exchanged according to the second value State the 3rd share of the second tradable commodity;
The server is according to account of the second tradable commodity information to the user after the renewal Information is updated again.
6. a kind of server, it is characterised in that including:Processor, memory and receiver;
The memory, the executable instruction for storing the processor;
Wherein, the processor is used for:
Obtain corresponding first numerical value of consumption data of user;
The the first tradable commodity information for determining to exchange according to first numerical value, the first tradable commodity letter Breath includes:The mark of first tradable commodity and first transaction exchanged according to first numerical value First share of commodity;
The accounts information of the user is updated according to the first tradable commodity information;
The receiver, for receiving the transaction request message that the user sends, the transaction request disappears Breath includes the identifying of first tradable commodity, the corresponding action type of first tradable commodity and described Second share of corresponding first tradable commodity of action type, wherein, first tradable commodity pair The action type answered is:Buy in or sell;
The processor, is additionally operable to the accounts information according to the user after renewal to the transaction request Message is handled.
7. server according to claim 6, it is characterised in that the processor specifically for:
Determine the property parameters and first tradable commodity of first numerical value per the corresponding numerical value of share;
According to the property parameters of first numerical value, the mark of first tradable commodity is determined, and according to First tradable commodity determines the first share of first tradable commodity per the corresponding numerical value of share;
Wherein, the property parameters of first numerical value include:Generate the mark of the enterprise of first numerical value.
8. the server according to claim 6 or 7, it is characterised in that the processing implement body is used In:
If the accounts information of the user includes:The mark of first tradable commodity, the then processor The user updated according to the first share of first tradable commodity in the accounts information of the user holds The share for first tradable commodity having;
If the accounts information of the user does not include:The mark of first tradable commodity, the then processing Device adds the mark of first tradable commodity in the accounts information of the user, and determines described first First share of tradable commodity is the share for first tradable commodity that the user holds.
9. server according to claim 8, it is characterised in that the processor specifically for:
If the corresponding action type of first tradable commodity is buys in, the processor is by described second First tradable commodity of share distributes to the account of the user, with update that the user holds described The share of one tradable commodity;
If the corresponding action type of first tradable commodity is sells, the processor is by described second First tradable commodity of share converts to fund information, and the fund information is distributed into the user's Account, to update the share for first tradable commodity that the user holds.
10. server according to claim 9, it is characterised in that
If the processor determines that the share of first tradable commodity that the user holds before updating is more than The share for first tradable commodity that the user holds is less than second after first preset value, and renewal Preset value;
Then the processor is additionally operable to:
It is determined that the corresponding second value of share of first tradable commodity that the user holds after updating, And the second tradable commodity information for determining to exchange according to the second value, the second tradable commodity information Including:The mark of second tradable commodity and second trader exchanged according to the second value 3rd share of product;
The accounts information of the user after the renewal is carried out again according to the second tradable commodity information It is secondary to update.
CN201610260712.6A 2016-04-25 2016-04-25 Customer consumption data processing method and server Pending CN107305670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610260712.6A CN107305670A (en) 2016-04-25 2016-04-25 Customer consumption data processing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610260712.6A CN107305670A (en) 2016-04-25 2016-04-25 Customer consumption data processing method and server

Publications (1)

Publication Number Publication Date
CN107305670A true CN107305670A (en) 2017-10-31

Family

ID=60151012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610260712.6A Pending CN107305670A (en) 2016-04-25 2016-04-25 Customer consumption data processing method and server

Country Status (1)

Country Link
CN (1) CN107305670A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518714A (en) * 2001-11-02 2004-08-04 索尼公司 Point sales server, and point sales method
CN101853462A (en) * 2009-04-01 2010-10-06 王九龙 Open type point redemption method
CN101859419A (en) * 2009-04-08 2010-10-13 蒋斌 Point trading platform system
CN102346895A (en) * 2010-07-30 2012-02-08 李嘉辉 Virtual article conversion method and virtual article conversion system
CN104463623A (en) * 2014-11-29 2015-03-25 深圳市无微不至数字技术有限公司 Accumulated point rewarding method and device and system
US20160048864A1 (en) * 2014-08-13 2016-02-18 American Express Travel Related Services Company, Inc. Third party digital wallet pay with points

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1518714A (en) * 2001-11-02 2004-08-04 索尼公司 Point sales server, and point sales method
CN101853462A (en) * 2009-04-01 2010-10-06 王九龙 Open type point redemption method
CN101859419A (en) * 2009-04-08 2010-10-13 蒋斌 Point trading platform system
CN102346895A (en) * 2010-07-30 2012-02-08 李嘉辉 Virtual article conversion method and virtual article conversion system
US20160048864A1 (en) * 2014-08-13 2016-02-18 American Express Travel Related Services Company, Inc. Third party digital wallet pay with points
CN104463623A (en) * 2014-11-29 2015-03-25 深圳市无微不至数字技术有限公司 Accumulated point rewarding method and device and system

Similar Documents

Publication Publication Date Title
JP6757781B2 (en) Communication latency leveling devices, methods, and systems
US11030692B2 (en) System and method for a semi-lit market
KR101834102B1 (en) Techniques for facilitating electronic trading
WO2016044603A1 (en) System and method for facilitation cross orders
CN107993151A (en) Fund exchange settlement method, apparatus, equipment and computer-readable recording medium
CN108537576A (en) Community's advertisement placement method, device, terminal device and storage medium
CN105225109A (en) A kind of method and apparatus carrying out order processing
CN108921558A (en) Assets settle accounts calculation method, system, equipment and storage medium based on block chain
CN110210899A (en) Advertisement sending method, device and equipment based on advertisement similitude
CN110210898A (en) Advertisement sending method, device and equipment based on user behavior
CN107871262A (en) A kind of Order splitting processing method and server
CN110458544A (en) A kind of method of payment and payment services system across more cash register system
CN109529325A (en) Reward distribution method, device, game management servers and readable storage medium storing program for executing
CN106953933B (en) A kind of information push method and device, electronic equipment
CN107305670A (en) Customer consumption data processing method and server
WO2017185211A1 (en) User expense data processing method and server
CN111080454A (en) Asset combination transaction processing method and device
CN107886346B (en) Data object resource information processing method and device
CN104899759A (en) System for profit feedback by applying transaction sequencing
CN112308583A (en) Medical platform management method and system based on virtual integration
CN106779875A (en) A kind of method and server for configuring virtual numerical value
CN113313600A (en) Message processing method, device and system, storage medium and electronic device
CN110399409A (en) Transaction method for monitoring abnormality and device
CN113313599A (en) Product processing system
CN117094824A (en) Method and device for determining matching of orders, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171031

WD01 Invention patent application deemed withdrawn after publication