CN113496113A - Method and device for generating user value information - Google Patents

Method and device for generating user value information Download PDF

Info

Publication number
CN113496113A
CN113496113A CN202010191625.6A CN202010191625A CN113496113A CN 113496113 A CN113496113 A CN 113496113A CN 202010191625 A CN202010191625 A CN 202010191625A CN 113496113 A CN113496113 A CN 113496113A
Authority
CN
China
Prior art keywords
value
information
user
determining
generating
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
CN202010191625.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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010191625.6A priority Critical patent/CN113496113A/en
Publication of CN113496113A publication Critical patent/CN113496113A/en
Pending legal-status Critical Current

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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources

Abstract

The invention discloses a method and a device for generating user value information, and relates to the technical field of computers. One embodiment of the method comprises: screening an information generation template matched with a user to generate value information from the information generation template set; generating a template according to the information, and determining an information calculation formula corresponding to the user; and calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula. The implementation mode overcomes the technical defects that the charging rule is complex, a hard coding mode occupies a large amount of human resources and is difficult to multiplex in the prior art, so that data and logic decoupling is realized, and the technical effect of determining the value information corresponding to the user in real time is achieved.

Description

Method and device for generating user value information
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating user value information.
Background
With the popularity of new retail concepts, it is still one of the most mainstream forms to collect user commissions for revenue sharing by affiliates. In order to satisfy various combination modes, the calculation of commission becomes correspondingly complicated and changeable.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
1. the logic of the calculated rule is complex and changeable, and the code is difficult to be unified integrally;
2. in the prior art, a hard coding mode is required for calculating commission, but the hard coding mode occupies a large amount of human resources and is difficult to reuse;
3. complex calculation rules, difficulty in balancing and verifying whether profit sharing is reasonable, and difficulty in backtracking commission charging process and results.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for generating user value information, which can implement data and logic decoupling, and achieve the technical effect of determining a commission corresponding to the user in real time.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of generating user value information, including:
screening an information generation template matched with a user to generate value information from the information generation template set;
generating a template according to the information, and determining an information calculation formula corresponding to the user;
and calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
Optionally, before the step of screening the information generation template matched with the user to generate the value information from the information generation template set, the method includes:
combining the dimension particles to generate a value dimension set;
generating a value snapshot set according to the value dimension set and the value element set;
generating a value rule set according to the value snapshot set and the value formula set;
generating an information generation template set according to the value rule set, the value snapshot set and the value formula set;
wherein the dimension particle comprises: category, channel, store, contract date.
Optionally, the determining an information calculation formula corresponding to the user according to the information generation template includes:
determining a value rule set corresponding to the user according to the information template;
determining a preset value dimension in the data snapshot corresponding to the user;
selecting a first rule formula in the value rule set, wherein the first rule formula is matched with the preset value dimension;
and determining the information calculation formula corresponding to the first rule formula as the information calculation formula corresponding to the user.
Optionally, calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula, includes:
determining a value element corresponding to the value dimension in the data snapshot;
and substituting the value elements into the information calculation formula to calculate the value information of the user.
Optionally, before determining the information calculation formula corresponding to the user according to the information generation template, the method includes:
determining a value factor for the user;
generating a data snapshot based on at least one value dimension and the value elements;
wherein the value elements include: attribute information, sales information, and credit information.
According to an aspect of an embodiment of the present invention, there is provided an apparatus for generating user value information, including:
the screening template module is used for screening an information generation template matched with a user to generate the value information from the information generation template set;
the value formula determining module is used for generating a template according to the information and determining an information calculation formula corresponding to the user;
and the value determining module is used for calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
Optionally, the method further comprises: the set determining module is used for screening out the information generating template matched with the user to generate the value information from the information generating template set, and comprises the following steps:
combining the dimension particles to generate a value dimension set;
generating a value snapshot set according to the value dimension set and the value element set;
generating a value rule set according to the value snapshot set and the value formula set;
generating an information generation template set according to the value rule set, the value snapshot set and the value formula set;
wherein the dimension particle comprises: category, channel, store, contract date.
Optionally, the determining an information calculation formula corresponding to the user according to the information generation template includes:
determining a value rule set corresponding to the user according to the information template;
determining a preset value dimension in the data snapshot corresponding to the user;
selecting a first rule formula in the value rule set, wherein the first rule formula is matched with the preset value dimension;
and determining the information calculation formula corresponding to the first rule formula as the information calculation formula corresponding to the user.
According to another aspect of the embodiments of the present invention, there is provided an electronic device for generating user value information, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating user value information provided by the present invention.
According to still another aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the method for generating user value information provided by the present invention.
One embodiment of the above invention has the following advantages or benefits:
according to the method and the device, the technical means of combining the data snapshot with the information calculation formula are adopted, the technical defects that in the prior art, the calculation rule is complex, a hard coding mode is adopted, a large amount of human resources are occupied, and multiplexing is difficult are overcome, data and logic decoupling is further achieved, and the technical effect of determining the value information corresponding to the user in real time is achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a main flow of a method of generating user value information according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a main flow of a method of generating a commission template set according to an embodiment of the invention;
FIG. 3 is a diagram illustrating a detailed flow of a method for generating user value information according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of the main modules of an apparatus for generating user value information according to an embodiment of the present invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method for generating user value information according to an embodiment of the present invention, as shown in fig. 1, including:
s101, screening an information generation template matched with a user to generate value information from an information generation template set;
step S102, generating a template according to the information, and determining an information calculation formula corresponding to the user;
and step S103, calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
The information generation template is a preset template used for calculating the value information corresponding to the user, and can be referred to as a commission template in a specific embodiment; there is one template per user that matches the user's actual situation.
In practical application, one user may correspond to a plurality of shops, and commission calculation modes corresponding to the shops may have differences, so that different information calculation formulas are required to be configured in a preset information generation template, and the commission required to be paid by the user is conveniently and accurately calculated.
According to the method and the device, the technical means of combining the data snapshot with the commission charging formula are adopted, the technical defects that in the prior art, the calculation rule is complex, a hard coding mode is adopted, a large amount of human resources are occupied, and multiplexing is difficult are overcome, and further the technical effect that data and rule are logically decoupled to determine the value information corresponding to the user in real time is achieved.
The scheme realizes the unified management of the information calculation formula through the configured information generation template, thereby achieving the purpose of conveniently generating the universal information calculation template which is suitable for the actual requirement. The configured information calculation template has a mapping relation with the calculation formula, so that reference code logic is not needed in the process of backtracking the value information of the user, the accuracy of the value information is convenient for the user to verify, and the flexibility of service configuration in practical application can be improved by configuring the information calculation template.
Optionally, before an information generation template matched with a user to generate value information is screened from the information generation template set, an information generation template set needs to be generated, where the information generation template set includes at least one information generation template. The information generation template refers to a set of rule system formed by matching various information calculation formulas with calculation rules, and is called an information generation template, one information generation template is information generation operation logic, and is also a commission template in a specific implementation mode, and is also mapped with a cooperation mode.
The following describes a specific embodiment of the step of determining the commission template when the application scenario is to calculate the commission of the merchant.
Fig. 2 is a schematic diagram of a main flow of a method of generating a commission template set according to an embodiment of the present invention, and as shown in fig. 2, the step of generating the commission template set includes:
s201, determining dimension particles, wherein the dimension particles include but are not limited to: categories, channels, stores, contract dates; the dimension particles are: refers to the smallest single unit of constraint in the commission calculation.
S202, combining the dimension particles to generate a calculation dimension set; the calculation dimension is a unit which is freely combined based on dimension particles and can agree on a single calculation rule, such as a certain store + online sale, a fresh category + a certain store, a certain store + a catering category + offline sale, and the like.
S203, acquiring a computing element set, wherein the computing element set includes but is not limited to: sales amount, gross profit amount, time;
s204, generating a calculation snapshot set according to the calculation dimension set and the calculation element set; the calculation snapshot is snapshot data extracted according to calculation dimensions and calculation elements, such as: sales amount sold on a certain store line and gross profit amount of the fresh category in a certain store.
S205, acquiring a calculation formula set;
s206, generating a calculation rule set according to the calculation snapshot set and the calculation formula set;
and S207, generating a commission template set according to a preset calculation rule set, the calculation snapshot set and the calculation formula set.
According to the embodiment, different commission templates are generated by combining the calculation formula set and the calculation rule set aiming at different dimension particles to form the technical means of the commission template set, so that the technical defects that the commission is difficult to reuse and the result is difficult to backtrack when the commission is calculated by using hard coding in the prior art are overcome, and the technical effect of improving the calculation efficiency of the commission template can be achieved when the commission corresponding to one merchant is calculated.
Because the commission template set is configured in advance, when the mode that the user needs to change the existing commission calculation exists, only the commission template set needs to be updated without changing the code, and the technical effects of reducing occupation of a large amount of human resources and saving cost when the template is updated are achieved.
The currently used calculation formula mainly includes the following four formulas: accumulating the fixed deduction points, the step deduction points, the fixed commission and the step deduction points;
specifically, the fixed deduction point is to calculate value information according to a certain proportion. Assuming that the income amount of a certain store of the merchant is 100w (w represents ten thousand yuan), and the fixed deduction point is 10%, the calculation formula of the commission is amount rate 100w 10% 10 w.
The step buckling point means that when different stages are met, corresponding buckling point interest rates are different. The preset step buckle point calculation formula is assumed as follows: when the income of the merchant is less than 50w, the deduction rate is 20%; when the income of the merchant is more than 50w, the deduction point rate is 10%. Assuming that the profit (amount) of a certain store of the merchant is 100w (w represents ten thousand yuan), the corresponding steps are profits greater than 50w, and the deduction point is 10%, the calculation formula of the commission is 100w rate 10% 10 w.
The fixed commission is a fixed commission value which is spent when the income of the merchant is within a certain range. The fixed commission is assumed to be calculated by the formula: when the income of the merchant is less than 50w, the fixed commission is 8 w; when the merchant's profit is greater than 50w, the fixed commission is 15 w.
The step deduction point accumulation means that the deduction points of commissions are different at different stages, and when the commissions are calculated, the commissions at each stage need to be calculated respectively and accumulated, so that the commissions number is determined. The preset step buckle point calculation formula is assumed as follows: when the income of the merchant is less than 50w, the deduction rate is 20%; when the income of the merchant is more than 50w, the partial commission deduction point rate of more than 50w is 10%. When the income of a certain store of a merchant is 100w, the deduction rate of 50w is 20%, and the deduction rate of the rest 50w is 10%, namely the commission required by the merchant to pay for the store is 50w 10% +50w 20% — 15 w.
In practical application, commissions required to be paid by each store can be respectively calculated according to commission calculation formulas matched with different stores, and the total commission amount required to be paid by the merchant can be determined through summation and statistics.
If the merchant only has one offline store, the commission of the user can be determined through a calculation formula, and a rule formula does not need to be determined.
However, the number of off-line shops corresponding to most users/merchants may be more than one, and further the calculation rule set needs to be matched in advance. Optionally, the determining an information calculation formula corresponding to the user according to the information generation template includes:
determining a value rule set corresponding to the user according to the information template;
determining a preset value dimension in the data snapshot corresponding to the user;
selecting a first rule formula in the value rule set, wherein the first rule formula is matched with the preset value dimension;
and determining the information calculation formula corresponding to the first rule formula as the information calculation formula corresponding to the user.
The contract template signed with the merchant is composed of a plurality of calculation formulas (mapping contract clauses), and only one of the calculation formulas is hit under a single condition, so that the rule formula is a routing rule formula defining the calculation rule, such as: the large family store- > calculation formula 1 and the five-color city store- > calculation formula 2; the catering category is sold online- > calculation formula 3, and the catering category is sold offline- > calculation formula 4; 3 months before cooperation- > calculation formula 2, 3 months after cooperation- > calculation formula 3, and so on.
The technical defect that in the prior art, the rule logic of each offline store is complex and changeable, and the code is difficult to unify integrally is overcome by integrating the rule formula for calculation, so that the technical effect of accurately and efficiently calculating commission is achieved.
The process of determining the commission corresponding to the merchant is the reverse of the process of generating the template. Optionally, calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula, includes:
determining a value element corresponding to the value dimension in the data snapshot;
and substituting the value elements into the information calculation formula to calculate the value information of the user.
Optionally, before determining the information calculation formula corresponding to the user according to the information generation template, the method includes:
determining a value factor for the user;
generating a data snapshot based on at least one value dimension and the value elements;
wherein the value elements include: attribute information, sales information, and credit information.
The following describes a specific process of calculating commission in an application scenario in detail according to a specific embodiment.
Fig. 3 is a schematic diagram of a specific flow of a method for calculating a commission according to an embodiment of the present invention. As shown in figure 3 of the drawings,
step S301, obtaining the message of the merchant through the message distributor, specifically, the message of the merchant may include: merchant enrollment messages, sales order messages, order-divided messages, etc. Because the difference of the external business documents is large, the uniform format of the message is realized through the message sub-distributor, and the processed information can be generated through the message sub-distributor in the embodiment, which includes: merchant information, sales information, and credit information.
Step S302, the snapshot service center receives the messages generated by the message distributor, and distributes the processed messages to different snapshot processing service centers to generate data snapshots according to different calculation dimensions and calculation elements according to different types of each message. The data snapshot can be stored in a cache, a database or other storage spaces, so that subsequent application is facilitated; in the present embodiment, for the purpose of high efficiency of access, a cache database may be used to store the data snapshot.
Wherein the dimension particle, the calculation dimension, and the calculation element can be generated by a calculation element dictionary configuration.
Figure BDA0002416122760000101
Step S303, determining a selected commission template of a merchant under a specific calculation dimension according to a contract made between the merchant and a platform; wherein the contract can be obtained using a merchant account detector.
Step S304, determining a rule formula under the specific calculation dimension according to the commission template; in the embodiment, the formula model replaces hard coding logic, so that the process of calculating the commission is more flexible, easy to expand and easy to operate. For the definition of the rule formula, the rule formula can be defined by adopting an evel expression, and the script engine scriptEngine is used for analyzing the expression to output a rule hit result.
Step S305, determining a calculation formula corresponding to the rule formula according to the rule formula and the data snapshot generated in the step S302;
step S306, determining commission under a specific calculation dimension according to the calculation formula;
and step S307, combining the commission numbers of the merchants under the calculation dimensions to generate a total commission corresponding to the merchants.
FIG. 4 is a schematic diagram of the main modules of an apparatus for generating user value information according to an embodiment of the present invention; according to an aspect of the embodiments of the present invention, there is provided an apparatus 400 for generating user value information, including:
the screening template module 401 is configured to screen an information generation template matched with a user to generate value information from the information generation template set;
a value formula determining module 402, configured to determine an information calculation formula corresponding to the user according to the information generation template;
a value determining module 403, configured to calculate value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
Fig. 5 illustrates an exemplary system architecture 500 for a method of generating user value information or a means for calculating commissions to which embodiments of the present invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 501, 502, 503. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for generating user value information provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the device for generating user value information is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a sending module, an obtaining module, a determining module, and a first processing module. The names of these modules do not form a limitation on the modules themselves in some cases, and for example, the sending module may also be described as a "module sending a picture acquisition request to a connected server".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
screening an information generation template matched with a user to generate value information from the information generation template set;
generating a template according to the information, and determining an information calculation formula corresponding to the user;
and calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
According to the technical scheme of the embodiment of the invention, the following beneficial effects can be achieved:
according to the method and the device, the technical means of combining the data snapshot with the information calculation formula are adopted, the technical defects that in the prior art, the calculation rule is complex, a hard coding mode is adopted, a large amount of human resources are occupied, and multiplexing is difficult are overcome, data and logic decoupling is further achieved, and the technical effect of determining the value information corresponding to the user in real time is achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of generating user value information, comprising:
screening an information generation template matched with a user to generate value information from the information generation template set;
generating a template according to the information, and determining an information calculation formula corresponding to the user;
and calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
2. The method of claim 1, wherein before the step of screening the information generation templates matched with the users to generate the value information from the information generation template set, the method comprises the following steps:
combining the dimension particles to generate a value dimension set;
generating a value snapshot set according to the value dimension set and the value element set;
generating a value rule set according to the value snapshot set and the value formula set;
generating an information generation template set according to the value rule set, the value snapshot set and the value formula set;
wherein the dimension particle comprises: category, channel, store, contract date.
3. The method of claim 1, wherein determining the information calculation formula corresponding to the user according to the information generation template comprises:
determining a value rule set corresponding to the user according to the information template;
determining a preset value dimension in the data snapshot corresponding to the user;
selecting a first rule formula in the value rule set, wherein the first rule formula is matched with the preset value dimension;
and determining the information calculation formula corresponding to the first rule formula as the information calculation formula corresponding to the user.
4. The method of claim 3, wherein calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula comprises:
determining a value element corresponding to the value dimension in the data snapshot;
and substituting the value elements into the information calculation formula to calculate the value information of the user.
5. The method of claim 1, wherein before determining the information calculation formula corresponding to the user according to the information generation template, the method comprises:
determining a value factor for the user;
generating a data snapshot based on at least one value dimension and the value elements;
wherein the value elements include: attribute information, sales information, and credit information.
6. An apparatus for generating user value information, comprising:
the screening template module is used for screening an information generation template matched with a user to generate the value information from the information generation template set;
the value formula determining module is used for generating a template according to the information and determining an information calculation formula corresponding to the user;
and the value determining module is used for calculating the value information of the user according to the data snapshot corresponding to the user and the information calculation formula.
7. The apparatus of claim 6, further comprising: the set determining module is used for screening out the information generating template matched with the user to generate the value information from the information generating template set, and comprises the following steps:
combining the dimension particles to generate a value dimension set;
generating a value snapshot set according to the value dimension set and the value element set;
generating a value rule set according to the value snapshot set and the value formula set;
generating an information generation template set according to the value rule set, the value snapshot set and the value formula set;
wherein the dimension particle comprises: category, channel, store, contract date.
8. The apparatus of claim 6, wherein determining the information calculation formula corresponding to the user according to the information generation template comprises:
determining a value rule set corresponding to the user according to the information template;
determining a preset value dimension in the data snapshot corresponding to the user;
selecting a first rule formula in the value rule set, wherein the first rule formula is matched with the preset value dimension;
and determining the information calculation formula corresponding to the first rule formula as the information calculation formula corresponding to the user.
9. An electronic device that generates user value information, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202010191625.6A 2020-03-18 2020-03-18 Method and device for generating user value information Pending CN113496113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010191625.6A CN113496113A (en) 2020-03-18 2020-03-18 Method and device for generating user value information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010191625.6A CN113496113A (en) 2020-03-18 2020-03-18 Method and device for generating user value information

Publications (1)

Publication Number Publication Date
CN113496113A true CN113496113A (en) 2021-10-12

Family

ID=77993430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010191625.6A Pending CN113496113A (en) 2020-03-18 2020-03-18 Method and device for generating user value information

Country Status (1)

Country Link
CN (1) CN113496113A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706093A (en) * 2019-09-25 2020-01-17 中国建设银行股份有限公司 Accounting processing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706093A (en) * 2019-09-25 2020-01-17 中国建设银行股份有限公司 Accounting processing method and device

Similar Documents

Publication Publication Date Title
CN109299348B (en) Data query method and device, electronic equipment and storage medium
CN111427971B (en) Business modeling method, device, system and medium for computer system
CN112884405A (en) Inquiry system and scheduling method thereof
CN110706093A (en) Accounting processing method and device
CN111127214A (en) Method and apparatus for portfolio
CN111881329A (en) Account balance management method and system
CN110928594A (en) Service development method and platform
CN111339743B (en) Account number generation method and device
CN112884181A (en) Quota information processing method and device
CN112990991A (en) Method and device for merging invoices
CN111949678A (en) Method and device for processing non-accumulation indexes across time windows
CN113705184B (en) Custom report generation method and device, storage medium and electronic equipment
CN115391343A (en) Bill data processing method and device, electronic equipment and storage medium
CN115330540A (en) Method and device for processing transaction data
CN110858335A (en) Method and device for calculating sales promotion elasticity
CN113326095A (en) Commission data processing method and device
CN113496113A (en) Method and device for generating user value information
CN111127077A (en) Recommendation method and device based on stream computing
CN108898446B (en) Method and apparatus for outputting information
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and storage medium
CN111161067A (en) Method and device for determining transaction route
CN114881546B (en) Method and device for determining resource consumption
CN113627998A (en) Order data processing method and device, electronic equipment and computer readable medium
CN113778501A (en) Code task processing method and device
CN115049439A (en) Data processing method and device

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