CN112650909A - Product display method and device, electronic equipment and storage medium - Google Patents
Product display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112650909A CN112650909A CN202011603633.3A CN202011603633A CN112650909A CN 112650909 A CN112650909 A CN 112650909A CN 202011603633 A CN202011603633 A CN 202011603633A CN 112650909 A CN112650909 A CN 112650909A
- Authority
- CN
- China
- Prior art keywords
- product
- data set
- page
- user
- display
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
- G06Q30/0269—Targeted advertisements based on user profile or attribute
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0631—Recommending goods or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明涉及大数据领域,揭露了一种产品展示方法,包括:爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集;根据所述特征数据集,构建所述用户的用户画像;计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品;利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。本发明还提出一种产品展示装置、电子设备以及存储介质。此外,本发明还涉及区块链技术,所述特征数据集可存储于区块链中。本发明可以实现产品展示的个性化,提高产品展示的灵活性。
The invention relates to the field of big data, and discloses a product display method. data set, construct the user portrait of the user; calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than the preset threshold as the product displayed on the page; use the preset loading program to The page display product is pushed to the product display platform page. The invention also provides a product display device, an electronic device and a storage medium. In addition, the present invention also relates to blockchain technology, and the feature data set can be stored in the blockchain. The present invention can realize the individualization of product display and improve the flexibility of product display.
Description
技术领域technical field
本发明涉及大数据领域,尤其涉及一种产品展示方法、装置、电子设备及计算机可读存储介质。The present invention relates to the field of big data, and in particular, to a product display method, device, electronic device and computer-readable storage medium.
背景技术Background technique
产品展示指的是将产品展示在系统界面的一个过程,通过对产品进行展示,可以提高产品的品牌推广。目前对于产品在目标平台界面的投放展示,都是利用传统化的运营方式,将所有客户抽象成一个整体进行运行,无法达到个性化的产品推送,从而会影响产品展示的灵活性,同时没有采集产品在目标平台页面展示后的客户相关数据,导致产品页面都是单一化的,从而也会影响产品展示的灵活性。Product display refers to a process of displaying a product on the system interface. By displaying the product, the brand promotion of the product can be improved. At present, for the launch and display of products on the target platform interface, traditional operation methods are used to abstract all customers into a whole for operation, which cannot achieve personalized product push, which will affect the flexibility of product display. The customer-related data after the product is displayed on the target platform page leads to a single product page, which also affects the flexibility of product display.
发明内容SUMMARY OF THE INVENTION
本发明提供一种产品展示方法、装置、电子设备及计算机可读存储介质,其主要目的在于实现产品展示的个性化,提高产品展示的灵活性。The present invention provides a product display method, device, electronic device and computer-readable storage medium, the main purpose of which is to realize the individualization of product display and improve the flexibility of product display.
为实现上述目的,本发明提供的一种产品展示方法,包括:To achieve the above purpose, a product display method provided by the present invention includes:
爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集;Crawl the user's browsing data set on the page of the product display platform, and perform feature extraction on the browsing data set to obtain a feature data set;
根据所述特征数据集,构建所述用户的用户画像;constructing a user portrait of the user according to the feature data set;
计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品;Calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than a preset threshold as the product to be displayed on the page;
利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。The page display product is pushed to the product display platform page by using a preset loading program.
可选地,所述爬取在产品展示平台页面中用户的浏览数据集,包括:Optionally, the crawling of the user's browsing data set on the product display platform page includes:
获取所述产品展示平台页面的统一资源定位符地址,根据所述统一资源定位符地址,加载所述产品展示平台页面对应的系统界面;Obtaining the uniform resource locator address of the product display platform page, and loading the system interface corresponding to the product display platform page according to the uniform resource locator address;
查询用户的浏览记录,根据所述浏览记录,从所述系统界面中采集对应的浏览数据,得到浏览数据集。The browsing records of the user are inquired, and corresponding browsing data is collected from the system interface according to the browsing records to obtain a browsing data set.
可选地,所述对所述浏览数据集进行特征提取,得到特征数据集,包括:Optionally, performing feature extraction on the browsing data set to obtain a feature data set, including:
计算所述浏览数据集中每个浏览数据的信息权重值,从所述浏览数据集中筛选出所述信息权重值大于预设权重值的浏览数据,得到特征数据集。The information weight value of each browsing data in the browsing data set is calculated, and browsing data whose information weight value is greater than a preset weight value is filtered out from the browsing data set to obtain a feature data set.
可选地,所述计算所述浏览数据集中每个浏览数据的信息权重值,包括:Optionally, the calculating the information weight value of each browsing data in the browsing data set includes:
利用下述方法计算所述浏览数据集中每个浏览数据的信息权重值:Use the following method to calculate the information weight value of each browsing data in the browsing data set:
其中,Ci表示浏览数据的的信息权重值,Ei表示浏览数据集中第i个浏览数据,表示浏览数据集中第i个浏览数据的特征向量协方差,trace()表示空间滤波函数。Among them, C i represents the information weight value of the browsing data, E i represents the i-th browsing data in the browsing data set, represents the feature vector covariance of the ith browsing data in the browsing dataset, and trace() represents the spatial filter function.
可选地,所述根据所述特征数据集,构建所述用户的用户画像,包括:Optionally, the constructing the user portrait of the user according to the feature data set includes:
构建所述特征数据集的决策树,计算所述决策树中特征数据集的负梯度;constructing a decision tree of the feature dataset, and calculating the negative gradient of the feature dataset in the decision tree;
根据所述负梯度,更新所述决策树,直至所述决策树趋于平稳时,得到用户画像。According to the negative gradient, the decision tree is updated until the decision tree becomes stable, and a user portrait is obtained.
可选地,所述计算待展示产品与所述用户画像的关联度,包括:Optionally, the calculating the degree of association between the product to be displayed and the user portrait includes:
利用下述方法计算待展示产品与所述用户画像的关联度:Use the following method to calculate the degree of association between the product to be displayed and the user portrait:
其中,所述R表示关联度,Ai表示待展示产品中第i个产品,Bi表示第i个用户画像。Wherein, the R represents the degree of relevance, A i represents the ith product in the products to be displayed, and B i represents the ith user portrait.
可选地,所述利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中,包括:Optionally, using a preset loading program to push the page display product to the product display platform page includes:
在所述加载程序中创建对象接收脚本,利用所述对象接收脚本接收所述页面展示产品;Create an object receiving script in the loader, and use the object receiving script to receive the page display product;
配置所述加载程序与所述页面展示平台页面的产品传输通道;Configure the product transmission channel between the loader and the page display platform page;
根据所述产品传输通道,将所述加载程序中的页面展示产品传输至所述产品页面展示平台中。According to the product transmission channel, the page display product in the loading program is transmitted to the product page display platform.
为了解决上述问题,本发明还提供一种产品展示装置,所述装置包括:In order to solve the above problems, the present invention also provides a product display device, the device includes:
提取模块,用于爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集;The extraction module is used to crawl the browsing data set of the user on the product display platform page, and perform feature extraction on the browsing data set to obtain the feature data set;
构建模块,用于根据所述特征数据集,构建所述用户的用户画像;a building module for building a user portrait of the user according to the feature data set;
选取模块,用于计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品;A selection module, configured to calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than a preset threshold as the product to be displayed on the page;
推送模块,用于利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。A push module is used to push the page display product to the product display platform page by using a preset loading program.
为了解决上述问题,本发明还提供一种电子设备,所述电子设备包括:In order to solve the above problems, the present invention also provides an electronic device, the electronic device includes:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以实现上述所述的产品展示方法。The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to implement the product display method described above.
为了解决上述问题,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个计算机程序,所述至少一个计算机程序被电子设备中的处理器执行以实现上述所述的产品展示方法。In order to solve the above problems, the present invention also provides a computer-readable storage medium, where at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in an electronic device to realize the above-mentioned product presentation method.
本发明实施例首先爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集,并根据所述特征数据集,构建所述用户的用户画像,可以实时收集用户的浏览记录,为用户展示多样化的产品页面,提高用户的体验度;其次,本发明实施例计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品,以根据用户需求,展示相对应的产品,实现产品的个性化展示,提高用户的体验度;进一步地,本发明实施例利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。因此,本发明提出的一种产品展示方法、装置、电子设备以及存储介质可以实现产品展示的个性化,提高产品展示的灵活性。The embodiment of the present invention first crawls the user's browsing data set on the product display platform page, performs feature extraction on the browsing data set to obtain a feature data set, and constructs a user portrait of the user according to the feature data set, Users' browsing records can be collected in real time, displaying diversified product pages for users, and improving the user's experience; secondly, the embodiment of the present invention calculates the degree of association between the product to be displayed and the user portrait, and selects that the degree of association is greater than the predetermined degree. The products to be displayed with a threshold are set as page display products, so as to display the corresponding products according to user needs, realize the personalized display of the products, and improve the user's experience; further, the embodiment of the present invention uses a preset loading program to The product displayed on the page is pushed to the page of the product display platform. Therefore, the product display method, device, electronic device and storage medium proposed by the present invention can realize the personalization of product display and improve the flexibility of product display.
附图说明Description of drawings
图1为本发明一实施例提供的产品展示方法的流程示意图;1 is a schematic flowchart of a product display method provided by an embodiment of the present invention;
图2为本发明第一实施例中图1提供的产品展示方法其中一个步骤的详细流程示意图;FIG. 2 is a detailed flowchart of one step of the product display method provided in FIG. 1 in the first embodiment of the present invention;
图3为本发明一实施例提供的产品展示装置的模块示意图;3 is a schematic diagram of a module of a product display device provided by an embodiment of the present invention;
图4为本发明一实施例提供的实现产品展示方法的电子设备的内部结构示意图;4 is a schematic diagram of an internal structure of an electronic device for implementing a product display method provided by an embodiment of the present invention;
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
本申请实施例提供一种产品展示方法。所述产品展示方法的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该方法的电子设备中的至少一种。换言之,所述产品展示方法可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。The embodiment of the present application provides a product display method. The execution body of the product display method includes, but is not limited to, at least one of electronic devices that can be configured to execute the method provided by the embodiments of the present application, such as a server, a terminal, and the like. In other words, the product display method can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
参照图1所示,为本发明一实施例提供的产品展示方法的流程示意图。在本发明实施例中,所述产品展示方法包括:Referring to FIG. 1 , it is a schematic flowchart of a product display method provided by an embodiment of the present invention. In an embodiment of the present invention, the product display method includes:
S1、爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集。S1. Crawl a user's browsing data set on the product display platform page, and perform feature extraction on the browsing data set to obtain a feature data set.
本发明实施例中,所述产品展示平台页面包括商城订单页面,用于将不同的产品展示在网页中,其通过开发人员编译生成。所述浏览数据集指的是用户在所述产品展示平台页面中行为信息和基本信息,例如,所述行为信息包括:产品浏览记录、产品查询记录以及产品付款记录等,所述行为信息包括:姓名、年龄以及地址等。In the embodiment of the present invention, the product display platform page includes a shopping mall order page, which is used to display different products on the webpage, which is compiled and generated by a developer. The browsing data set refers to the user's behavior information and basic information on the product display platform page. For example, the behavior information includes: product browsing records, product inquiry records, and product payment records, etc. The behavior information includes: Name, age and address, etc.
进一步的,本发明实施例利用爬虫工具爬取在产品展示平台页面中用户的浏览数据集,以实时的获取所述产品展示平台页面的用户数据。可选的,所述爬虫工具基于node.js技术构建。Further, in the embodiment of the present invention, a crawler tool is used to crawl a user's browsing data set on the product display platform page, so as to obtain the user data of the product display platform page in real time. Optionally, the crawler tool is constructed based on node.js technology.
详细地,所述利用爬虫工具爬取在产品展示平台页面中用户的浏览数据集,包括:利用node.js获取所述产品展示平台页面的统一资源定位符(Uniform Resource Locator,URL)地址,根据所述URL地址,加载所述产品展示平台页面对应的系统界面;查询用户的浏览记录,根据所述浏览记录,从所述系统界面中采集对应的浏览数据,得到浏览数据集。In detail, using a crawler tool to crawl the user's browsing data set on the product display platform page includes: using node.js to obtain the Uniform Resource Locator (URL) address of the product display platform page, according to The URL address is used to load the system interface corresponding to the product display platform page; the user's browsing records are inquired, and corresponding browsing data is collected from the system interface according to the browsing records to obtain a browsing data set.
一个可选实施例中,所述浏览记录通过select语句查询,所述浏览数据通过JavaScript脚本采集。In an optional embodiment, the browsing record is queried through a select statement, and the browsing data is collected through a JavaScript script.
进一步地,应该了解,在爬取的所述浏览数据集中会存在许多重复或无用的数据,为了提高用户数据的处理速度,本发明实施例对所述浏览数据集进行特征提取,得到特征数据集。Further, it should be understood that there will be many duplicate or useless data in the crawled browsing data set. In order to improve the processing speed of user data, the embodiment of the present invention performs feature extraction on the browsing data set to obtain a feature data set. .
详细地,所述对所述浏览数据集进行特征提取,得到特征数据集,包括:计算所述浏览数据集中每个浏览数据的信息权重值,从所述浏览数据集中筛选出所述信息权重值大于预设权重值的浏览数据,得到特征数据集。可选的,所述预设权重值为0.88。Specifically, performing feature extraction on the browsing data set to obtain a feature data set includes: calculating an information weight value of each browsing data in the browsing data set, and filtering out the information weight value from the browsing data set Browsing data larger than the preset weight value, get the feature data set. Optionally, the preset weight value is 0.88.
一个可选实施例中,利用下述方法计算所述浏览数据集中每个浏览数据的信息权重值:In an optional embodiment, the following method is used to calculate the information weight value of each browsing data in the browsing data set:
其中,Ci表示浏览数据的的信息权重值,Ei表示浏览数据集中第i个浏览数据,表示浏览数据集中第i个浏览数据的特征向量协方差,trace()表示空间滤波函数。Among them, C i represents the information weight value of the browsing data, E i represents the i-th browsing data in the browsing data set, represents the feature vector covariance of the ith browsing data in the browsing dataset, and trace() represents the spatial filter function.
进一步地,为保证所述特征数据集的隐私性和安全性,所述特征数据集还可存储于一区块链节点中。Further, in order to ensure the privacy and security of the feature dataset, the feature dataset can also be stored in a blockchain node.
S2、根据所述特征数据集,构建所述用户的用户画像。S2. Construct a user portrait of the user according to the feature data set.
本发明实施例中,根据所述特征数据集,构建所述用户的用户画像,以更加直观的展示用户信息,其中,所述用户画像包括用户基本信息和用户行为信息。In the embodiment of the present invention, a user portrait of the user is constructed according to the feature data set to display user information more intuitively, wherein the user portrait includes basic user information and user behavior information.
详细地,所述根据所述特征数据集,构建所述用户的用户画像,包括:利用决策树算法构建所述特征数据集的决策树;计算所述决策树中特征数据集的负梯度;根据所述负梯度,更新所述决策树,直至所述决策树趋于平稳时,得到用户画像。In detail, constructing the user portrait of the user according to the feature data set includes: using a decision tree algorithm to construct a decision tree of the feature data set; calculating the negative gradient of the feature data set in the decision tree; For the negative gradient, the decision tree is updated until the decision tree becomes stable, and a user portrait is obtained.
本发明其中一个可选实施例中,所述利用决策树算法构建所述特征数据集的决策树的构建原理为:基于所述特征数据集所在的输入空间中,递归的将所述输入空间中每个区域划分为两个子区域并决定每个子区域上的输出值,根据所述输出值,构建所述特征数据集的决策树。其中,所述决策树算法包括XGBoost算法。In an optional embodiment of the present invention, the construction principle of using the decision tree algorithm to construct the decision tree of the feature data set is: based on the input space where the feature data set is located, recursively convert the input space into the input space. Each area is divided into two sub-areas and an output value on each sub-area is determined, and a decision tree of the feature data set is constructed according to the output value. Wherein, the decision tree algorithm includes the XGBoost algorithm.
进一步地,所述负梯度指的是所述特征数据集的残差,通过拟合所述特征数据集集的残差,可以增强整个决策树的鲁棒性以及可靠性。Further, the negative gradient refers to the residual of the feature data set, and by fitting the residual of the feature data set, the robustness and reliability of the entire decision tree can be enhanced.
一个优选实施例中,利用下述方法计算所述决策树中特征数据集的负梯度:In a preferred embodiment, the following method is used to calculate the negative gradient of the feature dataset in the decision tree:
其中,rim表示负梯度,表示学习率,L(yi,f(xi)表示损失函数,yi表示特征数据集第i个特征数据的样本数据预测值,f(xi)表示特征数据集第i个特征数据的样本数据的真实值,f(x)表示决策树中的区域函数,fm-1(x)表示决策树中的区域拟合函数。where rim represents the negative gradient, represents the learning rate, L(y i , f(x i ) represents the loss function, y i represents the predicted value of the sample data of the i-th feature data of the feature dataset, and f(x i ) represents the i-th feature data of the feature dataset. The true value of the sample data, f(x) represents the regional function in the decision tree, and f m-1(x) represents the regional fitting function in the decision tree.
S3、计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品。S3. Calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than a preset threshold as the product to be displayed on the page.
应该了解,所述待展示产品包含许多产品类型,若直接向用户进行产品展示,容易展示一些用户不感兴趣或者用户反感的产品,从而导致产品展示的准确率降低,因此,本发明实施例通过计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品,可以根据用户需求,展示相对应的产品,实现产品的个性化展示,提高用户的体验度。其中,所述待展示产品基于用户需求获得,比如用户需求为展示电子产品。It should be understood that the product to be displayed includes many product types. If the product is displayed directly to the user, it is easy to display some products that the user is not interested in or disgusted by the user, thereby reducing the accuracy of the product display. Therefore, the embodiment of the present invention calculates The degree of association between the product to be displayed and the user portrait, and select the product to be displayed with the degree of association greater than the preset threshold as the product to be displayed on the page. According to user needs, the corresponding product can be displayed, and the personalized display of the product can be realized and improved. user experience. Wherein, the product to be displayed is obtained based on a user's requirement, for example, the user's requirement is to display an electronic product.
本发明的一个可选实施例中,利用下述方法计算待展示产品与所述用户画像的关联度:In an optional embodiment of the present invention, the following method is used to calculate the degree of association between the product to be displayed and the user portrait:
其中,所述R表示关联度,Ai表示待展示产品中第i个产品,Bi表示第i个用户画像。Wherein, the R represents the degree of relevance, A i represents the ith product in the products to be displayed, and B i represents the ith user portrait.
进一步地,本发明实施例选取所述关联度大于预设阈值的待展示产品作为页面展示产品。可选的,所述预设阈值为0.8。Further, in the embodiment of the present invention, the products to be displayed whose correlation degree is greater than the preset threshold are selected as the products to be displayed on the page. Optionally, the preset threshold is 0.8.
S4、利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。S4, using a preset loading program to push the page display product to the product display platform page.
本发明实施例中,利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中,以实现所述页面展示产品的推荐,提高用户的体验度。其中,所述预设加载程序通过Java语言编译,用于执行产品在产品展示平台页面的加载In the embodiment of the present invention, a preset loading program is used to push the page display product to the product display platform page, so as to implement the recommendation of the page display product and improve the user experience. Wherein, the preset loading program is compiled by Java language, and is used to execute the loading of the product on the product display platform page
详细地,参阅图2所示,所述利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中,包括:In detail, referring to FIG. 2 , the use of a preset loading program to push the page display product to the product display platform page includes:
S20、在所述加载程序中创建对象接收脚本,利用所述对象接收脚本接收所述页面展示产品;S20, creating an object receiving script in the loader, and using the object receiving script to receive the page display product;
S21、配置所述加载程序与所述页面展示平台页面的产品传输通道;S21, configuring the product transmission channel between the loading program and the page display platform page;
S22、根据所述产品传输通道,将所述加载程序中的页面展示产品传输至所述产品页面展示平台中。S22. According to the product transmission channel, transmit the page display product in the loading program to the product page display platform.
一个可选实施例中,所述对象接收脚本通过Shell语言编译。In an optional embodiment, the object receiving script is compiled through Shell language.
一个可选实施例中,所述配置所述加载程序与所述页面展示平台页面的产品传输通道,包括:获取所述加载程序的第一接口地址以及所述页面展示平台页面的第二接口地址,对所述第一接口地址以及所述第二接口地址构造配置文件,得到第一配置文件和第二配置文件,在所述第一配置文件和第二配置文件定义相同的标识位,并在所述标识位中添加接口参数,根据所述接口参数,利用预设的链接指令将所述第一接口地址和所述第二接口地址建立连接,得到所述产品传输通道。In an optional embodiment, configuring the product transmission channel between the loader and the page display platform page includes: acquiring a first interface address of the loader and a second interface address of the page display platform page. , construct a configuration file for the first interface address and the second interface address, obtain a first configuration file and a second configuration file, define the same identification bit in the first configuration file and the second configuration file, and in the An interface parameter is added to the identification bit, and according to the interface parameter, a connection between the first interface address and the second interface address is established by using a preset link instruction to obtain the product transmission channel.
一个可选实施例中,所述标识位的定义可以通过SQL语句进行定义,所述接口参数敖阔:接口id、端口号以及IP地址。In an optional embodiment, the definition of the identification bit may be defined by an SQL statement, and the interface parameters are wide: an interface id, a port number, and an IP address.
进一步地,本发明实施例在利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中之后,还包括:利用预设的方法识别出所述页面展示产品是否全部加载,若所述页面展示产品没有全部加载,则继续执行所述页面展示产品的推送,若所述页面展示产品全部加载,则在所述产品展示平台页面上线所述页面展示产品。其中,所述预设的方法包括:load加载方法。Further, after using a preset loading program to push the page display products to the product display platform page, the embodiment of the present invention further includes: using a preset method to identify whether all the page display products are loaded, If the page display products are not all loaded, continue to push the page display products, and if the page display products are all loaded, the page display products are launched on the product display platform page. Wherein, the preset method includes: load loading method.
本发明实施例首先爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集,并根据所述特征数据集,构建所述用户的用户画像,可以实时收集用户的浏览记录,为用户展示多样化的产品页面,提高用户的体验度;其次,本发明实施例计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品,以根据用户需求,展示相对应的产品,实现产品的个性化展示,提高用户的体验度;进一步地,本发明实施例利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。因此,本发明提可以实现产品展示的个性化,提高产品展示的灵活性。The embodiment of the present invention first crawls the user's browsing data set on the product display platform page, performs feature extraction on the browsing data set to obtain a feature data set, and constructs a user portrait of the user according to the feature data set, Users' browsing records can be collected in real time, displaying diversified product pages for users, and improving the user's experience; secondly, the embodiment of the present invention calculates the degree of association between the product to be displayed and the user portrait, and selects that the degree of association is greater than the predetermined degree. The products to be displayed with a threshold are set as page display products, so as to display the corresponding products according to user needs, realize the personalized display of the products, and improve the user's experience; further, the embodiment of the present invention uses a preset loading program to The product displayed on the page is pushed to the page of the product display platform. Therefore, the present invention can realize the individualization of product display and improve the flexibility of product display.
如图3所示,是本发明产品展示装置的功能模块图。As shown in FIG. 3 , it is a functional block diagram of the product display device of the present invention.
本发明所述产品展示装置100可以安装于电子设备中。根据实现的功能,所述产品展示装置可以包括提取模块101、构建模块102、选取模块103以及推送模块104。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。The product display device 100 of the present invention can be installed in an electronic device. According to the realized functions, the product display device may include an extraction module 101 , a construction module 102 , a selection module 103 and a push module 104 . The modules described in the present invention can also be called units, which refer to a series of computer program segments that can be executed by the electronic device processor and can perform fixed functions, and are stored in the memory of the electronic device.
在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:
所述提取模块101,用于爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集。The extraction module 101 is configured to crawl the user's browsing data set on the page of the product display platform, and perform feature extraction on the browsing data set to obtain the feature data set.
本发明实施例中,所述产品展示平台页面包括商城订单页面,用于将不同的产品展示在网页中,其通过开发人员编译生成。所述浏览数据集指的是用户在所述产品展示平台页面中行为信息和基本信息,例如,所述行为信息包括:产品浏览记录、产品查询记录以及产品付款记录等,所述行为信息包括:姓名、年龄以及地址等。In the embodiment of the present invention, the product display platform page includes a shopping mall order page, which is used to display different products on the webpage, which is compiled and generated by a developer. The browsing data set refers to the user's behavior information and basic information on the product display platform page. For example, the behavior information includes: product browsing records, product inquiry records, and product payment records, etc. The behavior information includes: Name, age and address, etc.
进一步的,本发明实施例利用爬虫工具爬取在产品展示平台页面中用户的浏览数据集,以实时的获取所述产品展示平台页面的用户数据。可选的,所述爬虫工具基于node.js技术构建。Further, in the embodiment of the present invention, a crawler tool is used to crawl a user's browsing data set on the product display platform page, so as to obtain the user data of the product display platform page in real time. Optionally, the crawler tool is constructed based on node.js technology.
详细地,在利用爬虫工具爬取在产品展示平台页面中用户的浏览数据集时,所述提取模块101执行下述操作:利用node.js获取所述产品展示平台页面的统一资源定位符(Uniform Resource Locator,URL)地址,根据所述URL地址,加载所述产品展示平台页面对应的系统界面;查询用户的浏览记录,根据所述浏览记录,从所述系统界面中采集对应的浏览数据,得到浏览数据集。In detail, when using a crawler tool to crawl the user's browsing data set on the product display platform page, the extraction module 101 performs the following operations: using node.js to obtain the Uniform Resource Locator (Uniform Resource Locator) of the product display platform page Resource Locator, URL) address, according to the URL address, load the system interface corresponding to the product display platform page; query the user's browsing records, collect corresponding browsing data from the system interface according to the browsing records, and obtain Browse the dataset.
一个可选实施例中,所述浏览记录通过select语句查询,所述浏览数据通过JavaScript脚本采集。In an optional embodiment, the browsing record is queried through a select statement, and the browsing data is collected through a JavaScript script.
进一步地,应该了解,在爬取的所述浏览数据集中会存在许多重复或无用的数据,为了提高用户数据的处理速度,本发明实施例对所述浏览数据集进行特征提取,得到特征数据集。Further, it should be understood that there will be many duplicate or useless data in the crawled browsing data set. In order to improve the processing speed of user data, the embodiment of the present invention performs feature extraction on the browsing data set to obtain a feature data set. .
详细地,所述对所述浏览数据集进行特征提取,得到特征数据集,所述提取模块101采用下述方式执行:计算所述浏览数据集中每个浏览数据的信息权重值,从所述浏览数据集中筛选出所述信息权重值大于预设权重值的浏览数据,得到特征数据集。可选的,所述预设权重值为0.88。In detail, the feature extraction is performed on the browsing data set to obtain a feature data set, and the extraction module 101 is performed in the following manner: calculating the information weight value of each browsing data in the browsing data set, and obtaining a feature data set from the browsing data set. The browsing data whose information weight value is greater than the preset weight value is filtered out from the data set to obtain a feature data set. Optionally, the preset weight value is 0.88.
一个可选实施例中,所述提取模块101利用下述方法计算所述浏览数据集中每个浏览数据的信息权重值:In an optional embodiment, the extraction module 101 uses the following method to calculate the information weight value of each browsing data in the browsing data set:
其中,Ci表示浏览数据的的信息权重值,Ei表示浏览数据集中第i个浏览数据,表示浏览数据集中第i个浏览数据的特征向量协方差,trace()表示空间滤波函数。Among them, C i represents the information weight value of the browsing data, E i represents the i-th browsing data in the browsing data set, represents the feature vector covariance of the ith browsing data in the browsing dataset, and trace() represents the spatial filter function.
进一步地,为保证所述特征数据集的隐私性和安全性,所述特征数据集还可存储于一区块链节点中。Further, in order to ensure the privacy and security of the feature dataset, the feature dataset can also be stored in a blockchain node.
所述构建模块102,用于根据所述特征数据集,构建所述用户的用户画像。The construction module 102 is configured to construct a user portrait of the user according to the feature data set.
本发明实施例中,根据所述特征数据集,构建所述用户的用户画像,以更加直观的展示用户信息,其中,所述用户画像包括用户基本信息和用户行为信息。In the embodiment of the present invention, a user portrait of the user is constructed according to the feature data set to display user information more intuitively, wherein the user portrait includes basic user information and user behavior information.
详细地,所述构建模块102采用下述方式构建所述用户的用户画像:利用决策树算法构建所述特征数据集的决策树;计算所述决策树中特征数据集的负梯度;根据所述负梯度,更新所述决策树,直至所述决策树趋于平稳时,得到用户画像。In detail, the construction module 102 constructs the user portrait of the user in the following manner: constructing a decision tree of the feature dataset by using a decision tree algorithm; calculating the negative gradient of the feature dataset in the decision tree; If the gradient is negative, the decision tree is updated until the decision tree becomes stable, and the user portrait is obtained.
本发明其中一个可选实施例中,所述利用决策树算法构建所述特征数据集的决策树的构建原理为:基于所述特征数据集所在的输入空间中,递归的将所述输入空间中每个区域划分为两个子区域并决定每个子区域上的输出值,根据所述输出值,构建所述特征数据集的决策树。其中,所述决策树算法包括XGBoost算法。In an optional embodiment of the present invention, the construction principle of using the decision tree algorithm to construct the decision tree of the feature data set is: based on the input space where the feature data set is located, recursively convert the input space into the input space. Each area is divided into two sub-areas and an output value on each sub-area is determined, and a decision tree of the feature data set is constructed according to the output value. Wherein, the decision tree algorithm includes the XGBoost algorithm.
进一步地,所述负梯度指的是所述特征数据集的残差,通过拟合所述特征数据集集的残差,可以增强整个决策树的鲁棒性以及可靠性。Further, the negative gradient refers to the residual of the feature data set, and by fitting the residual of the feature data set, the robustness and reliability of the entire decision tree can be enhanced.
一个优选实施例中,所述构建模块102利用下述方法计算所述决策树中特征数据集的负梯度:In a preferred embodiment, the building module 102 uses the following method to calculate the negative gradient of the feature dataset in the decision tree:
其中,rim表示负梯度,表示学习率,L(yi,f(xi)表示损失函数,yi表示特征数据集第i个特征数据的样本数据预测值,f(xi)表示特征数据集第i个特征数据的样本数据的真实值,f(x)表示决策树中的区域函数,fm-1(x)表示决策树中的区域拟合函数。where rim represents the negative gradient, represents the learning rate, L(y i , f(x i ) represents the loss function, y i represents the predicted value of the sample data of the i-th feature data of the feature dataset, and f(x i ) represents the i-th feature data of the feature dataset. The true value of the sample data, f(x) represents the regional function in the decision tree, and f m-1(x) represents the regional fitting function in the decision tree.
所述选取模块103,用于计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品。The selection module 103 is configured to calculate the degree of correlation between the product to be displayed and the user portrait, and select the product to be displayed whose degree of correlation is greater than a preset threshold as the product to be displayed on the page.
应该了解,所述待展示产品包含许多产品类型,若直接向用户进行产品展示,容易展示一些用户不感兴趣或者用户反感的产品,从而导致产品展示的准确率降低,因此,本发明实施例通过计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品,可以根据用户需求,展示相对应的产品,实现产品的个性化展示,提高用户的体验度。其中,所述待展示产品基于用户需求获得,比如用户需求为展示电子产品。It should be understood that the product to be displayed includes many product types. If the product is displayed directly to the user, it is easy to display some products that the user is not interested in or disgusted by the user, thereby reducing the accuracy of the product display. Therefore, the embodiment of the present invention calculates The degree of association between the product to be displayed and the user portrait, and select the product to be displayed with the degree of association greater than the preset threshold as the product to be displayed on the page. According to user needs, the corresponding product can be displayed, and the personalized display of the product can be realized and improved. user experience. Wherein, the product to be displayed is obtained based on a user's requirement, for example, the user's requirement is to display an electronic product.
本发明的一个可选实施例中,所述选取模块103利用下述方法计算待展示产品与所述用户画像的关联度:In an optional embodiment of the present invention, the selection module 103 uses the following method to calculate the degree of association between the product to be displayed and the user portrait:
其中,所述R表示关联度,Ai表示待展示产品中第i个产品,Bi表示第i个用户画像。Wherein, the R represents the degree of relevance, A i represents the ith product in the products to be displayed, and B i represents the ith user portrait.
进一步地,本发明实施例选取所述关联度大于预设阈值的待展示产品作为页面展示产品。可选的,所述预设阈值为0.8。Further, in the embodiment of the present invention, the products to be displayed whose correlation degree is greater than the preset threshold are selected as the products to be displayed on the page. Optionally, the preset threshold is 0.8.
所述推送模块104,用于利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。The pushing module 104 is configured to use a preset loading program to push the page display product to the product display platform page.
本发明实施例中,利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中,以实现所述页面展示产品的推荐,提高用户的体验度。其中,所述预设加载程序通过Java语言编译,用于执行产品在产品展示平台页面的加载In the embodiment of the present invention, a preset loading program is used to push the page display product to the product display platform page, so as to implement the recommendation of the page display product and improve the user experience. Wherein, the preset loading program is compiled by Java language, and is used to execute the loading of the product on the product display platform page
详细地,所述推送模块104采用下述操作将所述页面展示产品推送至所述产品展示平台页面:在所述加载程序中创建对象接收脚本,利用所述对象接收脚本接收所述页面展示产品;配置所述加载程序与所述页面展示平台页面的产品传输通道;根据所述产品传输通道,将所述加载程序中的页面展示产品传输至所述产品页面展示平台中。Specifically, the push module 104 pushes the page display product to the product display platform page by using the following operations: creating an object receiving script in the loader, and using the object receiving script to receive the page display product ; configure the product transmission channel between the loading program and the page display platform page; according to the product transmission channel, transmit the page display product in the loading program to the product page display platform.
一个可选实施例中,所述对象接收脚本通过Shell语言编译。In an optional embodiment, the object receiving script is compiled through Shell language.
一个可选实施例中,所述推送模块104执行下述操作配置所述加载程序与所述页面展示平台页面的产品传输通道:获取所述加载程序的第一接口地址以及所述页面展示平台页面的第二接口地址,对所述第一接口地址以及所述第二接口地址构造配置文件,得到第一配置文件和第二配置文件,在所述第一配置文件和第二配置文件定义相同的标识位,并在所述标识位中添加接口参数,根据所述接口参数,利用预设的链接指令将所述第一接口地址和所述第二接口地址建立连接,得到所述产品传输通道。In an optional embodiment, the push module 104 performs the following operations to configure the product transmission channel between the loader and the page display platform page: obtaining the first interface address of the loader and the page display platform page. the second interface address, construct a configuration file for the first interface address and the second interface address to obtain a first configuration file and a second configuration file, and define the same in the first configuration file and the second configuration file. An identification bit is added, and an interface parameter is added to the identification bit. According to the interface parameter, a preset link command is used to establish a connection between the first interface address and the second interface address to obtain the product transmission channel.
一个可选实施例中,所述标识位的定义可以通过SQL语句进行定义,所述接口参数敖阔:接口id、端口号以及IP地址。In an optional embodiment, the definition of the identification bit may be defined by an SQL statement, and the interface parameters are wide: an interface id, a port number, and an IP address.
进一步地,本发明实施例在利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中之后,所述推送模块104还用于:利用预设的方法识别出所述页面展示产品是否全部加载,若所述页面展示产品没有全部加载,则继续执行所述页面展示产品的推送,若所述页面展示产品全部加载,则在所述产品展示平台页面上线所述页面展示产品。其中,所述预设的方法包括:load加载方法。Further, in this embodiment of the present invention, after the page display product is pushed to the product display platform page by using a preset loading program, the pushing module 104 is further configured to: identify the page by using a preset method Whether the display products are all loaded, if the page display products are not all loaded, continue to push the page display products, if the page display products are all loaded, the page display products will be online on the product display platform page . Wherein, the preset method includes: load loading method.
本发明实施例首先爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集,并根据所述特征数据集,构建所述用户的用户画像,可以实时收集用户的浏览记录,为用户展示多样化的产品页面,提高用户的体验度;其次,本发明实施例计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品,以根据用户需求,展示相对应的产品,实现产品的个性化展示,提高用户的体验度;进一步地,本发明实施例利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。因此,本发明提可以实现产品展示的个性化,提高产品展示的灵活性。The embodiment of the present invention first crawls the user's browsing data set on the product display platform page, performs feature extraction on the browsing data set to obtain a feature data set, and constructs a user portrait of the user according to the feature data set, Users' browsing records can be collected in real time, displaying diversified product pages for users, and improving the user's experience; secondly, the embodiment of the present invention calculates the degree of association between the product to be displayed and the user portrait, and selects that the degree of association is greater than the predetermined degree. The products to be displayed with a threshold are set as page display products, so as to display the corresponding products according to user needs, realize the personalized display of the products, and improve the user's experience; further, the embodiment of the present invention uses a preset loading program to The product displayed on the page is pushed to the page of the product display platform. Therefore, the present invention can realize the individualization of product display and improve the flexibility of product display.
如图4所示,是本发明实现产品展示方法的电子设备的结构示意图。As shown in FIG. 4 , it is a schematic structural diagram of an electronic device implementing the product display method of the present invention.
所述电子设备1可以包括处理器10、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如产品展示程序12。The electronic device 1 may include a processor 10, a memory 11 and a bus, and may also include a computer program, such as a product demonstration program 12, stored in the memory 11 and executable on the processor 10.
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(SecureDigital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如产品展示的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。Wherein, the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, magnetic disk, CD etc. The memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a mobile hard disk of the electronic device 1 . In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a pluggable mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software installed in the electronic device 1 and various types of data, such as product display codes, etc., but also can be used to temporarily store data that has been output or will be output.
所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行产品展示等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。In some embodiments, the processor 10 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one or more integrated circuits. Central processing unit (Central Processing Unit, CPU), microprocessor, digital processing chip, graphics processor and combination of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and by running or executing the program or module (for example, executing the program) stored in the memory 11. product display, etc.), and call the data stored in the memory 11 to perform various functions of the electronic device 1 and process data.
所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。The bus may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (extended industry standard architecture, EISA for short) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. The bus is configured to implement connection communication between the memory 11 and at least one processor 10 and the like.
图4仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图4示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 4 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 4 does not constitute a limitation on the electronic device 1, and may include fewer or more components than those shown in the drawings. components, or a combination of certain components, or a different arrangement of components.
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device 1 may also include a power supply (such as a battery) for powering the various components, preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that the power management The device implements functions such as charge management, discharge management, and power consumption management. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The electronic device 1 may further include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。Further, the electronic device 1 may also include a network interface, optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。Optionally, the electronic device 1 may further include a user interface, and the user interface may be a display (Display), an input unit (eg, a keyboard (Keyboard)), optionally, the user interface may also be a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, and the like. The display may also be appropriately called a display screen or a display unit, which is used for displaying information processed in the electronic device 1 and for displaying a visualized user interface.
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the embodiments are only used for illustration, and are not limited by this structure in the scope of the patent application.
所述电子设备1中的所述存储器11存储的产品展示12是多个计算机程序的组合,在所述处理器10中运行时,可以实现:The product display 12 stored in the memory 11 in the electronic device 1 is a combination of multiple computer programs, and when running in the processor 10, can realize:
爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集;Crawl the user's browsing data set on the page of the product display platform, and perform feature extraction on the browsing data set to obtain a feature data set;
根据所述特征数据集,构建所述用户的用户画像;constructing a user portrait of the user according to the feature data set;
计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品;Calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than a preset threshold as the product to be displayed on the page;
利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。The page display product is pushed to the product display platform page by using a preset loading program.
具体地,所述处理器10对上述计算机程序的具体实现方法可参考图1对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation method of the above-mentioned computer program by the processor 10, reference may be made to the description of the relevant steps in the corresponding embodiment of FIG. 1, and details are not described herein.
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性计算机可读取存储介质中。所述计算机可读存储介质可以是易失性的,也可以是非易失性的。例如,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Further, if the modules/units integrated in the electronic device 1 are implemented in the form of software functional units and sold or used as independent products, they may be stored in a non-volatile computer-readable storage medium. The computer-readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM, Read-Only). Memory).
本发明还提供一种计算机可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序在被电子设备的处理器所执行时,可以实现:The present invention also provides a computer-readable storage medium, where the readable storage medium stores a computer program, and when executed by a processor of an electronic device, the computer program can realize:
爬取在产品展示平台页面中用户的浏览数据集,对所述浏览数据集进行特征提取,得到特征数据集;Crawl the user's browsing data set on the page of the product display platform, and perform feature extraction on the browsing data set to obtain a feature data set;
根据所述特征数据集,构建所述用户的用户画像;constructing a user portrait of the user according to the feature data set;
计算待展示产品与所述用户画像的关联度,并选取所述关联度大于预设阈值的待展示产品作为页面展示产品;Calculate the degree of association between the product to be displayed and the user portrait, and select the product to be displayed whose degree of association is greater than a preset threshold as the product to be displayed on the page;
利用预设的加载程序将所述页面展示产品推送至所述产品展示平台页面中。The page display product is pushed to the product display platform page by using a preset loading program.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division manners in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It will be apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, but that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the invention.
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。Therefore, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the invention is to be defined by the appended claims rather than the foregoing description, which are therefore intended to fall within the scope of the claims. All changes within the meaning and range of the equivalents of , are included in the present invention. Any reference signs in the claims shall not be construed as limiting the involved claim.
本发明所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in the present invention is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the system claims can also be realized by one unit or means by means of software or hardware. Second-class terms are used to denote names and do not denote any particular order.
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011603633.3A CN112650909A (en) | 2020-12-29 | 2020-12-29 | Product display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011603633.3A CN112650909A (en) | 2020-12-29 | 2020-12-29 | Product display method and device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112650909A true CN112650909A (en) | 2021-04-13 |
Family
ID=75364303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011603633.3A Pending CN112650909A (en) | 2020-12-29 | 2020-12-29 | Product display method and device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112650909A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113592606A (en) * | 2021-08-10 | 2021-11-02 | 平安银行股份有限公司 | Product recommendation method, device, equipment and storage medium based on multiple decisions |
| CN114579905A (en) * | 2022-03-03 | 2022-06-03 | 浪潮卓数大数据产业发展有限公司 | Report display method, system, device and medium |
| CN114625975A (en) * | 2022-05-16 | 2022-06-14 | 山东省科院易达科技咨询有限公司 | Knowledge graph-based customer behavior analysis system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109033441A (en) * | 2018-08-16 | 2018-12-18 | 安徽大尺度网络传媒有限公司 | A kind of method for pushing and device based on big data analysis |
| CN112115145A (en) * | 2020-09-15 | 2020-12-22 | 招商局金融科技有限公司 | Data acquisition method and device, electronic equipment and storage medium |
-
2020
- 2020-12-29 CN CN202011603633.3A patent/CN112650909A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109033441A (en) * | 2018-08-16 | 2018-12-18 | 安徽大尺度网络传媒有限公司 | A kind of method for pushing and device based on big data analysis |
| CN112115145A (en) * | 2020-09-15 | 2020-12-22 | 招商局金融科技有限公司 | Data acquisition method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
| Title |
|---|
| 杨楠楠等: "数据产品经理", 31 August 2020, 机械工业出版社, pages: 268 - 272 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113592606A (en) * | 2021-08-10 | 2021-11-02 | 平安银行股份有限公司 | Product recommendation method, device, equipment and storage medium based on multiple decisions |
| CN113592606B (en) * | 2021-08-10 | 2023-08-22 | 平安银行股份有限公司 | Product recommendation method, device, equipment and storage medium based on multiple decisions |
| CN114579905A (en) * | 2022-03-03 | 2022-06-03 | 浪潮卓数大数据产业发展有限公司 | Report display method, system, device and medium |
| CN114625975A (en) * | 2022-05-16 | 2022-06-14 | 山东省科院易达科技咨询有限公司 | Knowledge graph-based customer behavior analysis system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114663198A (en) | Product recommendation method, device and equipment based on user portrait and storage medium | |
| CN112650909A (en) | Product display method and device, electronic equipment and storage medium | |
| CN112446207A (en) | Title generation method and device, electronic equipment and storage medium | |
| CN112685259B (en) | Data collection method, device, electronic device and storage medium based on buried point | |
| CN112948427B (en) | Data query method, device, equipment and storage medium | |
| CN112256472B (en) | Distributed data retrieval method and device, electronic equipment and storage medium | |
| CN110941614A (en) | Form generation method and device, electronic equipment and computer readable storage medium | |
| CN113515703B (en) | Information recommendation method, device, electronic device and readable storage medium | |
| CN113707302B (en) | Service recommendation method, device, equipment and storage medium based on associated information | |
| CN114185776B (en) | Big data tracking method, device, equipment and medium for application | |
| CN112507230A (en) | Webpage recommendation method and device based on browser, electronic equipment and storage medium | |
| CN113434542B (en) | Data relationship identification method and device, electronic equipment and storage medium | |
| CN112486490B (en) | Front-end code packaging method and device, electronic equipment and storage medium | |
| CN112559923A (en) | Website resource recommendation method and device, electronic equipment and computer storage medium | |
| CN114491646A (en) | Data desensitization method and device, electronic equipment and storage medium | |
| CN109934194A (en) | Image classification method, edge device, system and storage medium | |
| CN114610340A (en) | Project deployment method, device, equipment and storage medium | |
| CN115186188A (en) | Product recommendation method, device and equipment based on behavior analysis and storage medium | |
| CN114978964A (en) | Communication announcement configuration method, device, equipment and medium based on network self-checking | |
| CN112686759B (en) | Account reconciliation monitoring method, device, equipment and medium | |
| CN114860252A (en) | Code unified compiling method and device, electronic equipment and readable storage medium | |
| CN110928594A (en) | Service Development Methodology and Platform | |
| CN113704411A (en) | Word vector-based similar passenger group mining method, device, equipment and storage medium | |
| CN111859452A (en) | Page information verification method, apparatus, device, and computer-readable storage medium | |
| CN116016692B (en) | Protocol description text construction method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |