CN113781089A - Order information processing method and device - Google Patents

Order information processing method and device Download PDF

Info

Publication number
CN113781089A
CN113781089A CN202110185452.1A CN202110185452A CN113781089A CN 113781089 A CN113781089 A CN 113781089A CN 202110185452 A CN202110185452 A CN 202110185452A CN 113781089 A CN113781089 A CN 113781089A
Authority
CN
China
Prior art keywords
dimension
reward
current
scheme
reward scheme
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
CN202110185452.1A
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 CN202110185452.1A priority Critical patent/CN113781089A/en
Publication of CN113781089A publication Critical patent/CN113781089A/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2264Multidimensional index structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • 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/0214Referral reward systems

Abstract

The invention discloses an order information processing method and device, and relates to the technical field of computers. One embodiment of the method comprises: acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions; inquiring a preset reward scheme index according to the dimension values of the current dimensions, and determining a reward scheme of each current dimension; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items; and determining the reward scheme of the order according to the reward scheme of each current dimension. This embodiment can reduce the amount of computation and more quickly determine the reward items for which the order is applicable.

Description

Order information processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to an order information processing method and device.
Background
In order to increase the sales volume of the goods, the E-commerce platform sets different reward items to reward the users who promote the goods. For example, the user A shares a link of the item with the user B, the user B places an order through the link, and the E-commerce platform provides bonus money for the user A according to the bonus item. In a practical application scenario, the order quantity is large, the types of reward items are various, and how to determine the reward items suitable for the order is a problem to be solved urgently by technical staff.
In the prior art, whether each dimension of an order meets the condition of a reward item is judged one by one to determine the reward item corresponding to the order.
However, this method is computationally expensive.
Disclosure of Invention
In view of this, embodiments of the present invention provide an order information processing method and apparatus, which can reduce the amount of calculation and determine the reward item applicable to an order more quickly.
In a first aspect, an embodiment of the present invention provides an order information processing method, including:
acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
inquiring a preset reward scheme index according to the dimension values of the current dimensions, and determining a reward scheme of each current dimension; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items;
and determining the reward scheme of the order according to the reward scheme of each current dimension.
Alternatively,
the querying a preset reward scheme index according to the dimension values of the multiple current dimensions to determine the reward scheme of each current dimension includes:
inquiring a preset reward scheme index according to the plurality of dimension values of the current dimension, and determining a reward scheme corresponding to each dimension value of the current dimension;
and determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension.
Alternatively,
the determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension comprises the following steps:
and determining a union set of the reward schemes corresponding to the dimension values of the current dimension to obtain the reward scheme of the current dimension.
Alternatively,
the reward scheme index further comprises: the dimension, the unlimited identification and the mapping relation of the reward scheme; the reward scheme corresponding to the unlimited identification is suitable for each dimension value of the corresponding dimension;
the querying a preset reward scheme index according to the dimension values of the multiple current dimensions to determine the reward scheme of each current dimension includes:
inquiring a preset reward scheme index according to the dimension value of the current dimension, and determining a reward scheme corresponding to the dimension value of the current dimension;
inquiring the reward scheme index according to the current dimension, and determining a reward scheme corresponding to the unlimited identification of the current dimension;
and determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification.
Alternatively,
the determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification thereof comprises the following steps:
and determining a union of the reward items corresponding to the dimension value of the current dimension and the reward schemes corresponding to the unlimited identifications of the reward items to obtain the reward scheme of the current dimension.
Alternatively,
the determining of the reward scheme of the order according to the reward scheme of each current dimension comprises the following steps:
and determining the intersection of the reward schemes of the current dimensions to obtain the reward scheme of the order.
Alternatively,
the reward scheme is characterized by an array;
and the elements of the array are used for representing whether the reward program comprises reward items corresponding to the elements.
In a second aspect, an embodiment of the present invention provides an order information processing apparatus, including:
an acquisition module configured to acquire order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
the query module is configured to query preset reward scheme indexes according to the dimension values of the current dimensions and determine reward schemes of the current dimensions; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items;
and the determining module is configured to determine the reward scheme of the order according to the reward scheme of each current dimension.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
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 a method as in any one of the embodiments described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, where the computer program is configured to, when executed by a processor, implement a method according to any one of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: and establishing a mapping relation among the dimension, the dimension value and the reward scheme through the reward scheme index, and determining the reward scheme suitable for the dimension value of the current dimension based on the mapping relation so as to obtain the reward scheme of the order. According to the embodiment of the invention, the reward item suitable for the order can be determined more quickly by inquiring the reward scheme index.
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 flowchart of an order information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a reward program index provided by an embodiment of the present invention;
fig. 3 is a flowchart of an order information processing method according to another embodiment of the present invention;
FIG. 4 is a schematic illustration of a reward program index provided by another embodiment of the present invention;
fig. 5 is a schematic diagram of an order information processing apparatus according to another embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 7 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.
In the prior art, whether dimensions such as categories, shops, brands, order placing platforms, order placing equipment and promotion channels in an order meet dimension conditions of various reward items is judged one by one so as to determine the reward items corresponding to the order.
In this process, the number of logical judgments is the order number × the reward item number × the order dimension condition number. Therefore, the prior art may perform hundreds of logic judgments to determine the applicable reward items of the order, and the calculation amount is large. In addition, in the encoding process, a large amount of logic judgment codes are generated, so that the readability is poor, the maintenance is not easy, and the expansion is not easy.
In view of this, as shown in fig. 1, an embodiment of the present invention provides an order information processing method, including:
step 101: acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions.
The order may include a number of dimensions, such as categories, stores, brands, order platforms, order equipment, promotional channels, order types, and the like. The dimensions may include several dimension values, for example, categories may include: home appliances, books, beverages, and the like.
Step 102: and inquiring a preset reward scheme index according to the dimension values of the current dimensions, and determining the reward scheme of each current dimension.
Wherein, the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme includes: a number of bonus items.
The bonus scenario consists of bonus items, for example, bonus item 1, bonus item 2, and bonus item 3 are included in bonus scenario a. One dimension may correspond to one or more dimension values, one dimension value corresponding to a reward scheme. As shown in fig. 2, is a bonus scenario index that includes two dimensions, categories and listing platforms. The categories comprise three dimensional values of household appliances, books and foods, and the corresponding reward schemes are 001, 010 and 100 respectively; the ordering platform comprises two dimension values of APP and PC, and the corresponding reward schemes are 110 and 101 respectively.
Step 103: and determining the reward scheme of the order according to the reward schemes of the current dimensions.
The reward scheme of the order is obtained by fusing reward schemes of different dimensions.
According to the embodiment of the invention, the mapping relation among the dimension, the dimension value and the reward scheme is established through the reward scheme index, and based on the mapping relation, the reward scheme suitable for the dimension value of the current dimension can be determined, so that the reward scheme of the order is obtained. According to the embodiment of the invention, the reward item suitable for the order can be determined more quickly by inquiring the reward scheme index.
In an embodiment of the present invention, querying a preset bonus scheme index according to the dimension values of a plurality of current dimensions, and determining a bonus scheme of each current dimension includes:
inquiring a preset reward scheme index according to a plurality of dimension values of the current dimension, and determining a reward scheme corresponding to each dimension value of the current dimension;
and determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension.
Since an order may relate to different dimension values of a dimension, the reward schemes corresponding to the different dimension values need to be considered in the process of determining the reward scheme of the order, so that the condition that the reward scheme of the current dimension lacks reward items and causes user loss is prevented. For example, if books and food items are included in the order, then reward schemes 010 and 100 need to be considered, but not just one.
In an embodiment of the present invention, determining the reward scheme of the current dimension according to the reward schemes corresponding to the respective dimension values of the current dimension includes:
and determining a union set of the reward schemes corresponding to the dimension values of the current dimension to obtain the reward scheme of the current dimension.
In an embodiment of the invention, the reward program is a collection of reward items. The union of the different reward schemes is different reward items included in the different reward schemes, and the intersection of the different reward schemes is a reward item shared by the different reward schemes.
For example, the reward program 3 is included in the reward program corresponding to food, the reward program 2 is included in the reward program corresponding to book, and the reward programs 2 and 3 are included in the reward program of the current dimension. By calculating the union, the reward scheme of the current dimension can be obtained quickly, the reward scheme fully considers reward items suitable for different dimension values, and the obtained result is more accurate.
In one embodiment of the present invention, the bonus scheme index further comprises: mapping relation between dimension, unlimited identification and reward scheme; unlimitedly identifying the corresponding reward scheme, and being suitable for each dimension value of the corresponding dimension;
inquiring a preset reward scheme index according to the dimension values of a plurality of current dimensions, and determining the reward scheme of each current dimension, wherein the method comprises the following steps:
inquiring a preset reward scheme index according to the dimension value of the current dimension, and determining a reward scheme corresponding to the dimension value of the current dimension;
inquiring the reward scheme index according to the current dimension, and determining a reward scheme corresponding to the unlimited identification of the current dimension;
and determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification.
Considering that the reward items with unlimited conditions may exist, the reward scheme index further comprises a mapping relation between the dimension, the unlimited identification and the reward scheme, and the accuracy and comprehensiveness of the search result can be ensured through the mapping relation.
In an embodiment of the present invention, determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification thereof includes:
and determining a union of the reward items corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification of the reward items to obtain the reward scheme of the current dimension.
The bonus items included in the union constitute a bonus scenario for the current dimension.
The reward items which are limited to the dimension condition are considered through the dimension value of the current dimension, and the reward items which are not limited to the dimension condition are considered through the unlimited identification, so that more comprehensive reward items can be obtained through the embodiment of the invention. For example, bonus item 1 applies only to the dimension value of the book, and bonus item 2 applies to the respective dimension values under the category.
In one embodiment of the invention, determining the reward scheme for the order based on the reward schemes for each current dimension comprises:
and determining the intersection of the reward schemes of all the current dimensions to obtain the reward scheme of the order.
For example, if the category of bonus program includes bonus items 1 and 2, the order of the platform includes bonus items 1, 2, and 4, and the order of the bonus program includes bonus items 1 and 2. According to the embodiment of the invention, the reward schemes with different dimensions are considered, so that more accurate results can be obtained.
In one embodiment of the invention, the reward scheme is characterized by an array;
and the elements of the array are used for representing whether the reward program comprises reward items corresponding to the elements.
Referring to fig. 2, the embodiment of the present invention uses a binary number to represent the bonus scheme, where elements in an array include 0 and 1, each element in the array represents one bonus item, if the element is 0, the bonus item corresponding to the element is not included in the bonus scheme, and if the element is 1, the bonus item corresponding to the element is included in the bonus scheme. For example, each element in the bonus scheme 001 characterizes a bonus item 3, 2, 1, respectively, and in view of the foregoing, only bonus item 1 is included in the bonus scheme 001. The reward scheme is represented by the array, so that the query speed can be increased.
When the array consists of binary numbers, the union and intersection of the reward schemes are computed by bit operations (bitwise and, bitwise or) of the binary numbers. In this case, 0&1 is 0, 0|1 is 1, 1&1 is 1, 1|1 is 1, 0&0 is 0, and 0|0 is 0.
As shown in fig. 3, the present invention provides an order information processing method, including:
step 301: acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions.
The order information includes: the categories are household appliances and books, the order types are firstly purchased, and the order placing platform is APP.
Step 302: and inquiring a preset reward scheme index according to the plurality of dimension values of the current dimension, and determining a reward scheme corresponding to each dimension value of the current dimension.
Wherein, the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme includes: a number of bonus items.
The reward scheme index further comprises: mapping relation between dimension, unlimited identification and reward scheme; and (4) unlimitedly identifying the corresponding reward scheme, and being suitable for each dimension value of the corresponding dimension.
The reward scheme is characterized by an array; and the elements of the array are used for representing whether the reward program comprises reward items corresponding to the elements.
The e-commerce platform provides three bonus items, a home appliance bonus item, a book bonus item, and a first purchase bonus item.
The dimensional conditions of the household appliance reward items are shown in table 1.
TABLE 1
Dimension (d) of Dimension value
Categories of Household electrical appliance
Type of order Unlimited sign
Lower single platform APP
As can be seen from table 1, the household appliance reward item restriction category is a household appliance, the order type is not limited, and the restriction issuing platform is an APP.
The dimensional conditions of the book bonus items are shown in table 2.
TABLE 2
Dimension (d) of Dimension value
Categories of Book with detachable cover
Type of order Unlimited sign
Lower single platform PC、APP
As can be seen from Table 2, the book rewarding project restriction category is books, the order type is not limited, and the restriction placing platform is a PC or an APP.
The dimensional conditions for the first purchase of a bonus item are shown in table 3.
TABLE 3
Dimension (d) of Dimension value
Categories of Unlimited sign
Type of order First purchase
Lower single platform APP
As can be seen from Table 3, the first purchase of the bonus item is unlimited for categories, the limitation of the type of the order is the first purchase, and the limitation of the platform of placing the order is APP.
The bonus scheme index as shown in fig. 4, for each dimension, step 302 and step 303 are performed separately.
For the category, the array corresponding to the household appliance is inquired to be 001, the array corresponding to the book is 010, and the array corresponding to the unlimited identification is 100.
For the order type, the array corresponding to the first purchase is 100, and the array corresponding to the unlimited mark is 011.
For the ordering platform, the array corresponding to the APP is 111, and the array corresponding to the unlimited identification is 000.
Step 303: and inquiring the reward scheme index according to the current dimension, and determining the reward scheme corresponding to the unlimited identification of the current dimension.
Step 304: and determining a bonus scheme corresponding to each dimension value of the current dimension and a union set of bonus schemes corresponding to the unlimited identifications of the bonus schemes to obtain the bonus scheme of the current dimension.
For categories, the results of the bitwise OR of 001, 010 and 100 are 111.
For order type, 100 and 011 result in a bitwise OR of 111.
For the order platform, the results of 111 and 000 bitwise OR are 111.
Step 305 determines the intersection of the reward programs for each current dimension, resulting in the reward program for the order.
The bitwise and calculation of the above three dimensions of bitwise or result results in a result 111, which sequentially represents bonus item 3, bonus item 2 and bonus item 1 from left to right. Thus, the intersection of the bonus programs in the three dimensions is bonus item 3, bonus item 2 and bonus item 1, i.e. the bonus programs for the order consist of bonus item 3, bonus item 2 and bonus item 1.
The method and the device search through the preset reward scheme index, convert the logic judgment of whether the order conforms to the reward item condition into index-based search, determine the reward item suitable for the order according to binary bit operation, and can improve the order information processing efficiency.
As shown in fig. 5, an embodiment of the present invention provides an order information processing apparatus, including:
an obtaining module 501 configured to obtain order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
the query module 502 is configured to query a preset reward scheme index according to the dimension values of a plurality of current dimensions, and determine a reward scheme of each current dimension; wherein, the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme includes: a number of reward items;
a determination module 503 configured to determine a reward scheme for the order based on the reward schemes for each current dimension.
In an embodiment of the present invention, the query module 502 is configured to query a preset reward scheme index according to a plurality of dimension values of a current dimension, and determine a reward scheme corresponding to each dimension value of the current dimension; and determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension.
In an embodiment of the present invention, the query module 502 is configured to determine a union set of the reward schemes corresponding to the dimension values of the current dimension, so as to obtain the reward scheme of the current dimension.
In one embodiment of the present invention, the bonus scheme index further comprises: mapping relation between dimension, unlimited identification and reward scheme; unlimitedly identifying the corresponding reward scheme, and being suitable for each dimension value of the corresponding dimension; the query module 502 is configured to query a preset reward scheme index according to the dimension value of the current dimension, and determine a reward scheme corresponding to the dimension value of the current dimension; inquiring the reward scheme index according to the current dimension, and determining a reward scheme corresponding to the unlimited identification of the current dimension; and determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification.
In an embodiment of the present invention, the query module 502 is configured to determine a union of the reward items corresponding to the dimension value of the current dimension and the reward schemes corresponding to the unlimited identifications thereof, so as to obtain the reward scheme of the current dimension.
In one embodiment of the present invention, the determining module 503 is configured to determine an intersection of the reward schemes of the current dimensions, and obtain the reward scheme of the order.
In one embodiment of the invention, the reward scheme is characterized by an array; and the elements of the array are used for representing whether the reward program comprises reward items corresponding to the elements.
An embodiment of the present invention provides an electronic device, 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 are caused to implement the method of any of the embodiments as described above.
Embodiments of the present invention provide a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method according to any of the above embodiments.
Fig. 6 illustrates an exemplary system architecture 600 of an order information processing method or an order information processing apparatus to which an embodiment of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. The terminal devices 601, 602, 603 may have installed thereon various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 601, 602, 603 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 605 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 601, 602, 603. 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 order information processing method provided in the embodiment of the present invention is generally executed by the server 605, and accordingly, the order information processing apparatus is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 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. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 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 can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
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:
acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
inquiring a preset reward scheme index according to the dimension values of the current dimensions, and determining a reward scheme of each current dimension; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items;
and determining the reward scheme of the order according to the reward scheme of each current dimension.
According to the technical scheme of the embodiment of the invention, the mapping relation among the dimension, the dimension value and the reward scheme is established through the reward scheme index, and based on the mapping relation, the reward scheme suitable for the dimension value of the current dimension can be determined, so that the reward scheme of the order is obtained. According to the embodiment of the invention, the reward item suitable for the order can be determined more quickly by inquiring the reward scheme index.
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. An order information processing method is characterized by comprising the following steps:
acquiring order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
inquiring a preset reward scheme index according to the dimension values of the current dimensions, and determining a reward scheme of each current dimension; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items;
and determining the reward scheme of the order according to the reward scheme of each current dimension.
2. The method of claim 1,
the querying a preset reward scheme index according to the dimension values of the multiple current dimensions to determine the reward scheme of each current dimension includes:
inquiring a preset reward scheme index according to the plurality of dimension values of the current dimension, and determining a reward scheme corresponding to each dimension value of the current dimension;
and determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension.
3. The method of claim 2,
the determining the reward scheme of the current dimension according to the reward schemes corresponding to the dimension values of the current dimension comprises the following steps:
and determining a union set of the reward schemes corresponding to the dimension values of the current dimension to obtain the reward scheme of the current dimension.
4. The method of claim 1,
the reward scheme index further comprises: the dimension, the unlimited identification and the mapping relation of the reward scheme; the reward scheme corresponding to the unlimited identification is suitable for each dimension value of the corresponding dimension;
the querying a preset reward scheme index according to the dimension values of the multiple current dimensions to determine the reward scheme of each current dimension includes:
inquiring a preset reward scheme index according to the dimension value of the current dimension, and determining a reward scheme corresponding to the dimension value of the current dimension;
inquiring the reward scheme index according to the current dimension, and determining a reward scheme corresponding to the unlimited identification of the current dimension;
and determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification.
5. The method of claim 4,
the determining the reward scheme of the current dimension according to the reward scheme corresponding to the dimension value of the current dimension and the reward scheme corresponding to the unlimited identification thereof comprises the following steps:
and determining a union of the reward items corresponding to the dimension value of the current dimension and the reward schemes corresponding to the unlimited identifications of the reward items to obtain the reward scheme of the current dimension.
6. The method of claim 1,
the determining of the reward scheme of the order according to the reward scheme of each current dimension comprises the following steps:
and determining the intersection of the reward schemes of the current dimensions to obtain the reward scheme of the order.
7. The method of any one of claims 1-6,
the reward scheme is characterized by an array;
and the elements of the array are used for representing whether the reward program comprises reward items corresponding to the elements.
8. An order information processing apparatus characterized by comprising:
an acquisition module configured to acquire order information; wherein, the order information includes: dimension values of a plurality of current dimensions;
the query module is configured to query preset reward scheme indexes according to the dimension values of the current dimensions and determine reward schemes of the current dimensions; wherein the reward scheme index comprises: the dimension, the dimension value and the mapping relation of the rewarding scheme; the reward scheme comprises: a number of reward items;
and the determining module is configured to determine the reward scheme of the order according to the reward scheme of each current dimension.
9. An electronic device, 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-7.
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-7.
CN202110185452.1A 2021-02-10 2021-02-10 Order information processing method and device Pending CN113781089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110185452.1A CN113781089A (en) 2021-02-10 2021-02-10 Order information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110185452.1A CN113781089A (en) 2021-02-10 2021-02-10 Order information processing method and device

Publications (1)

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

Family

ID=78835600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110185452.1A Pending CN113781089A (en) 2021-02-10 2021-02-10 Order information processing method and device

Country Status (1)

Country Link
CN (1) CN113781089A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059046A1 (en) * 2004-09-15 2006-03-16 Mohr Gunther A Method and system for assigning bonus-credits to the user of products
US20130226685A1 (en) * 2012-02-29 2013-08-29 Capital One Financial Corporation Systems and methods for providing customers with matching rewards
US20140149200A1 (en) * 2012-11-27 2014-05-29 American Express Travel Related Service Company, Inc. Dynamic rewards program
US20160275542A1 (en) * 2015-03-18 2016-09-22 Sk Planet Co., Ltd. Differential reward provision method and apparatus
CN108510394A (en) * 2018-04-08 2018-09-07 深圳前海微众银行股份有限公司 Reward activity participatory approaches, equipment and computer readable storage medium
CN109614402A (en) * 2018-12-11 2019-04-12 北京京东金融科技控股有限公司 Multidimensional data query method and device
CN110704423A (en) * 2019-08-30 2020-01-17 中国人民财产保险股份有限公司 Excitation information acquisition method and device, storage medium and electronic equipment
CN110827054A (en) * 2018-08-14 2020-02-21 北京嘀嘀无限科技发展有限公司 Order receiving reward processing method and device, reward platform and storage medium
CN112214521A (en) * 2020-11-20 2021-01-12 深圳前海微众银行股份有限公司 Rule query method, device, equipment and computer storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059046A1 (en) * 2004-09-15 2006-03-16 Mohr Gunther A Method and system for assigning bonus-credits to the user of products
US20130226685A1 (en) * 2012-02-29 2013-08-29 Capital One Financial Corporation Systems and methods for providing customers with matching rewards
US20140149200A1 (en) * 2012-11-27 2014-05-29 American Express Travel Related Service Company, Inc. Dynamic rewards program
US20160275542A1 (en) * 2015-03-18 2016-09-22 Sk Planet Co., Ltd. Differential reward provision method and apparatus
CN108510394A (en) * 2018-04-08 2018-09-07 深圳前海微众银行股份有限公司 Reward activity participatory approaches, equipment and computer readable storage medium
CN110827054A (en) * 2018-08-14 2020-02-21 北京嘀嘀无限科技发展有限公司 Order receiving reward processing method and device, reward platform and storage medium
CN109614402A (en) * 2018-12-11 2019-04-12 北京京东金融科技控股有限公司 Multidimensional data query method and device
CN110704423A (en) * 2019-08-30 2020-01-17 中国人民财产保险股份有限公司 Excitation information acquisition method and device, storage medium and electronic equipment
CN112214521A (en) * 2020-11-20 2021-01-12 深圳前海微众银行股份有限公司 Rule query method, device, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN108664513B (en) Method, device and equipment for pushing keywords
CN110020162B (en) User identification method and device
CN109711917B (en) Information pushing method and device
CN107463675B (en) Data processing method and system
CN112884405A (en) Inquiry system and scheduling method thereof
CN108810047A (en) For determining that information pushes the method, apparatus and server of accuracy rate
CN112749323A (en) Method and device for constructing user portrait
CN107977876B (en) Method and device for processing order information
CN110020131B (en) Method and device for arranging commodities
CN110807095A (en) Article matching method and device
CN113781089A (en) Order information processing method and device
CN110956514A (en) Method and device for generating order information
CN113535769B (en) Method and device for inquiring information
CN113112285B (en) Data analysis method and device
CN113379433A (en) Advertisement putting method and device
CN110826948B (en) Warehouse selecting method and device
CN112036973A (en) Information pushing method and device, electronic equipment and computer readable medium
CN112860858A (en) Method and device for answering questions
CN111861293A (en) Method and apparatus for transmitting information
CN111199437A (en) Data processing method and device
CN112783956B (en) Information processing method and device
CN113536099B (en) Information pushing method and device
CN109949117B (en) Method and device for pushing information
CN108831012B (en) Vending method and device of vending machine
CN113724026A (en) Order source analysis 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