CN108492125B - Online and offline shopping consumption data settlement processing method and device - Google Patents

Online and offline shopping consumption data settlement processing method and device Download PDF

Info

Publication number
CN108492125B
CN108492125B CN201810101258.9A CN201810101258A CN108492125B CN 108492125 B CN108492125 B CN 108492125B CN 201810101258 A CN201810101258 A CN 201810101258A CN 108492125 B CN108492125 B CN 108492125B
Authority
CN
China
Prior art keywords
resource
user
preset
resources
module
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.)
Active
Application number
CN201810101258.9A
Other languages
Chinese (zh)
Other versions
CN108492125A (en
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 CN201810101258.9A priority Critical patent/CN108492125B/en
Publication of CN108492125A publication Critical patent/CN108492125A/en
Application granted granted Critical
Publication of CN108492125B publication Critical patent/CN108492125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0219Discounts or incentives, e.g. coupons or rebates based on funds or budget
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a method and a device for processing online and offline shopping consumption data settlement, comprising the following steps: detecting whether a resource processing operation of a first user on a selected object is received; when receiving a resource processing operation, acquiring a preset resource amount corresponding to the selected object; determining a target resource processing mode corresponding to the resource processing operation; and determining a resource allocation result of the first user according to the preset resource amount and a target resource processing mode. When the method is used for settlement, the settlement requirements of common users can be met, and the required commodities can be purchased in a mode of being lower than the actual amount by reducing the cost, so that the participation enthusiasm of the users can be improved, and more users can be attracted to consume. In addition, multiple settlement modes exist simultaneously, the design is ingenious, the operation is convenient, the selection can be conveniently carried out in the multiple settlement modes, the defects in the traditional settlement technology are overcome, and the blank of related markets is filled.

Description

Online and offline shopping consumption data settlement processing method and device
Technical Field
The application relates to the technical field of data processing, in particular to a method and a device for processing online and offline shopping consumption data settlement.
Background
With the development and popularization of the internet, e-commerce is developing at an incredible speed, and the life style of people is greatly changed. According to the statistics of authoritative data, the latest data shows that the transaction scale of the Chinese electronic commerce market in 2016 is 20.2 trillion yuan, and the year-on-year increase is 23.6%. Among them, B2B has the highest e-commerce percentage, followed by online shopping, online travel, and local life service O2O. According to the information in the industry, in 2016, the transaction scale of the Chinese online shopping market is 4.7 trillion yuan, and the percentage of the Chinese online shopping market in the whole e-commerce transaction market is 23.3%, which is higher than that in 2015. For many people, online shopping has become an important component of everyday consumption.
However, most of the current online shopping is equivalent to putting a real object on a shopping platform or a website for sale, and when a user buys the shopping, the user directly pays a money corresponding to a marked price, which is similar to the ordinary offline shopping. To attract users, payment is typically done in two ways, one being a direct discount on a marked price, such as: a 9-fold discount, or a uniform discount of multiple items at the time of settlement, such as 100 full minus 20, another way is by receiving a cash back, such as: return to the good comment, etc.
However, the method is more traditional and cannot attract a large number of users.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the application provides an online and offline shopping consumption data settlement processing method and device.
In view of the above, in a first aspect, the present application provides an online and offline shopping consumption data settlement processing method, including:
detecting whether a resource processing operation of a first user on a selected object is received;
when receiving a resource processing operation, acquiring a preset resource amount corresponding to the selected object;
determining a target resource processing mode corresponding to the resource processing operation;
and determining a resource allocation result of the first user according to the preset resource amount and a target resource processing mode.
Optionally, the detecting whether a resource processing operation on the selected object by the first user is received includes:
displaying at least two operation controls related to the selected object, wherein each operation control corresponds to a different resource processing mode;
detecting whether a selection action for any one operation control is received;
when a selection action of any one operation control is received, the resource processing operation of the first user on the selected object is determined to be received.
Optionally, the determining a resource processing manner corresponding to the resource processing operation includes: determining the operation control corresponding to the selection action as a target operation control; and determining the resource processing mode corresponding to the target operation control as a target resource processing mode.
Optionally, the target resource processing method is as follows: the allocation mode of the resource pool is that,
the determining a resource allocation result with the first user according to the preset resource amount and the target resource processing mode includes:
acquiring resources with the same quantity as the preset resources from the resource library of the first user;
dividing the acquired resources into an object part and a resource pool part according to a preset proportion;
allocating the object part to a resource library corresponding to the selected object;
determining whether the first user has a directly corresponding associated user;
when the first user has a directly corresponding associated user, determining whether the associated user has an unallocated resource;
when the associated user has unallocated resources, allocating all or part of the resource pool part to the resource library of the associated user, and adding the rest of the allocated resource pool part to a preset resource pool; adding the resource pool portion to a preset resource pool when the first user does not have a directly corresponding associated user.
Optionally, the method further comprises:
judging whether the first user has a directly corresponding associated user;
when the first user does not have a directly corresponding associated user, judging whether the quantity of the resources in the resource pool is greater than or equal to the preset resource quantity;
and when the quantity of the resources in the resource pool is greater than or equal to the preset resource quantity, allocating the resources in the resource pool, which are equal to the preset resource quantity, to the resource library of the first user, and ending the allocation.
Optionally, the method further comprises:
when the first user has a directly corresponding associated user, judging whether the resource library of the first user receives resources distributed by any associated user;
when receiving the resources distributed by any associated user, judging whether the sum of the resources distributed by any associated account is less than the preset resource amount;
when the sum of the received resources distributed by any associated account is smaller than the preset resource amount, calculating the resource difference between the sum of the received resources distributed by any associated account and the preset resource amount;
judging whether the quantity of the resources in the resource pool is greater than or equal to the resource difference;
and when the quantity of the resources in the resource pool is greater than or equal to the resource difference or the resources allocated for any associated user are received, allocating the resources in the resource pool, which are equal to the resource difference, to the resource library of the first user, and ending the allocation.
Optionally, the method further comprises:
recording a sequence table of users when the resources are added each time according to the sequence of adding the resources into the resource pool;
and after the first user is allocated, searching and sequencing a second user which is positioned behind the first user and is not allocated to the corresponding preset resource amount according to the sequence table, and returning to the step of judging whether the second user has a directly corresponding associated user.
Optionally, the target resource processing method is as follows: the random distribution mode is adopted, and the random distribution mode,
the calculating a resource allocation result with the first user according to the preset resource amount and the target resource processing mode comprises:
grouping the first users according to a preset grouping mode;
judging whether the number of users in the group of the first user is equal to a preset number or not;
when the number of the users in the group where the first user is located is equal to the preset number, acquiring the sum of the number of resources corresponding to the object selected by each user in the group;
taking the preset resource quantity of the object selected by each user as an initial value, and calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode; the allocation value of each user is more than or equal to zero and less than or equal to twice the preset resource amount of the selected object, and the sum of the allocation values of all the users is equal to the sum of the resource amounts;
and acquiring the resources with the same corresponding distribution value obtained by calculation from the resource library of the first user, and respectively acquiring the resources with the same corresponding distribution value obtained by calculation from the resource library of each user in the group where the first user is located.
Optionally, the method further comprises:
and after determining the resource allocation result of the first user, obtaining the sound recording, the video recording, the geographic position and the resource allocation result of the first user and backing up the obtained resource allocation result to a plurality of preset cloud servers.
In a second aspect, an embodiment of the present application further provides an online and offline shopping consumption data settlement processing apparatus, including:
the operation detection module is used for detecting whether the resource processing operation of the first user on the selected object is received or not;
the resource amount determining module is used for acquiring a preset resource amount corresponding to the selected object when the resource processing operation is received;
a mode determining module, configured to determine a target resource processing mode corresponding to the resource processing operation;
and the allocation determining module is used for determining a resource allocation result of the first user according to the preset resource amount and the target resource processing mode.
Optionally, the operation detection module includes: the display sub-module is used for displaying at least two operation controls related to the selected object, and each operation control corresponds to a different resource processing mode; the selection action detection submodule is used for detecting whether a selection action for any one operation control is received; the first determining sub-module is used for determining that the resource processing operation of the first user on the selected object is received when the selection action of any one operation control is received;
optionally, the mode determining module includes: the second determining sub-module is used for determining the operation control corresponding to the selection action as a target operation control; a third determining sub-module, configured to determine a resource processing manner corresponding to the target operation control as a target resource processing manner;
optionally, the target resource processing method is as follows: the resource pool allocation mode, the allocation determining module, includes: the resource acquisition submodule is used for acquiring resources with the same quantity as the preset resources from the resource library of the first user; the resource dividing submodule is used for dividing the acquired resources into an object part and a resource pool part according to a preset proportion; the resource allocation submodule is used for allocating the object part to a resource library corresponding to the selected object; an associated user judgment sub-module for judging whether the first user has a directly corresponding associated user; an unallocated determination submodule, configured to determine, when the first user has a directly corresponding associated user, whether the associated user has an unallocated resource; the resource allocation submodule is further configured to, when the associated user has an unallocated resource, allocate all or part of the resource pool portion to the resource pool of the associated user, and add the remainder of the allocated resource pool portion to a preset resource pool; or, when the first user does not have a directly corresponding associated user, adding the resource pool part into a preset resource pool
Optionally, the apparatus further comprises: the associated user judging module is used for judging whether the first user has a directly corresponding associated user; a first resource quantity judging submodule, configured to, when the first user does not have a directly corresponding associated user, judge whether the quantity of resources in the resource pool is greater than or equal to the preset resource quantity; a first reallocation module, configured to allocate, when the number of resources in the resource pool is greater than or equal to the preset resource amount, resources in the resource pool that are equal to the preset resource amount to a resource pool of the first user, and end allocation;
optionally, the apparatus further comprises: the receiving and judging module is used for judging whether the resource library of the first user receives the resources distributed by any associated user when the first user has the associated user directly corresponding to the first user; the system comprises an allocated resource judging module, a resource difference calculating module and a resource difference calculating module, wherein the allocated resource judging module is used for judging whether the sum of the resources allocated to any associated account is smaller than the preset resource amount or not when the resources allocated to any associated user are received, and the resource difference calculating module is used for calculating the sum of the resources allocated to any associated account and the resource difference of the preset resource amount when the sum of the resources allocated to any associated account is smaller than the preset resource amount; the resource pool calculating module is used for judging whether the quantity of the resources in the resource pool is greater than or equal to the resource difference; and the second redistribution module is used for distributing the resource which is equal to the resource difference in the resource pool to the resource library of the first user when the quantity of the resource in the resource pool is greater than or equal to the resource difference or the resource distributed for receiving any associated user, and finishing the distribution.
Optionally, the apparatus further comprises: the recording module is used for recording a sequence list of users when the resources are added each time according to the sequence of adding the resources into the resource pool; the searching module is used for searching and sequencing second users which are behind the first user and are not allocated to the corresponding preset resource amount according to the sequence table after the allocation of the first user is finished, and then the associated user judging module judges whether the second users have associated users directly corresponding to the second users;
optionally, the target resource processing method is as follows: the random allocation mode, the allocation determining module, includes: the grouping submodule is used for grouping the first user according to a preset grouping mode; the intra-group number judgment submodule is used for judging whether the number of the users in the group where the first user is located is equal to a preset number or not; the sum obtaining module is used for obtaining the sum of the resource quantity corresponding to the object selected by each user in the group when the quantity of the users in the group where the first user is located is equal to the preset quantity; the calculation module is used for calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode by taking the preset resource amount of the object selected by each user as an initial value; the allocation value of each user is greater than zero and less than twice the preset resource amount of the selected object, and the sum of the allocation values of all users is equal to the sum of the resource amounts; and the resource acquisition module is used for acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of the first user, and respectively acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of each user in the group where the first user is located.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the method provided in the embodiment of the application is used for determining a corresponding target resource processing mode according to an operation selected by a user during settlement processing, and further determining a resource allocation result of the first user according to a preset resource amount and the target resource processing mode. The target resource processing mode can comprise a common equal-amount mode or an unequal-amount mode, and when the unequal-amount mode is adopted, the amount of money settled by the user is smaller than the actual amount of money, and further when the method is used for settlement in an online market or an offline market, the settlement requirement of the common user can be met, and the required commodities can be purchased in a mode lower than the actual amount of money by reducing the cost, so that the participation enthusiasm of the user can be improved, and more users can be attracted for consumption.
The method provided by the embodiment of the invention has the advantages of simultaneous existence of multiple settlement modes, ingenious design and convenient operation, can be conveniently selected from the multiple settlement modes, overcomes the defects in the traditional settlement technology, and fills the blank of related markets.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a settlement processing method for consumption data of online and offline shopping provided by the present application;
fig. 2 is a schematic structural diagram of an online-offline shopping consumption data settlement processing device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow chart of a method for processing settlement of consumption data of online and offline shopping provided by the present application.
As shown in fig. 1, the online and offline shopping consumption data settlement processing method may include the following steps.
S101, whether the resource processing operation of the first user on the selected object is received or not is detected.
In the embodiment of the present application, the step may include:
s1011, displaying at least two operation controls related to the selected object, wherein each operation control corresponds to a different resource processing mode;
s1012, detecting whether a selection action for any one operation control is received;
and S1013, when a selection action of any one operation control is received, determining that the resource processing operation of the first user on the selected object is received. Otherwise, the flow ends.
S102, when receiving a resource processing operation, acquiring a preset resource amount corresponding to the selected object;
s103, determining a target resource processing mode corresponding to the resource processing operation.
In this embodiment of the present application, the determining a resource processing manner corresponding to the resource processing operation includes:
s1031, determining the operation control corresponding to the selection action as a target operation control;
and S1032, determining the resource processing mode corresponding to the target operation control as the target resource processing mode.
And S104, determining a resource allocation result of the first user according to the preset resource amount and the target resource processing mode.
In the embodiment of the present application, the target resource processing manner may be an equal amount manner, that is, the resource allocation result of the first user is to divide the resource equal to the preset resource amount. In this case, the amount of resources to be divided may be calculated based on the preset amount of resources and the target resource processing method, and further, the calculation for the first user may be directly performed until the amount of resources is equal. In general, the amount of resources calculated in the unequal manner is less than a preset amount of resources.
In the embodiment of the present application, the unequal allocation method is taken as an example to describe, in this case, the step S104 may include the following steps.
S201, acquiring resources with the same quantity as a preset resource from a resource library of the first user;
s202, dividing the acquired resources into an object part and a resource pool part according to a preset proportion;
s203, distributing the object part to a resource library corresponding to the selected object;
s204, judging whether the first user has a directly corresponding associated user;
s205, when the first user has a directly corresponding associated user, judging whether the associated user has an unallocated resource;
s206, when the associated user has unallocated resources, allocating all or part of the resource pool part to the resource library of the associated user, and adding the remainder of the allocated resource pool part to a preset resource pool;
s207, when the first user does not have the directly corresponding associated user, adding the resource pool part into a preset resource pool.
In this embodiment of the present application, an unequal manner is taken as an example to describe a manner of allocating resource pools, and on the basis of the embodiment of the step S201 in the foregoing embodiment, the method may further include:
s208, judging whether the first user has a directly corresponding associated user;
s209, when the first user does not have a directly corresponding associated user, judging whether the quantity of the resources in the resource pool is greater than or equal to the preset resource quantity;
s210, when the number of the resources in the resource pool is greater than or equal to the preset resource amount, allocating the resources in the resource pool, which are equal to the preset resource amount, to the resource pool of the first user, and ending the allocation.
In another embodiment of the present application, based on the foregoing embodiment of step S208, the method further includes:
s211, when the first user has a directly corresponding associated user, judging whether the resource library of the first user receives the resource distributed by any associated user;
s212, when the resources distributed by any associated user are received, judging whether the sum of the resources distributed by any associated account is less than the preset resource amount;
when the sum of the received resources distributed by any associated account is smaller than the preset resource amount, calculating the resource difference between the sum of the received resources distributed by any associated account and the preset resource amount;
s213, judging whether the quantity of the resources in the resource pool is greater than or equal to the resource difference;
s214, when the quantity of the resources in the resource pool is larger than or equal to the resource difference or the resources allocated for any associated user are received, allocating the resources in the resource pool, which are equal to the resource difference, to the resource pool of the first user, and ending the allocation.
In other embodiments of the present application, based on the embodiment of the foregoing embodiment S201 or S208, the method further includes:
s215, recording a sequence list of users when the resources are added each time according to the sequence of adding the resources into the resource pool;
s216, after the allocation of the first user is finished, searching and sorting second users which are behind the first user and are not allocated to the corresponding preset resource amount according to the sequence table, and returning to the step of judging whether the second users have directly corresponding associated users.
In other embodiments of the present application, the aforementioned target resource processing method may further be: the random allocation method, when the random allocation method is adopted, the foregoing step S104 may include the following steps.
S301, grouping the first users according to a preset grouping mode;
s302, judging whether the number of the users in the group of the first user is equal to a preset number or not;
s303, when the number of the users in the group where the first user is located is equal to a preset number, acquiring the sum of the number of resources corresponding to the object selected by each user in the group;
s304, calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode by taking the preset resource amount of the object selected by each user as an initial value; the allocation value of each user is greater than or equal to zero and less than or equal to twice the preset resource amount of the selected object, and the sum of the allocation values of all the users is equal to the sum of the resource amounts.
In a specific application, taking the preset number of 10 as an example, when performing the allocation, the following formula is performed:
Figure BDA0001566429530000121
wherein M1, M2, M3, M4, M5, M6, M7, M8, M9, and M10 are respectively preset resource amounts for 10 user-selected objects; a1, a2, a3, a4, a5, a6, a7, a8, a9 and a10 are distribution coefficients of resources corresponding to 10 users respectively, and 0 is not less than ax and not more than 2, and Nx is mxax, wherein 0 is not less than x and not more than 10.
S305, obtaining the resources with the same calculated corresponding distribution values from the resource library of the first user, and respectively obtaining the resources with the same calculated corresponding distribution values from the resource library of each user in the group where the first user is located.
In addition, in other embodiments of the present application, the method further comprises:
and after determining the resource allocation result of the first user, obtaining the sound recording, the video recording, the geographic position and the resource allocation result of the first user and backing up the obtained resource allocation result to a plurality of preset cloud servers.
The online and offline shopping consumption data settlement method provided by the method is used for determining a corresponding target resource processing mode according to the operation selected by the user during settlement processing, and further determining a resource allocation result of the first user according to the preset resource amount and the target resource processing mode. The target resource processing mode can comprise a common equal-amount mode or an unequal-amount mode, and when the unequal-amount mode is adopted, the amount of money settled by the user is smaller than the actual amount of money, and further when the method is used for settlement in an online market or an offline market, the settlement requirement of the common user can be met, and the required commodities can be purchased in a mode lower than the actual amount of money by reducing the cost, so that the participation enthusiasm of the user can be improved, and more users can be attracted for consumption.
The method provided by the embodiment of the invention has the advantages of simultaneous existence of multiple settlement modes, ingenious design and convenient operation, can be conveniently selected from the multiple settlement modes, overcomes the defects in the traditional settlement technology, and fills the blank of related markets.
Fig. 2 is a schematic structural diagram of an online-offline shopping consumption data settlement processing device according to an embodiment of the present application.
As shown in fig. 2, the online and offline shopping consumption data settlement processing device may include:
an operation detection module 11, configured to detect whether a resource processing operation on the selected object by the first user is received;
a resource amount determining module 12, configured to, when a resource processing operation is received, obtain a preset resource amount 13 corresponding to the selected object;
a mode determining module 14, configured to determine a target resource processing mode corresponding to the resource processing operation;
and the allocation determining module 15 is configured to determine a resource allocation result with the first user according to the preset resource amount and the target resource processing manner.
In one embodiment of the present application, the operation detection module may include: the display sub-module is used for displaying at least two operation controls related to the selected object, and each operation control corresponds to a different resource processing mode; the selection action detection submodule is used for detecting whether a selection action for any one operation control is received; the first determining sub-module is used for determining that the resource processing operation of the first user on the selected object is received when the selection action of any one operation control is received;
in another embodiment of the present application, the manner determining module may include: the second determining sub-module is used for determining the operation control corresponding to the selection action as a target operation control; a third determining sub-module, configured to determine a resource processing manner corresponding to the target operation control as a target resource processing manner;
in another embodiment of the present application, the target resource processing method may be: the resource pool allocation mode, the allocation determining module, includes:
the resource acquisition submodule is used for acquiring resources with the same quantity as the preset resources from the resource library of the first user;
the resource dividing submodule is used for dividing the acquired resources into an object part and a resource pool part according to a preset proportion;
the resource allocation submodule is used for allocating the object part to a resource library corresponding to the selected object;
an associated user judgment sub-module for judging whether the first user has a directly corresponding associated user;
an unallocated determination submodule, configured to determine, when the first user has a directly corresponding associated user, whether the associated user has an unallocated resource;
the resource allocation submodule is further configured to, when the associated user has an unallocated resource, allocate all or part of the resource pool portion to the resource pool of the associated user, and add the remainder of the allocated resource pool portion to a preset resource pool; or, when the first user does not have a directly corresponding associated user, adding the resource pool part into a preset resource pool
In another embodiment of the present application, the apparatus further comprises:
the associated user judging module is used for judging whether the first user has a directly corresponding associated user;
a first resource quantity judging submodule, configured to, when the first user does not have a directly corresponding associated user, judge whether the quantity of resources in the resource pool is greater than or equal to the preset resource quantity;
a first reallocation module, configured to allocate, when the number of resources in the resource pool is greater than or equal to the preset resource amount, resources in the resource pool that are equal to the preset resource amount to a resource pool of the first user, and end allocation;
in another embodiment of the present application, the apparatus further comprises:
the receiving and judging module is used for judging whether the resource library of the first user receives the resources distributed by any associated user when the first user has the associated user directly corresponding to the first user;
the allocated resource judging module is used for judging whether the sum of the resources allocated to any associated account is less than the preset resource amount or not when the resources allocated to any associated user are received;
the resource difference calculation module is used for calculating the resource difference between the sum of the resources distributed by the received any associated account and the preset resource amount when the sum of the resources distributed by the received any associated account is smaller than the preset resource amount;
the resource pool calculating module is used for judging whether the quantity of the resources in the resource pool is greater than or equal to the resource difference;
and the second redistribution module is used for distributing the resource which is equal to the resource difference in the resource pool to the resource library of the first user when the quantity of the resource in the resource pool is greater than or equal to the resource difference or the resource distributed for receiving any associated user, and finishing the distribution.
In another embodiment of the present application, the apparatus further comprises:
the recording module is used for recording a sequence list of users when the resources are added each time according to the sequence of adding the resources into the resource pool;
the searching module is used for searching and sequencing second users which are behind the first user and are not allocated to the corresponding preset resource amount according to the sequence table after the allocation of the first user is finished, and then the associated user judging module judges whether the second users have associated users directly corresponding to the second users;
in another embodiment of the present application, the target resource processing method is as follows: the random allocation mode, the allocation determining module, includes:
the grouping submodule is used for grouping the first user according to a preset grouping mode;
the intra-group number judgment submodule is used for judging whether the number of the users in the group where the first user is located is equal to a preset number or not;
the sum obtaining module is used for obtaining the sum of the resource quantity corresponding to the object selected by each user in the group when the quantity of the users in the group where the first user is located is equal to the preset quantity;
the calculation module is used for calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode by taking the preset resource amount of the object selected by each user as an initial value; the allocation value of each user is greater than zero and less than twice the preset resource amount of the selected object, and the sum of the allocation values of all users is equal to the sum of the resource amounts;
and the resource acquisition module is used for acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of the first user, and respectively acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of each user in the group where the first user is located.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. An online and offline shopping consumption data settlement processing method is characterized by comprising the following steps:
detecting whether a resource processing operation of a first user on a selected object is received;
when receiving a resource processing operation, acquiring a preset resource amount corresponding to the selected object;
determining a target resource processing mode corresponding to the resource processing operation; the determining a resource processing mode corresponding to the resource processing operation includes: determining an operation control corresponding to the selection action of the first user as a target operation control; determining a resource processing mode corresponding to the target operation control as a target resource processing mode;
determining a resource allocation result with the first user according to the preset resource amount and a target resource processing mode;
the target resource processing mode is as follows: the resource pool allocation mode, which determines the resource allocation result with the first user according to the preset resource amount and the target resource processing mode, includes: acquiring resources with the same quantity as the preset resources from the resource library of the first user; dividing the acquired resources into an object part and a resource pool part according to a preset proportion; allocating the object part to a resource library corresponding to the selected object; determining whether the first user has a directly corresponding associated user; when the first user has a directly corresponding associated user, determining whether the associated user has an unallocated resource; when the associated user has unallocated resources, allocating all or part of the resource pool part to the resource library of the associated user, and adding the rest of the allocated resource pool part to a preset resource pool; adding the resource pool portion to a preset resource pool when the first user does not have a directly corresponding associated user;
the method further comprises the following steps: judging whether the first user has a directly corresponding associated user; when the first user does not have a directly corresponding associated user, judging whether the quantity of the resources in the preset resource pool is greater than or equal to the preset resource quantity; and when the quantity of the resources in the preset resource pool is greater than or equal to the preset resource quantity, allocating the resources in the preset resource pool, which are equal to the preset resource quantity, to the resource library of the first user, and ending the allocation.
2. The method of claim 1, wherein detecting whether a resource handling operation of the selected object by the first user is received comprises:
displaying at least two operation controls related to the selected object, wherein each operation control corresponds to a different resource processing mode;
detecting whether a selection action for any one operation control is received;
when a selection action of any one operation control is received, the resource processing operation of the first user on the selected object is determined to be received.
3. The method of claim 1, further comprising:
when the first user has a directly corresponding associated user, judging whether the resource library of the first user receives resources distributed by any associated user;
when receiving the resources distributed by any associated user, judging whether the sum of the resources distributed by any associated account is less than the preset resource amount;
when the sum of the received resources distributed by any associated account is smaller than the preset resource amount, calculating the resource difference between the sum of the received resources distributed by any associated account and the preset resource amount;
judging whether the quantity of the resources in the preset resource pool is greater than or equal to the resource difference;
and when the quantity of the resources in the preset resource pool is greater than or equal to the resource difference or the resources allocated for any associated user are received, allocating the resources in the preset resource pool, which are equal to the resource difference, to the resource library of the first user, and finishing allocation.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
recording a sequence table of users when the resources are added each time according to the sequence of adding the resources into the preset resource pool;
and after the first user is allocated, searching and sequencing a second user which is positioned behind the first user and is not allocated to the corresponding preset resource amount according to the sequence table, and returning to the step of judging whether the second user has a directly corresponding associated user.
5. The method according to claim 1 or 2, wherein the target resource processing manner is: the random distribution mode is adopted, and the random distribution mode,
the calculating a resource allocation result with the first user according to the preset resource amount and the target resource processing mode comprises:
grouping the first users according to a preset grouping mode;
judging whether the number of users in the group of the first user is equal to a preset number or not;
when the number of the users in the group where the first user is located is equal to the preset number, acquiring the sum of the number of resources corresponding to the object selected by each user in the group;
taking the preset resource quantity of the object selected by each user as an initial value, and calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode; the allocation value of each user is more than or equal to zero and less than or equal to twice the preset resource amount of the selected object, and the sum of the allocation values of all the users is equal to the sum of the resource amounts;
and acquiring the resources with the same corresponding distribution value obtained by calculation from the resource library of the first user, and respectively acquiring the resources with the same corresponding distribution value obtained by calculation from the resource library of each user in the group where the first user is located.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
after determining the resource allocation result of the first user, acquiring the audio record, the video record, the geographic position and the resource allocation result backup of the first user, and storing the audio record, the video record, the geographic position and the resource allocation result backup in a local and/or a plurality of preset cloud servers;
and the backup storage adopts a real-time cloud laser recording time axis technology.
7. An online-offline shopping consumption data settlement processing device, comprising:
the operation detection module is used for detecting whether the resource processing operation of the first user on the selected object is received or not;
the resource amount determining module is used for acquiring a preset resource amount corresponding to the selected object when the resource processing operation is received;
a mode determining module, configured to determine a target resource processing mode corresponding to the resource processing operation;
the allocation determining module is used for determining a resource allocation result of the first user according to the preset resource amount and a target resource processing mode;
the target resource processing mode is as follows: the resource pool allocation mode, the allocation determining module, includes: the resource acquisition submodule is used for acquiring resources with the same quantity as the preset resources from the resource library of the first user; the resource dividing submodule is used for dividing the acquired resources into an object part and a resource pool part according to a preset proportion; the resource allocation submodule is used for allocating the object part to a resource library corresponding to the selected object; an associated user judgment sub-module for judging whether the first user has a directly corresponding associated user; an unallocated determination submodule, configured to determine, when the first user has a directly corresponding associated user, whether the associated user has an unallocated resource; the resource allocation submodule is further configured to, when the associated user has an unallocated resource, allocate all or part of the resource pool portion to the resource pool of the associated user, and add the remainder of the allocated resource pool portion to a preset resource pool; or, when the first user does not have a directly corresponding associated user, adding the resource pool part into a preset resource pool
And/or, the device further comprises: the associated user judging module is used for judging whether the first user has a directly corresponding associated user; a first resource quantity judging submodule, configured to, when the first user does not have a directly corresponding associated user, judge whether the quantity of resources in the preset resource pool is greater than or equal to the preset resource quantity; and the first reallocation module is used for allocating the resources, which are equal to the preset resource amount, in the preset resource pool to the resource library of the first user when the number of the resources in the preset resource pool is greater than or equal to the preset resource amount, and ending allocation.
8. The apparatus of claim 7, wherein the operation detection module comprises: the display sub-module is used for displaying at least two operation controls related to the selected object, and each operation control corresponds to a different resource processing mode; the selection action detection submodule is used for detecting whether a selection action for any one operation control is received; the first determining sub-module is used for determining that the resource processing operation of the first user on the selected object is received when the selection action of any one operation control is received;
and/or, a manner determination module comprising: the second determining sub-module is used for determining the operation control corresponding to the selection action as a target operation control; a third determining sub-module, configured to determine a resource processing manner corresponding to the target operation control as a target resource processing manner;
and/or, the device further comprises: the receiving and judging module is used for judging whether the resource library of the first user receives the resources distributed by any associated user when the first user has the associated user directly corresponding to the first user; the system comprises an allocated resource judging module, a resource difference calculating module and a resource difference calculating module, wherein the allocated resource judging module is used for judging whether the sum of the resources allocated to any associated account is smaller than the preset resource amount or not when the resources allocated to any associated user are received, and the resource difference calculating module is used for calculating the sum of the resources allocated to any associated account and the resource difference of the preset resource amount when the sum of the resources allocated to any associated account is smaller than the preset resource amount; the resource pool calculating module is used for judging whether the quantity of the resources in the preset resource pool is greater than or equal to the resource difference; a second reallocation module, configured to allocate, when the number of resources in the preset resource pool is greater than or equal to the resource difference or resources allocated for receiving any associated user, resources in the preset resource pool that are equal to the resource difference to the resource pool of the first user, and end allocation;
and/or, the device further comprises: the recording module is used for recording a sequence list of users when the resources are added each time according to the sequence of adding the resources into the preset resource pool; the searching module is used for searching and sequencing second users which are behind the first user and are not allocated to the corresponding preset resource amount according to the sequence table after the allocation of the first user is finished, and then the associated user judging module judges whether the second users have associated users directly corresponding to the second users;
and/or the target resource processing mode is as follows: the random allocation mode, the allocation determining module, includes: the grouping submodule is used for grouping the first user according to a preset grouping mode; the intra-group number judgment submodule is used for judging whether the number of the users in the group where the first user is located is equal to a preset number or not; the sum obtaining module is used for obtaining the sum of the resource quantity corresponding to the object selected by each user in the group when the quantity of the users in the group where the first user is located is equal to the preset quantity; the calculation module is used for calculating the allocation value of the resource corresponding to each user according to a preset resource calculation mode by taking the preset resource amount of the object selected by each user as an initial value; the allocation value of each user is greater than zero and less than twice the preset resource amount of the selected object, and the sum of the allocation values of all users is equal to the sum of the resource amounts; and the resource acquisition module is used for acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of the first user, and respectively acquiring the resources with the same corresponding distribution values obtained by calculation from the resource library of each user in the group where the first user is located.
CN201810101258.9A 2018-02-01 2018-02-01 Online and offline shopping consumption data settlement processing method and device Active CN108492125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810101258.9A CN108492125B (en) 2018-02-01 2018-02-01 Online and offline shopping consumption data settlement processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810101258.9A CN108492125B (en) 2018-02-01 2018-02-01 Online and offline shopping consumption data settlement processing method and device

Publications (2)

Publication Number Publication Date
CN108492125A CN108492125A (en) 2018-09-04
CN108492125B true CN108492125B (en) 2021-09-28

Family

ID=63344265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810101258.9A Active CN108492125B (en) 2018-02-01 2018-02-01 Online and offline shopping consumption data settlement processing method and device

Country Status (1)

Country Link
CN (1) CN108492125B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637283A (en) * 2012-01-17 2012-08-15 云南悦倪科技有限公司 Wireless shopping rebate system based on mobile terminal and realization method
CN103020821A (en) * 2012-11-09 2013-04-03 上海网赛网络科技有限公司 Payment system and payment method based on mobile terminal
CN106875215A (en) * 2017-01-20 2017-06-20 四川千亿猫电子商务有限公司 Profit system and interest concessions distribution method are shared by Yi Ye strange lands businessman, consumer federation
CN106980986A (en) * 2016-01-18 2017-07-25 消创数位科技股份有限公司 Rebate mechanism management system, method and computer readable recording medium thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140344023A1 (en) * 2013-05-15 2014-11-20 Oncept, Inc. Methodology and Process to Price Benchmark Bundled Telecommunications Products and Services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102637283A (en) * 2012-01-17 2012-08-15 云南悦倪科技有限公司 Wireless shopping rebate system based on mobile terminal and realization method
CN103020821A (en) * 2012-11-09 2013-04-03 上海网赛网络科技有限公司 Payment system and payment method based on mobile terminal
CN106980986A (en) * 2016-01-18 2017-07-25 消创数位科技股份有限公司 Rebate mechanism management system, method and computer readable recording medium thereof
CN106875215A (en) * 2017-01-20 2017-06-20 四川千亿猫电子商务有限公司 Profit system and interest concessions distribution method are shared by Yi Ye strange lands businessman, consumer federation

Also Published As

Publication number Publication date
CN108492125A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN107180371B (en) Method, system and computer-readable storage medium for purchasing goods using coupons
CN109961357B (en) User data processing method and device, electronic equipment and storage medium
CN106934648B (en) Data processing method and device
CN106407210B (en) A kind of methods of exhibiting and device of business object
CN106487715B (en) Method and device for allocating resources to users
CN110413870A (en) Method of Commodity Recommendation, device and server
CN106469382A (en) Idle merchandise items information processing method and device
US9639848B1 (en) Diffusion prediction based on indicator scoring
CN107895213A (en) Forecasting Methodology, device and the electronic equipment of spending limit
CN110570233A (en) User buyback time prediction method and device for e-commerce platform
CN111144874B (en) Payment mode recommendation method, device and equipment
CN110348921B (en) Method and device for selecting store articles
TW202207118A (en) Anchor commodity selection related system, method, device and apparatus
CN116467399A (en) Object handling method and device
CN110858378A (en) Evaluation information display method, order creation method, purchase adding method and purchase adding device
CN107330709B (en) Method and device for determining target object
CN111724229A (en) Object recommendation method and device, and object display method and device
CN112734460B (en) Data processing, payment data output and payment preferential data providing method and device
CN108492125B (en) Online and offline shopping consumption data settlement processing method and device
CN108733685B (en) Object interaction, browsing, searching and configuration method and device
CN109767299B (en) Demand information providing method and apparatus, storage medium, and electronic device
CN105430073A (en) Message pushing method and system based on user behaviors
WO2007086684A1 (en) Method and system for calculating advertising-fee of local advertising information
CN116188072A (en) User equity processing system and member equity processing system
CN111143546A (en) Method and device for obtaining recommendation language and electronic equipment

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
GR01 Patent grant
GR01 Patent grant