CN110750535A - 一种排序结果更新方法 - Google Patents

一种排序结果更新方法 Download PDF

Info

Publication number
CN110750535A
CN110750535A CN201910926655.4A CN201910926655A CN110750535A CN 110750535 A CN110750535 A CN 110750535A CN 201910926655 A CN201910926655 A CN 201910926655A CN 110750535 A CN110750535 A CN 110750535A
Authority
CN
China
Prior art keywords
sorting
score
articles
result
sorted
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.)
Granted
Application number
CN201910926655.4A
Other languages
English (en)
Other versions
CN110750535B (zh
Inventor
季飞
杨晶生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Microphone Culture Media Co Ltd
Original Assignee
Shanghai Microphone Culture Media Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Microphone Culture Media Co Ltd filed Critical Shanghai Microphone Culture Media Co Ltd
Priority to CN201910926655.4A priority Critical patent/CN110750535B/zh
Publication of CN110750535A publication Critical patent/CN110750535A/zh
Application granted granted Critical
Publication of CN110750535B publication Critical patent/CN110750535B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • G06F16/24539Query rewriting; Transformation using cached or materialised query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明属于排序结果更新领域,尤其时涉及一种排序结果更新方法,包括:根据排序算法计算出待排序物品的得分值;将物品的得分值进行加权处理,得到每个物品排序权重值;基于物品的排序权重值作为重排序的随机因素,随机加权后得到新的排序结果;对排序结果进行数据的组装展示;得到每个排序物品的排序分值score;weight=(score*1000)3;将所有物品weight值相加得到中的值,每个物品对应一个区间,每次随机0到最大值,或得一个区间的物品后,调整最大值将排在第一个接着随机。本发明将排序算法得出的得分作为重排序的输入,加权随机既保证了原有的排序效果,又让更多的物品得到了头部曝光。

Description

一种排序结果更新方法
技术领域
本发明涉及排序结果更新领域,尤其涉及一种排序结果更新方法。
背景技术
在实际业务中,常常会用到排序方法,排序方法存在一个问题,相同的计算方式,计算结果的相对顺序长期保持不变。
排序结果的不变会导致头部内容长期在头部,中尾部内容得不到充分曝光的机会。
为此,我们提出一种排序结果更新方法来解决上述问题。
发明内容
1、发明目的。
本发明提出了一种可以将中尾部内容充分曝光的排序结果更新方法。
2、本发明所采用的技术方案。
一种排序结果更新方法,具体包括以下步骤:
S1、根据排序算法计算出待排序物品的得分值;
S2、将物品的得分值进行加权处理,得到每个物品排序权重值;
S3、基于物品的排序权重值作为重排序的随机因素,随机加权后得到新的排序结果;
S4、对排序结果进行数据的组装展示;
S5、得到每个排序物品的排序分值score;
S6、weight=(score*1000)3
S7、将所有物品weight值相加得到中的值,每个物品对应一个区间,每次随机0到最大值,或得一个区间的物品后,调整最大值将排在第一个接着随机。
在上述一种排序结果更新方法中,在进行所述S3步骤前先对排序结果进行检测,检测排序结果中是否有修改后的排序物品,检测到存在修改后的排序物品后重新进行排序算法计算。
在上述一种排序结果更新方法中,其特征在于,基于排序物品生成该对象的分档排序分,根据分档排序分产生排序结果。
在上述一种排序结果更新方法中,在对缓存中的所述排序结果进行正排索引计算以对所述排序结果进行实时更新后,所述方法还包括:根据组合展示请求在所述缓存中进行结果组合展示。
在上述一种排序结果更新方法中,所述将对象的分档排序分与影响排序结果的其他特征分数的加权和作为该对象的排序分值score。
在上述一种排序结果更新方法中,在所述步骤S1前将所有排序物品的时间戳和前一次更新时所保留的排序物品的时间戳进行比较,如果检测到排序物品出现更新时,在所述步骤S7中将该排序物品调整到最大值。
3、本发明所产生的技术效果。
1、创新之处在于将排序算法得出的得分作为重排序的输入,加权随机既保证了原有的排序效果,又让更多的物品得到了头部曝光。
2、同时排序模块的基础上增加了重排序模块,插件式的方案不入侵原有排序算法,通用性强,适合大多数的排序算法。
附图说明
图1为本发明提出的一种排序结果更新方法的原理框图。
具体实施方式
以下实施例仅处于说明性目的,而不是想要限制本发明的范围。
实施例
一种排序结果更新方法,具体包括以下步骤:
S1、根据排序算法计算出待排序物品的得分值;
S2、将物品的得分值进行加权处理,得到每个物品排序权重值;
S3、基于物品的排序权重值作为重排序的随机因素,随机加权后得到新的排序结果;
S4、对排序结果进行数据的组装展示;
S5、得到每个排序物品的排序分值score;
S6、weight=(score*1000)3
S7、将所有物品weight值相加得到中的值,每个物品对应一个区间,每次随机0到最大值,或得一个区间的物品后,调整最大值将排在第一个接着随机。
其中,在进行所述S3步骤前先对排序结果进行检测,检测排序结果中是否有修改后的排序物品,检测到存在修改后的排序物品后重新进行排序算法计算。
其中,基于排序物品生成该对象的分档排序分,根据分档排序分产生排序结果。
其中,在对缓存中的所述排序结果进行正排索引计算以对所述排序结果进行实时更新后,所述方法还包括:根据组合展示请求在所述缓存中进行结果组合展示。
其中,所述将对象的分档排序分与影响排序结果的其他特征分数的加权和作为该对象的排序分值score。
其中,在所述步骤S1前将所有排序物品的时间戳和前一次更新时所保留的排序物品的时间戳进行比较,如果检测到排序物品出现更新时,在所述步骤S7中将该排序物品调整到最大值。
上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。

Claims (6)

1.一种排序结果更新方法,其特征在于,具体包括以下步骤:
S1、根据排序算法计算出待排序物品的得分值;
S2、将物品的得分值进行加权处理,得到每个物品排序权重值;
S3、基于物品的排序权重值作为重排序的随机因素,随机加权后得到新的排序结果;
S4、对排序结果进行数据的组装展示;
S5、得到每个排序物品的排序分值score;
S6、weight=(score*1000)3
S7、将所有物品weight值相加得到中的值,每个物品对应一个区间,每次随机0到最大值,或得一个区间的物品后,调整最大值将排在第一个接着随机。
2.根据权利要求1所述的一种排序结果更新方法,其特征在于,在进行所述S3步骤前先对排序结果进行检测,检测排序结果中是否有修改后的排序物品,检测到存在修改后的排序物品后重新进行排序算法计算。
3.根据权利要求1所述的一种排序结果更新方法,其特征在于,基于排序物品生成该对象的分档排序分,根据分档排序分产生排序结果。
4.根据权利要求1所述的一种排序结果更新方法,其特征在于,在对缓存中的所述排序结果进行正排索引计算以对所述排序结果进行实时更新后,所述方法还包括:根据组合展示请求在所述缓存中进行结果组合展示。
5.根据权利要求3所述的一种排序结果更新方法,其特征在于,所述将对象的分档排序分与影响排序结果的其他特征分数的加权和作为该对象的排序分值score。
6.根据权利要求1所述的一种排序结果更新方法,其特征在于,在所述步骤S1前将所有排序物品的时间戳和前一次更新时所保留的排序物品的时间戳进行比较,如果检测到排序物品出现更新时,在所述步骤S7中将该排序物品调整到最大值。
CN201910926655.4A 2019-09-27 2019-09-27 一种排序结果更新方法 Active CN110750535B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910926655.4A CN110750535B (zh) 2019-09-27 2019-09-27 一种排序结果更新方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910926655.4A CN110750535B (zh) 2019-09-27 2019-09-27 一种排序结果更新方法

Publications (2)

Publication Number Publication Date
CN110750535A true CN110750535A (zh) 2020-02-04
CN110750535B CN110750535B (zh) 2024-02-02

Family

ID=69277260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910926655.4A Active CN110750535B (zh) 2019-09-27 2019-09-27 一种排序结果更新方法

Country Status (1)

Country Link
CN (1) CN110750535B (zh)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982035B (zh) * 2011-09-05 2015-10-07 腾讯科技(深圳)有限公司 一种社区用户的搜索排序方法及***
CN104765782B (zh) * 2015-03-20 2019-06-21 五八同城信息技术有限公司 一种索引排序更新方法及装置
CN107230136A (zh) * 2017-05-31 2017-10-03 合肥亿迈杰软件有限公司 一种基于大数据的购物排序推送方法

Also Published As

Publication number Publication date
CN110750535B (zh) 2024-02-02

Similar Documents

Publication Publication Date Title
CN102722483B (zh) 用于确定输入法的候选项排序的方法、装置和设备
US8843470B2 (en) Meta classifier for query intent classification
CN107256494B (zh) 一种物品推荐方法及装置
CN107958030B (zh) 视频封面推荐模型优化方法及装置
JP2014502754A (ja) インターネットにおける有害情報の遮断方法と装置
CN111522940B (zh) 用于处理评论信息的方法和装置
CN108596276A (zh) 基于特征加权的朴素贝叶斯微博用户分类方法
JP6365032B2 (ja) データ分類方法、データ分類プログラム、及び、データ分類装置
CN112749330B (zh) 信息推送方法、装置、计算机设备和存储介质
Li-guo et al. A new naive Bayes text classification algorithm
CN112988848A (zh) 一种数据处理方法、装置、设备及存储介质
CN109948138B (zh) 一种评论处理方法及***
US11568314B2 (en) Data-driven online score caching for machine learning
CN110750535A (zh) 一种排序结果更新方法
JP2006004098A (ja) 評価情報生成装置、評価情報生成方法、及びプログラム
De Alfaro et al. Efficient techniques for crowdsourced top-k lists
WO2009092326A1 (zh) 在即时通讯工具群中获取社区平台相关内容的方法及装置
CN110490667B (zh) 一种数据处理方法、装置及电子设备
CN103430171A (zh) 互联网资源上根据其组合内容的广告显示方法
CN110959157B (zh) 加速大规模相似性计算
CN117112902A (zh) 一种基于多模态对比学习的离线强化学习商品推荐***
CN109214275B (zh) 一种基于深度学习的低俗图片识别方法
WO2023093372A1 (zh) 生成文本的方法和装置
WO2018176937A1 (zh) 一种用户隐式反馈的量化评分方法
WO2017219317A1 (zh) 一种基于搜索内容的信息推送方法及装置

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