CN110659389A - Sorting method, sorting device, electronic equipment and computer-readable storage medium - Google Patents

Sorting method, sorting device, electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
CN110659389A
CN110659389A CN201910838618.8A CN201910838618A CN110659389A CN 110659389 A CN110659389 A CN 110659389A CN 201910838618 A CN201910838618 A CN 201910838618A CN 110659389 A CN110659389 A CN 110659389A
Authority
CN
China
Prior art keywords
score
play
playing
item
duration
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
Application number
CN201910838618.8A
Other languages
Chinese (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910838618.8A priority Critical patent/CN110659389A/en
Publication of CN110659389A publication Critical patent/CN110659389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • G06F16/743Browsing; Visualisation therefor a collection of video files or sequences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure discloses a sorting method, which is characterized by comprising the following steps: determining the total time length and the playing time length of the playing item; calculating the playing score of the playing item based on a Wilson interval algorithm according to the total duration and the playing duration; determining a ranking score of the play item according to at least a play score of the play item; and sequencing the playing items according to the sequencing scores of the playing items. The sorting method, the sorting device, the electronic equipment and the computer-readable storage medium provided by the embodiment of the disclosure can consider the play duration factor of the play item by the user when sorting the play item, thereby improving the accuracy and the reasonability of sorting and improving the user experience.

Description

Sorting method, sorting device, electronic equipment and computer-readable storage medium
Technical Field
The present disclosure relates to the field of computer processing technologies, and in particular, to a sorting method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of mobile internet technology, mobile terminals such as smart phones and tablet computers have become indispensable components in life. The user can obtain and browse a great deal of information through the mobile terminal, and the information comprises characters, pictures, music, videos and the like. In recent years, videos meet fragmented reading and information sharing requirements of users with rich information coverage and diversified presentation, and are therefore widely sought after.
When a user browses a video website, a keyword is usually input as a search request, the video website pushes a group of video files to the user according to the search request of the user, the video files are ordered according to a certain rule and displayed to the user, and the user can click to play an interested video file. One existing ranking method is to score video files based on their click models (e.g., calculate the click rate of each video file), rank and present to the user according to the score of each video file.
The ranking method based on the click model generally considers that a user clicks on a video, which indicates that the video is related or enjoyed by the user. However, the ranking method based on the click model cannot accurately reflect the relevance of the video or the user's preference for the video. For example, a user may turn a video on, find its content irrelevant or uninteresting, and then turn the video off soon. For another example, the user may click on the video due to a malfunction, and then close quickly. In the above case, although the actual content of the video is not relevant, the click behavior is still used as valid statistical data in the ranking method based on the click model. Therefore, the sequencing result of the existing sequencing method is not accurate enough.
Disclosure of Invention
In view of the foregoing drawbacks, embodiments of the present disclosure provide a sorting method, an apparatus, an electronic device, and a computer-readable storage medium, which can consider a play duration factor of a play item when sorting the play item, thereby improving accuracy and rationality of sorting and improving user experience.
In a first aspect, an embodiment of the present disclosure provides a sorting method, including: determining the total duration Span of a play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d(ii) a According to the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm; according to at least the playing score of the playing itemDetermining a ranking score for the playitem; and sequencing the playing items according to the sequencing scores of the playing items.
In a second aspect, an embodiment of the present disclosure provides a sorting apparatus, including: a determining module for determining the total duration Span of the play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d(ii) a A calculation module for calculating the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm; the determining module is further configured to determine a ranking score of the playitem according to at least a play score of the playitem; and the sequencing module is used for sequencing the play items according to the sequencing scores of the play items.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a memory for storing computer readable instructions; and one or more processors coupled with the memory for executing the computer readable instructions, such that the processors when executed implement any of the ordering methods of the first aspect.
In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, which when executed by a computer, cause the computer to perform the sorting method of any one of the foregoing first aspects.
The disclosure discloses a sorting method, a sorting device, an electronic device and a computer-readable storage medium. The sorting method is characterized by comprising the following steps: determining the total time length and the playing time length of the playing item; calculating the playing score of the playing item based on a Wilson interval algorithm according to the total duration and the playing duration; determining a ranking score of the play item according to at least a play score of the play item; and sequencing the playing items according to the sequencing scores of the playing items. The sorting method, the sorting device, the electronic equipment and the computer-readable storage medium provided by the embodiment of the disclosure can sort the play items according to the play condition of the play items by a user, so that the accuracy and the reasonability of sorting are improved, and the user experience is improved.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of an embodiment of a sorting method provided by an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an embodiment of a sorting apparatus provided in the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
As mentioned above, currently, only the case where the play items (e.g. video, audio files) are clicked is considered, and the play items are scored and sorted by the click model, which may cause inaccurate sorting results. One typical scenario is to sort the video files based on click-through rate. For example, a video file is exposed (i.e., displayed in the search results of the user) 100 times through the search request of the user, and if 60 users click on the video file, the click rate of the video file is 60%, and the relevance or popularity of the video file is generally considered to be 60%. However, there may be 10 users who close the video file immediately after clicking, but do not really play the content of the video file, that is, the true relevance or popularity of the video file should be lower than 60%, and this cannot be really reflected by the click rate.
In order to improve the accuracy of the sequencing of the video files, the playing time of the video files by the user needs to be considered. One possible solution is to determine the relevancy or popularity of the video file according to the proportion of the playing time length of the video file to the total time length, that is, the relevancy or popularity of the video file is considered to be higher when the proportion of the playing time length to the total time length is higher. However, such a calculation is not fair for video files of different lengths.
On one hand, for video files with different total duration but the same proportion of the playing duration to the total duration, the proportion often cannot truly represent the relevance or popularity of the video files. For example, for a video file with a total duration of 4 seconds, the user may click to play 2 seconds and then immediately close the video file because the video file is uninteresting, and the playing duration accounts for 50% of the total duration. For a video file with a total duration of 10 seconds, the user may close the video file after watching it for 5 seconds, but the playing duration is also 50% of the total duration. That is, the user may have different attitudes with respect to the video files with different total durations, but cannot display the video files according to the ratio of the playing duration to the total duration.
On the other hand, for shorter video files, the playing time length is usually larger in proportion. For example, a video file with a total duration of 4 seconds is clicked by a user to play for 2 seconds, the playing duration accounts for 50% of the total duration, while a video file with a total duration of 20 seconds is also clicked by a user to play for 2 seconds, and the playing duration accounts for only 10% of the total duration. However, for the two video files with different lengths, the user's operation may be the same, for example, both are closed when playing for 2 seconds because of being uninteresting, but this situation cannot be accurately reflected only by the ratio of the playing time length to the total time length.
Therefore, when the play items are sorted, not only the click condition and the play condition of the play items need to be considered comprehensively, but also the influence of the total duration of the play items needs to be considered fully, so that the sorting result of the play items is more reliable.
The sorting method provided by the embodiment may be executed by a sorting apparatus, which may be implemented as software, may be implemented as hardware, or may be implemented as a combination of software and hardware, for example, the sorting apparatus includes a computer device, so that the sorting method provided by the embodiment of the present disclosure is executed by the computer device.
It can be understood that in the sorting method provided in this embodiment, the play items may be video files or audio files.
Fig. 1 is a flowchart of an embodiment of a sorting method provided in an embodiment of the present disclosure, and the sorting method provided in an embodiment of the present disclosure may be executed by the sorting apparatus described above.
As shown in fig. 1, the sorting method of the embodiment of the present disclosure includes the following steps:
step S101, determining the total time length and the playing time length of the playing item.
Recording the total time length of the playing item as Spanq-dAnd the playing Duration is recorded as Durationq-d. It is understood that the same play item is exposed by the search request of the user, and there may be a plurality of users clicking and playing the play item, or one user may click and play the play item multiple times. Therefore, for the play item played for the ith time, the time length of the play item actually played is recorded as Durationq-d,iDuration of each playq-d,iMay be the same or different.
The user can play the entire play item, or only play a part of the play item, i.e. 0 ≦ Durationq-d,i≤Spanq-d
And step S102, calculating the playing score of the playing item based on a Wilson interval algorithm according to the total duration and the playing duration.
In step S102, for the ith play of the play item, the play Duration is determined according to the following formulaq-d,iWith the total duration Span of said play itemq-dRatio p ofi
As mentioned earlier, only the ratio p is usediIt is unreliable to measure the playing condition of the play item as a playing score, for example: different playing situations may have the same ratio pi(ii) a Different play items have different overall durations, while shorter play items generally have a higher ratio pi
Therefore, the ratio p is calculated in step S102 using the wilson interval algorithmiAs a parameter of the wilson interval algorithm, calculating a play Score of the ith played play itemi. The wilson interval algorithm is an algorithm for calculating the reliability of the probability P, and comprehensively considers the probability P and the number of samples. Specifically, the play Score for the ith play of the playitem is calculated according to the following formulai
Figure BDA0002192983270000081
Wherein the content of the first and second substances,
Figure BDA0002192983270000082
denotes the z statistic at a confidence level a, which is a constant and n is the total duration of the play item, i.e. n-Spanq-d
The confidence level alpha is typically chosen to be 0.95. It will be appreciated that the confidence level a may also take any other value possible.
In an alternative embodiment, the lower limit of the Wilson interval is taken as the play Score Score of the ith played play itemi
For the sake of understanding, the calculation of the play score based on the wilson interval algorithm is described by way of example. For example, for a video with a total duration of 4 seconds, the user plays for 2 seconds, and the ratio p is 2/4-0.5; for another video with a total duration of 10 seconds, the user plays for 5 seconds, the ratio p is also 5/10 ═ 0.5, and the relevance or popularity of the video cannot be judged only by the ratio p. At this time, this problem can be solved by a play score based on the wilson interval.
The confidence level α is taken to be 0.95, corresponding to a z statistic of 1.96. For the video with the total duration of 4 seconds, the corresponding playing Score is4sComprises the following steps:
Figure BDA0002192983270000091
calculated, Score4sAbout 0.15.
For a video with a total duration of 10 seconds, the corresponding playing Score is10sComprises the following steps:
Figure BDA0002192983270000092
calculated, Score10sAbout 0.24. Therefore, under the condition that the ratio of the playing time length to the total time length is 0.5, the playing fraction of the video with the total time length of 10 seconds is higher than that of the video with the total time length of 4 seconds, so that the interference caused by the playing randomness of short video misoperation and the like is weakened.
Step S103, determining the sorting score of the play item at least according to the play score of the play item.
In an alternative embodiment, the playltems are clicked and played m times, that is, each time the playltems are played, a play Score is generatediThen, the play Score of the play item is ScoreplayA function of a play score for each of the play items:
Figure BDA0002192983270000093
can broadcast the contentThe play Score of a play item ScoreplayDetermining as a parameter a ranking Score for the playitemrank
Figure BDA0002192983270000094
Wherein the content of the first and second substances,
Figure BDA0002192983270000095
represents the ranking Score ScorerankScore for the playbackplayAs a function of (c).
In another alternative embodiment, the click situation and the play situation of the play item are taken into account. Following the above example, when the play item is clicked and played m times, the click Score of the play item is determined according to the click model of the play itemclickComprises the following steps:
Figure BDA0002192983270000101
wherein, Imprq-dThe exposure times of the play items are Impr of m being less than or equal toq-d
According to the play Score of the play itemplayAnd the click ScoreclickDetermining the ranking score of the playitem. The weights ω of the play scores may be determined separately1And the weight ω of the click score2Then the ranking Score of the play item ScorerankComprises the following steps:
Scorerank=ω1Scoreplay2Scoreclick
it is worth noting that, in the embodiment of the present disclosure, a person skilled in the art can apply the weight ω to1And ω2High or low of is defined. For example, the weight includes a number or a score, it may be defined that the greater the number or the score, the higher the weight, and then in step S103, increasing the weight of the play score or the click score means increasing the number of the play score or the click scoreA word or score; it may also be defined that the smaller the number or score is, the higher the weight is, and then in step S103, the higher the weight of the play score or the click score means the lower the number or score of the play score or the click score.
And step S104, sequencing the play items according to the sequencing scores of the play items.
It is understood that after the ranking score of each of the playitems is obtained, the playitems may be ranked in order from high to low and displayed to the user through the terminal page.
In the embodiment of the disclosure, the playing score of the playing item is determined through a Wilson interval algorithm, and the sorting score of the playing item is determined at least according to the playing score, so that the playing duration factor of the user to the playing item can be considered when the playing item is sorted, the sorting accuracy and reasonableness are improved, and the user experience is improved.
Fig. 2 is a schematic structural diagram of an embodiment of a sorting apparatus 200 provided in an embodiment of the present disclosure, and as shown in fig. 2, the sorting apparatus 200 includes a determining module 201, a calculating module 202, and a sorting module 203.
Wherein, the determining module 201 is configured to determine the total duration Span of the playing itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d(ii) a The calculating module 202 is configured to calculate the total duration Span according to the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm; the determining module 201 is further configured to determine a ranking score of the playitem according to at least a play score of the playitem; the sorting module 203 is configured to sort the playitems according to the sorting scores of the playitems.
The apparatus shown in fig. 2 can perform the method of the embodiment shown in fig. 1, and reference may be made to the related description of the embodiment shown in fig. 1 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 1, and are not described herein again.
Referring now to FIG. 3, a block diagram of an electronic device 300 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus or a communication line 304. An input/output (I/O) interface 305 is also connected to bus or communication line 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the search method in the above embodiments.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a sorting method including: determining the total duration Span of a play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d(ii) a According to the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm; determining a ranking score of the play item according to at least a play score of the play item; and sequencing the playing items according to the sequencing scores of the playing items.
Further, the total duration Span of the playing item is determinedq-dAnd a play Durationq-d,iLater, still include: determining the playback Durationq-d,iWith said total duration Spanq-dRatio p ofiWherein
Figure BDA0002192983270000151
Further, according to the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm, wherein the calculation comprises the following steps: according to said ratio piCalculating the playing Score of the playing item based on the Wilson interval algorithmiWherein, in the step (A),
Figure BDA0002192983270000161
for z statistic at confidence level α, n ═ Spanq-d
Further, the confidence level α is 0.95.
Further, determining the ranking score of the playitem based at least on the play score of the playitem comprises: determining the playing score of the playing item according to the playing score of the playing itemWherein m is the number of times the playitem is played, and f is a function model.
Further, the method comprisesDetermining a ranking score for the playitem based at least on the play score for the playitem further comprises: determining the click score of the play item according to the click model of the play item
Figure BDA0002192983270000163
Wherein, Imprq-dThe exposure times of the play items are Impr of m being less than or equal toq-dAnd f is a function model.
Further, determining the ranking score of the playitem based at least on the play score of the playitem further comprises: according to the play Score of the play itemplayAnd the click ScoreclickDetermining the ranking score of the playitem.
Further, according to the play Score of the play itemplavAnd the click ScoreclickDetermining the ranking score of the play item, comprising: determining a weight ω of the play score of the play item1And the weight ω of the click score2(ii) a Weighting the playing Score and the clicking Score to obtain the sorting Score of the playing itemrank,Scorerank=ω1Scoreplav2Scoreclick
Further, the play item is a video file or an audio file.
According to one or more embodiments of the present disclosure, there is provided a sorting apparatus including: a determining module for determining the total duration Span of the play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d(ii) a A calculation module for calculating the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm; the determining module is further configured to determine the play item according to at least a play score of the play itemA ranking score for the playitem; and the sequencing module is used for sequencing the play items according to the sequencing scores of the play items.
Further, the determining module is further configured to: in determining the total duration Span of a play itemq-dAnd a play Durationq-d,iThereafter, the play Duration is determinedq-d,iWith said total duration Spanq-dRatio p ofiWherein
Figure BDA0002192983270000171
Further, the computing module is further configured to: according to said ratio piCalculating the playing Score of the playing item based on the Wilson interval algorithmiWherein, in the step (A),
Figure BDA0002192983270000172
Figure BDA0002192983270000173
for z statistic at confidence level α, n ═ Spanq-d
Further, the determining module is further configured to: determining the playing score of the playing item according to the playing score of the playing item
Figure BDA0002192983270000174
Wherein m is the number of times the playitem is played, and f is a function model.
Further, the determining module is further configured to: determining the click score of the play item according to the click model of the play item
Figure BDA0002192983270000181
Wherein, Imprq-dThe exposure times of the play items are Impr of m being less than or equal toq-dAnd f is a function model.
Further, the determining module is further configured to: according to the play Score of the play itemplayAnd the click ScoreclickDetermining the ranking score of the playitem.
Further, the determining module is further configured to: determining a weight ω of the play score of the play item1And the weight ω of the click score2(ii) a The computing module is further configured to: weighting the playing Score and the clicking Score to obtain the sorting Score of the playing itemrank,Scorerank=ω1Scoreplay2Scoreclick
According to one or more embodiments of the present disclosure, there is provided an electronic device including: a memory for storing computer readable instructions; and one or more processors coupled with the memory for executing the computer readable instructions, such that the processors when executed implement any of the ordering methods of the first aspect.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium characterized in that the non-transitory computer-readable storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the sorting method of any one of the preceding first aspects.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method of sorting, comprising:
determining the total duration Span of a play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d
According to the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm;
determining a ranking score of the play item according to at least a play score of the play item;
and sequencing the playing items according to the sequencing scores of the playing items.
2. A sorting method according to claim 1, characterised in that the total duration Span of the play items is determinedq-dAnd a play Durationq-d,iLater, still include:
determining the playback Durationq-d,iWith said total duration Spanq-dRatio p ofiWherein
Figure FDA0002192983260000011
Figure FDA0002192983260000012
3. The sequencing method of claim 2, wherein said total duration Span is based on said total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm, wherein the calculation comprises the following steps:
according to said ratio piCalculating the playing Score of the playing item based on the Wilson interval algorithmiWherein, in the step (A),
Figure FDA0002192983260000013
Figure FDA0002192983260000014
for z statistic at confidence level α, n ═ Spanq-d
4. The ranking method of claim 3 wherein the confidence level α is 0.95.
5. The sorting method of any one of claims 1 to 3, wherein determining the sorting score of the playitem based on at least the play score of the playitem comprises:
determining the playing score of the playing item according to the playing score of the playing item
Wherein m is the number of times the playitem is played, and f is a function model.
6. The method of claim 5, wherein determining the ranking score for the playitem based at least on the play score for the playitem further comprises:
determining the click score of the play item according to the click model of the play item
Wherein, Imprq-dThe exposure times of the play items are Impr of m being less than or equal toq-dAnd f is a function model.
7. The method of claim 6, wherein determining the ranking score for the playitem based at least on the play score for the playitem further comprises:
according to the play Score of the play itemplayAnd the click ScoreclickDetermining the ranking score of the playitem.
8. The sorting method according to claim 7, wherein the play Score according to the play item isplayAnd the click ScoreclickDetermining the ranking score of the play item, comprising:
determining a weight ω of the play score of the play item1And the weight ω of the click score2
Weighting the playing Score and the clicking Score to obtain the sorting Score of the playing itemrank,Scorerank=ω1Scoreplay2Scoreclick
9. The sequencing method of any of claims 1 to 3, wherein said playitem is a video file or an audio file.
10. A sequencing apparatus, comprising:
a determining module for determining the total duration Span of the play itemq-dAnd a play Durationq-d,iWherein the playing Durationq-d,iThe time length of the ith playing of the playing item is set, and the playing time length satisfies the Duration of not less than 0q-d,i≤Spanq-d
A calculation module for calculating the total duration Spanq-dAnd the playback Durationq-d,iCalculating the playing score of the playing item based on a Wilson interval algorithm;
the determining module is further configured to determine a ranking score of the playitem according to at least a play score of the playitem;
and the sequencing module is used for sequencing the play items according to the sequencing scores of the play items.
11. An electronic device, comprising:
a memory for storing computer readable instructions; and
a processor for executing the computer readable instructions such that the processor when running implements the ordering method according to any of claims 1-9.
12. A non-transitory computer readable storage medium storing computer readable instructions which, when executed by a computer, cause the computer to perform the sequencing method of any of claims 1-9.
CN201910838618.8A 2019-09-05 2019-09-05 Sorting method, sorting device, electronic equipment and computer-readable storage medium Pending CN110659389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910838618.8A CN110659389A (en) 2019-09-05 2019-09-05 Sorting method, sorting device, electronic equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910838618.8A CN110659389A (en) 2019-09-05 2019-09-05 Sorting method, sorting device, electronic equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN110659389A true CN110659389A (en) 2020-01-07

Family

ID=69036765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910838618.8A Pending CN110659389A (en) 2019-09-05 2019-09-05 Sorting method, sorting device, electronic equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110659389A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779306A (en) * 2020-08-25 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for determining playing progress
CN114020956A (en) * 2021-10-19 2022-02-08 成都统信软件技术有限公司 Intelligent data assignment method and intelligent data assignment device
CN114566164A (en) * 2022-02-23 2022-05-31 成都智元汇信息技术股份有限公司 Manual broadcast audio self-adaption method, display terminal and system based on public transport

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739416A (en) * 2008-11-04 2010-06-16 未序网络科技(上海)有限公司 Method for sequencing multi-index comprehensive weight video
CN106919651A (en) * 2017-01-22 2017-07-04 北京奇艺世纪科技有限公司 The search ordering method and device of external website video
CN107368573A (en) * 2017-07-14 2017-11-21 北京奇艺世纪科技有限公司 Video quality evaluation method and device
CN104156472B (en) * 2014-08-25 2018-05-08 北京四达时代软件技术股份有限公司 A kind of video recommendation method and system
CN108304512A (en) * 2018-01-19 2018-07-20 北京奇艺世纪科技有限公司 A kind of thick sort method of video search engine, device and electronic equipment
CN108322827A (en) * 2018-01-31 2018-07-24 武汉斗鱼网络科技有限公司 Method, system and the computer readable storage medium of the video preference of measure user
CN109274987A (en) * 2018-08-30 2019-01-25 武汉斗鱼网络科技有限公司 A kind of video collection sort method, server and readable storage medium storing program for executing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739416A (en) * 2008-11-04 2010-06-16 未序网络科技(上海)有限公司 Method for sequencing multi-index comprehensive weight video
CN104156472B (en) * 2014-08-25 2018-05-08 北京四达时代软件技术股份有限公司 A kind of video recommendation method and system
CN106919651A (en) * 2017-01-22 2017-07-04 北京奇艺世纪科技有限公司 The search ordering method and device of external website video
CN107368573A (en) * 2017-07-14 2017-11-21 北京奇艺世纪科技有限公司 Video quality evaluation method and device
CN108304512A (en) * 2018-01-19 2018-07-20 北京奇艺世纪科技有限公司 A kind of thick sort method of video search engine, device and electronic equipment
CN108322827A (en) * 2018-01-31 2018-07-24 武汉斗鱼网络科技有限公司 Method, system and the computer readable storage medium of the video preference of measure user
CN109274987A (en) * 2018-08-30 2019-01-25 武汉斗鱼网络科技有限公司 A kind of video collection sort method, server and readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779306A (en) * 2020-08-25 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for determining playing progress
CN114020956A (en) * 2021-10-19 2022-02-08 成都统信软件技术有限公司 Intelligent data assignment method and intelligent data assignment device
CN114566164A (en) * 2022-02-23 2022-05-31 成都智元汇信息技术股份有限公司 Manual broadcast audio self-adaption method, display terminal and system based on public transport

Similar Documents

Publication Publication Date Title
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN110704751B (en) Data processing method and device, electronic equipment and storage medium
CN111368185B (en) Data display method and device, storage medium and electronic equipment
WO2023051102A1 (en) Video recommendation method, apparatus, and device, and medium
CN110659389A (en) Sorting method, sorting device, electronic equipment and computer-readable storage medium
CN110851712B (en) Method, device and computer readable medium for recommending book information
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
WO2023279843A1 (en) Content search method, apparatus and device, and storage medium
CN111291258A (en) Recommendation method and device for searching hot words, electronic equipment and readable medium
CN112287206A (en) Information processing method and device and electronic equipment
WO2023088006A1 (en) Cloud game interaction method and apparatus, readable medium, and electronic device
WO2020151548A1 (en) Method and device for sorting followed pages
CN110674400B (en) Sorting method, sorting device, electronic equipment and computer-readable storage medium
CN109948059A (en) Recommended method, device, equipment and the storage medium of content
CN110619095A (en) Sorting method and device
CN110795554A (en) Target information analysis method, device, equipment and storage medium
CN110674399B (en) Method and apparatus for determining order of search items
CN111782933B (en) Method and device for recommending booklets
CN113360773B (en) Recommendation method and device, storage medium and electronic equipment
CN110634024A (en) User attribute marking method and device, electronic equipment and storage medium
WO2022222660A1 (en) Object display method and apparatus, electronic device, and computer readable storage medium
WO2018205642A1 (en) Video revenue calculation modeling device and method, video recommendation device and method, server, and storage medium
CN113221572B (en) Information processing method, device, equipment and medium
CN115964553A (en) Page display method, device, equipment and storage medium
KR20210084641A (en) Method and apparatus for transmitting information

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