CN103530408A - Multimedia file recommendation method and device - Google Patents

Multimedia file recommendation method and device Download PDF

Info

Publication number
CN103530408A
CN103530408A CN201310512296.0A CN201310512296A CN103530408A CN 103530408 A CN103530408 A CN 103530408A CN 201310512296 A CN201310512296 A CN 201310512296A CN 103530408 A CN103530408 A CN 103530408A
Authority
CN
China
Prior art keywords
electronic equipment
multimedia file
multimedia
identification information
multimedia files
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
CN201310512296.0A
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.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing 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 LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201310512296.0A priority Critical patent/CN103530408A/en
Publication of CN103530408A publication Critical patent/CN103530408A/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/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/487Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location

Landscapes

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

Abstract

The embodiment of the invention provides a multimedia file recommendation method and device and relates to the field of Internet multimedia. Different multimedia files can be recommended for users of different regions, and the success rate of recommending multimedia files is increased. The multimedia file recommendation method includes the steps that a multimedia file search request from an electronic device is received; multimedia files matched with the multimedia file search request are obtained from a preset multimedia resource library according to the multimedia file search request; whether the number of the multimedia files is larger than N or not is judged, wherein N is an integer larger than or equal to 1; if yes, the identification information of the electronic device is obtained, the multimedia files are sorted according to the identification information of the electronic device, and the identification information of the electronic device is used for indicating the geographic position of the electronic device; the sorted multimedia files are recommended to the electronic device.

Description

Multimedia file recommendation method and device
Technical Field
The invention relates to the field of internet multimedia, in particular to a multimedia file recommendation method and device.
Background
With the popularization of the internet, users can acquire more network information. At this time, since network information focused on by different users may be different, how to more accurately feed back focused content to the users becomes a focus of attention of each operator.
The existing network information recommendation method generally obtains the click rate of the network information, and recommends the order of the network information to the user according to the click rate, for example, the network information with higher click rate is arranged in the front, and the network information with lower click rate is arranged in the back.
However, with the method in the prior art, the current hotspot information is only reflected to a certain extent, and is considered to be concerned by the user, but the requirements of some users cannot be met, and thus, network information recommendation may fail.
Disclosure of Invention
The embodiment of the invention provides a multimedia file recommendation method and device, which can recommend different multimedia files for users in different regions and increase the success rate of the recommended multimedia files.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
the embodiment of the invention provides a multimedia file recommendation method, which comprises the following steps:
receiving a multimedia file search request from an electronic device;
acquiring a multimedia file matched with the multimedia file search request from a preset media asset library according to the multimedia file search request;
judging whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1;
if so, acquiring identification information of the electronic equipment, and sequencing the multimedia files according to the identification information of the electronic equipment, wherein the identification information of the electronic equipment is used for indicating the geographical position of the electronic equipment;
and recommending the sequenced multimedia files to the electronic equipment.
The step of ordering the multimedia files according to the identification information of the electronic equipment comprises the following steps:
updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment;
and sequencing the multimedia files according to the weight of the multimedia files and a preset rule.
The step of updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment comprises the following steps:
determining the geographical position of the electronic equipment according to the identification information of the electronic equipment;
and updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the multimedia file by adopting a Lucene formula according to the geographical position of the electronic equipment.
The step of ordering the multimedia files according to the weight of the multimedia files and a preset rule comprises the following steps:
and arranging the multimedia files according to the sequence of the weights from big to small.
The step of acquiring the identification information of the electronic device includes:
extracting identification information of the electronic equipment carried by the multimedia file searching request from the multimedia file searching request;
or,
and sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
An embodiment of the present invention further provides a multimedia file recommendation apparatus, including:
a receiving unit for receiving a multimedia file search request from an electronic device;
the searching unit is used for acquiring the multimedia file matched with the multimedia file searching request from a preset media asset library according to the multimedia file searching request;
the processing unit is used for judging whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1, if yes, the identification information of the electronic equipment is obtained, the multimedia files are sequenced according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment;
and the information recommending unit is used for recommending the sequenced multimedia files to the electronic equipment.
The processing unit is used for updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment, and sequencing the multimedia file according to a preset rule according to the weight of the multimedia file.
And the processing unit is used for determining the geographical position of the electronic equipment according to the identification information of the electronic equipment, and updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the searched multimedia files by adopting a Lucene formula according to the geographical position of the electronic equipment.
And the processing unit is used for arranging the multimedia files according to the weight sequence from big to small.
The processing unit is used for extracting the identification information of the electronic equipment carried by the multimedia file searching request from the multimedia file searching request; or sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
The embodiment of the invention provides a multimedia file recommendation method and device, wherein the multimedia file recommendation device receives a multimedia file search request from electronic equipment, acquires multimedia files matched with the multimedia file search request from a preset media library according to the multimedia file search request, judges whether the number of the multimedia files is greater than N, wherein N is an integer greater than or equal to 1, if yes, acquires identification information of the electronic equipment, sorts the multimedia files according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment and recommending the sorted multimedia files to the electronic equipment. According to the scheme, after the multimedia file recommendation device acquires the multimedia files matched with the multimedia file search request, if the number of the multimedia files is larger than N, the multimedia file recommendation device sorts and recommends the recommendable multimedia files according to the geographical position of the electronic equipment by acquiring the identification information of the electronic equipment capable of indicating the geographical position of the electronic equipment, so that different multimedia files can be recommended for users in different regions, and the success rate of the recommended multimedia files is increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a multimedia file recommendation method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a multimedia file recommendation method according to a second embodiment of the present invention;
FIG. 3 is a schematic view of a search interface of an electronic device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multimedia file recommendation device according to a third embodiment of the present invention.
Detailed Description
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.
Example one
An embodiment of the present invention provides a method for recommending a multimedia file, as shown in fig. 1, the method includes:
s101, the multimedia file recommending device receives a multimedia file searching request from the electronic equipment.
The multimedia file recommendation device of the embodiment of the invention can be a server specifically, and can also be equipment capable of executing the method of the invention; an electronic device, which may be a device providing voice and/or data connectivity to a user, may be a mobile terminal, such as a mobile phone and a computer with a mobile terminal, for example, a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device, a PC (personal computer), or a smart tv capable of connecting to the internet.
Specifically, the multimedia file search request of the electronic device is generated after the electronic device responds to an operation of a user, for example, the user needs to search for a certain multimedia file, and by operating the electronic device (for example, inputting a name of the multimedia file), the electronic device generates the multimedia file search request and further sends the multimedia file search request to the multimedia file recommendation device.
Further, the multimedia file according to the embodiment of the present invention may be any one of a video file, an audio file, an image file, and a text file edited by a user, or the multimedia file may be a file composed of at least two of the above-mentioned files. The embodiment of the invention does not limit the specific form of the multimedia file.
S102, the multimedia file recommending device obtains the multimedia file matched with the multimedia file searching request from a preset media asset library according to the multimedia file searching request.
The preset media asset library is a database in which all multimedia files are stored. The multimedia file recommendation device obtains the multimedia file matched with the multimedia file search request from a preset media asset library according to the multimedia file search request, specifically, the multimedia file search request can include the name of the multimedia file to be searched, and the multimedia file recommendation device can search in the preset media asset library according to the name.
S103, the multimedia file recommending device judges whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1.
And if the number of the multimedia files is less than or equal to N, the multimedia file recommending device directly recommends the multimedia files to the electronic equipment.
However, in many scenarios, the number of multimedia files of the multimedia file recommendation device is greater than N, for example, a multimedia file search request sent by the electronic device indicates that a multimedia file required by a user is a "tatanik number", at this time, the multimedia file recommendation device may search for a tatanik number of an english version, a tatanik number of a mandarin version, and a tatanik number of a cantonese version, and then the multimedia file recommendation device needs to recommend each multimedia file.
Specifically, in the multimedia file recommendation method according to the embodiment of the present invention, the multimedia file recommendation device first needs to determine whether the number of multimedia files is greater than N, where N is an integer greater than or equal to 1.
And S104, if so, the multimedia file recommending device acquires the identification information of the electronic equipment and sorts the multimedia files according to the identification information of the electronic equipment, wherein the identification information of the electronic equipment is used for indicating the geographical position of the electronic equipment.
And if the number of the multimedia files is larger than N, the multimedia file recommending device acquires the identification information of the electronic equipment, wherein the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment. And then recommending the multimedia file according to the geographical position of the electronic equipment.
The method for acquiring the identification information of the electronic device may specifically include: acquiring identification information of the electronic equipment contained in the multimedia file search request; or sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
Further optionally, if the electronic device is a personal computer PC, the identification information of the electronic device is an Internet Protocol (IP) address between networks; if the electronic equipment is a mobile phone, the identification information of the electronic equipment is UA (User Agent) or a coded mobile phone number, and the coded mobile phone number is acquired from a communication operator; if the electronic device is a smart television, the identification information of the electronic device is an IP address or a Media Access Control (MAC) address.
The step of ordering the multimedia files according to the identification information of the electronic equipment comprises the following steps: updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment; and sequencing the multimedia files according to the weight of the multimedia files and a preset rule.
Further, the step of updating the weight of the multimedia file according to the preset strategy according to the identification information of the electronic device includes: determining the geographical position of the electronic equipment according to the identification information of the electronic equipment; and updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the multimedia file by adopting a Lucene formula according to the geographical position of the electronic equipment.
Further, the step of ordering the multimedia files according to the preset rule according to the weight of the multimedia files comprises:
and arranging the multimedia files according to the sequence of the weights from big to small.
Specifically, how to update the weight of the multimedia file matching the geographic location of the electronic device in the multimedia file using the Lucene formula will be described in detail in the following embodiments.
And S105, recommending the sequenced multimedia files to the electronic equipment by the multimedia file recommending device.
For example, if the identification information of the electronic device acquired by the multimedia file device indicates that the geographic location of the electronic device is the guangdong, the multimedia file device arranges the tyndak number of the cantonese edition in front of the electronic device for recommendation.
The embodiment of the invention provides a multimedia file recommendation method, wherein a multimedia file recommendation device receives a multimedia file search request from electronic equipment, acquires multimedia files matched with the multimedia file search request from a preset media asset library according to the multimedia file search request, judges whether the number of the multimedia files is greater than N, wherein N is an integer greater than or equal to 1, if yes, acquires identification information of the electronic equipment, sorts the multimedia files according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment and recommending the sorted multimedia files to the electronic equipment. According to the scheme, after the multimedia file recommendation device acquires the multimedia files matched with the multimedia file search request, if the number of the multimedia files is larger than N, the multimedia file recommendation device sorts and recommends the recommendable multimedia files according to the geographical position of the electronic equipment by acquiring the identification information of the electronic equipment capable of indicating the geographical position of the electronic equipment, so that different multimedia files can be recommended for users in different regions, and the success rate of the recommended multimedia files is increased.
Example two
An embodiment of the present invention provides a multimedia file recommendation method, as shown in fig. 2, the method includes:
s201, responding to the operation of a user, and generating a multimedia file search request by the electronic equipment.
In the embodiment of the present invention, as shown in fig. 3, the electronic device provides a multimedia file search interface to the user, where the interface may include a search bar and a search button, the user inputs a name of a desired multimedia file in the search bar, and the electronic device generates a multimedia file search request in response to a trigger of the search button by the user. The name of the multimedia file may be included in the multimedia file search request.
The multimedia file may be any one of a video file, an audio file, an image file, or a text file edited by a user, or the multimedia file may be a file composed of at least two of the above files.
The electronic device of the embodiment of the present invention may be a device providing voice and/or data connectivity to a user, and may be a mobile terminal, such as a mobile phone and a computer with a mobile terminal, for example, a portable, pocket, handheld, computer-embedded or vehicle-mounted mobile device, a PC, or a smart tv capable of connecting to the internet.
S202, the electronic equipment sends a multimedia file search request to the multimedia file recommending device.
After generating the multimedia file search request, the electronic device sends the multimedia file search request to the multimedia file recommendation device to obtain the multimedia file required by the user.
The multimedia file recommendation device of the embodiment of the invention may be specifically a server, and may also be a device capable of executing the method of the invention.
S203, the multimedia file recommending device acquires the multimedia file matched with the multimedia file searching request from a preset media asset library according to the multimedia file searching request.
For example, after receiving the multimedia file search request, the multimedia file recommendation device may parse the multimedia file search request to parse the name of the multimedia file in the multimedia file search request, and further obtain the multimedia file matched with the multimedia file search request from a preset media asset library according to the parsed name of the multimedia file.
The preset media asset library is a database in which all multimedia files are stored.
S204, the multimedia file recommending device judges whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1.
S205, if yes, the multimedia file recommending device acquires identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment.
If the multimedia file recommending device judges that the number of the multimedia files is larger than N, the media file recommending device acquires identification information of the electronic equipment, wherein the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment.
The method for acquiring the identification information of the electronic equipment by the multimedia recommendation device can be realized in the following two ways:
in a first implementation manner, the multimedia file recommending apparatus obtains the identification information of the electronic device included in the multimedia file search request, that is, the multimedia file search request generated by the electronic device includes the identification information of the electronic device, so that the multimedia file recommending apparatus can obtain the identification information of the electronic device when analyzing the multimedia file search request.
In a second implementation manner, the multimedia file recommendation apparatus may send an identification request to the electronic device, and then receive identification information of the electronic device returned by the electronic device.
Specifically, if the electronic device is a Personal Computer (PC), the identification information of the electronic device is an Internet Protocol (IP) address between networks; if the electronic equipment is a mobile phone, the identification information of the electronic equipment is UA or a coded mobile phone number, and the coded mobile phone number is acquired from a communication operator; and if the electronic equipment is the intelligent television, the identification information of the electronic equipment is an IP address or an MAC address.
S206, the multimedia file recommending device determines the geographic position of the electronic equipment according to the identification information of the electronic equipment.
Specifically, the multimedia file recommending device determines the geographic position of the electronic equipment according to the IP address, the MAC address, the UA or the coded mobile phone number.
And S207, updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the searched multimedia files by the multimedia file recommending device by adopting a Lucene formula according to the geographical position of the electronic equipment.
First, the formula for Lucene here is:
<math> <mrow> <mi>Score</mi> <mrow> <mo>(</mo> <mi>q</mi> <mo>,</mo> <mi>d</mi> <mo>)</mo> </mrow> <mo>=</mo> <mi>cord</mi> <mrow> <mo>(</mo> <mi>q</mi> <mo>,</mo> <mi>d</mi> <mo>)</mo> </mrow> <mo>&times;</mo> <mi>queryNorm</mi> <mrow> <mo>(</mo> <mi>q</mi> <mo>)</mo> </mrow> <mo>&times;</mo> <munder> <mi>&Sigma;</mi> <mi>tinq</mi> </munder> <mrow> <mo>(</mo> <mi>tf</mi> <mrow> <mo>(</mo> <mi>tind</mi> <mo>)</mo> </mrow> <mo>&times;</mo> <mi>idf</mi> <msup> <mrow> <mo>(</mo> <mi>t</mi> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>&times;</mo> <mi>t</mi> <mo>.</mo> <mi>getBoost</mi> <mo>(</mo> <mo>)</mo> <mo>&times;</mo> <mi>norm</mi> <mrow> <mo>(</mo> <mi>t</mi> <mo>,</mo> <mi>d</mi> <mo>)</mo> </mrow> <mo>)</mo> </mrow> </mrow> </math>
wherein, the cord (q, d) is a coordination factor and represents the percentage of Term (t) appearing in the document (d), namely, the sum of the quantities of Term (t) appearing in the query condition (q) and the quantity ratio of the quantities of Term (t) appearing in the document is calculated. Generally, the more query Term categories appear in a document, the higher the score;
querynorm (q) is an adjustment factor, does not affect the index ordering, is used only during retrieval, and is mainly used for enabling the ordering result to be compared among different query conditions. This condition is calculated at the time of search. The value is calculated from the sum of the squares of the weights of each query term. The calculation formula is as follows:
<math> <mrow> <mi>queryNorm</mi> <mrow> <mo>(</mo> <mi>q</mi> <mo>)</mo> </mrow> <mo>=</mo> <mfrac> <mn>1</mn> <msqrt> <mi>q</mi> <mo>.</mo> <msup> <mrow> <mi>getBoost</mi> <mo>(</mo> <mo>)</mo> </mrow> <mn>2</mn> </msup> <mo>&times;</mo> <munder> <mi>&Sigma;</mi> <mi>tinq</mi> </munder> <msup> <mrow> <mo>(</mo> <mi>idf</mi> <mrow> <mo>(</mo> <mi>t</mi> <mo>)</mo> </mrow> <mo>&times;</mo> <mi>t</mi> <mo>.</mo> <mi>getBoost</mi> <mo>(</mo> <mo>)</mo> <mo>)</mo> </mrow> <mn>2</mn> </msup> </msqrt> </mfrac> </mrow> </math>
tf (tind) is the document frequency, which represents the number of times each Term appears in the corresponding result document in (d) in the query Term. The more times the query word appears, the higher the frequency of appearance, and the higher the retrieval score of the document. In order to avoid obtaining a larger correlation function, in practice, the square of the number of times is used as the value of the document frequency tf, and the numerical value is prevented from being excessively enlarged.
idf (t) is the inverse document frequency, retrieving the inverse function of the number of matching documents. According to the information theory, the smaller the number of occurrences of a document, the larger the amount of information per document. So the fewer the number of documents matched, the higher the score. The more the total number of documents in the index library is, the more difficulty in finding a target document is, and the corresponding information amount is also larger.
norm (t, d) is a length factor, determined by the overall length of each indexed vocabulary in the domain, this parameter being determined at index build time. The numerical value is determined according to the number of index items actually in the document. The larger the proportion of the length of the search term in the total length of the document, the larger the value of the length factor. The formula for norm (t, d) is as follows:
<math> <mrow> <mi>norm</mi> <mrow> <mo>(</mo> <mi>t</mi> <mo>,</mo> <mi>d</mi> <mo>)</mo> </mrow> <mo>=</mo> <mi>d</mi> <mo>.</mo> <mi>getBoost</mi> <mo>(</mo> <mo>)</mo> <mo>&times;</mo> <mi>lengthNorm</mi> <mrow> <mo>(</mo> <mi>field</mi> <mo>)</mo> </mrow> <mo>&times;</mo> <munder> <mi>&Pi;</mi> <mi>field find</mi> </munder> <mi>f</mi> <mo>.</mo> <mi>getBoost</mi> <mo>(</mo> <mo>)</mo> </mrow> </math>
wherein, lengthNorm ( f ) = 1 num of term sin field f
the multimedia file recommending device updates the weight of the searched multimedia file matched with the geographical position of the electronic equipment according to the geographical position of the electronic equipment by adopting the Lucene formula.
For example, if a user in the Guangdong region generally likes to see Guangdong tablets, the multimedia file recommendation apparatus may increase the weight of the found multimedia files in Guangdong.
And S208, arranging the multimedia files according to the sequence of the weights from big to small by the multimedia file recommending device.
After the multimedia file recommending device calculates the weight of each multimedia file, the multimedia file recommending device can arrange the multimedia files in a descending order according to the weight of each multimedia file.
S209, the multimedia file recommending device recommends the arranged multimedia files to the electronic equipment.
S210, the electronic equipment displays the arranged multimedia files.
The embodiment of the invention provides a multimedia file recommendation method, wherein a multimedia file recommendation device receives a multimedia file search request from electronic equipment, acquires multimedia files matched with the multimedia file search request from a preset media asset library according to the multimedia file search request, judges whether the number of the multimedia files is greater than N, wherein N is an integer greater than or equal to 1, if yes, acquires identification information of the electronic equipment, sorts the multimedia files according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment and recommending the sorted multimedia files to the electronic equipment. According to the scheme, after the multimedia file recommendation device acquires the multimedia files matched with the multimedia file search request, if the number of the multimedia files is larger than N, the multimedia file recommendation device sorts and recommends the recommendable multimedia files according to the geographical position of the electronic equipment by acquiring the identification information of the electronic equipment capable of indicating the geographical position of the electronic equipment, so that different multimedia files can be recommended for users in different regions, and the success rate of the recommended multimedia files is increased.
EXAMPLE III
An embodiment of the present invention provides a multimedia file recommendation apparatus 1, as shown in fig. 4, including:
a receiving unit 10 for receiving a multimedia file search request from an electronic device;
the searching unit 11 is configured to obtain, according to the multimedia file search request, a multimedia file matched with the multimedia file search request from a preset media asset library;
the processing unit 12 is configured to determine whether the number of the multimedia files is greater than N, where N is an integer greater than or equal to 1, and if so, obtain identification information of the electronic device, and sort the multimedia files according to the identification information of the electronic device, where the identification information of the electronic device is used to indicate a geographic location of the electronic device;
and the information recommending unit 14 is used for recommending the sorted multimedia files to the electronic equipment.
Further, the processing unit 12 is configured to update the weight of the multimedia file according to a preset policy according to the identification information of the electronic device, and sort the multimedia file according to a preset rule according to the weight of the multimedia file.
Further, the processing unit 12 is configured to determine a geographic location of the electronic device according to the identification information of the electronic device, and update, according to the geographic location of the electronic device, a weight of a multimedia file matched with the geographic location of the electronic device in the searched multimedia file by using a Lucene formula.
Further, the processing unit 12 is configured to arrange the multimedia files in an order from large to small according to the weight.
Further, the processing unit 12 is configured to extract, from the multimedia file search request, identification information of the electronic device carried in the multimedia file search request; or sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
The embodiment of the invention provides a multimedia file recommendation device, which receives a multimedia file search request from electronic equipment, acquires multimedia files matched with the multimedia file search request from a preset media library according to the multimedia file search request, judges whether the number of the multimedia files is greater than N, wherein N is an integer greater than or equal to 1, if yes, acquires identification information of the electronic equipment, sorts the multimedia files according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment and recommending the sorted multimedia files to the electronic equipment. According to the scheme, after the multimedia file recommendation device acquires the multimedia files matched with the multimedia file search request, if the number of the multimedia files is larger than N, the multimedia file recommendation device sorts and recommends the recommendable multimedia files according to the geographical position of the electronic equipment by acquiring the identification information of the electronic equipment capable of indicating the geographical position of the electronic equipment, so that different multimedia files can be recommended for users in different regions, and the success rate of the recommended multimedia files is increased.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for recommending multimedia files, the method comprising:
receiving a multimedia file search request from an electronic device;
acquiring a multimedia file matched with the multimedia file search request from a preset media asset library according to the multimedia file search request;
judging whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1;
if so, acquiring identification information of the electronic equipment, and sequencing the multimedia files according to the identification information of the electronic equipment, wherein the identification information of the electronic equipment is used for indicating the geographical position of the electronic equipment;
and recommending the sequenced multimedia files to the electronic equipment.
2. The method of claim 1, wherein the step of ordering the multimedia files according to the identification information of the electronic device comprises:
updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment;
and sequencing the multimedia files according to the weight of the multimedia files and a preset rule.
3. The method according to claim 2, wherein the step of updating the weight of the multimedia file according to a preset policy based on the identification information of the electronic device comprises:
determining the geographical position of the electronic equipment according to the identification information of the electronic equipment;
and updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the multimedia file by adopting a Lucene formula according to the geographical position of the electronic equipment.
4. The method of claim 2, wherein the step of ordering the multimedia files according to the weight of the multimedia files and the preset rule comprises:
and arranging the multimedia files according to the sequence of the weights from big to small.
5. The method according to any one of claims 1 to 4, wherein the step of acquiring the identification information of the electronic device comprises:
extracting identification information of the electronic equipment carried by the multimedia file searching request from the multimedia file searching request;
or,
and sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
6. A multimedia file recommendation apparatus, comprising:
a receiving unit for receiving a multimedia file search request from an electronic device;
the searching unit is used for acquiring the multimedia file matched with the multimedia file searching request from a preset media asset library according to the multimedia file searching request;
the processing unit is used for judging whether the number of the multimedia files is larger than N, wherein N is an integer larger than or equal to 1, if yes, the identification information of the electronic equipment is obtained, the multimedia files are sequenced according to the identification information of the electronic equipment, and the identification information of the electronic equipment is used for indicating the geographic position of the electronic equipment;
and the information recommending unit is used for recommending the sequenced multimedia files to the electronic equipment.
7. The apparatus of claim 6,
the processing unit is used for updating the weight of the multimedia file according to a preset strategy according to the identification information of the electronic equipment, and sequencing the multimedia file according to a preset rule according to the weight of the multimedia file.
8. The apparatus of claim 7,
and the processing unit is used for determining the geographical position of the electronic equipment according to the identification information of the electronic equipment, and updating the weight of the multimedia file matched with the geographical position of the electronic equipment in the searched multimedia files by adopting a Lucene formula according to the geographical position of the electronic equipment.
9. The apparatus of claim 7,
and the processing unit is used for arranging the multimedia files according to the weight sequence from big to small.
10. The apparatus according to any one of claims 6 to 9,
the processing unit is used for extracting the identification information of the electronic equipment carried by the multimedia file searching request from the multimedia file searching request; or sending an identification request to the electronic equipment, and receiving identification information of the electronic equipment returned by the electronic equipment.
CN201310512296.0A 2013-10-25 2013-10-25 Multimedia file recommendation method and device Pending CN103530408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310512296.0A CN103530408A (en) 2013-10-25 2013-10-25 Multimedia file recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310512296.0A CN103530408A (en) 2013-10-25 2013-10-25 Multimedia file recommendation method and device

Publications (1)

Publication Number Publication Date
CN103530408A true CN103530408A (en) 2014-01-22

Family

ID=49932417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310512296.0A Pending CN103530408A (en) 2013-10-25 2013-10-25 Multimedia file recommendation method and device

Country Status (1)

Country Link
CN (1) CN103530408A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915418A (en) * 2015-06-08 2015-09-16 小米科技有限责任公司 Website recommendation method and device
CN105491405A (en) * 2015-11-24 2016-04-13 天脉聚源(北京)科技有限公司 Method and device for interactive television program recommendation of television interactive system
WO2017076183A1 (en) * 2015-11-03 2017-05-11 阿里巴巴集团控股有限公司 Multimedia object recommendation method, device, system, terminal, and server
CN113992660A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File transmission method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587848B1 (en) * 2000-03-08 2003-07-01 International Business Machines Corporation Methods and apparatus for performing an affinity based similarity search
CN101782901A (en) * 2009-01-15 2010-07-21 林玉好 Method and system for loading internet advertisement in search engine
CN101996215A (en) * 2009-08-27 2011-03-30 阿里巴巴集团控股有限公司 Information matching method and system applied to e-commerce website
CN102053983A (en) * 2009-11-02 2011-05-11 阿里巴巴集团控股有限公司 Method, system and device for querying vertical search

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6587848B1 (en) * 2000-03-08 2003-07-01 International Business Machines Corporation Methods and apparatus for performing an affinity based similarity search
CN101782901A (en) * 2009-01-15 2010-07-21 林玉好 Method and system for loading internet advertisement in search engine
CN101996215A (en) * 2009-08-27 2011-03-30 阿里巴巴集团控股有限公司 Information matching method and system applied to e-commerce website
CN102053983A (en) * 2009-11-02 2011-05-11 阿里巴巴集团控股有限公司 Method, system and device for querying vertical search

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915418A (en) * 2015-06-08 2015-09-16 小米科技有限责任公司 Website recommendation method and device
CN104915418B (en) * 2015-06-08 2018-09-04 小米科技有限责任公司 Recommendation of websites method and device
WO2017076183A1 (en) * 2015-11-03 2017-05-11 阿里巴巴集团控股有限公司 Multimedia object recommendation method, device, system, terminal, and server
CN105491405A (en) * 2015-11-24 2016-04-13 天脉聚源(北京)科技有限公司 Method and device for interactive television program recommendation of television interactive system
CN113992660A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106326391B (en) Multimedia resource recommendation method and device
CN106227815B (en) Multi-modal clue personalized application program function recommendation method and system
CN102073699B (en) For improving the method for Search Results, device and equipment based on user behavior
US20150213042A1 (en) Search term obtaining method and server, and search term recommendation system
EP3312738B1 (en) Method and device for displaying keyword
CN109168047B (en) Video recommendation method and device, server and storage medium
CN107729578B (en) Music recommendation method and device
CN112199526B (en) Method and device for issuing multimedia content, electronic equipment and storage medium
KR101682659B1 (en) Method for customized news alarm based on keyword and management server for news search for the same
CN105718578A (en) Short link generation method and device
KR101647087B1 (en) Server and method for goods providing based on natural language processing
CN105991722B (en) Downloader recommendation method, application server, terminal and system
CN110175264A (en) Construction method, server and the computer readable storage medium of video user portrait
CN107656997A (en) Natural language processing method, apparatus, storage medium and terminal device
CN112087667A (en) Information processing method and device and computer storage medium
CN110209921B (en) Method and device for pushing media resource, storage medium and electronic device
CN103530408A (en) Multimedia file recommendation method and device
CN109446417B (en) Intelligent retrieval method and device
KR101544462B1 (en) Providing Personalized POI Information Using Client Information And Client Terminal Implementing The Same
KR101866411B1 (en) Method for providing document recommandation information, and device using the same
KR20130064447A (en) Method and appratus for providing search results using similarity between inclinations of users and device
KR101678779B1 (en) Method for recommending contents using metadata and apparatus for performing the method
CN103500233A (en) Multi-media file recommending method and device
CN106570003B (en) Data pushing method and device
CN114282119B (en) Scientific and technological information resource retrieval method and system based on heterogeneous information network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122

RJ01 Rejection of invention patent application after publication