Method, device, equipment and storage medium for generating item information display page
By pre-configuring user item screening configuration information, the items available to target users are screened out, and an item information display page is generated, which solves the problem of wasted storage space caused by copying data in offline stores and improves storage space utilization and online purchasing efficiency.
Patent Information
- Application Number
- CN202010599379.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-06-28
AI Technical Summary
In the existing technology, duplicating the main item pool when entering an offline store causes data to be amplified, resulting in a waste of storage space and reduced storage space utilization.
By pre-configuring each user's item screening configuration information, filtering out the items allowed to be obtained based on the target user ID, and generating the target user's item information display page, avoiding the construction of channel item pools and reducing data duplication.
It improves storage space utilization, reduces storage space waste, and improves user registration and online purchasing efficiency for offline merchants.
Smart Images

Figure CN113763069B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to computer technology, and in particular to a method, device, equipment and storage medium for generating an item information display page. Background Art
[0002] In recent years, a new retail model formed by the combination of online and offline as well as logistics has been developing continuously. Among them, offline stores, as an important part of the new retail model, often need to purchase items online.
[0003] At present, when offline stores are settled, a dedicated channel item pool can be built and stored for each offline store by copying the item data from the main item pool. The channel item pool is a subset of the main item pool, such as Figure 1 As shown. The main item pool is a collection of items that can be purchased from all channels. The channel item pool refers to a collection of items that can be purchased from a specific merchant. When a merchant purchases items online, he can directly obtain items that the merchant is allowed to purchase based on the channel item pool, and generate a corresponding item information display page based on the obtained purchasable items, so that the merchant can purchase items online in the item information display page.
[0004] However, in the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] Since each offline store will copy a dedicated channel item pool based on the main item pool when it is settled, there will be a problem of data amplification. For example, assuming that there are 2 million items in the main item pool, if there are 100,000 offline stores settled in, a maximum of 200 billion items will be stored, so that a large amount of item data is stored in multiple copies, there will be a problem of data amplification, resulting in a waste of storage space and reduced storage space utilization. Summary of the invention
[0006] The embodiments of the present invention provide a method, device, equipment and storage medium for generating an item information display page, so as to solve the problem of data amplification caused by duplication of item data in the prior art and improve the utilization rate of storage space.
[0007] In a first aspect, an embodiment of the present invention provides a method for generating an item information display page, comprising:
[0008] Obtain a target user ID corresponding to the target user;
[0009] Determine the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier;
[0010] Screening each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain;
[0011] According to the target item information corresponding to the target item, a target item information display page corresponding to the target user is generated.
[0012] In a second aspect, an embodiment of the present invention further provides a device for generating an item information display page, comprising:
[0013] A target user identification acquisition module is used to acquire a target user identification corresponding to a target user;
[0014] A target item screening configuration information determination module, used to determine the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier;
[0015] a target item determination module, configured to screen each first item in a preset item pool according to the target item screening configuration information, and determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain;
[0016] The target item information display page generation module is used to generate a target item information display page corresponding to the target user according to the target item information corresponding to the target item.
[0017] In a third aspect, an embodiment of the present invention further provides a device, the device comprising:
[0018] one or more processors;
[0019] A memory for storing one or more programs;
[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating an item information display page as provided in any embodiment of the present invention.
[0021] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for generating an item information display page as provided in any embodiment of the present invention.
[0022] The embodiments of the above invention have the following advantages or beneficial effects:
[0023] By pre-configuring the item screening configuration information corresponding to each user, when the target user needs to purchase items, the first items in the preset item pool can be screened based on the target item screening configuration information corresponding to the target user, and the target items allowed to be acquired by the target user can be determined, and then a target item information display page corresponding to the target user is generated based on the target item information corresponding to the target item, so that the target user can make online purchases of items on the target item information display page. By configuring the item screening configuration information corresponding to each user, there is no need to build a channel item pool corresponding to each user, thereby avoiding the situation where data is amplified due to building a channel item pool, thereby avoiding the waste of storage space and improving the storage space utilization rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is an example of a main item pool and a channel item pool in the prior art.
[0025] Figure 2 is a flow chart of a method for generating an item information display page provided in Embodiment 1 of the present invention;
[0026] Figure 3 It is an example of a storage layer for storing configuration information involved in the first embodiment of the present invention;
[0027] Figure 4 is a flow chart of a method for generating an item information display page provided in Embodiment 2 of the present invention;
[0028] Figure 5 It is a structural schematic diagram of an item information display page generating device provided by Embodiment 3 of the present invention;
[0029] Figure 6 It is a structural schematic diagram of a device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0030] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0031] Embodiment 1
[0032] Figure 2This is a flow chart of a method for generating an item information display page provided in the first embodiment of the present invention. This embodiment can be applied to the situation where an offline merchant needs to purchase items online, and generates a corresponding item information display page, so that the offline merchant can purchase items online in the item information display page. The method can be executed by an item information display page generation device, which can be implemented by software and / or hardware, and integrated in the server corresponding to the front end for purchasing items. Figure 2 As shown, the method specifically comprises the following steps:
[0033] S110: Obtain a target user identifier corresponding to the target user.
[0034] The user may refer to a registered offline merchant that allows online purchase of items. The target user may refer to any user who currently needs to purchase items online. The target user identifier may be an identifier used to uniquely characterize the target user so as to distinguish different users.
[0035] Specifically, when a target user wants to purchase an item online, he or she can send a purchase request to the server through the purchase front end (client or web page). After receiving the purchase request, the server can obtain the target user identifier corresponding to the target user in the purchase request.
[0036] S120: Determine target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier.
[0037] The item screening configuration information may be information configured when the user registers, and is used to screen out items that the user is allowed to obtain. For example, the item screening configuration information may include item whitelist information or item blacklist information. The item whitelist information may include pre-configured identification information of all items that the user is allowed to obtain, that is, identification information of items that the user can purchase. The item blacklist information may include pre-configured identification information of all items that the user is prohibited from obtaining, that is, identification information of items that the user cannot purchase.
[0038] Specifically, when each user registers, the operation background will configure the corresponding item screening configuration information, without the need to build a corresponding channel item pool, so that the item screening configuration information corresponding to each user ID can be obtained. Each user ID is matched with the target user ID, and the item screening configuration information corresponding to the successfully matched user ID is determined as the target item screening configuration information corresponding to the target user.
[0039] Exemplarily, before S120, it also includes: obtaining registration application information corresponding to the user, wherein the registration application information includes user qualification information and authorized item brand information; configuring the items that the user is allowed to obtain according to the registration application information, determining the item screening configuration information corresponding to the user, and establishing a corresponding relationship between the user identifier corresponding to the user and the item screening configuration information.
[0040] Specifically, if offline merchants want to purchase items online, they need to register first, that is, to enter the mall. When registering, offline merchants need to fill in the registration application information on the front-end registration page, such as the merchant's offline store entry information, and submit it. After the operation background is reviewed and approved, it can configure the items that the user is allowed to purchase based on the obtained registration application information, and obtain the corresponding item screening configuration information of the user. For example, the qualification information that the user needs to have when each item is allowed to be purchased can be pre-set, so that the corresponding relationship between the item and the qualification information can be determined based on the correspondence between the item and the qualification information, and based on the authorized item brand information, the items under the authorized item brand can be determined as items that the user is allowed to purchase, so that all items that the user is allowed to purchase can be determined, and then the corresponding item screening configuration information of the user can be configured. If the user has been assigned a user ID, the corresponding relationship between the user ID and the item screening configuration information can be established, otherwise a user ID is assigned to the user in real time, and then the corresponding relationship between the user ID and the item screening configuration information is established. The item screening configuration information corresponding to each user identification may be stored in a table format. For example, the configured item screening configuration information corresponding to each user identification is stored in an item screening configuration table.
[0041] It should be noted that if there are multiple users (such as multiple offline merchants) registering at the same time, the corresponding item screening configuration information can be configured for each user at the same time, avoiding the situation in the prior art where a queuing method is used to build an item pool for each channel, resulting in a large delay in registration. This improves the user registration efficiency, that is, the offline merchant's settlement efficiency, so that offline merchants can purchase items online more quickly.
[0042] For example, Figure 3 An example of a storage layer for storing configuration information is given. Figure 3As shown, the storage layer composed of the MYSQL relational database management system, the RESDIS database, and the ES (Elastic Search) search engine can be used to store configuration information and other data. After each configuration of the item screening configuration information or updating of the configured item screening configuration information, the CDC (Change Data Capture) method can be used for data synchronization. Specifically, the configured item screening configuration information can be stored in the MYSQL relational database management system, and then the MYSQL BINLOG can be extracted and synchronized to the MQ (Message Queue) system, and finally synchronized to RESDIS and ES for real-time calculation to the data source when subsequent users access it. For example, the item screening configuration information corresponding to each user identifier obtained after configuration can be stored in RESDIS, so that the corresponding target item screening configuration information can be quickly queried in RESDIS based on the target user identifier.
[0043] S130. Screen each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain.
[0044] The preset item pool may be a pre-set collection of all first items in the item database. For example, the main item pool may be used as the preset item pool. The target item refers to the first item in the preset item pool that the target user is allowed to purchase online, that is, the item that the target user can see on the page for purchase.
[0045] Specifically, if the target item screening configuration information is the target item whitelist information, then the identification of each target item that the target user is allowed to obtain can be obtained based on the target item whitelist information, and the first item corresponding to the target item identification can be screened out from the preset item pool, and the screened out first item can be determined as the target item corresponding to the target user, so that the target item corresponding to the target user can be obtained in real time based on the target item screening configuration information, without the need to construct and copy the corresponding channel item pool, thereby avoiding the situation where the item data is copied multiple times and the data is amplified, thereby avoiding the waste of storage space and improving the storage space utilization rate.
[0046] For example, Figure 3 As shown, the preset item pool can be stored in ES, and a corresponding DSL query statement can be constructed based on the target item screening configuration information. By executing the DSL query statement in ES, each first item in the preset item pool can be quickly queried and filtered to obtain the target item corresponding to the target user, as well as the target item information corresponding to the target item.
[0047] S140: Generate a target item information display page corresponding to the target user according to the target item information corresponding to the target item.
[0048] The target item information corresponding to the target item may include but is not limited to: basic item information and item purchase price information. The basic item information may include but is not limited to: item title, item image, item brand and item details. The target item information display page may refer to a page for displaying target item information so that the target user can purchase the item on the target item information page.
[0049] Specifically, based on the pre-page generation method, a corresponding target item information display page can be generated according to the target item information of each target item corresponding to the target user, and the target item information display page is returned to the front end of the target user, so that the target user can purchase items online in the target item information display page.
[0050] The technical solution of this embodiment pre-configures the item screening configuration information corresponding to each user, so that when the target user needs to purchase items, the first items in the preset item pool can be screened based on the target item screening configuration information corresponding to the target user, and the target items allowed to be acquired by the target user can be determined, and then a target item information display page corresponding to the target user is generated based on the target item information corresponding to the target item, so that the target user can make online purchases of items on the target item information display page. By configuring the item screening configuration information corresponding to each user, there is no need to build a channel item pool corresponding to each user, thereby avoiding the situation where data is amplified due to the construction of a channel item pool, thereby avoiding the waste of storage space and improving the utilization rate of storage space.
[0051] On the basis of the above technical solution, the target item screening configuration information includes: target item blacklist information; S130 may include: determining the second item identifier corresponding to the target user according to the target item blacklist information, the second item identifier refers to the item identifier that the target user is prohibited from obtaining; among each first item in the preset item pool, filtering out the first item whose item identifier is the same as the second item identifier, and determining the first item obtained after filtering as the target item corresponding to the target user.
[0052] Specifically, if the target item screening configuration information is target item blacklist information, then the second item identifiers that are prohibited for the target user to purchase can be obtained based on the target item blacklist information, and the first items corresponding to the second item identifiers can be filtered out from the preset item pool, and the first items obtained after filtering can be determined as the target items corresponding to the target user. Therefore, for target users who have only a small number of items prohibited from purchase, by configuring the target item blacklist information, the storage space can be further reduced, the storage space utilization rate can be improved, and the operating performance can be improved.
[0053] Based on the above technical solution, S140 may include: determining the target item purchase price configuration information corresponding to the target user based on the pre-configured item purchase price configuration information corresponding to each user identifier and the target user identifier; determining the target purchase price corresponding to the target item based on the target item purchase price configuration information; generating a target item information display page corresponding to the target user based on the target purchase price corresponding to the target item and the basic information of the item.
[0054] Specifically, for users of different levels, different item purchase prices can be configured for the same item, so that users of different levels can purchase items at different purchase prices, thereby increasing the diversity of item purchase methods. For example, when each user registers, the purchase price of each item that the user is allowed to purchase can be configured based on the user's registration application information, the item purchase price configuration information corresponding to the user can be obtained, and a corresponding relationship between the user ID and the item purchase price configuration information can be established. The item purchase price configuration information corresponding to each user ID can be stored in the form of a table, for example, the item purchase price configuration information corresponding to each configured user ID is stored in a purchase price configuration table, and the purchase price configuration table can be stored in RESDIS, so that the corresponding target item purchase price configuration information can be quickly queried in RESDIS based on the target user ID.
[0055] Exemplarily, the target item purchase price configuration information may include: a purchase price corresponding to each target item, so that based on the target item purchase price configuration information, the target purchase price corresponding to each target item can be determined. The target item purchase price configuration information may include: multiple levels of purchase prices corresponding to each target item. For example, the registration application information may also include offline store information, project information, and department information, wherein the store, project, and department are organizational structures pre-set based on business needs, such as a department is a first-level organizational structure, a project is a second-level organizational structure, and a store is a third-level organizational structure. In this embodiment, the store purchase price, project purchase price, and department purchase price corresponding to each target item can be configured based on the store information, project information, and department information, that is, the target item purchase price configuration information may include the store purchase price, project purchase price, and department purchase price corresponding to each target item. Based on this, for each target item, the target store purchase price, target project purchase price, and target department purchase price corresponding to each target item can be obtained. If the target store purchase price is not an empty price, the target store purchase price can be determined as the target purchase price corresponding to the target item; if the target store purchase price is an empty price and the target item purchase price is not an empty price, the target item purchase price can be determined as the target purchase price corresponding to the target item. If the target store purchase price and the target item purchase price are empty prices and the target department purchase price is not an empty price, the target department purchase price can be determined as the target purchase price corresponding to the target item, so that the purchase price can be configured using the floor price mode, further improving the diversity of purchase price configuration.
[0056] On the basis of the above technical solution, the method also includes: if a new first item is added to the preset item pool, the item filtering configuration information corresponding to each user identifier is updated based on the newly added first item; and / or, if the existing first item in the preset item pool is removed, the item filtering configuration information corresponding to each user identifier is updated based on the removed existing first item.
[0057] Specifically, when a new first item is put on the shelf, the new first item will be added to the preset item pool. At this time, based on the newly added first item and the registration application information corresponding to each user, it can be detected whether the newly added first item is an item that each user can obtain (i.e., a purchasable item), and the item screening configuration information corresponding to each user ID is automatically updated based on the detection result, so that a more accurate target item can be determined based on the updated item screening configuration information, so that the target item can be updated more quickly by dynamically updating the item screening configuration information, thereby saving the update time and ensuring the accuracy of the target item determination. When the existing first item in the preset item pool is removed from the shelf, the existing first item in the preset item pool will be removed. At this time, based on the existing first item removed from the shelf and the registration application information corresponding to each user, it can be detected whether the existing first item removed from the shelf is an item that the user can obtain, and the item screening configuration information corresponding to each user ID is automatically updated based on the detection result, so that a more accurate target item can be determined based on the updated item screening configuration information, so that the target item can be updated more quickly by dynamically updating the item screening configuration information, thereby saving the update time and ensuring the accuracy of the target item determination.
[0058] Embodiment 2
[0059] Figure 4 This is a flow chart of a method for generating an item information display page provided in Embodiment 2 of the present invention. Based on the above embodiments, this embodiment optimizes the step of "generating a target item information display page corresponding to a target user according to the item information corresponding to the target item". Explanations of terms that are the same or corresponding to the above embodiments are not repeated here.
[0060] See also Figure 4 The method for generating an item information display page provided in this embodiment specifically includes the following steps:
[0061] S210: Obtain a target user identifier corresponding to the target user.
[0062] S220: Determine target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier.
[0063] S230. Screen each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain.
[0064] S240: Determine a target item acquisition limit quantity corresponding to a target item according to item acquisition quantity limit information pre-configured based on a preset item acquisition quantity configuration method.
[0065] The item acquisition quantity restriction information may be pre-configured to limit the purchase quantity of some items to prevent users from purchasing certain items without restrictions. The preset item acquisition quantity configuration method may refer to a method for configuring the purchase quantity restriction. For example, the preset item acquisition quantity configuration method may include a user-specific restriction method or a unified acquisition quantity configuration method. The user-specific restriction method may be to set the quantity restriction of each item for each user. The unified acquisition quantity restriction method may refer to setting the quantity restriction of each item uniformly for all users.
[0066] Specifically, when the preset item acquisition quantity configuration mode is a user-individual restriction mode, when each user registers, the items corresponding to the user whose purchase quantity needs to be restricted can be configured based on the registration application information corresponding to the user, the item acquisition quantity restriction information corresponding to the user can be obtained, and the corresponding relationship between the user identification and the item acquisition quantity restriction information can be established. The item acquisition quantity restriction information corresponding to each user identification can be stored in the form of a table, for example, the item acquisition quantity restriction information corresponding to each configured user identification is stored in a purchase restriction configuration table, and the purchase restriction configuration table can be stored in RESDIS, so that the corresponding target item acquisition quantity restriction information can be quickly queried in RESDIS based on the target user identification. The items that need to be restricted in purchase quantity contained in the target item acquisition quantity restriction information are matched with the target item, and the item restriction quantity corresponding to the successfully matched item is determined as the target item restriction quantity corresponding to the target item, so that the target item restriction quantity corresponding to the target item that is allowed to be purchased by the target user can be determined.
[0067] S250: Generate a target item information display page corresponding to the target user according to the target item limit quantity and the item basic information.
[0068] Specifically, by generating a target item information display page corresponding to the target user based on the target item limit quantity and the basic information of the item corresponding to the target item, the target item purchase limit quantity can be displayed in the target item information display page, so that the target user can understand the purchase limit quantity and purchase based on his or her own needs, thereby improving the richness of the purchase information display and the applicability of the application scenario.
[0069] The technical solution of this embodiment can dynamically determine the target item limit quantity corresponding to the target item by pre-configuring the item acquisition quantity limit information based on a preset item acquisition quantity configuration method, thereby limiting the quantity of items purchased by the user and achieving diversity in the way of purchasing items.
[0070] Based on the above technical solution, the preset acquisition quantity configuration method is a unified acquisition quantity configuration method; S240 includes: determining the target item limit quantity corresponding to the target item according to the pre-configured item limit quantity corresponding to each first item identifier and the target item identifier corresponding to the target item.
[0071] Specifically, the limited quantity for purchasing each first item can be uniformly set in advance, the item acquisition quantity limit information corresponding to each item can be obtained, and the corresponding relationship between the first item identification and the item acquisition quantity limit information can be established. The item acquisition quantity limit information corresponding to each first item identification can be stored in the form of a table. For example, the item acquisition quantity limit information corresponding to each first item identification after configuration is stored in a purchase limit configuration table, and the purchase limit configuration table can be stored in RESDIS, so that the corresponding target item limit quantity can be quickly queried in RESDIS based on the target item identification. For all users, a set of item acquisition quantity limit information corresponding to the first item identification can be set, so that the same item has the same item limit quantity for all users who need to limit purchases, thereby further reducing storage space and improving space utilization.
[0072] Based on the above technical solution, S250 may include: determining the target item purchase price configuration information corresponding to the target user based on the pre-configured item purchase price configuration information corresponding to each user identifier and the target user identifier; determining the target purchase price corresponding to the target item based on the target item purchase price configuration information; generating a target item information display page corresponding to the target user based on the target purchase price corresponding to the target item, the target item limit quantity and the item basic information.
[0073] Specifically, the description of the target item purchase price configuration information and the target purchase price can refer to the above-mentioned embodiment 1. By generating a target item information display page based on the target purchase price, target item limit quantity and item basic information corresponding to the target item, the acquisition quantity limit quantity and the purchase price of the target item can be displayed on the target item information display page at the same time, thereby further improving the richness of the purchase information display, and also avoiding the situation where the data is amplified due to duplication of item data, thereby improving the storage space utilization rate.
[0074] The following is an embodiment of an item information display page generation device provided in an embodiment of the present invention. The device and the item information display page generation method of the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the item information display page generation device, please refer to the embodiment of the above-mentioned item information display page generation method.
[0075] Embodiment 3
[0076] Figure 5 This is a schematic diagram of the structure of a device for generating an item information display page provided by the third embodiment of the present invention. This embodiment can be applied to the situation where an offline merchant needs to purchase items online and generate a corresponding item information display page. Figure 5 As shown, the device specifically includes: a target user identification acquisition module 310, a target item screening configuration information determination module 320, a target item determination module 330 and a target item information display page generation module 340.
[0077] Among them, the target user identification acquisition module 310 is used to obtain the target user identification corresponding to the target user; the target item screening configuration information determination module 320 is used to determine the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identification and the target user identification; the target item determination module 330 is used to screen each first item in the preset item pool according to the target item screening configuration information, and determine the target item corresponding to the target user, wherein the target item refers to the first item allowed to be acquired by the target user; the target item information display page generation module 340 is used to generate a target item information display page corresponding to the target user according to the target item information corresponding to the target item.
[0078] The technical solution of this embodiment pre-configures the item screening configuration information corresponding to each user, so that when the target user needs to purchase items, the first items in the preset item pool can be screened based on the target item screening configuration information corresponding to the target user, and the target items allowed to be acquired by the target user can be determined, and then a target item information display page corresponding to the target user is generated based on the target item information corresponding to the target item, so that the target user can make online purchases of items on the target item information display page. By configuring the item screening configuration information corresponding to each user, there is no need to build a channel item pool corresponding to each user, thereby avoiding the situation where data is amplified due to the construction of a channel item pool, thereby avoiding the waste of storage space and improving the utilization rate of storage space.
[0079] Optionally, the target item screening configuration information includes: target item blacklist information; a target item determination module 330, specifically used to: determine the second item identifier corresponding to the target user based on the target item blacklist information, the second item identifier refers to the item identifier that the target user is prohibited from obtaining; among each first item in the preset item pool, filter out the first item whose item identifier is the same as the second item identifier, and determine the first item obtained after filtering as the target item corresponding to the target user.
[0080] Optionally, the target item information display page generation module includes:
[0081] A target item limit quantity determination unit, configured to determine a target item limit quantity corresponding to a target item according to item acquisition quantity limit information pre-configured based on a preset item acquisition quantity configuration method;
[0082] The target item information display page generating unit is used to generate a target item information display page corresponding to the target user according to the target item limit quantity and the item basic information.
[0083] Optionally, the preset acquisition quantity configuration method is a unified acquisition quantity configuration method; the target item limit quantity determination unit is specifically used to: determine the target item limit quantity corresponding to the target item according to the pre-configured item acquisition quantity limit information corresponding to each first item identifier and the target item identifier corresponding to the target item.
[0084] Optionally, the target item information display page generation unit is specifically used to:
[0085] Determine the target item purchase price configuration information corresponding to the target user based on the pre-configured item purchase price configuration information corresponding to each user ID and the target user ID; determine the target purchase price corresponding to the target item based on the target item purchase price configuration information; generate the target item information display page corresponding to the target user based on the target purchase price corresponding to the target item, the target item limit quantity and the item basic information.
[0086] Optionally, the device further comprises:
[0087] A registration application information acquisition module is used to acquire the registration application information corresponding to the user before determining the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier, wherein the registration application information includes user qualification information and authorized item brand information;
[0088] The item screening configuration information determination module is used to configure the items that the user is allowed to obtain according to the registration application information, determine the item screening configuration information corresponding to the user, and establish a corresponding relationship between the user identification corresponding to the user and the item screening configuration information.
[0089] Optionally, the device further comprises:
[0090] The item screening configuration information updating module is used to update the item screening configuration information corresponding to each user identification based on the newly added first item if a new first item is added to the preset item pool; and / or, if an existing first item in the preset item pool is removed, update the item screening configuration information corresponding to each user identification based on the removed existing first item.
[0091] The device for generating an item information display page provided in the embodiment of the present invention can execute the method for generating an item information display page provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method for generating an item information display page.
[0092] It is worth noting that in the embodiment of the above-mentioned item information display page generation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0093] Embodiment 4
[0094] Figure 6 A schematic diagram of the structure of a device provided in Embodiment 4 of the present invention. Figure 6 A block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0095] like Figure 6 As shown, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0096] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0097] Device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 12, including volatile and non-volatile media, removable and non-removable media.
[0098] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6not shown, usually called a "hard drive"). Although Figure 6 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0099] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0100] The device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a resident user to interact with the device 12, and / or may communicate with any device that enables the device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the device 12, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0101] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a method for generating an item information display page provided in an embodiment of the present invention, the method comprising:
[0102] Obtain a target user ID corresponding to the target user;
[0103] Determine the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier;
[0104] Screening each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain;
[0105] According to the target item information corresponding to the target item, a target item information display page corresponding to the target user is generated.
[0106] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the method for determining the reserved inventory amount provided in any embodiment of the present invention.
[0107] Embodiment 5
[0108] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the method for generating an item information display page provided in any embodiment of the present invention are implemented. The method includes:
[0109] Obtain a target user ID corresponding to the target user;
[0110] Determine the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier;
[0111] Screening each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user, wherein the target item refers to the first item that the target user is allowed to obtain;
[0112] According to the target item information corresponding to the target item, a target item information display page corresponding to the target user is generated.
[0113] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0114] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0115] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0116] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the resident user computer, partially on the resident user computer, as a separate software package, partially on the resident user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the resident user computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0117] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0118] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for generating an item information display page, characterized in that: include: Obtain the target user ID corresponding to the target user; Determining target item screening configuration information corresponding to the target user based on pre-configured item screening configuration information corresponding to each user identifier and the target user identifier; the item screening configuration information includes item whitelist information or item blacklist information; Screening each first item in a preset item pool according to the target item screening configuration information to determine a target item corresponding to the target user, wherein the target item refers to a first item that the target user is allowed to obtain; A target item information display page corresponding to the target user is generated according to the target item information corresponding to the target item.
2. The method according to claim 1, characterized in that The target item screening configuration information includes: target item blacklist information; Screening each first item in the preset item pool according to the target item screening configuration information to determine the target item corresponding to the target user includes: Determining, based on the target item blacklist information, a second item identifier corresponding to the target user, where the second item identifier refers to an item identifier that the target user is prohibited from acquiring; Among the first items in the preset item pool, first items having the same item identifier as the second item identifier are filtered out, and the first items obtained after filtering are determined as target items corresponding to the target user.
3. The method according to claim 1, characterized in that Generating a target item information display page corresponding to the target user according to the target item information corresponding to the target item includes: Determining a target item limit quantity corresponding to the target item according to item acquisition quantity limit information pre-configured based on a preset item acquisition quantity configuration method; Generate a target item information display page corresponding to the target user based on the target item's limited quantity and item basic information.
4. The method according to claim 3, characterized in that The preset acquisition quantity configuration method is a unified acquisition quantity configuration method; Determining a target item limit quantity corresponding to the target item according to item acquisition quantity limit information pre-configured based on a preset item acquisition quantity configuration method includes: The target item limit quantity corresponding to the target item is determined according to the pre-configured item acquisition quantity limit information corresponding to each first item identifier and the target item identifier corresponding to the target item.
5. The method according to claim 3, characterized in that Generate a target item information display page corresponding to the target user based on the target item's limited quantity and basic item information, including: Determining target item purchase price configuration information corresponding to the target user based on pre-configured item purchase price configuration information corresponding to each user identifier and the target user identifier; Determining a target purchase price corresponding to the target item according to the target item purchase price configuration information; A target item information display page corresponding to the target user is generated according to the target purchase price corresponding to the target item, the target item limit quantity and the item basic information.
6. The method according to claim 1, characterized in that Before determining the target item screening configuration information corresponding to the target user according to the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier, the method further includes: Obtaining the user's corresponding registration application information, wherein the registration application information includes user qualification information and authorized item brand information; According to the registration application information, the items that the user is allowed to obtain are configured, the item screening configuration information corresponding to the user is determined, and a corresponding relationship between the user identifier corresponding to the user and the item screening configuration information is established.
7. The method according to claim 1, characterized in that The method further comprises: If a new first item is added to the preset item pool, the item screening configuration information corresponding to each user identifier is updated based on the newly added first item; and / or, If the existing first item in the preset item pool is removed, the item screening configuration information corresponding to each user identifier is updated based on the removed first item.
8. A device for generating an item information display page, characterized in that: include: A target user identification acquisition module is used to obtain the target user identification corresponding to the target user; a target item screening configuration information determination module, configured to determine the target item screening configuration information corresponding to the target user based on the pre-configured item screening configuration information corresponding to each user identifier and the target user identifier; the item screening configuration information includes item whitelist information or item blacklist information; a target item determination module, configured to screen each first item in a preset item pool according to the target item screening configuration information, and determine a target item corresponding to the target user, wherein the target item refers to a first item that the target user is allowed to obtain; The target item information display page generation module is used to generate a target item information display page corresponding to the target user based on the target item information corresponding to the target item.
9. A device, characterized in that The device comprises: one or more processors; a memory 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 an item information display page as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for generating an item information display page as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Page data processing method and server
CN107085574A
Cargo source recommendation method and device, electronic device and storage medium
CN109978465A
Method and device for configuring stores for commodities
CN110020890A
Page display method, device and equipment and medium
CN110046022A
Resource allocation method based on code scanning mode
CN110766387A
