CN113449145A - Video search result sorting adjustment method and device, electronic equipment and computer-readable storage medium - Google Patents

Video search result sorting adjustment method and device, electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
CN113449145A
CN113449145A CN202110723793.XA CN202110723793A CN113449145A CN 113449145 A CN113449145 A CN 113449145A CN 202110723793 A CN202110723793 A CN 202110723793A CN 113449145 A CN113449145 A CN 113449145A
Authority
CN
China
Prior art keywords
search
video
configuration group
sequence
search keyword
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
CN202110723793.XA
Other languages
Chinese (zh)
Other versions
CN113449145B (en
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.)
Letv Cloud Network Technology Beijing Co ltd
Original Assignee
LeCloud Computing 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 LeCloud Computing Co Ltd filed Critical LeCloud Computing Co Ltd
Priority to CN202110723793.XA priority Critical patent/CN113449145B/en
Publication of CN113449145A publication Critical patent/CN113449145A/en
Application granted granted Critical
Publication of CN113449145B publication Critical patent/CN113449145B/en
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/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/732Query formulation
    • 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/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9532Query formulation
    • 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the disclosure provides a video search result sorting adjustment method and device, electronic equipment and a computer-readable storage medium. The method comprises the following steps: receiving a search request, wherein the search request comprises a search keyword; obtaining a corresponding preliminary sequence based on the search keyword; at least according to the search keywords, sorting and adjusting the retrieval results to adjust whether a configuration group at least containing the search keywords exists in the configuration file; and when the configuration group at least containing the search keyword exists, adjusting the video identifier in the preliminary sequence and the corresponding sequencing position thereof by using the position adjusting rule in the configuration group obtained by retrieval to obtain a corrected sequence. The position of the specific video identifier under the search keyword can be adjusted according to the requirement, the whole step only needs to set the search keyword and the position adjustment rule of the video identifier in advance, and other steps can be automatically carried out, so that the method is simple and convenient.

Description

Video search result sorting adjustment method and device, electronic equipment and computer-readable storage medium
Technical Field
Embodiments of the present disclosure relate generally to the field of search, and more particularly, to a video search result ranking adjustment method based on a search keyword, an apparatus, an electronic device, and a computer-readable storage medium.
Background
In video search, returned results are generally sorted according to the matching degree of videos and search keywords, the playing, browsing, publishing time of the videos and other factors.
But for newly released videos, the playing and browsing numbers of the videos are not accumulated historically, so that the videos are ranked backwards; for classical tablets, they cannot be ranked in the front according to operational requirements; for videos that are not related to a specific search term, the results of the ordering cannot be ranked at a later position as needed.
Therefore, how to make the ranking result based on the search keyword meet the requirement becomes a technical problem to be solved urgently.
Disclosure of Invention
According to the embodiment of the disclosure, a video search result ranking adjusting method and device, electronic equipment and a computer-readable storage medium are provided.
In a first aspect of the present disclosure, a video search result ranking adjustment method is provided, including:
receiving a search request, wherein the search request comprises a search keyword;
obtaining a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifications and corresponding sorting positions thereof;
whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file at least according to the search keywords, wherein the configuration group comprises the search keywords, a video identifier and a configuration group of a position adjustment rule;
and when the configuration group at least containing the search keyword exists, adjusting the video identifier in the preliminary sequence and the corresponding sequencing position thereof by using the position adjusting rule in the configuration group obtained by retrieval to obtain a corrected sequence.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the step of obtaining a corresponding preliminary sequence based on the search keyword includes:
based on the search keywords, obtaining a corresponding preliminary sequence by using a search system; the parameters for sorting of the search system include one or more of play amount, relevancy, barrage amount or comment amount.
The above-described aspect and any possible implementation further provides an implementation, where the position adjustment rule includes an adjusted ranking position.
As for the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where when a configuration group at least including the search keyword exists, the step of adjusting the video identifier and the corresponding sorting position in the preliminary sequence by using the position adjustment rule in the configuration group obtained by the retrieval to obtain a modified sequence includes:
retrieving whether a configuration group containing the search key and a certain video identifier in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier in the preliminary sequence exists, the position of the video identifier in the preliminary sequence is adjusted by using the position adjustment rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
As for the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where when a configuration group at least including the search keyword exists, the step of adjusting the video identifier and the corresponding sorting position in the preliminary sequence by using the position adjustment rule in the configuration group obtained by the retrieval to obtain a modified sequence includes:
retrieving whether a configuration group containing the search key and a certain video identifier not in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier which is not in the preliminary sequence exists, adding the video identifier and the sequencing position thereof in the preliminary sequence by using the position adjusting rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
The above aspect and any possible implementation further provides an implementation, wherein the position adjustment rule includes an adjusted sorted position movement amount.
The above-described aspects and any possible implementation further provide an implementation, further including:
based on a certain search keyword and a certain video identifier, acquiring a corresponding position adjustment rule, and obtaining a configuration group comprising the search keyword, the video identifier and the position adjustment rule;
generating result sorting and adjusting configuration files for all the configuration groups;
and after the result sorting adjustment configuration file is generated, when the configuration group is generated again, updating the configuration group generated again to the result sorting adjustment configuration file.
In a second aspect of the present disclosure, there is provided a search result ranking adjustment apparatus, including:
a request receiving module adapted to receive a search request, the search request including a search keyword;
the preliminary sequence acquisition module is suitable for acquiring a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifiers and corresponding sequencing positions thereof;
the configuration group retrieval module is suitable for at least according to the search keywords, and whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file or not, wherein the configuration group comprises a configuration group of the search keywords, a video identifier and a position adjustment rule;
and the sequencing adjusting module is suitable for adjusting the video identifiers in the preliminary sequence and the corresponding sequencing positions thereof by utilizing the position adjusting rule in the configuration group obtained by retrieval when the configuration group at least containing the search keyword exists, so as to obtain a corrected sequence.
In a third aspect of the present disclosure, an electronic device is provided, which includes a memory and a processor, where the memory stores a program, and the processor implements the video search result ranking adjustment method when executing the program.
In a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the video search result ranking adjustment method.
The video search result ranking adjustment method provided by the embodiment of the disclosure comprises the following steps: receiving a search request, wherein the search request comprises a search keyword;
obtaining a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifications and corresponding sorting positions thereof;
whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file at least according to the search keywords, wherein the configuration group comprises the search keywords, a video identifier and a configuration group of a position adjustment rule;
and when the configuration group at least containing the search keyword exists, adjusting the video identifier in the preliminary sequence and the corresponding sequencing position thereof by using the position adjusting rule in the configuration group obtained by retrieval to obtain a corrected sequence.
It can be seen that the video search result ranking adjustment method provided by the embodiment of the disclosure can adjust the position of a specific video identifier under a search keyword as needed, the whole step only needs to set the search keyword and the position adjustment rule of the video identifier in advance, other steps can be automatically performed, and the method is simple and convenient, and can also set different position adjustment rules for a plurality of video identifiers under the same search keyword, or set different position adjustment rules for the same video identifier aiming at different search keywords, thereby meeting various needs.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
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. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
fig. 1 shows a schematic flow chart of a video search result ranking adjustment method provided by an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating a video search result ranking adjustment method provided by an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram illustrating a video search result ranking adjustment method provided by an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram illustrating a video search result ranking adjustment method provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram illustrating a search result ranking adjusting apparatus provided in an embodiment of the present disclosure;
FIG. 6 illustrates a schematic diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The video search result ranking adjustment method provided by the embodiment of the disclosure comprises the following steps: receiving a search request, wherein the search request comprises a search keyword;
obtaining a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifications and corresponding sorting positions thereof;
whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file at least according to the search keywords, wherein the configuration group comprises the search keywords, a video identifier and a configuration group of a position adjustment rule;
and when the configuration group at least containing the search keyword exists, adjusting the video identifier in the preliminary sequence and the corresponding sequencing position thereof by using the position adjusting rule in the configuration group obtained by retrieval to obtain a corrected sequence.
It can be seen that the video search result ranking adjustment method provided by the embodiment of the disclosure can adjust the position of a specific video identifier under a search keyword as needed, the whole step only needs to set the search keyword and the position adjustment rule of the video identifier in advance, other steps can be automatically performed, and the method is simple and convenient, and can also set different position adjustment rules for a plurality of video identifiers under the same search keyword, or set different position adjustment rules for the same video identifier aiming at different search keywords, thereby meeting various needs.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video search result ranking adjustment method according to an embodiment of the disclosure,
in a first aspect of the present disclosure, a video search result ranking adjustment method is provided, including:
step S11, a search request is received.
The search request may be from a client, may include a client name and a search keyword that the client wants to search for, and the result obtained according to the search keyword is a search result of the video category.
And step S12, obtaining a corresponding preliminary sequence based on the search keyword.
The preliminary sequence comprises a plurality of video identifications and corresponding sorting positions thereof. For example, the preliminary sequence of the search keyword "motion" may be as follows:
video identification 349214 453123 785672 562267 136635 123568
Sort position 1 2 3 4 5 6
The video identification corresponds to the video content one by one, and the corresponding video content can be accessed through the video identification.
The number of the video identifiers in the preliminary sequence may not be limited, that is, all the video identifiers associated with the search keyword and the corresponding sorting positions thereof may be included; the number of video identifiers in the preliminary sequence may also be a fixed number, such as 20 or 50, etc.
Specifically, the method for obtaining the preliminary sequence may be selected as needed, and in a specific embodiment, the step S12 of obtaining the corresponding preliminary sequence based on the search keyword includes:
based on the search keywords, obtaining a corresponding preliminary sequence by using a search system; the parameters for sorting of the search system include one or more of play amount, relevancy, barrage amount or comment amount. When the parameters used for sorting of the search system comprise one or more of the playing amount, the relevance, the bullet screen amount or the comment amount, the result of the obtained preliminary sequence can meet the needs of people, and the needed video can be found more easily.
And step S13, according to the search keywords, the search result is sorted and whether a configuration group at least containing the search keywords exists in the configuration file is adjusted. If so, step S14 is performed.
The configuration group comprises a configuration group of search keywords, video identification and position adjustment rules. The position adjustment rule is a rule for adjusting the position of the video identifier in the configuration group. When the configuration group at least containing the search keyword exists, the preliminary sequence adjustment corresponding to the search keyword is proved to be needed, and therefore the preliminary sequence adjustment is continued; if the configuration group at least containing the search keyword does not exist, it proves that the preliminary sequence adjustment corresponding to the search keyword is not needed, so that the search request can be waited for or other search requests can be obtained again.
The search keywords and the video identifiers may not be in a one-to-one correspondence relationship, and a plurality of video identifiers may need to be adjusted in the preliminary sequence obtained by searching the search keywords; when different search keywords are searched, the position of a certain video identifier can be adjusted.
The position adjustment rule may include an adjusted ranking position, i.e., a ranking position of the video identifiers in the configuration group in the resulting modified sequence, and the adjusted ranking position may be 1 st, 3 rd, or the like. The position adjustment rule may also include an adjusted sorting position movement amount, that is, an amount of movement of the sorting position of the video identifier in the configuration group in the final obtained corrected sequence relative to the sorting position of the video identifier in the configuration group in the preliminary sequence, where the adjusted sorting position movement amount may be a forward movement by 1 bit, a backward movement by 3 bits, or the like.
Specifically, the configuration set may be as follows (motion, 136635, adjusted to a sorting position of 2). The configuration set may be as follows (move, 136635, adjusted sort position move amount to move 2 bits forward).
And step S14, adjusting the video identifiers in the preliminary sequence and the corresponding sequencing positions thereof by using the position adjustment rule in the configuration group obtained by searching to obtain a corrected sequence.
By utilizing the position adjusting rule, the video identification and the corresponding sorting position in the preliminary sequence can be adjusted to the adjusted sorting position corresponding to the preliminary sequence and the position adjusting rule, and the obtained sequence is a corrected sequence.
Specifically, the position adjustment rule in the configuration group obtained by retrieval is used for adjusting the video identifier in the preliminary sequence and the corresponding sorting position thereof, and the mode of obtaining the modified sequence can be selected according to the requirement.
Specifically, the position adjustment rule in the configuration group obtained by retrieval is used to adjust the video identifier in the preliminary sequence and the corresponding sorting position thereof, and the method for obtaining the corrected sequence can be selected as required.
Referring to fig. 2, fig. 2 is a schematic flow chart of a video search result ranking adjustment method according to an embodiment of the present disclosure, and in a specific implementation manner, the step S14 of adjusting the video identifiers in the preliminary sequence and their corresponding ranking positions by using the position adjustment rule in the configuration set obtained by the retrieval, to obtain a modified sequence includes:
step S1411, retrieving whether a configured group containing the search key and a certain video identifier in the preliminary sequence exists. If so, step S1412 is performed.
When a configuration group containing the search keyword and a certain video identifier in the preliminary sequence exists, it means that the video identifier in the configuration group has a corresponding sorting position in the preliminary sequence, and the position of the video identifier needs to be adjusted.
Step S1412, the position adjusting rule in the configuration group containing the search keyword and the video identifier is utilized to adjust the sequencing position of the video identifier in the preliminary sequence to obtain a modified sequence.
And after the sequencing positions of the video identifiers in the configuration group are adjusted by using the sequencing position adjustment rule in the configuration group, sequentially filling the sequencing positions of other video identifiers in the preliminary sequence with the sequencing positions of other video identifiers to obtain the corrected sequence.
For example, when there is only one set of configuration groups containing the search key and a certain video identification in the preliminary sequence; the specific step of adjusting the sorting position of the video identifier in the configuration group to the adjusted sorting position corresponding to the video identifier may include: removing the sequencing position of the video identifier in the preliminary sequence to obtain a removed sequence, then adjusting the sequencing position of the video identifier in the removed sequence to a corresponding adjusted sequencing position according to the position adjustment rule in the configuration group, wherein the sequencing position of the video identifier before the adjusted sequencing position in the removed sequence is unchanged, and the sequencing position of the video identifier after the adjusted sequencing position in the removed sequence is sequentially shifted backwards by one position, so that the corrected sequence can be obtained.
For example, the number of video identifications of the preliminary sequence is 6, as follows:
Figure BDA0003137700910000111
wherein the corresponding configuration group is (motion, 136635, adjusted sort position 2).
Removing the sequencing positions of the video identifiers in the preliminary sequence to obtain a removed sequence with the number of the video identifiers being 5, as follows:
video identification 349214 453123 785672 562267 123568
Sort position 1 2 3 4 5
The sorting position of the video identifier in the removed sequence is adjusted to a corresponding adjusted sorting position according to the position adjustment rule in the configuration group, the sorting position of the video identifier before the adjusted sorting position in the removed sequence is unchanged, and the sorting position of the video identifier after the adjusted sorting position in the removed sequence is sequentially shifted backward by one position, so that the modified sequence can be obtained, as shown below:
video identification 349214 136635 453123 785672 562267 123568
Sort position 1 2 3 4 5 6
When there are only two or more configuration sets containing the search key and a certain video identifier in the preliminary sequence; the method may include adjusting the video identifier according to a position adjustment rule in one of the configuration groups to obtain a queue as a primary correction queue, adjusting the queue according to a position adjustment rule in the next configuration group to obtain a queue as a secondary correction queue, and adjusting the positions of all the video identifiers to be adjusted according to the position adjustment rules in all the configuration groups to obtain a final correction sequence.
The video identifications in the configuration set containing the search key, as indicated above, may or may not be in the preliminary sequence. Therefore, referring to fig. 3, fig. 3 shows another flow chart of a video search result ranking adjustment method provided by the embodiment of the present disclosure, in a specific implementation manner, the step S14 of adjusting the video identifier in the preliminary sequence and the corresponding ranking position thereof by using the ranking position adjustment rule in the configuration group obtained by the retrieval, to obtain a modified sequence may also include:
step S1421, retrieve whether a configuration group containing the search key and a video identifier not in the preliminary sequence exists. If so, go to step S1422.
When a configuration group containing the search keyword and a certain video identifier which is not in the preliminary sequence exists, it means that the video identifier in the configuration group does not have a corresponding sorting position in the preliminary sequence, and the corresponding sorting position needs to be added in the preliminary sequence.
Step S1422, adding the video identifier and the ordering position thereof to the preliminary sequence by using the ordering position adjustment rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
The specific step of adding the video identifier and the ranking position thereof to the preliminary sequence by using the ranking position adjustment rule in the configuration group containing the search keyword and the video identifier to obtain a modified sequence may include:
and modifying the video identifier of the corresponding sorting position in the sorting position adjusting rule in the preliminary sequence into the video identifier in the configuration group, and sequentially moving back the sorting positions of other corresponding sorting positions in the sorting position adjusting rule and the sorting positions of the video identifiers behind the corresponding sorting positions to obtain the modified sequence.
In order to meet the requirements flexibly, the adjusted sorting positions based on the search keywords and the video identifiers can be adjusted as required, so that the adjusted sorting positions of the search keywords and the video identifiers can be adjusted flexibly according to different use conditions. For example, on a specific date (holiday or anniversary), the sorting position of a specific video identifier under a certain search keyword can be advanced, so that the user can conveniently view the video identifier; alternatively, for a particular search key, it may be characterized by a particular video identifier of the corresponding sequence that is ordered ahead of time to facilitate viewing by the user, or by masking off portions of the unsatisfactory video.
Referring to fig. 4, fig. 4 is a schematic flow chart of a video search result ranking adjustment method according to an embodiment of the present disclosure, where in order to facilitate generation and adjustment of the result ranking adjustment configuration file, in a specific implementation, the video search result ranking adjustment method further includes:
and step S41, acquiring a corresponding position adjustment rule based on a certain search keyword and a certain video identifier, and obtaining a configuration group comprising the search keyword, the video identifier and the position adjustment rule.
The step S41 is a step of generating the configuration group, and may generate a plurality of configuration groups at a time as needed, or may generate a plurality of configuration groups at a time.
And step S42, sorting and adjusting the configuration files of all the configuration group generation results.
Since the generation of the configuration group may be irregular, but the result sorting adjustment configuration file according to which the search system is based cannot be updated all the time when in use, it is necessary to generate the result sorting adjustment configuration file according to the existing configuration group.
And step S43, after the result sorting adjustment configuration file is generated, when the configuration group is generated again, updating the configuration group generated again to the result sorting adjustment configuration file.
After each new configuration group is generated, the updating operation can be performed immediately or automatically according to preset time.
It can be seen that the video search result ranking adjustment method provided by the embodiment of the disclosure can adjust the position of a specific video identifier under a search keyword as needed, the whole step only needs to set the search keyword and the position adjustment rule of the video identifier in advance, other steps can be automatically performed, and the method is simple and convenient, and can also set different position adjustment rules for a plurality of video identifiers under the same search keyword, or set different position adjustment rules for the same video identifier aiming at different search keywords, thereby meeting various needs.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
The above is a description of embodiments of the method, and the embodiments of the apparatus are further described below.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the modules of the search result ranking adjusting device may refer to the corresponding processes in the foregoing method embodiments.
Referring to fig. 5, an embodiment of the present disclosure further provides a search result ranking adjusting apparatus, including:
a request receiving module 51 adapted to receive a search request, the search request including a search keyword;
a preliminary sequence obtaining module 52, adapted to obtain a corresponding preliminary sequence based on the search keyword, where the preliminary sequence includes a plurality of video identifiers and corresponding sorting positions thereof;
a configuration group retrieval module 53, adapted to at least according to the search keyword, rank the retrieval result to adjust whether a configuration group at least containing the search keyword exists in the configuration file, where the configuration group includes a configuration group of the search keyword, a video identifier, and a position adjustment rule;
and a sorting adjustment module 54, adapted to, when a configuration group at least containing the search keyword exists, adjust the video identifier and the corresponding sorting position in the preliminary sequence by using the position adjustment rule in the configuration group obtained by the retrieval, so as to obtain a modified sequence.
In the above-described aspect and any possible implementation manner, an implementation manner is further provided, where the preliminary sequence obtaining module 52 is adapted to obtain, by using a search system, a corresponding preliminary sequence based on the search keyword; the parameters for sorting of the search system include one or more of play amount, relevancy, barrage amount or comment amount.
The above-described aspect and any possible implementation further provides an implementation, where the position adjustment rule includes an adjusted ranking position.
The above-described aspect and any possible implementation further provide an implementation, where the rank adjustment module 54 is further adapted to:
retrieving whether a configuration group containing the search key and a certain video identifier in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier in the preliminary sequence exists, the position of the video identifier in the preliminary sequence is adjusted by using the position adjustment rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
The above-described aspect and any possible implementation further provide an implementation, where the rank adjustment module 54 is further adapted to:
retrieving whether a configuration group containing the search key and a certain video identifier not in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier which is not in the preliminary sequence exists, adding the video identifier and the sequencing position thereof in the preliminary sequence by using the position adjusting rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
The above aspect and any possible implementation further provides an implementation, wherein the position adjustment rule includes an adjusted sorted position movement amount.
The above-described aspects and any possible implementation further provide an implementation, further including:
a configuration group generating module 55, adapted to obtain a corresponding position adjustment rule based on a certain search keyword and a certain video identifier, and obtain a configuration group including the search keyword, the video identifier, and the position adjustment rule;
a configuration file generation module 56, adapted to sort all the configuration group generation results into an adjustment configuration file;
and a configuration file updating module 57, adapted to update the regenerated configuration group to the result sorting adjustment configuration file when the configuration group is generated again after the result sorting adjustment configuration file is generated.
It can be seen that the video search result ranking adjustment device provided in the embodiment of the present disclosure can adjust the position of a specific video identifier under a search keyword as needed, and the whole step only needs to set the search keyword and the position adjustment rule of the video identifier in advance, and other steps can be performed automatically, which is simple and convenient, and different position adjustment rules can be set for a plurality of video identifiers under the same search keyword, or different position adjustment rules can be set for the same video identifier for different search keywords, so as to meet various needs.
An embodiment of the present disclosure also provides an electronic device, including: the video search system comprises a memory and a processor, wherein the memory stores programs, and the processor executes the programs to realize the video search result sequencing adjustment method.
Referring to fig. 6, fig. 6 shows a schematic diagram of an exemplary electronic device capable of implementing embodiments of the present disclosure.
The electronic device 60 may be used to implement the video search result ranking adjustment method. As shown in fig. 6, the electronic device 60 includes a CPU61 that can perform various appropriate actions and processes in accordance with program instructions stored in a ROM62 or loaded from the storage unit 68 into a RAM 63. In the RAM63, various programs and data necessary for the operation of the electronic device 60 can also be stored. The CPU61, ROM62, and RAM63 are connected to each other via a bus 64. An I/O interface 65 is also connected to bus 64.
A number of components in the electronic device 60 are connected to the I/O interface 65, including: an input unit 66 such as a keyboard, a mouse, or the like; an output unit 67 such as various types of displays, speakers, and the like; a storage unit 68 such as a magnetic disk, optical disk, or the like; and a communication unit 69 such as a network card, modem, wireless communication transceiver, etc. The communication unit 69 allows the electronic device 60 to exchange information/data with other electronic devices via a computer network such as the internet and/or various telecommunication networks.
The processing unit 61 performs the various methods described above, such as the video search result ranking adjustment method. For example, in some embodiments, the video search result ranking adjustment method may be implemented as a computer software program tangibly embodied in a computer-readable medium, such as storage unit 68. In some embodiments, part or all of the program may be loaded and/or installed onto the electronic device 60 via the ROM62 and/or the communication unit 69. When the program is loaded into RAM63 and executed by CPU61, one or more steps of the video search result ranking adjustment method described above may be performed. Alternatively, in other embodiments, CPU61 may be configured by any other suitable means (e.g., by way of firmware) to perform the method-the video search result ranking adjustment method.
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.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
Embodiments of the present disclosure also provide a computer-readable storage medium having a program stored thereon, which when executed by a processor, performs one or more steps of the video search result ranking adjustment method.
In the context of this disclosure, a computer-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 electronic device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or electronic device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM, an optical fiber, a CD-ROM, optical storage electronics, magnetic storage electronics, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. 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 implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations 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 (10)

1. A video search result ranking adjustment method is characterized by comprising the following steps:
receiving a search request, wherein the search request comprises a search keyword;
obtaining a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifications and corresponding sorting positions thereof;
whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file at least according to the search keywords, wherein the configuration group comprises the search keywords, a video identifier and a configuration group of a position adjustment rule;
and when the configuration group at least containing the search keyword exists, adjusting the video identifier in the preliminary sequence and the corresponding sequencing position thereof by using the position adjusting rule in the configuration group obtained by retrieval to obtain a corrected sequence.
2. The method for adjusting the ranking of video search results according to claim 1, wherein the step of obtaining the corresponding preliminary sequence based on the search keyword comprises:
based on the search keywords, obtaining a corresponding preliminary sequence by using a search system; the parameters for sorting of the search system include one or more of play amount, relevancy, barrage amount or comment amount.
3. The video search result ranking adjustment method of claim 1 wherein the position adjustment rule comprises adjusting a ranking position.
4. The method according to claim 1, wherein when a configuration group at least containing the search keyword exists, the step of adjusting the video identifier and the corresponding ranking position in the preliminary sequence by using the position adjustment rule in the configuration group obtained by retrieval to obtain a modified sequence comprises:
retrieving whether a configuration group containing the search key and a certain video identifier in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier in the preliminary sequence exists, the position of the video identifier in the preliminary sequence is adjusted by using the position adjustment rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
5. The method according to claim 1, wherein when a configuration group at least containing the search keyword exists, the step of adjusting the video identifier and the corresponding ranking position in the preliminary sequence by using the position adjustment rule in the configuration group obtained by retrieval to obtain a modified sequence comprises:
retrieving whether a configuration group containing the search key and a certain video identifier not in the preliminary sequence exists;
when the configuration group containing the search keyword and a certain video identifier which is not in the preliminary sequence exists, adding the video identifier and the sequencing position thereof in the preliminary sequence by using the position adjusting rule in the configuration group containing the search keyword and the video identifier to obtain a corrected sequence.
6. The video search result ranking adjustment method of claim 1 wherein the position adjustment rule comprises an adjusted rank position movement amount.
7. The video search result ranking adjustment method of claim 1, further comprising:
based on a certain search keyword and a certain video identifier, acquiring a corresponding position adjustment rule, and obtaining a configuration group comprising the search keyword, the video identifier and the position adjustment rule;
generating result sorting and adjusting configuration files for all the configuration groups;
and after the result sorting adjustment configuration file is generated, when the configuration group is generated again, updating the configuration group generated again to the result sorting adjustment configuration file.
8. A search result ranking adjustment apparatus, comprising:
a request receiving module adapted to receive a search request, the search request including a search keyword;
the preliminary sequence acquisition module is suitable for acquiring a corresponding preliminary sequence based on the search keyword, wherein the preliminary sequence comprises a plurality of video identifiers and corresponding sequencing positions thereof;
the configuration group retrieval module is suitable for at least according to the search keywords, and whether a configuration group at least containing the search keywords exists in a retrieval result sequencing adjustment configuration file or not, wherein the configuration group comprises a configuration group of the search keywords, a video identifier and a position adjustment rule;
and the sequencing adjusting module is suitable for adjusting the video identifiers in the preliminary sequence and the corresponding sequencing positions thereof by utilizing the position adjusting rule in the configuration group obtained by retrieval when the configuration group at least containing the search keyword exists, so as to obtain a corrected sequence.
9. An electronic device comprising a memory and a processor, the memory having a program stored thereon, wherein the processor, when executing the program, implements the video search result ranking adjustment method of any of claims 1-7.
10. A computer-readable storage medium, on which a program is stored, which, when being executed by a processor, implements the video search result ranking adjustment method according to any one of claims 1 to 7.
CN202110723793.XA 2021-06-29 2021-06-29 Video search result ranking adjustment method, device, electronic equipment and computer readable storage medium Active CN113449145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110723793.XA CN113449145B (en) 2021-06-29 2021-06-29 Video search result ranking adjustment method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110723793.XA CN113449145B (en) 2021-06-29 2021-06-29 Video search result ranking adjustment method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113449145A true CN113449145A (en) 2021-09-28
CN113449145B CN113449145B (en) 2023-11-10

Family

ID=77813709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110723793.XA Active CN113449145B (en) 2021-06-29 2021-06-29 Video search result ranking adjustment method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113449145B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173542A1 (en) * 2010-12-30 2012-07-05 Nhn Corporation System and method for determining ranking of keywords for each user group
CN104199987A (en) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 Method for displaying search result pages according to user-defined ordering, and search server
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN108932245A (en) * 2017-05-24 2018-12-04 合网络技术(北京)有限公司 Video searching method and device
CN109902200A (en) * 2019-02-22 2019-06-18 网宿科技股份有限公司 A kind of method, apparatus and server of video search sequence
CN111259272A (en) * 2020-01-14 2020-06-09 口口相传(北京)网络技术有限公司 Search result ordering method and device
CN111611492A (en) * 2020-05-26 2020-09-01 北京字节跳动网络技术有限公司 Method and device for triggering search, electronic equipment and storage medium
CN112800160A (en) * 2021-01-29 2021-05-14 上海钧正网络科技有限公司 Search ranking optimization method, system and device based on map scene and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120173542A1 (en) * 2010-12-30 2012-07-05 Nhn Corporation System and method for determining ranking of keywords for each user group
CN104199987A (en) * 2014-09-28 2014-12-10 北京奇虎科技有限公司 Method for displaying search result pages according to user-defined ordering, and search server
CN108932245A (en) * 2017-05-24 2018-12-04 合网络技术(北京)有限公司 Video searching method and device
CN107977405A (en) * 2017-11-16 2018-05-01 北京三快在线科技有限公司 Data reordering method, data sorting device, electronic equipment and readable storage medium storing program for executing
CN109902200A (en) * 2019-02-22 2019-06-18 网宿科技股份有限公司 A kind of method, apparatus and server of video search sequence
CN111259272A (en) * 2020-01-14 2020-06-09 口口相传(北京)网络技术有限公司 Search result ordering method and device
CN111611492A (en) * 2020-05-26 2020-09-01 北京字节跳动网络技术有限公司 Method and device for triggering search, electronic equipment and storage medium
CN112800160A (en) * 2021-01-29 2021-05-14 上海钧正网络科技有限公司 Search ranking optimization method, system and device based on map scene and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAOJIN YANG ET AL.: "Content Based Lecture Video Retrieval Using Speech and Video Text Information", 《IEEE TRANSACTIONS ON LEARNING TECHNOLOGIES》, pages 142 - 154 *
徐康: "基于用户兴趣模型的个性化搜索排序研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, pages 138 - 583 *

Also Published As

Publication number Publication date
CN113449145B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
US8447752B2 (en) Image search by interactive sketching and tagging
US20080077569A1 (en) Integrated Search Service System and Method
JP2005108221A (en) System and method for indexing query, rule and subscription
CN105447205A (en) Retrieved result sorting method and device
CN108334626B (en) News column generation method and device and computer equipment
CN114090695A (en) Query optimization method and device for distributed database
CN110580255A (en) method and system for storing and retrieving data
CN105786858A (en) Information search system and method
US11163801B2 (en) Execution of queries in relational databases
CN103294684A (en) System and method for searching associated terms
CN113449145A (en) Video search result sorting adjustment method and device, electronic equipment and computer-readable storage medium
CN108920484B (en) Search content processing method and device, storage device and computer device
CN110555034B (en) Data query paging method, device, server and medium
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN109885651A (en) A kind of question pushing method and device
CN111666278A (en) Data storage method, data retrieval method, electronic device and storage medium
CN112836077B (en) Specific person retrieval method, system, device and storage medium
WO2016010591A1 (en) Search engine using name clustering
CN113868533A (en) Application search method and device, electronic equipment and storage medium
CN111488313B (en) Model name batch processing method and system based on Tribon
CN109474832B (en) Information searching and sorting method, intelligent terminal and storage medium
CN112380445A (en) Data query method, device, equipment and storage medium
CN110119402B (en) Data query method, device, equipment and storage medium
CN113326258A (en) Hash connection method, device and system, electronic equipment and computer storage medium
CN113495891A (en) Data processing method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230511

Address after: Room 07, Room 42301, 23rd Floor (23), Building 4, Yard 7, Qingnian Road, Chaoyang District, Beijing, 100123

Applicant after: LeTV Cloud Network Technology (Beijing) Co.,Ltd.

Address before: 100025 1508, 12 / F, building 3, 105 yaojiayuan Road, Chaoyang District, Beijing

Applicant before: LECLOUD COMPUTING Co.,Ltd.

GR01 Patent grant
GR01 Patent grant