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

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

Info

Publication number
CN110750535B
CN110750535B CN201910926655.4A CN201910926655A CN110750535B CN 110750535 B CN110750535 B CN 110750535B CN 201910926655 A CN201910926655 A CN 201910926655A CN 110750535 B CN110750535 B CN 110750535B
Authority
CN
China
Prior art keywords
sorting
result
score
article
ranking
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
Application number
CN201910926655.4A
Other languages
English (en)
Other versions
CN110750535A (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

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 (3)

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

Citations (3)

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

Patent Citations (3)

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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
敖飞 ; 陈梅 ; .一种基于样本加权的位置文本排序算法.贵州大学学报(自然科学版).2010,(05),全文. *
武森 ; 王蔷 ; 姜敏 ; 魏青 ; .考虑加权排序的分类数据聚类算法.北京科技大学学报.2013,(08),全文. *

Also Published As

Publication number Publication date
CN110750535A (zh) 2020-02-04

Similar Documents

Publication Publication Date Title
Gernhard The conditioned reconstructed process
CN107239891B (zh) 一种基于大数据的招投标审核方法
WO2022141861A1 (zh) 情感分类方法、装置、电子设备及存储介质
US9916393B2 (en) Fast component enumeration in graphs with implicit edges
CN106817251B (zh) 一种基于节点相似度的链路预测方法及装置
CN104156392B (zh) 好友及应用个性化推荐方法及***
CN112231555A (zh) 基于用户画像标签的召回方法、装置、设备及存储介质
CN111522940B (zh) 用于处理评论信息的方法和装置
CN108596276A (zh) 基于特征加权的朴素贝叶斯微博用户分类方法
US20190333176A1 (en) Recording recommendation method, device, apparatus and computer-readable storage medium
WO2019107396A1 (ja) データ分析装置及びデータ分析プログラム
EP2988229A1 (en) Information retrieval method and device
CN112287094A (zh) 相似病例文本检索***
CN110750535B (zh) 一种排序结果更新方法
CN106777201B (zh) 搜索结果页上的推荐数据的排序方法及装置
CN109614496B (zh) 一种基于知识图谱的低保鉴别方法
CN112328775B (zh) 病例文本信息检索***
US11568314B2 (en) Data-driven online score caching for machine learning
CN110959157B (zh) 加速大规模相似性计算
JP5692087B2 (ja) 情報処理装置
CN115829240A (zh) 一种提升甜面酱品质的发酵方法、装置、设备及存储介质
JP5764094B2 (ja) 画像検索装置、画像検索方法、及び画像検索プログラム
CN110008972A (zh) 用于数据增强的方法和装置
JP2020135673A (ja) 投稿評価システム及び方法
CN106778048B (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