Unlock instant, AI-driven research and patent intelligence for your innovation.

Sorting method and device, electronic equipment and storage medium

A sorting method and sequential technology, applied in the computer field, can solve problems such as not being suitable for high concurrent leaderboard requirements, unable to sort in multiple dimensions, slow response speed, etc.

Pending Publication Date: 2020-12-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, many leaderboards may need to be sorted based on multiple dimensions, but the ordered collection of redis cannot be sorted on multiple dimensions
Relational databases can quickly implement multi-dimensional sorting by using indexes, but the response speed of databases is much slower than redis, a memory-based data structure storage, and is not suitable for high-concurrency rankings.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sorting method and device, electronic equipment and storage medium
  • Sorting method and device, electronic equipment and storage medium
  • Sorting method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0083] At present, many leaderboards may need to be sorted based on multiple dimensions, but the ordered collection of redis cannot be sorted on multiple dimensions. Relational databases can quickly implement multi-dimensional sorting by using indexes, but the response speed of databases is much slower than redis, a memory-based data st...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a sorting method and device, electronic equipment and a storage medium. The method comprises the following steps of: ; collecting first dimension data of a plurality of to-be-sorted objects based on a first preset dimension, and second dimension data of the multiple to-be-sorted objects are collected based on a second preset dimension, the first preset dimension is different from the second preset dimension, for each to-be-sorted object, the first dimension data and the second dimension data are combined to obtain reference scores corresponding to the to-be-sorted objects, and the multiple to-be-sorted objects are sorted according to the reference scores. According to the embodiment of the invention, the to-be-sorted objects can be sorted based on the dimension data corresponding to the plurality of preset dimensions; moreover, the first dimension data and the second dimension data of multiple dimensions are combined to obtain the data of one dimension of the reference score, so that sorting of the to-be-sorted objects based on the reference score can be conveniently realized by utilizing a redis ordered set, the sorting speed is high, and the requirement of a high-concurrency ranking edition is met.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a sorting method, device, electronic equipment and storage medium. Background technique [0002] With the development of the Internet, the current ranking function has been applied in various businesses. For the functional requirements of the leaderboard, Remote Dictionary Server (Redis) is generally used for storage. The sorted set in redis can quickly realize the leaderboard function based on the score of the ranking object. [0003] At present, many leaderboards may need to be sorted based on multiple dimensions, but the ordered collection of redis cannot be sorted on multiple dimensions. Relational databases can quickly implement multi-dimensional sorting by using indexes, but the response speed of databases is much slower than redis, a memory-based data structure storage, and is not suitable for high-concurrency rankings. Contents of the invention [0004...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/22G06F16/248G06F16/28
CPCG06F16/283G06F16/248G06F16/2264
Inventor 师丽坤魏绪浪王宇
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD