CN114564655B - Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering - Google Patents
Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering Download PDFInfo
- Publication number
- CN114564655B CN114564655B CN202111589891.5A CN202111589891A CN114564655B CN 114564655 B CN114564655 B CN 114564655B CN 202111589891 A CN202111589891 A CN 202111589891A CN 114564655 B CN114564655 B CN 114564655B
- Authority
- CN
- China
- Prior art keywords
- vehicle
- cargo
- enterprise
- weight
- recommended
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search customisation based on social or collaborative filtering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
- G06Q10/0838—Historical data
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及智能推荐技术领域,特别涉及一种基于协同过滤的车辆推荐方法、装置、设备及存储介质。The present invention relates to the field of intelligent recommendation technology, and in particular to a vehicle recommendation method, device, equipment and storage medium based on collaborative filtering.
背景技术Background Art
近年来随着物流行业快速发展,整体货运量呈逐年增长趋势,在实际中,公路运输行业仍然面临效率低下的问题。交通部门持续推进物流信息化平台建设,提供发布货运需求并根据需求从海量物流车辆中选取潜在承运车辆推荐给需求方的互联网渠道。In recent years, with the rapid development of the logistics industry, the overall freight volume has been increasing year by year. In reality, the road transport industry still faces the problem of low efficiency. The transportation department continues to promote the construction of logistics information platform, providing an Internet channel for publishing freight demand and selecting potential carrier vehicles from a large number of logistics vehicles according to demand and recommending them to the demand side.
物流车辆推荐是物流信息化平台面临的一类核心问题,目前物流信息化平台通过较为传统的方式对企业进行潜在承运车辆的推荐。现有技术中,一般通过实时定位调度的方法,但是司机的实时位置并不代表其承运意向。因此,现有技术中的方法推荐效果不佳。Logistics vehicle recommendation is a core issue faced by logistics information platforms. Currently, logistics information platforms recommend potential transport vehicles to enterprises through relatively traditional methods. In the existing technology, real-time positioning and dispatching are generally used, but the real-time location of the driver does not represent his or her transport intention. Therefore, the recommendation effect of the existing method is not good.
发明内容Summary of the invention
本申请实施例提供了一种基于协同过滤的车辆推荐方法、装置、设备及存储介质。为了对披露的实施例的一些方面有一个基本的理解,下面给出了简单的概括。该概括部分不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围。其唯一目的是用简单的形式呈现一些概念,以此作为后面的详细说明的序言。The embodiments of the present application provide a vehicle recommendation method, apparatus, device and storage medium based on collaborative filtering. In order to have a basic understanding of some aspects of the disclosed embodiments, a simple summary is given below. This summary is not a general review, nor is it intended to identify key/important components or describe the scope of protection of these embodiments. Its only purpose is to present some concepts in a simple form as a preface to the detailed description that follows.
第一方面,本申请实施例提供了一种基于协同过滤的车辆推荐方法,包括:In a first aspect, an embodiment of the present application provides a vehicle recommendation method based on collaborative filtering, comprising:
根据车辆的企业停靠数据以及待推荐企业的历史用车数据,得到车辆的停靠特征权重;According to the company parking data of the vehicle and the historical vehicle usage data of the company to be recommended, the parking feature weight of the vehicle is obtained;
根据车辆停靠的企业对应的货物数据以及待推荐企业的历史用车数据,得到车辆的货物特征权重;The cargo feature weight of the vehicle is obtained based on the cargo data corresponding to the enterprise where the vehicle stops and the historical vehicle usage data of the enterprise to be recommended;
根据停靠特征权重以及货物特征权重计算车辆的加权平均权重;Calculate the weighted average weight of the vehicle based on the docking feature weight and the cargo feature weight;
根据车辆的加权平均权重的大小进行从高到低排序,将排在前面的预设数量个车辆推荐给企业。The vehicles are sorted from high to low according to their weighted average weights, and a preset number of vehicles at the top are recommended to the enterprise.
在一个可选地实施例中,根据车辆的企业停靠数据以及待推荐企业的历史用车数据,得到车辆的停靠特征权重,包括:In an optional embodiment, the parking feature weight of the vehicle is obtained according to the parking data of the vehicle and the historical vehicle usage data of the enterprise to be recommended, including:
根据车辆预设时间段内的企业停靠频数构建车辆的停靠特征向量;Constructing a vehicle's parking feature vector based on the frequency of the vehicle's parking at an enterprise within a preset time period;
根据车辆的停靠特征向量计算车辆之间的相似度,得到第一相似度矩阵;Calculate the similarity between vehicles according to the parking feature vectors of the vehicles to obtain a first similarity matrix;
根据待推荐企业对车辆的使用频次与待推荐企业历史用车的总使用频次的比值得到待推荐企业历史用车向量;The historical vehicle usage vector of the enterprise to be recommended is obtained according to the ratio of the vehicle usage frequency of the enterprise to be recommended to the total usage frequency of the historical vehicles of the enterprise to be recommended;
根据第一相似度矩阵与待推荐企业历史用车向量计算车辆的停靠特征权重。The parking feature weight of the vehicle is calculated according to the first similarity matrix and the historical vehicle usage vector of the enterprise to be recommended.
在一个可选地实施例中,根据车辆的停靠特征向量计算车辆之间的相似度,得到第一相似度矩阵,包括:In an optional embodiment, similarities between vehicles are calculated based on the parking feature vectors of the vehicles to obtain a first similarity matrix, including:
获取待推荐企业的位置信息以及用车时间信息;Obtain location information and vehicle use time information of the enterprise to be recommended;
根据位置信息以及用车时间信息筛选出待推荐车辆;Filter out the vehicles to be recommended based on location information and vehicle usage time information;
根据车辆的停靠特征向量计算待推荐车辆与任意车辆之间的相似度,得到第一相似度矩阵。The similarity between the vehicle to be recommended and any vehicle is calculated according to the parking feature vector of the vehicle to obtain a first similarity matrix.
在一个可选地实施例中,根据车辆停靠的企业对应的货物数据以及待推荐企业的历史用车数据,得到车辆的货物特征权重,包括:In an optional embodiment, the cargo feature weight of the vehicle is obtained according to the cargo data corresponding to the enterprise where the vehicle stops and the historical vehicle usage data of the enterprise to be recommended, including:
根据车辆预设时间段内的企业停靠频数以及停靠企业对应的货物标签得到车辆的货物标签权重,根据货物标签权重构建车辆的货物特征向量;The cargo label weight of the vehicle is obtained according to the frequency of the vehicle's stops at enterprises within a preset time period and the cargo labels corresponding to the stopped enterprises, and the cargo feature vector of the vehicle is constructed according to the cargo label weight;
根据车辆的货物特征向量计算车辆之间的相似度,得到第二相似度矩阵;Calculate the similarity between vehicles according to the cargo feature vectors of the vehicles to obtain a second similarity matrix;
根据待推荐企业对车辆的货物标签权重与待推荐企业历史用车的总货物标签权重的比值得到待推荐企业历史货物向量;The historical cargo vector of the enterprise to be recommended is obtained according to the ratio of the cargo label weight of the vehicle to be recommended to the total cargo label weight of the historical vehicles used by the enterprise to be recommended;
根据第二相似度矩阵与待推荐企业历史货物向量计算车辆的货物特征权重。The cargo feature weight of the vehicle is calculated according to the second similarity matrix and the historical cargo vector of the enterprise to be recommended.
在一个可选地实施例中,根据车辆预设时间段内的企业停靠频数以及停靠企业对应的货物标签得到车辆的货物标签权重,根据货物标签权重构建车辆的货物特征向量,包括:In an optional embodiment, the cargo label weight of the vehicle is obtained according to the frequency of the vehicle stopping at enterprises within a preset time period and the cargo labels corresponding to the stopped enterprises, and the cargo feature vector of the vehicle is constructed according to the cargo label weight, including:
根据如下公式计算车辆的货物标签权重:The cargo label weight of the vehicle is calculated according to the following formula:
其中,tj表示货物标签j的权重,mi表示企业i对应的货物标签类别数,pi表示车辆在企业i中的停靠频数,wij表示企业i中货物标签j的权重,n表示企业数量;Among them, tj represents the weight of cargo label j, mi represents the number of cargo label categories corresponding to enterprise i, pi represents the frequency of vehicle stops in enterprise i, wij represents the weight of cargo label j in enterprise i, and n represents the number of enterprises;
根据每个货物标签的权重构建车辆的货物特征向量:Construct the vehicle's cargo feature vector based on the weight of each cargo label:
其中,vi=[t1……tz];z表示货物标签类别数。Wherein, vi = [t 1 ... t z ]; z represents the number of cargo label categories.
在一个可选地实施例中,根据车辆的货物特征向量计算车辆之间的相似度,得到第二相似度矩阵,包括:In an optional embodiment, the similarity between vehicles is calculated based on the cargo feature vectors of the vehicles to obtain a second similarity matrix, including:
获取待推荐企业的位置信息以及用车时间信息;Obtain location information and vehicle use time information of the enterprise to be recommended;
根据位置信息以及用车时间信息筛选出待推荐车辆;Filter out the vehicles to be recommended based on location information and vehicle usage time information;
根据车辆的货物特征向量计算待推荐车辆与任意车辆之间的相似度,得到第二相似度矩阵。The similarity between the vehicle to be recommended and any vehicle is calculated according to the cargo feature vector of the vehicle to obtain a second similarity matrix.
在一个可选地实施例中,根据停靠特征权重以及货物特征权重计算车辆的加权平均权重,包括:In an optional embodiment, the weighted average weight of the vehicle is calculated according to the parking feature weight and the cargo feature weight, including:
根据如下公式计算车辆的加权平均权重:The weighted average weight of the vehicle is calculated according to the following formula:
w=a·we′+b·W′c w=a· we ′+b· W′c
其中,w表示车辆的加权平均权重,we′表示归一化后的停靠特征权重,wc′表示归一化后的货物特征权重,a,b分别表示预设的权重系数。Among them, w represents the weighted average weight of the vehicle, w e ′ represents the normalized stop feature weight, w c ′ represents the normalized cargo feature weight, and a and b represent the preset weight coefficients respectively.
第二方面,本申请实施例提供了一种基于协同过滤的车辆推荐装置,包括:In a second aspect, an embodiment of the present application provides a vehicle recommendation device based on collaborative filtering, comprising:
停靠权重计算模块,用于根据车辆的企业停靠数据以及待推荐企业的历史用车数据,得到车辆的停靠特征权重;The parking weight calculation module is used to obtain the parking feature weight of the vehicle according to the enterprise parking data of the vehicle and the historical vehicle usage data of the enterprise to be recommended;
货物权重计算模块,用于根据车辆停靠的企业对应的货物数据以及待推荐企业的历史用车数据,得到车辆的货物特征权重;The cargo weight calculation module is used to obtain the cargo feature weight of the vehicle based on the cargo data corresponding to the enterprise where the vehicle stops and the historical vehicle usage data of the enterprise to be recommended;
加权平均模块,用于根据停靠特征权重以及货物特征权重计算车辆的加权平均权重;The weighted average module is used to calculate the weighted average weight of the vehicle according to the stop feature weight and the cargo feature weight;
组合推荐模块,用于根据车辆的加权平均权重的大小进行从高到低排序,将排在前面的预设数量个车辆推荐给企业。The combined recommendation module is used to sort the vehicles from high to low according to their weighted average weights, and recommend a preset number of vehicles at the top to the enterprise.
第三方面,本申请实施例提供了一种基于协同过滤的车辆推荐设备,包括处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行上述实施例提供的基于协同过滤的车辆推荐方法。In a third aspect, an embodiment of the present application provides a vehicle recommendation device based on collaborative filtering, including a processor and a memory storing program instructions, wherein the processor is configured to execute the vehicle recommendation method based on collaborative filtering provided in the above embodiment when executing the program instructions.
第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机可读指令,计算机可读指令被处理器执行以实现上述实施例提供的一种基于协同过滤的车辆推荐方法。In a fourth aspect, an embodiment of the present application provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions are executed by a processor to implement a vehicle recommendation method based on collaborative filtering provided in the above embodiment.
本申请实施例提供的技术方案可以包括以下有益效果:The technical solution provided by the embodiments of the present application may have the following beneficial effects:
根据本申请实施例提供的基于协同过滤的车辆推荐方法,将企业找车问题转化为车辆推荐问题,根据车辆的历史轨迹数据与企业的围栏数据的空间关联,得到车辆的企业停靠特征权重,并根据停靠企业对应的货物特征,得到车辆的货物特征权重,根据车辆的停靠特征权重以及货物特征权重进行组合推荐,同时考虑了待推荐车辆与企业的空间关联以及货物关联,大大提高了推荐的成功率。According to the collaborative filtering-based vehicle recommendation method provided in the embodiment of the present application, the enterprise vehicle search problem is converted into a vehicle recommendation problem. The enterprise parking feature weight of the vehicle is obtained based on the spatial association between the vehicle's historical trajectory data and the enterprise's fence data, and the vehicle's cargo feature weight is obtained based on the cargo features corresponding to the parked enterprise. Combined recommendations are made based on the vehicle's parking feature weight and cargo feature weight. At the same time, the spatial association between the vehicle to be recommended and the enterprise and the cargo association are taken into account, which greatly improves the success rate of the recommendation.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种基于协同过滤的车辆推荐方法的流程示意图;FIG1 is a flow chart of a vehicle recommendation method based on collaborative filtering according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种基于协同过滤的车辆推荐方法的流程示意图;FIG2 is a schematic flow chart of a vehicle recommendation method based on collaborative filtering according to an exemplary embodiment;
图3是根据一示例性实施例示出的一种车辆企业停靠频数的示意图;FIG3 is a schematic diagram showing the stop frequency of a vehicle enterprise according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种车辆与企业货物标签的示意图;FIG4 is a schematic diagram showing a vehicle and a corporate cargo tag according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种基于协同过滤的车辆推荐装置的结构示意图;FIG5 is a schematic diagram of the structure of a vehicle recommendation device based on collaborative filtering according to an exemplary embodiment;
图6是根据一示例性实施例示出的一种基于协同过滤的车辆推荐设备的结构示意图;FIG6 is a schematic diagram of the structure of a vehicle recommendation device based on collaborative filtering according to an exemplary embodiment;
图7是根据一示例性实施例示出的一种计算机存储介质的示意图。Fig. 7 is a schematic diagram showing a computer storage medium according to an exemplary embodiment.
具体实施方式DETAILED DESCRIPTION
以下描述和附图充分地示出本发明的具体实施方案,以使本领域的技术人员能够实践它们。The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them.
应当明确,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本发明的一些方面相一致的系统和方法的例子。When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples of systems and methods consistent with some aspects of the present invention as detailed in the attached claims.
下面将结合附图对本申请实施例提供的基于协同过滤的车辆推荐方法进行详细介绍。参见图1,该方法具体包括以下步骤。The following is a detailed introduction to the vehicle recommendation method based on collaborative filtering provided by the embodiment of the present application in conjunction with the accompanying drawings. Referring to Figure 1, the method specifically includes the following steps.
S101根据车辆的企业停靠数据以及待推荐企业的历史用车数据,得到车辆的停靠特征权重。S101 obtains the parking feature weight of the vehicle according to the company parking data of the vehicle and the historical vehicle usage data of the company to be recommended.
在一种可能的实现方式中,在执行步骤S101之前,还包括构建企业的电子围栏。首先,获取标签为物流企业、工厂、矿区等与货物运输有关的企业的电子围栏,然后构造向量空间,并获取每个企业的围栏ID、货物类型、围栏形状、所属行政区等信息。In a possible implementation, before executing step S101, the electronic fence of the enterprise is constructed. First, the electronic fences of enterprises related to cargo transportation such as logistics enterprises, factories, and mining areas are obtained, and then the vector space is constructed to obtain the fence ID, cargo type, fence shape, and administrative district of each enterprise.
进一步地,获取车辆在预设时间段内的轨迹数据,根据车辆的轨迹数据统计每辆车在预设时间段内在每个企业围栏的停靠频数。根据车辆预设时间段内的企业停靠频数构建车辆的停靠特征向量。Furthermore, the trajectory data of the vehicle in a preset time period is obtained, and the stop frequency of each vehicle at each enterprise fence in the preset time period is counted according to the trajectory data of the vehicle. The stop feature vector of the vehicle is constructed according to the stop frequency of the vehicle in the enterprise in the preset time period.
图3是根据一示例性实施例示出的一种车辆企业停靠频数的示意图,如图3所示,某辆车在企业A中的停靠频数为3、在企业B中的停靠频数为7,在企业C中的停靠频数为6,在企业D中的停靠频数为2,在企业E中的停靠频数为5,在企业F中的停靠频数为0。Figure 3 is a schematic diagram of the stop frequency of a vehicle in an enterprise according to an exemplary embodiment. As shown in Figure 3, the stop frequency of a certain vehicle in enterprise A is 3, the stop frequency in enterprise B is 7, the stop frequency in enterprise C is 6, the stop frequency in enterprise D is 2, the stop frequency in enterprise E is 5, and the stop frequency in enterprise F is 0.
由此,可将全量车表示为稀疏矩阵VE:Therefore, the total number of vehicles can be represented as a sparse matrix V E :
vi=[fi1 … … fik] vi = [ fi1 … … fik ]
其中,每个行向量vi即为车辆i的停靠特征向量,fij表示车辆i在企业j中的停靠频数,k为企业总数。Among them, each row vector vi is the parking feature vector of vehicle i, fij represents the parking frequency of vehicle i in enterprise j, and k is the total number of enterprises.
进一步地,根据车辆的停靠特征向量计算车辆之间的相似度,判断车辆所停靠企业的相似度,得到第一相似度矩阵。Furthermore, the similarity between vehicles is calculated based on the parking feature vectors of the vehicles, and the similarity of the enterprises where the vehicles park is determined to obtain a first similarity matrix.
首先,计算全量车的企业向量相似度矩阵:First, calculate the enterprise vector similarity matrix of all vehicles:
其中,任意元素sij表示车辆vi与车辆vj的余弦相似度。Among them, any element s ij represents the cosine similarity between vehicle vi and vehicle v j .
进一步地,获取待推荐企业的位置信息以及用车时间信息,根据位置信息以及用车时间信息筛选出待推荐车辆,根据车辆的停靠特征向量计算待推荐车辆与任意车辆之间的相似度,得到第一相似度矩阵。Furthermore, the location information and vehicle usage time information of the enterprise to be recommended are obtained, the vehicles to be recommended are screened out according to the location information and vehicle usage time information, and the similarity between the vehicle to be recommended and any vehicle is calculated according to the parking feature vector of the vehicle to obtain a first similarity matrix.
按时间和空间条件筛选符合约束的车辆作为待推荐车辆,即在给定时间区间内出现在某一地理范围内的车辆,形成第一相似度矩阵:The vehicles that meet the constraints are selected according to the time and space conditions as the vehicles to be recommended, that is, the vehicles that appear in a certain geographical range within a given time interval, forming the first similarity matrix:
其中,Se为m*n维矩阵,m为待推荐车辆数,n为全部车辆数,因此,任意元素sij的含义为待推荐车辆vi与任意车辆vj的相似度。Among them, Se is an m*n dimensional matrix, m is the number of vehicles to be recommended, and n is the total number of vehicles. Therefore, the meaning of any element sij is the similarity between the vehicle to be recommended vi and any vehicle vj .
进一步地,根据待推荐企业对车辆的使用频次与待推荐企业历史用车的总使用频次的比值得到待推荐企业历史用车向量。其中,企业对车辆的使用频次,也就是车辆在该企业的停靠频数。Furthermore, the historical vehicle usage vector of the enterprise to be recommended is obtained according to the ratio of the vehicle usage frequency of the enterprise to be recommended to the total vehicle usage frequency of the enterprise to be recommended. The vehicle usage frequency of the enterprise is the parking frequency of the vehicle at the enterprise.
re=[r1 … … rn] re = [r 1 … … r n ]
其中,元素rj表示企业对车辆vj的使用频次fj与企业所有曾用车总使用频次N之比。Among them, the element rj represents the ratio of the company's usage frequency fj of vehicle vj to the total usage frequency N of all vehicles ever used by the company.
进一步地,根据第一相似度矩阵与待推荐企业历史用车向量计算车辆的停靠特征权重。Furthermore, the parking feature weight of the vehicle is calculated based on the first similarity matrix and the historical vehicle usage vector of the enterprise to be recommended.
在一种可能的实现方式中,可根据如下公式计算车辆的停靠特征权重:In a possible implementation, the parking feature weight of the vehicle may be calculated according to the following formula:
we=Se·re T we = S e · r e T
其中,we表示车辆的停靠特征权重,Se表示第一相似度矩阵,re表示待推荐企业历史用车向量。Among them, we represents the parking feature weight of the vehicle, Se represents the first similarity matrix, and re represents the historical vehicle vector of the enterprise to be recommended.
最终计算结果we可表示为向量:The final calculation result w e can be expressed as a vector:
we=[w1 … … wm]T;w e = [w 1 ... ... w m ] T ;
其中,wi为任一待推荐车辆的停靠特征权重,m为待推荐车辆数,可以推导该车辆的停靠特征权重计算方式为:Among them, w i is the parking feature weight of any vehicle to be recommended, m is the number of vehicles to be recommended, and the parking feature weight calculation method of the vehicle can be derived as follows:
其中,N为待推荐企业车辆总使用频次,fj为待推荐企业曾用车辆vj的使用频次,sij为待推荐车辆vi与曾用车辆vj的相似度。Among them, N is the total usage frequency of the vehicles to be recommended by the enterprise, fj is the usage frequency of the vehicle vj used by the enterprise to be recommended, and sij is the similarity between the vehicle vi to be recommended and the vehicle vj used.
通过分析车辆与所有企业之间的停靠频次,可以得到车辆经常停靠的企业,进而得到车辆的运输路线,然后计算所有车辆之间的停靠企业向量之间的相似度,根据相似度矩阵以及待推荐企业的历史用车信息,得到车辆的停靠特征权重。By analyzing the stop frequency between the vehicle and all enterprises, we can get the enterprises where the vehicle frequently stops, and then get the vehicle's transportation route. Then we calculate the similarity between the stop enterprise vectors of all vehicles, and get the vehicle's stop feature weight based on the similarity matrix and the historical vehicle usage information of the enterprise to be recommended.
S102根据车辆停靠的企业对应的货物数据以及待推荐企业的历史用车数据,得到车辆的货物特征权重。S102 obtains the cargo feature weight of the vehicle based on the cargo data corresponding to the enterprise where the vehicle stops and the historical vehicle usage data of the enterprise to be recommended.
由于车源信息和货源信息不对称的原因,一个地区的车辆可能会存在小圈子现象,即一部分车只去有限的企业装货,从而导致圈子间的车辆不能复用。为了解决这一问题,本申请提出一种基于货物适配度的相似度计算方法。Due to the asymmetry of vehicle source information and cargo source information, vehicles in a region may have a small circle phenomenon, that is, some vehicles only go to limited enterprises to load cargo, resulting in the inability to reuse vehicles between circles. In order to solve this problem, this application proposes a similarity calculation method based on cargo adaptability.
首先,根据车辆预设时间段内的企业停靠频数以及停靠企业对应的货物标签得到车辆的货物标签权重,根据货物标签权重构建车辆的货物特征向量。Firstly, the cargo label weight of the vehicle is obtained according to the frequency of the vehicle's stops at enterprises within a preset time period and the cargo labels corresponding to the stopped enterprises, and the cargo feature vector of the vehicle is constructed according to the cargo label weight.
图4是根据一示例性实施例示出的一种车辆与企业货物标签的示意图,如图4所示,车辆在企业A的停靠频数为3,企业A中的货物标签为X,车辆在企业B的停靠频数为7,企业B中的货物标签为Y,车辆在企业C的停靠频数为6,企业C中的货物标签为X和Y。FIG4 is a schematic diagram of a vehicle and enterprise cargo labels according to an exemplary embodiment. As shown in FIG4 , the vehicle's stop frequency at enterprise A is 3, and the cargo label in enterprise A is X; the vehicle's stop frequency at enterprise B is 7, and the cargo label in enterprise B is Y; the vehicle's stop frequency at enterprise C is 6, and the cargo labels in enterprise C are X and Y.
然后,将目标车辆的企业停靠频数按货物标签聚合。如图3所示,货物X的标签权重聚合后为6,因为企业A中的停靠频数为3,再加上企业C中的停靠频数6的一半,最终权重为6。货物Y的标签权重为12.5,货物Z对应的标签权重为4.5。Then, the target vehicle’s company stop frequency is aggregated by cargo label. As shown in Figure 3, the label weight of cargo X is 6 after aggregation, because the stop frequency in company A is 3, plus half of the stop frequency 6 in company C, the final weight is 6. The label weight of cargo Y is 12.5, and the label weight corresponding to cargo Z is 4.5.
在一种可能的实现方式中,根据如下公式计算车辆的货物标签权重:In one possible implementation, the cargo label weight of the vehicle is calculated according to the following formula:
其中,tj表示货物标签j的权重,mi表示企业i对应的货物标签类别数,pi表示车辆在企业i中的停靠频数,wij表示企业i中货物标签j的权重,n表示企业数量。Among them, tj represents the weight of cargo label j, mi represents the number of cargo label categories corresponding to enterprise i, pi represents the frequency of vehicle stops in enterprise i, wij represents the weight of cargo label j in enterprise i, and n represents the number of enterprises.
进一步地,根据每个货物标签的权重构建车辆的货物特征向量:Furthermore, the cargo feature vector of the vehicle is constructed according to the weight of each cargo label:
其中,vi=[t1……tz];z表示货物标签类别数。Wherein, vi = [t 1 ... t z ]; z represents the number of cargo label categories.
进一步地,根据车辆的货物特征向量计算车辆之间的相似度,得到第二相似度矩阵。具体地,获取待推荐企业的位置信息以及用车时间信息,根据位置信息以及用车时间信息筛选出待推荐车辆,根据车辆的货物特征向量计算待推荐车辆与任意车辆之间的相似度,得到第二相似度矩阵。Furthermore, the similarity between vehicles is calculated based on the cargo feature vectors of the vehicles to obtain a second similarity matrix. Specifically, the location information and vehicle use time information of the enterprise to be recommended are obtained, the vehicle to be recommended is screened out based on the location information and vehicle use time information, and the similarity between the vehicle to be recommended and any vehicle is calculated based on the cargo feature vectors of the vehicles to obtain a second similarity matrix.
其中,Se为m*n维矩阵,m为待推荐车辆数,n为全部车辆数,因此,任意元素sij的含义为待推荐车辆vi与任意车辆vj的相似度。Among them, Se is an m*n dimensional matrix, m is the number of vehicles to be recommended, and n is the total number of vehicles. Therefore, the meaning of any element sij is the similarity between the vehicle to be recommended vi and any vehicle vj .
进一步地,根据待推荐企业对车辆的货物标签权重与待推荐企业历史用车的总货物标签权重的比值得到待推荐企业历史货物向量。Furthermore, the historical cargo vector of the enterprise to be recommended is obtained according to the ratio of the cargo label weight of the vehicle of the enterprise to be recommended to the total cargo label weight of the historical vehicles used by the enterprise to be recommended.
rc=[r1 … … rn]r c =[r 1 … … r n ]
其中,元素rj表示车辆vj的货物标签权重tj与企业所有曾用车的货物标签权重的和的比值。Among them, the element rj represents the ratio of the cargo label weight tj of vehicle vj to the sum of the cargo label weights of all vehicles used by the enterprise.
进一步地,根据第二相似度矩阵与待推荐企业历史货物向量计算车辆的货物特征权重。Furthermore, the cargo feature weight of the vehicle is calculated based on the second similarity matrix and the historical cargo vector of the enterprise to be recommended.
在一种可能的实现方式中,可根据如下公式计算车辆的货物特征权重:In a possible implementation, the cargo feature weight of a vehicle may be calculated according to the following formula:
wc=Sc·rc T w c =S c · rc T
其中,wc表示车辆的货物特征权重,Sc表示第二相似度矩阵,rc表示待推荐企业历史货物向量。Among them, wc represents the cargo feature weight of the vehicle, Sc represents the second similarity matrix, and rc represents the historical cargo vector of the enterprise to be recommended.
最终计算结果wc可表示为向量:The final calculation result w c can be expressed as a vector:
wc=[w1 … … wm]T;w c = [w 1 ... ... w m ] T ;
根据该步骤,可以根据车辆停靠企业对应的货物标签,进一步分析得到车辆的货物特征权重。According to this step, the cargo feature weight of the vehicle can be further analyzed based on the cargo label corresponding to the enterprise where the vehicle stops.
S103根据停靠特征权重以及货物特征权重计算车辆的加权平均权重。S103 calculates the weighted average weight of the vehicle according to the parking feature weight and the cargo feature weight.
在一种可能的实现方式中,将两种待推荐车辆的权重归一化,并加权求和,生成最终的权重计算结果:In a possible implementation, the weights of the two vehicles to be recommended are normalized and weighted summed to generate the final weight calculation result:
w=a·we′+b·W′c w=a· we ′+b· W′c
其中,w表示车辆的加权平均权重,we′表示归一化后的停靠特征权重,wc′表示归一化后的货物特征权重,a,b分别表示预设的权重系数。本申请实施例对权重系数a、b的取值不做具体限定,可根据实际情况自行设定。例如,某待推荐企业想找运输货物一致的车辆,可将货物特征权重的系数设定的高一些,或者想找运输线路一致的车辆,可将停靠特征权重的系数设定的高一些。Among them, w represents the weighted average weight of the vehicle, we ′ represents the normalized stop feature weight, w c ′ represents the normalized cargo feature weight, and a and b represent preset weight coefficients respectively. The embodiment of the present application does not specifically limit the values of the weight coefficients a and b, which can be set according to actual conditions. For example, if a recommended enterprise wants to find a vehicle that transports the same cargo, it can set the coefficient of the cargo feature weight higher, or if it wants to find a vehicle with the same transportation route, it can set the coefficient of the stop feature weight higher.
通过将两种权重进行加权平均,可以得到更加准确的车辆权重,提高推荐的准确率。By taking a weighted average of the two weights, a more accurate vehicle weight can be obtained, thereby improving the accuracy of recommendations.
S104根据车辆的加权平均权重的大小进行从高到低排序,将排在前面的预设数量个车辆推荐给企业。S104 sorts the vehicles from high to low according to their weighted average weights, and recommends a preset number of vehicles at the top to the enterprise.
在一种可能的实现方式中,得到车辆的加权平均权重之后,根据车辆的加权平均权重的大小进行从高到低排序,将排在前面的预设数量个车辆推荐给企业。例如,将排在前面的20%个车辆推荐给企业,或者将排在前面的50%个车辆推荐给企业,本申请实施例不做具体限定,可根据实际需求自行设定。In a possible implementation, after obtaining the weighted average weight of the vehicles, the vehicles are sorted from high to low according to the weighted average weight of the vehicles, and a preset number of vehicles in the front are recommended to the enterprise. For example, the front 20% of the vehicles are recommended to the enterprise, or the front 50% of the vehicles are recommended to the enterprise. This embodiment of the application does not make specific limitations and can be set according to actual needs.
为了便于理解本申请实施例提供的基于协同过滤的车辆推荐方法,下面结合附图2进行说明。如图2所示,该方法包括如下步骤。In order to facilitate understanding of the vehicle recommendation method based on collaborative filtering provided in the embodiment of the present application, the following is an explanation in conjunction with Figure 2. As shown in Figure 2, the method includes the following steps.
首先,构建企业的电子围栏。首先,获取标签为物流企业、工厂、矿区等与货物运输有关的企业的电子围栏,然后构造向量空间,并获取每个企业的围栏ID、货物类型、围栏形状、所属行政区等信息。First, construct the electronic fence of the enterprise. First, obtain the electronic fences of enterprises related to cargo transportation such as logistics enterprises, factories, and mining areas, then construct the vector space and obtain the fence ID, cargo type, fence shape, and administrative district of each enterprise.
进一步地,统计车辆在所有企业的停靠频数,根据车辆预设时间段内的企业停靠频数构建车辆的停靠特征向量。根据车辆的停靠特征向量计算车辆之间的相似度,得到第一相似度矩阵。根据待推荐企业对车辆的使用频次与待推荐企业历史用车的总使用频次的比值得到待推荐企业历史用车向量;根据第一相似度矩阵与待推荐企业曾历史用车向量计算车辆的停靠特征权重。Furthermore, the parking frequency of the vehicle in all enterprises is counted, and the parking feature vector of the vehicle is constructed according to the parking frequency of the enterprise in the preset time period of the vehicle. The similarity between the vehicles is calculated according to the parking feature vector of the vehicle to obtain the first similarity matrix. The historical vehicle vector of the recommended enterprise is obtained according to the ratio of the frequency of use of the vehicle by the recommended enterprise to the total frequency of use of the historical vehicle of the recommended enterprise; the parking feature weight of the vehicle is calculated according to the first similarity matrix and the historical vehicle vector of the recommended enterprise.
进一步地,根据车辆预设时间段内的企业停靠频数以及停靠企业对应的货物标签得到车辆的货物标签权重,根据货物标签权重构建车辆的货物特征向量;根据车辆的货物特征向量计算车辆之间的相似度,得到第二相似度矩阵;根据待推荐企业对车辆的货物标签权重与待推荐企业历史用车的总货物标签权重的比值得到待推荐企业历史货物向量;根据第二相似度矩阵与待推荐企业历史货物向量计算车辆的货物特征权重。Furthermore, the cargo label weight of the vehicle is obtained according to the frequency of the vehicle's stops at enterprises within a preset time period and the cargo labels corresponding to the stopped enterprises, and the cargo feature vector of the vehicle is constructed according to the cargo label weight; the similarity between vehicles is calculated according to the cargo feature vectors of the vehicles to obtain a second similarity matrix; the historical cargo vector of the enterprise to be recommended is obtained according to the ratio of the cargo label weight of the vehicle by the enterprise to be recommended to the total cargo label weight of the historical vehicles used by the enterprise to be recommended; the cargo feature weight of the vehicle is calculated according to the second similarity matrix and the historical cargo vector of the enterprise to be recommended.
根据停靠特征权重以及货物特征权重计算车辆的加权平均权重,根据加权平均权重对车辆进行组合推荐。将加权平均权重较高的预设数量个车辆推荐给企业。The weighted average weight of the vehicles is calculated based on the parking feature weight and the cargo feature weight, and the vehicles are combined and recommended based on the weighted average weight. A preset number of vehicles with higher weighted average weights are recommended to the enterprise.
根据本申请实施例提供的基于协同过滤的车辆推荐方法,将企业找车问题转化为车辆推荐问题,根据车辆的历史轨迹数据与企业的围栏数据的空间关联,得到车辆的企业停靠特征权重,并根据停靠企业对应的货物特征,得到车辆的货物特征权重,根据车辆的停靠特征权重以及货物特征权重进行组合推荐,同时考虑了待推荐车辆与企业的空间关联以及货物关联,大大提高了推荐的成功率。According to the collaborative filtering-based vehicle recommendation method provided in the embodiment of the present application, the enterprise vehicle search problem is converted into a vehicle recommendation problem. The enterprise parking feature weight of the vehicle is obtained based on the spatial association between the vehicle's historical trajectory data and the enterprise's fence data, and the vehicle's cargo feature weight is obtained based on the cargo features corresponding to the parked enterprise. Combined recommendations are made based on the vehicle's parking feature weight and cargo feature weight. At the same time, the spatial association between the vehicle to be recommended and the enterprise and the cargo association are taken into account, which greatly improves the success rate of the recommendation.
本申请实施例还提供一种基于协同过滤的车辆推荐装置,该装置用于执行上述实施例的基于协同过滤的车辆推荐方法,如图5所示,该装置包括:The embodiment of the present application further provides a vehicle recommendation device based on collaborative filtering, which is used to execute the vehicle recommendation method based on collaborative filtering of the above embodiment. As shown in FIG5 , the device includes:
停靠权重计算模块501,用于根据车辆的企业停靠数据以及待推荐企业的历史用车数据,得到车辆的停靠特征权重;The parking weight calculation module 501 is used to obtain the parking feature weight of the vehicle according to the enterprise parking data of the vehicle and the historical vehicle usage data of the enterprise to be recommended;
货物权重计算模块502,用于根据车辆停靠的企业对应的货物数据以及待推荐企业的历史用车数据,得到车辆的货物特征权重;The cargo weight calculation module 502 is used to obtain the cargo feature weight of the vehicle according to the cargo data corresponding to the enterprise where the vehicle stops and the historical vehicle usage data of the enterprise to be recommended;
加权平均模块503,用于根据停靠特征权重以及货物特征权重计算车辆的加权平均权重;The weighted average module 503 is used to calculate the weighted average weight of the vehicle according to the parking feature weight and the cargo feature weight;
组合推荐模块504,用于根据车辆的加权平均权重的大小进行从高到低排序,将排在前面的预设数量个车辆推荐给企业。The combination recommendation module 504 is used to sort the vehicles from high to low according to the weighted average weights of the vehicles, and recommend a preset number of vehicles at the top to the enterprise.
需要说明的是,上述实施例提供的基于协同过滤的车辆推荐装置在执行基于协同过滤的车辆推荐方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的基于协同过滤的车辆推荐装置与基于协同过滤的车辆推荐方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that the collaborative filtering-based vehicle recommendation device provided in the above embodiment only uses the division of the above functional modules as an example when executing the collaborative filtering-based vehicle recommendation method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the collaborative filtering-based vehicle recommendation device provided in the above embodiment and the collaborative filtering-based vehicle recommendation method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.
本申请实施例还提供一种与前述实施例所提供的基于协同过滤的车辆推荐方法对应的电子设备,以执行上述基于协同过滤的车辆推荐方法。An embodiment of the present application also provides an electronic device corresponding to the vehicle recommendation method based on collaborative filtering provided in the aforementioned embodiment, so as to execute the aforementioned vehicle recommendation method based on collaborative filtering.
请参考图6,其示出了本申请的一些实施例所提供的一种电子设备的示意图。如图6所示,电子设备包括:处理器600,存储器601,总线602和通信接口603,处理器600、通信接口603和存储器601通过总线602连接;存储器601中存储有可在处理器600上运行的计算机程序,处理器600运行计算机程序时执行本申请前述任一实施例所提供的基于协同过滤的车辆推荐方法。Please refer to Figure 6, which shows a schematic diagram of an electronic device provided by some embodiments of the present application. As shown in Figure 6, the electronic device includes: a processor 600, a memory 601, a bus 602 and a communication interface 603, and the processor 600, the communication interface 603 and the memory 601 are connected through the bus 602; the memory 601 stores a computer program that can be run on the processor 600, and when the processor 600 runs the computer program, the vehicle recommendation method based on collaborative filtering provided by any of the aforementioned embodiments of the present application is executed.
其中,存储器601可能包含高速随机存取存储器(RAM:Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口603(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网、广域网、本地网、城域网等。The memory 601 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 603 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
总线602可以是ISA总线、PCI总线或EISA总线等。总线可以分为地址总线、数据总线、控制总线等。其中,存储器601用于存储程序,处理器600在接收到执行指令后,执行程序,前述本申请实施例任一实施方式揭示的基于协同过滤的车辆推荐方法可以应用于处理器600中,或者由处理器600实现。The bus 602 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 601 is used to store programs, and the processor 600 executes the programs after receiving the execution instructions. The vehicle recommendation method based on collaborative filtering disclosed in any of the embodiments of the present application may be applied to the processor 600, or implemented by the processor 600.
处理器600可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器600中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器600可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器601,处理器600读取存储器601中的信息,结合其硬件完成上述方法的步骤。The processor 600 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 600. The above processor 600 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 601, and the processor 600 reads the information in the memory 601 and completes the steps of the above method in combination with its hardware.
本申请实施例提供的电子设备与本申请实施例提供的基于协同过滤的车辆推荐方法出于相同的发明构思,具有与其采用、运行或实现的方法相同的有益效果。The electronic device provided in the embodiment of the present application and the vehicle recommendation method based on collaborative filtering provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.
本申请实施例还提供一种与前述实施例所提供的基于协同过滤的车辆推荐方法对应的计算机可读存储介质,请参考图7,其示出的计算机可读存储介质为光盘700,其上存储有计算机程序(即程序产品),计算机程序在被处理器运行时,会执行前述任意实施例所提供的基于协同过滤的车辆推荐方法。An embodiment of the present application also provides a computer-readable storage medium corresponding to the collaborative filtering-based vehicle recommendation method provided in the aforementioned embodiment. Please refer to Figure 7, which shows that the computer-readable storage medium is a CD 700 on which a computer program (i.e., a program product) is stored. When the computer program is executed by the processor, it will execute the collaborative filtering-based vehicle recommendation method provided in any of the aforementioned embodiments.
需要说明的是,计算机可读存储介质的例子还可以包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他光学、磁性存储介质,在此不再一一赘述。It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
本申请的上述实施例提供的计算机可读存储介质与本申请实施例提供的基于协同过滤的车辆推荐方法出于相同的发明构思,具有与其存储的应用程序所采用、运行或实现的方法相同的有益效果。The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the vehicle recommendation method based on collaborative filtering provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application program stored therein.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111589891.5A CN114564655B (en) | 2021-12-23 | 2021-12-23 | Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111589891.5A CN114564655B (en) | 2021-12-23 | 2021-12-23 | Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114564655A CN114564655A (en) | 2022-05-31 |
| CN114564655B true CN114564655B (en) | 2024-11-08 |
Family
ID=81712688
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111589891.5A Active CN114564655B (en) | 2021-12-23 | 2021-12-23 | Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114564655B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101697219A (en) * | 2009-10-30 | 2010-04-21 | 武汉翼彩科技有限公司 | Method for monitoring third party logistics vehicles by GPS |
| CN112612975A (en) * | 2020-12-30 | 2021-04-06 | 北京优挂信息科技有限公司 | Method, device, equipment and storage medium for identifying type of commonly-transported goods of vehicle |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8306921B2 (en) * | 2008-02-13 | 2012-11-06 | Toyota Motor Engineering & Manufacturing North America, Inc. | Mobile recommendation and reservation system |
| CN106228386B (en) * | 2016-07-12 | 2018-09-25 | 腾讯科技(深圳)有限公司 | A kind of information-pushing method and device |
| US12008455B2 (en) * | 2019-06-18 | 2024-06-11 | Driverbase Inc. | Personalized vehicle recommender system |
| CN110457589B (en) * | 2019-08-19 | 2020-05-12 | 上海新共赢信息科技有限公司 | Vehicle recommendation method, device, equipment and storage medium |
| KR102081555B1 (en) * | 2019-12-04 | 2020-02-25 | 최현빈 | Apparatus for Providing Service of Assigning Cargo Vehicles and Driving Method Thereof |
| WO2021136324A1 (en) * | 2019-12-31 | 2021-07-08 | 北京骑胜科技有限公司 | Information pushing method and system for shared vehicle |
| CN113450169A (en) * | 2020-03-27 | 2021-09-28 | 杭州大搜车汽车服务有限公司 | Method and system for processing vehicle recommendation information, computer equipment and storage medium |
| US11062602B1 (en) * | 2020-05-01 | 2021-07-13 | Here Global B.V. | Method and apparatus for recommending temporary parking |
| CN112284407A (en) * | 2020-12-30 | 2021-01-29 | 智道网联科技(北京)有限公司 | Method and device for recommending driving information |
| CN112700201B (en) * | 2021-01-12 | 2023-08-15 | 上海斑马来拉物流科技有限公司 | Goods source recommending method, electronic equipment and storage medium |
| CN113268678B (en) * | 2021-04-07 | 2023-10-27 | 北京中交兴路信息科技有限公司 | Semantic mining method and device for vehicle stop points, storage medium and terminal |
| CN113626656B (en) * | 2021-08-09 | 2024-10-01 | 北京中交兴路信息科技有限公司 | Method, device, equipment and storage medium for identifying relationship type between enterprise and vehicle |
-
2021
- 2021-12-23 CN CN202111589891.5A patent/CN114564655B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101697219A (en) * | 2009-10-30 | 2010-04-21 | 武汉翼彩科技有限公司 | Method for monitoring third party logistics vehicles by GPS |
| CN112612975A (en) * | 2020-12-30 | 2021-04-06 | 北京优挂信息科技有限公司 | Method, device, equipment and storage medium for identifying type of commonly-transported goods of vehicle |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114564655A (en) | 2022-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102467726B (en) | A kind of data processing method based on online trade platform and device | |
| CN112862184A (en) | Transportation information prediction method and device, electronic equipment and readable storage medium | |
| JP2022508280A (en) | Methods and systems for automatic generation of multimodal cargo services | |
| CN109165886B (en) | Logistics vehicle path planning method and device, equipment and storage medium | |
| CN102034194A (en) | Logistics billing method based on rule | |
| CN110008986B (en) | Batch risk case identification method and device and electronic equipment | |
| CN112669053A (en) | Fraud group identification method, device, equipment and medium based on sales data | |
| CN113807555A (en) | Address selection method and device for distribution center, electronic equipment and storage medium | |
| CN112686444B (en) | Truck route planning method and device based on similar vehicle driving characteristics data | |
| CN115587779A (en) | Freight transportation price fault-tolerant estimation method based on space-time dynamic information | |
| Holguín-Veras et al. | Commercial vehicle empty trip models with variable zero order empty trip probabilities | |
| CN109886618B (en) | Method and device for optimizing logistics operation | |
| Ranathunga et al. | Simulation-based efficiency assessment of integrated first-mile pickup and last-mile delivery in an e-commerce logistics network | |
| CN113139765A (en) | Logistics recommendation method and device based on temporal network and computing equipment | |
| CN114564655B (en) | Vehicle recommendation method, device, equipment and storage medium based on collaborative filtering | |
| CN114564627A (en) | Enterprise relation analysis method and system based on truck data and storage medium | |
| CN114707936A (en) | A method, device, device and storage medium for path planning for shipping | |
| CN117078359B (en) | Product recommendation methods, systems, equipment and media based on user group classification | |
| CN114138862A (en) | Fence-based vehicle checking method and device and storage medium | |
| CN105677776A (en) | Data processing method and device | |
| CN114461933B (en) | Vehicle recommendation method, device and equipment based on periphery search and storage medium | |
| CN114154577B (en) | A method and device for identifying enterprise fleets based on stop point clustering | |
| CN106447050A (en) | A recycling planning method for scrapped automobiles that balances the pricing and recycling costs of recycling companies | |
| CN114724414B (en) | Method and device for determining urban air traffic sharing rate, electronic equipment and medium | |
| CN114821843B (en) | A method and system for recommending ETC services |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: 100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee after: Beijing Tranwiseway Information Technology Co.,Ltd. Country or region after: China Address before: 100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee before: BEIJING TRANWISEWAY INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250701 Address after: 101116 Beijing Tongzhou District, Beilangying Village, No. 1 Building 2, 3rd Floor, Room 101 Patentee after: Beijing Xinglu Chelian Technology Co.,Ltd. Country or region after: China Address before: 100176 block a, qianfang building, No.27, Zhongguancun Software Park, No.8, Dongbeiwang West Road, Haidian District, Beijing Patentee before: Beijing Tranwiseway Information Technology Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |