CN112364244A - Multimedia data recommendation method, device, server and storage medium - Google Patents
Multimedia data recommendation method, device, server and storage medium Download PDFInfo
- Publication number
- CN112364244A CN112364244A CN202011278871.1A CN202011278871A CN112364244A CN 112364244 A CN112364244 A CN 112364244A CN 202011278871 A CN202011278871 A CN 202011278871A CN 112364244 A CN112364244 A CN 112364244A
- Authority
- CN
- China
- Prior art keywords
- multimedia data
- data
- service
- identifier
- target multimedia
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000006399 behavior Effects 0.000 claims description 82
- 230000015654 memory Effects 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 11
- 238000001914 filtration Methods 0.000 description 33
- 238000004590 computer program Methods 0.000 description 16
- 238000012163 sequencing technique Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a multimedia data recommendation method, a multimedia data recommendation device, a server and a storage medium, and belongs to the technical field of recommendation. The method comprises the following steps: receiving a recommendation request sent by an application client, wherein the recommendation request carries a first user identifier and a service identifier for logging in the application client, and the service identifier is used for indicating any service in the application client; acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier; and sending the target multimedia data or the data identification of the target multimedia data to an application client, wherein the application client is used for recommending the target multimedia data or the target multimedia data corresponding to the data identification in the service. The method and the device expand the multimedia data acquisition mode, also expand the service range of the recommended multimedia data, and can improve the accuracy of the acquired multimedia data by acquiring the multimedia data based on the data acquisition interface corresponding to the service.
Description
Technical Field
The embodiment of the application relates to the technical field of recommendation, in particular to a multimedia data recommendation method, a multimedia data recommendation device, a multimedia data recommendation server and a storage medium.
Background
With the rapid development of internet technology and the widespread dissemination of multimedia data, more and more users can access multimedia data through the internet. The server can recommend the multimedia data matched with the behavior data for the user according to the behavior data of the user, however, since various types of services are involved in the recommendation process, a method for recommending the multimedia data in different services is urgently needed.
Disclosure of Invention
The embodiment of the application provides a multimedia data recommendation method, a multimedia data recommendation device, a server and a storage medium, which expand the multimedia data acquisition mode and expand the service range of recommended multimedia data. The technical scheme is as follows:
in one aspect, a multimedia data recommendation method is provided, and the method includes:
receiving a recommendation request sent by an application client, wherein the recommendation request carries a first user identifier and a service identifier for logging in the application client, and the service identifier is used for indicating any service in the application client;
acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier;
and sending the target multimedia data or the data identification of the target multimedia data to the application client, wherein the application client is used for recommending the target multimedia data or the target multimedia data corresponding to the data identification in the service.
Optionally, the recommendation request carries behavior data of the first user identifier;
the acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier includes:
and acquiring target multimedia data which belongs to the service and is matched with the behavior data based on a data acquisition interface corresponding to the service identifier.
Optionally, before the acquiring, based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service, the method further includes:
receiving the recommendation request based on an access service interface;
before the acquiring the target multimedia data belonging to the service based on the data acquiring interface corresponding to the service identifier, the method further includes:
and distributing the recommendation request to a data acquisition interface corresponding to the service identifier based on the access service interface.
Optionally, the acquiring, based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service includes:
acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data based on a data acquisition interface corresponding to the service identifier, wherein the candidate multimedia data are multimedia data belonging to the service;
and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
Optionally, the acquiring, based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service includes:
determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of a data acquisition interface corresponding to the service identifiers;
and determining the multimedia data belonging to the service in the behavior data of the second user identifier as the target multimedia data.
Optionally, the acquiring, based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service includes:
acquiring a preset number of candidate multimedia data from a plurality of candidate multimedia data based on a data acquisition interface corresponding to the service identifier, and determining the preset number of candidate multimedia data as target multimedia data belonging to the service;
wherein the candidate multimedia data are multimedia data belonging to the service; the heat value of the preset number of candidate multimedia data is greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
Optionally, the acquiring, based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service includes:
acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
determining combined multimedia data including the multimedia data from candidate multimedia data, and determining the combined multimedia data as the target multimedia data, wherein the candidate multimedia data are multimedia data belonging to the service.
Optionally, after acquiring the target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier, the method further includes:
and calling a filtering service interface to filter the target multimedia data meeting the filtering condition.
Optionally, the filtering conditions include at least one of:
the multimedia data is the same as the multimedia data included in the historical behavior data of the first user identifier;
the same as the multimedia data recommended to the first user identifier;
same as the preset filtering data.
Optionally, the sending of the target multimedia data or the data identifier of the target multimedia data to the application client includes:
sequencing the plurality of target multimedia data;
and selecting target multimedia data with a target quantity according to the arrangement sequence of the target multimedia data, and sending the target multimedia data with the target quantity or the data identification of the target multimedia data with the target quantity to the application client.
Optionally, the method further comprises:
acquiring introduction information of the target multimedia data;
the sending the target multimedia data to the application client comprises:
and sending the target multimedia data and the introduction information of the target multimedia data to the application client.
Optionally, before the sending the target multimedia data or the data identifier of the target multimedia data to the application client, the method further includes:
determining an original data identifier of the target multimedia data, wherein the original data identifier is used for indicating the target multimedia data;
querying a related data identifier corresponding to the original data identifier, wherein the related data identifier is used for indicating other versions of the target multimedia data;
the sending the target multimedia data or the data identifier of the target multimedia data to the application client includes:
and sending the multimedia data corresponding to the target multimedia data and the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
In another aspect, a multimedia data recommendation apparatus is provided, the apparatus including:
the system comprises a receiving module, a recommending module and a processing module, wherein the receiving module is used for receiving a recommending request sent by an application client, the recommending request carries a first user identifier and a service identifier which log in the application client, and the service identifier is used for indicating any service in the application client;
the data acquisition module is used for acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier;
and the sending module is used for sending the target multimedia data or the data identifier of the target multimedia data to the application client, and the application client is used for recommending the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
Optionally, the recommendation request carries behavior data of the first user identifier;
and the data acquisition module is used for acquiring target multimedia data which belongs to the service and is matched with the behavior data based on a data acquisition interface corresponding to the service identifier.
Optionally, the apparatus further comprises:
the receiving module is used for receiving the recommendation request based on an access service interface;
and the distribution module is used for distributing the recommendation request to a data acquisition interface corresponding to the service identifier based on the access service interface.
Optionally, the data obtaining module is configured to:
acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data based on a data acquisition interface corresponding to the service identifier, wherein the candidate multimedia data are multimedia data belonging to the service;
and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
Optionally, the data obtaining module is configured to:
determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of a data acquisition interface corresponding to the service identifiers;
and determining the multimedia data belonging to the service in the behavior data of the second user identifier as the target multimedia data.
Optionally, the data obtaining module is configured to:
acquiring a preset number of candidate multimedia data from a plurality of candidate multimedia data based on a data acquisition interface corresponding to the service identifier, and determining the preset number of candidate multimedia data as target multimedia data belonging to the service;
wherein the candidate multimedia data are multimedia data belonging to the service; the heat value of the preset number of candidate multimedia data is greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
Optionally, the data obtaining module is configured to:
acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
determining combined multimedia data including the multimedia data from candidate multimedia data, and determining the combined multimedia data as the target multimedia data, wherein the candidate multimedia data are multimedia data belonging to the service.
Optionally, the apparatus further comprises:
and the filtering module is used for calling a filtering service interface and filtering the target multimedia data meeting the filtering condition.
Optionally, the filtering conditions include at least one of:
the multimedia data is the same as the multimedia data included in the historical behavior data of the first user identifier;
the same as the multimedia data recommended to the first user identifier;
same as the preset filtering data.
Optionally, the target multimedia data includes a plurality of target multimedia data, and the sending module includes:
the sequencing unit is used for sequencing a plurality of target multimedia data;
the selection unit is used for selecting target multimedia data with target quantity according to the arrangement sequence of the target multimedia data;
and the sending unit is used for sending the target amount of target multimedia data or the data identification of the target amount of target multimedia data to the application client.
Optionally, the apparatus further comprises:
the information acquisition module is used for acquiring introduction information of the target multimedia data;
the sending module is configured to:
and sending the target multimedia data and the introduction information of the target multimedia data to the application client.
Optionally, the apparatus further comprises:
an identifier determining module, configured to determine an original data identifier of the target multimedia data, where the original data identifier is used to indicate the target multimedia data;
the query module is used for querying the associated data identifier corresponding to the original data identifier, wherein the associated data identifier is used for indicating other versions of the target multimedia data;
the sending module is configured to:
and sending the multimedia data corresponding to the target multimedia data and the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
In another aspect, a server is provided, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operations as performed in the multimedia data recommendation method.
In another aspect, a computer-readable storage medium having at least one program code stored therein is provided, the at least one program code being loaded and executed by a processor to implement the operations as performed in the multimedia data recommendation method.
In yet another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer program code, the computer program code being stored in a computer-readable storage medium, the computer program code being read by a processor of a server from the computer-readable storage medium, the computer program code being executed by the processor, so that the server implements the operations performed in the multimedia data recommendation method according to the above aspect.
The method, the device, the server and the storage medium provided by the embodiment of the application integrate a plurality of data acquisition interfaces, each data acquisition interface corresponds to one service, in the recommendation process, the data acquisition interface corresponding to the service identifier is determined according to the service identifier in the recommendation request, and then the multimedia data belonging to the service corresponding to the service identifier is acquired based on the data acquisition interface, the recommendation of the multimedia data is completed, the multimedia data acquisition mode is expanded, the service range of the recommended multimedia data is also expanded, and the accuracy of the acquired multimedia data can be improved by acquiring the multimedia data based on the data acquisition interface corresponding to the service.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an implementation environment provided in an embodiment of the present application.
Fig. 2 is a flowchart of a multimedia data recommendation method according to an embodiment of the present application.
Fig. 3 is a flowchart of a multimedia data recommendation method according to an embodiment of the present application.
Fig. 4 shows a schematic structural diagram of a server for performing multimedia data recommendation according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a multimedia data recommendation device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of another multimedia data recommendation device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail with reference to the accompanying drawings.
It will be understood that, as used herein, the terms "first," "second," "third," "fourth," "fifth," "sixth," and the like may be used herein to describe various concepts, which are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first arrangement order may be referred to as a second arrangement order, and a second arrangement order may be referred to as a first arrangement order, without departing from the scope of the present application.
As used herein, the terms "each," "plurality," "at least one," "any," and the like, at least one of which comprises one, two, or more than two, and a plurality of which comprises two or more than two, each refer to each of the corresponding plurality, and any refer to any one of the plurality. For example, the plurality of elements includes 3 elements, each of which refers to each of the 3 elements, and any one of the 3 elements may refer to any one of the 3 elements, which may be a first element, a second element, or a third element.
The method provided by the embodiment of the application is applied to a multi-service recommendation scene, the application client comprises various types of services, and the application client can send a recommendation request carrying a service identifier to the server based on the service type.
Fig. 1 is a schematic structural diagram of an implementation environment provided in an embodiment of the present application. Referring to fig. 1, the implementation environment includes a server 101 and a terminal 102, and the terminal and the server are connected through a wireless or wired network.
The terminal 102 generates behavior data of the user according to the operation of the user, and sends a plurality of behavior data of the user to the server 101, and the application client in the terminal 102 can also send a recommendation request to the server 101, and the server 101 determines target multimedia data according to the recommendation request and the behavior data of the user, and recommends the target multimedia data to the application client.
The terminal 102 in this embodiment of the application is a plurality of types of terminals 102 such as a mobile phone, a tablet computer, a computer, and the like, and the server 101 is a server 101, or a server 101 cluster composed of a plurality of servers 101, or a cloud computing service center.
Fig. 2 is a flowchart of a multimedia data recommendation method according to an embodiment of the present application. The method is applied to the server. Referring to fig. 2, the method includes:
201. and receiving a recommendation request sent by the application client.
The recommendation request carries a first user identifier and a service identifier of a login application client, and the service identifier is used for indicating any service in the application client.
202. And acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier.
203. And sending the target multimedia data or the data identification of the target multimedia data to an application client, wherein the application client is used for recommending the target multimedia data or the target multimedia data corresponding to the data identification in the service.
The method provided by the embodiment of the application integrates a plurality of data acquisition interfaces, each data acquisition interface corresponds to one service, in the recommendation process, the data acquisition interface corresponding to the service identifier is determined according to the service identifier in the recommendation request, and then the multimedia data belonging to the service corresponding to the service identifier is acquired based on the data acquisition interface, the recommendation of the multimedia data is completed, the multimedia data acquisition mode is expanded, the service range of the recommended multimedia data is expanded, and the accuracy of the acquired multimedia data can be improved by acquiring the multimedia data based on the data acquisition interface corresponding to the service.
Optionally, the recommendation request carries behavior data of the first user identifier;
acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier, wherein the acquisition comprises the following steps:
and acquiring target multimedia data which belongs to the service and is matched with the behavior data based on the data acquisition interface corresponding to the service identifier.
Optionally, before acquiring the target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier, the method further includes:
receiving a recommendation request based on an access service interface;
before acquiring the target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier, the method further comprises:
and distributing the recommendation request to a data acquisition interface corresponding to the service identifier based on the access service interface.
Optionally, acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier, including:
acquiring similarity between behavior data of the first user identifier and each candidate multimedia data based on a data acquisition interface corresponding to the service identifier, wherein the candidate multimedia data are multimedia data belonging to a service;
and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
Optionally, acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier, including:
determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of the data acquisition interface corresponding to the service identifiers;
and determining the multimedia data belonging to the service in the behavior data of the second user identifier as target multimedia data.
Optionally, acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier, including:
acquiring a preset number of candidate multimedia data from the plurality of candidate multimedia data based on the data acquisition interface corresponding to the service identifier, and determining the preset number of candidate multimedia data as target multimedia data belonging to the service;
the candidate multimedia data are multimedia data belonging to a service; the heat value of the preset number of candidate multimedia data is greater than the heat values of the other candidate multimedia data except for the preset number of candidate multimedia data.
Optionally, acquiring target multimedia data belonging to a service based on a data acquisition interface corresponding to the service identifier, including:
acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
and determining combined multimedia data comprising the multimedia data from the candidate multimedia data, and determining the combined multimedia data as target multimedia data, wherein the candidate multimedia data are multimedia data belonging to the service.
Optionally, after acquiring the target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier, the method further includes:
and calling a filtering service interface to filter the target multimedia data meeting the filtering condition.
Optionally, the filtering conditions comprise at least one of:
the multimedia data is the same as the multimedia data included in the historical behavior data of the first user identifier;
the same as the multimedia data recommended to the first user identifier;
same as the preset filtering data.
Optionally, the target multimedia data includes a plurality of data identifiers, and sending the target multimedia data or the data identifiers of the target multimedia data to the application client includes:
sequencing the plurality of target multimedia data;
and selecting target multimedia data with a target quantity according to the arrangement sequence of the plurality of target multimedia data, and sending the target multimedia data with the target quantity or the data identification of the target multimedia data with the target quantity to the application client.
Optionally, the method further comprises:
acquiring introduction information of target multimedia data;
sending the target multimedia data to the application client, comprising:
and sending the target multimedia data and the introduction information of the target multimedia data to the application client.
Optionally, before sending the target multimedia data or the data identifier of the target multimedia data to the application client, the method further includes:
determining an original data identifier of the target multimedia data, wherein the original data identifier is used for indicating the target multimedia data;
querying a related data identifier corresponding to the original data identifier, wherein the related data identifier is used for indicating other versions of the target multimedia data;
sending the target multimedia data or the data identification of the target multimedia data to the application client, wherein the sending comprises the following steps:
and sending multimedia data corresponding to the target multimedia data and the associated data identification, or the original data identification and the associated data identification of the target multimedia data to an application client.
Fig. 3 is a flowchart of a multimedia data recommendation method according to an embodiment of the present application. The method is applied to a server, and referring to fig. 3, the method comprises the following steps:
301. and receiving a recommendation request sent by the application client based on the access service interface.
The application client is a client installed in the terminal. The server is a server serving an application client, and the application client can perform data interaction with the server, for example, the application client sends generated data to the server and stores the data by the server, or the application client requests to acquire the data stored in the server. The server can acquire target multimedia data according to a recommendation request sent by the application client based on the stored data, and further send the target multimedia data to the application client.
In addition, the application client may be a different type of client. For example, the application client is an item recommendation client, an audio client, a video client, or other type of client.
The application client comprises various types of services, and the application client sends recommendation requests to the server according to the different types of services. The service is provided for the user by the application client. For example, the service includes an audio service, a video service, a music presentation service, a live broadcast service, and the like.
Optionally, the application client includes a plurality of service options, where the service options are an audio option, a music presentation option, and a live broadcast option, and if the terminal responds to a trigger operation on the audio option, at least one piece of audio data is displayed, and a user can select any piece of audio data to play, and the application client sends a service identifier carrying an indication audio service to obtain audio data belonging to the audio service when the audio data is displayed. Or, if the terminal responds to the triggering operation of the music pictorial option and displays at least one piece of music pictorial data, the user can select any piece of music pictorial data to access, and the application client sends the service identifier carrying the indication music pictorial service under the condition of displaying the music pictorial data so as to acquire the music pictorial belonging to the music pictorial service.
The music pictorial newspaper comprises music and pictures, the pictures in the music pictorial newspaper can be played circularly, and the music in the music pictorial newspaper can be played in the playing process of the pictures.
In the embodiment of the application, the server can acquire the target multimedia data belonging to the service corresponding to the service identifier based on the plurality of interfaces, and recommend the target multimedia data to the application client, so that the user can access the target multimedia data through the application client.
The recommendation request carries a first user identifier and a service identifier of the login application client, wherein the first user identifier is a mobile phone number of a user, an account number of the user, a nickname of the user and the like. The service identifier is used for indicating any service in the application client.
In addition, the recommendation request carries a first user identifier and a service identifier, if the server receives the recommendation request sent by the application client based on the access service interface, the server determines that multimedia data needs to be recommended for the first user identifier, and executes a subsequent process of determining target multimedia data according to the received recommendation request.
The first point to be described is that the embodiment of the present application is only described by taking the receiving of the recommendation request based on the access service interface as an example, and in another embodiment, the server can also receive the recommendation request sent by the application client in other manners without receiving the recommendation request based on the access service interface.
The second point to be described is that the embodiment of the present application is only described by taking the server receiving the recommendation request sent by the application client as an example. In another embodiment, if the application client detects an access operation performed by a user, the application client determines a first user identifier and a service identifier of the user, and further sends the recommendation request to the server. Or, the application client does not need to send a recommendation request according to the operation of the user, but directly sends the recommendation request to the server at the time of starting, and then the server can receive the recommendation request. Alternatively, the application client can also send the recommendation request in other manners.
302. And distributing the recommendation request to a data acquisition interface corresponding to the service identifier based on the access service interface.
In this embodiment of the present application, the server includes a plurality of data acquisition interfaces, and services to which target multimedia data acquired by different data acquisition interfaces belong are different, so that service identifiers corresponding to different data acquisition interfaces are different. If the service to which the target multimedia data determined by the server based on different data acquisition interfaces belongs is different, after receiving the recommendation request, the server needs to determine the corresponding data acquisition interface according to the service identifier in the recommendation request, and then can acquire the target multimedia data belonging to the service corresponding to the service identifier based on the data acquisition interface.
The data acquisition interface is used for acquiring target multimedia data of the service belonging to the service identifier according to the recommendation request.
Optionally, the data acquisition interface included in the server corresponds to the service identifier, and after receiving the recommendation request based on the access service interface, the server can determine the corresponding data acquisition interface according to the service identifier carried in the recommendation request, and distribute the recommendation request to the data acquisition interface corresponding to the service identifier.
The method provided by the embodiment of the application can recommend the target multimedia data for different services, the recommendation request is distributed to the data acquisition interface corresponding to the service identifier based on the access service interface, the target multimedia data of the service belonging to the service identifier is acquired by the data acquisition interface, and the accuracy of acquiring the target multimedia data is improved.
303. And acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier.
The target multimedia data is the multimedia data recommended to the application client by the server. The target multimedia data can be considered data of interest to the first user identification.
Optionally, the recommendation request carries behavior data of the first user identifier, and when the server acquires the target multimedia data based on the recommendation request, the server acquires the target multimedia data, which belongs to the service and is matched with the behavior data of the first user identifier, based on the data acquisition interface corresponding to the service identifier.
The behavior data comprises multimedia data operated by a user in the application client corresponding to the first user identification and operation executed by the user on the multimedia data in the application client. If the user performs the operation on the multimedia data in the application client, it indicates that the user is interested in the multimedia data, and the user wants to view more multimedia data interested in the multimedia data.
For example, the behavior data includes a play operation performed on audio data in the application client, a favorite operation on audio, a comment operation on audio, and the like.
In this embodiment, the server can obtain the target multimedia data by at least one of the following methods:
(1) and acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data based on the data acquisition interface corresponding to the service identifier, and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
The behavior data of the first user identification is obtained by the server. For example, the recommendation request received by the server includes the behavior data of the first user identifier. Or after receiving the recommendation request, the server acquires the behavior data of the first user identifier from the behavior data stored by the application client according to the first user identifier and the service identifier in the recommendation request.
The candidate multimedia data are multimedia data stored in the server, and the candidate multimedia data are multimedia data belonging to a service corresponding to the service identifier in the recommendation request. For example, if the service corresponding to the service identifier is a song, the candidate multimedia data are all songs, or if the service corresponding to the service identifier is a music poster, the candidate multimedia data are all music posters.
In the embodiment of the application, after acquiring the behavior data of the first user identifier based on the data acquisition interface corresponding to the service identifier, the server acquires the similarity between the behavior data and each candidate multimedia data, wherein the greater the acquired similarity is, the more similar the candidate multimedia data and the behavior data are, the data similar to the behavior data is selected from the candidate multimedia data according to the acquired similarity, and the selected candidate multimedia data is determined as the target multimedia data.
And the similarity corresponding to the selected target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
Optionally, the manner of selecting the target multimedia data includes any one of the following:
1. and sequencing the candidate multimedia data according to the sequence of similarity from large to small, and selecting the candidate multimedia data with the preset number as target multimedia data.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
2. And sequencing the candidate multimedia data according to the sequence of the similarity from small to large, and selecting the candidate multimedia data with preset quantity as target multimedia data.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
3. And acquiring candidate multimedia data with the similarity larger than the preset similarity as target multimedia data.
The preset similarity is set by a server, or set by an operator, or set in other manners. For example, the predetermined similarity is 0.7, 0.75, 0.8, or other numerical value.
(2) And determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of the data acquisition interface corresponding to the service identifiers, and determining the multimedia data belonging to the service in the behavior data of the second user identifier as target multimedia data.
The behavior data of the candidate user identification is data stored in the server. The candidate user identifications are all user identifications for executing operations in the application client. The candidate user identification is a user's mobile phone number, user nickname, user account, etc.
The behavior data of the candidate user identifier comprises multimedia data operated by the candidate user identifier in the application client, and the operation executed on the multimedia data by the candidate user identifier in the application client.
For example, the behavior data includes that the user corresponding to the candidate user identifier performs a playing operation on the audio in the application client, or a collecting operation on the audio, or a commenting operation on the audio, and the like.
Optionally, in this embodiment of the application, based on a data acquisition interface corresponding to a service identifier, multimedia data operated by the first user identifier is determined from behavior data of the first user identifier, multimedia data operated by candidate user identifiers is determined from behavior data of the candidate user identifiers, then, according to the same number of multimedia data operated by the candidate user identifiers in the multimedia data operated by the first user identifier, a matching degree between the first user identifier and each second user identifier is determined, further, a second user identifier matched with the first user identifier is determined based on the obtained matching degree, and multimedia data belonging to a service in behavior data of the second user identifier is determined as target multimedia data.
Optionally, the manner of selecting the second user identifier matching with the first user identifier includes any one of the following:
1. and sequencing the candidate multimedia data according to the sequence of similarity from large to small, selecting the candidate user identifications with the preset number, and determining the candidate user identifications as second user identifications matched with the first user identifications.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
2. And sequencing the candidate multimedia data according to the sequence of the similarity from small to large, and selecting the candidate user identifications with preset number as second user identifications.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
3. And acquiring a candidate user identifier with the similarity larger than the preset similarity as a second user identifier.
The preset similarity is set by a server, or set by an operator, or set in other manners. For example, the predetermined similarity is 0.7, 0.75, 0.8, or other numerical value.
(3) And acquiring a preset number of candidate multimedia data from the plurality of candidate multimedia data based on the data acquisition interface corresponding to the service identifier, and determining the preset number of candidate multimedia data as target multimedia data belonging to the service.
The candidate multimedia data are multimedia data belonging to a service. And the heat value of the preset number of candidate multimedia data is greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
In addition, the heat value of the multimedia data is used to represent the heat degree of the multimedia data, the higher the heat value of the multimedia data is, the higher the heat degree of the multimedia data is, and the lower the heat value of the multimedia data is, the lower the heat degree of the multimedia data is.
In the embodiment of the application, in the process of acquiring the target multimedia data from the plurality of candidate multimedia data, the hot value of each candidate multimedia data is acquired, and then the target multimedia data is selected based on the size of the acquired hot value.
Optionally, the manner of selecting the target multimedia data includes any one of the following:
1. and sequencing the candidate multimedia data according to the sequence of the heat values from large to small, selecting the previous preset number of candidate multimedia data, and determining the candidate multimedia data as the target multimedia data.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
2. And sequencing the candidate multimedia data according to the sequence of the heat values from small to large, and selecting the candidate multimedia data with preset number as target multimedia data.
Wherein, the preset number is set by the server, or set by the operator, or set by other modes. For example, the predetermined number may be 5, 10, 20, or other values.
3. And acquiring candidate multimedia data with the heat value larger than the preset heat value as target multimedia data.
Wherein, the preset heat value is set by the server, or set by the operator, or set by other methods.
It should be noted that, the embodiment of the present application is only described as an example of acquiring target multimedia data belonging to a service. In another embodiment, if the service to which the behavior data of the first subscriber identity belongs is different from the service indicated by the service identity, the following method needs to be adopted to obtain the multimedia data belonging to the service:
and acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier, and determining target multimedia data comprising the multimedia data from candidate multimedia data, wherein the candidate multimedia data are the multimedia data belonging to the service.
In this embodiment of the application, if the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier, after the matched multimedia data is determined according to the behavior data of the first user identifier, and it is determined that the service to which the matched multimedia data belongs is still different from the service indicated by the service identifier, combined multimedia data including the matched multimedia data is determined from candidate multimedia data belonging to the service, the combined multimedia data is determined to be target multimedia data, and the determined target multimedia data is multimedia data which is matched with the behavior data of the first user identifier and belongs to the service.
For example, if the service to which the behavior data of the first user identifier belongs is an audio service and the service indicated by the service identifier is a music presentation service, the matched multimedia data acquired according to the behavior data of the first user identifier is music, and then the music presentation data including the music is acquired, and these music presentation data are target multimedia data and are the same as the music presentation service.
The method provided by the embodiment of the application can adopt the data belonging to different services to acquire the multimedia data belonging to the service of the service identifier, thereby expanding the mode of acquiring the multimedia data and improving the diversity of the acquired multimedia data.
Optionally, after the target multimedia data is obtained in step 203, the obtained target multimedia data includes data to be filtered, and the server invokes a filtering service interface to filter the target multimedia data meeting the filtering condition, so as to improve the accuracy of the target multimedia data recommended to the application client.
Optionally, the filtering conditions comprise at least one of:
1. the same as the multimedia data included in the historical behavior data of the first subscriber identity.
In the embodiment of the application, the multimedia data included in the historical behavior data of the first user identifier are all multimedia data that have been accessed by the user, and the server filters the target multimedia data that are the same as the multimedia data included in the historical behavior data of the first user identifier without recommending the multimedia data to the application client again, so as to prevent the multimedia data that have been accessed by the user from being repeatedly recommended to the first user identifier.
2. The same as the multimedia data recommended to the first subscriber identity.
In the embodiment of the application, the server can recommend the multimedia data to the application client for multiple times, and after the server acquires the target multimedia data, the target multimedia data which is the same as the multimedia data recommended to the first user identifier is filtered, so that the recommended multimedia data is prevented from being repeatedly recommended to the first user identifier.
3. Same as the preset filtering data.
The preset filtering data is preset multimedia data. The preset filtering data is set by the server, or set by an operator, or set by a user, or set in other ways.
Optionally, the preset filtering data is data with propagation limitation, or masked data, or other types of data, and so on.
304. And sending the target multimedia data to the application client.
And after the server acquires the target multimedia data, the server sends the acquired target multimedia data to the application client, and the application client recommends the target multimedia data in the service after receiving the target multimedia data.
In a possible implementation manner, when the server sends the target multimedia data to the application client, the target multimedia data carries a service identifier, and when the application client receives the target multimedia data, the application client determines a service to which the target multimedia data belongs according to the service identifier, and then recommends the target multimedia data in the service.
Optionally, in this embodiment of the application, before step 204 is executed, if the number of the target multimedia data acquired by the server is multiple, the multiple target multimedia data are sorted, the target multimedia data of the target number are selected according to the arrangement sequence of the multiple target multimedia data, and the target multimedia data of the target number are sent to the application client.
Wherein, the target number is set by the server, or set by the operator, or set by other methods. For example, the target number may be 5, 10, 20, or other values.
Optionally, the introduction information of the target multimedia data is obtained, and the target multimedia data and the introduction information of the target multimedia data are sent to the application client.
Wherein, the introduction information is information for explaining the target multimedia data. For example, the introduction information includes a name of the target multimedia data, a content of the target multimedia data, a source of the target multimedia data, and the like.
Optionally, before sending the target multimedia data to the application client, the method further includes:
determining an original data identifier of the target multimedia data, inquiring an associated data identifier corresponding to the original data identifier, and sending the multimedia data corresponding to the target multimedia data and the associated data identifier or the original data identifier and the associated data identifier of the target multimedia data to the application client.
The original identifier is used for indicating an original version of the target multimedia data, and the associated data identifier is used for indicating other versions of the target multimedia data.
If the server determines the target multimedia data, the server can acquire the original data identifier of the target multimedia data, further determine the original version of the target multimedia data, and query the associated data identifier corresponding to the original data identifier, then determine other versions of the target multimedia data based on the associated data identifier, and the server can send the multimedia data corresponding to the target multimedia data and the associated data identifier to the application client, or send the original data identifier and the associated data identifier.
Optionally, if the target multimedia data is audio data, the audio data in the embodiment of the present application all have an original data identifier, where the original data identifier is used to indicate an original version of the audio data, and the server can query an associated data identifier corresponding to the original data identifier, where the associated data identifier indicates another version of the audio data, so as to obtain another version of the audio data.
In the embodiment of the application, other versions of multimedia data associated with the target multimedia data can be determined according to the original data identifier of the target multimedia data, and the diversity of recommending the target multimedia data to the application client can be improved.
In addition, fig. 4 shows a schematic structural diagram of a server for performing multimedia data recommendation according to an embodiment of the present application, and referring to fig. 4, the server includes an intranet service interface, a configuration service interface, an access service interface, a data acquisition interface, a filtering service interface, a detail service interface, and a ranking service interface.
The intranet service interfaces comprise a plurality of intranet service interfaces, each intranet service interface can acquire a recommendation request, the intranet service interfaces are matched with services corresponding to the service identifiers in the recommendation request, and the intranet service interfaces are connected with the access service interfaces.
The access service interface is used for receiving the recommendation request sent by the intranet service interface and distributing the recommendation request to the data acquisition interface based on the service identifier in the recommendation request.
The data acquisition interface comprises a plurality of data acquisition interfaces, each data acquisition interface corresponds to a service identifier, and the data acquisition interfaces acquire target multimedia data belonging to a service corresponding to the service identifier according to the received recommendation request.
The filtering service interface is respectively connected with each data acquisition interface and is used for filtering the target multimedia data acquired by the data acquisition interfaces.
The detail service interface is respectively connected with each data acquisition interface and is used for acquiring introduction information of the target multimedia data acquired by the data acquisition interfaces.
The sequencing service interface is respectively connected with each data acquisition interface and is used for sequencing the target multimedia data acquired by the data acquisition interfaces.
In addition, the access service interface, the data acquisition interface, the filtering service interface, the detail service interface and the sequencing service interface are all connected with the configuration service interface and can call the configuration service interface to acquire the configuration information of each service interface.
The server sends the recommendation request to the access service interface through the intranet service interface, the received recommendation request is distributed to a data acquisition interface corresponding to the service identifier in the recommendation request based on the access service interface, target multimedia data belonging to the service are acquired based on the data acquisition interface, the filtering service interface is called to filter the target multimedia data meeting the filtering condition, the sequencing service interface can be called to sequence the target multimedia data to obtain sequenced target multimedia data, and the detail service interface can be called to acquire introduction information of the target multimedia data.
It can be seen from the foregoing embodiments that the present application provides a unified recommendation platform, which can recommend multimedia data belonging to a service according to the service type, improve the universality of the unified recommendation platform, and expand the manner of recommending multimedia data.
It should be noted that, in the embodiment of the present application, the server is only used to determine the target multimedia data and send the target multimedia data to the application client for explanation. In another embodiment, the server determines a data identifier of the target multimedia data, and sends the data identifier of the target multimedia data to the application client, so that the application client can determine the corresponding target multimedia data according to the data identifier.
The embodiment of the application provides a method for recommending multimedia data according to service types, which integrates a plurality of data acquisition interfaces, each data acquisition interface corresponds to one service, in the recommending process, the data acquisition interface corresponding to the service identifier is determined according to the service identifier in the recommending request, then the multimedia data belonging to the service corresponding to the service identifier is acquired based on the data acquisition interface, the recommendation of the multimedia data is completed, the multimedia data acquiring mode is expanded, the service range of the recommended multimedia data is expanded, and the accuracy of the acquired multimedia data can be improved by acquiring the multimedia data based on the data acquisition interface corresponding to the service.
In addition, the method provided by the embodiment of the application can adopt the multimedia data belonging to different services to acquire the multimedia data belonging to the service of the service identifier, thereby expanding the manner of acquiring the multimedia data and improving the diversity of the acquired multimedia data.
In addition, the method provided by the embodiment of the application can filter the target multimedia data meeting the filtering condition, and improves the accuracy of the target multimedia data recommended to the application client.
In addition, the method provided by the embodiment of the application can determine other versions of multimedia data associated with the target multimedia data according to the original data identifier of the target multimedia data, and can improve the diversity of recommending the multimedia data to the application client.
Fig. 5 is a schematic structural diagram of a multimedia data recommendation device according to an embodiment of the present application. Referring to fig. 5, the apparatus includes:
the receiving module 501 is configured to receive a recommendation request sent by an application client, where the recommendation request carries a first user identifier and a service identifier of a login application client, and the service identifier is used to indicate any service in the application client;
a data obtaining module 502, configured to obtain target multimedia data belonging to a service based on a data obtaining interface corresponding to the service identifier;
the sending module 503 is configured to send the target multimedia data or the data identifier of the target multimedia data to the application client, where the application client is configured to recommend the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
The device provided by the embodiment of the application integrates a plurality of data acquisition interfaces, each data acquisition interface corresponds to one service, in the recommendation process, the data acquisition interface corresponding to the service identifier is determined according to the service identifier in the recommendation request, and then the multimedia data belonging to the service corresponding to the service identifier is acquired based on the data acquisition interface, the recommendation of the multimedia data is completed, the multimedia data acquisition mode is expanded, the service range of the recommended multimedia data is also expanded, and the accuracy of the acquired multimedia data can be improved by acquiring the multimedia data based on the data acquisition interface corresponding to the service.
Optionally, the recommendation request carries behavior data of the first user identifier;
a data obtaining module 502, configured to obtain target multimedia data that belongs to a service and matches with the behavior data based on a data obtaining interface corresponding to the service identifier.
Optionally, referring to fig. 6, the apparatus further comprises:
a receiving module 501, configured to receive a recommendation request based on an access service interface;
and a distribution module 504, configured to distribute, based on the access service interface, the recommendation request to the data acquisition interface corresponding to the service identifier.
Optionally, the data obtaining module 502 is configured to:
acquiring similarity between behavior data of the first user identifier and each candidate multimedia data based on a data acquisition interface corresponding to the service identifier, wherein the candidate multimedia data are multimedia data belonging to a service;
and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
Optionally, the data obtaining module 502 is configured to:
determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of the data acquisition interface corresponding to the service identifiers;
and determining the multimedia data belonging to the service in the behavior data of the second user identifier as target multimedia data.
Optionally, the data obtaining module 502 is configured to:
acquiring a preset number of candidate multimedia data from the plurality of candidate multimedia data based on the data acquisition interface corresponding to the service identifier, and determining the preset number of candidate multimedia data as target multimedia data belonging to the service;
the candidate multimedia data are multimedia data belonging to a service; the heat value of the preset number of candidate multimedia data is greater than the heat values of the other candidate multimedia data except for the preset number of candidate multimedia data.
Optionally, the data obtaining module 502 is configured to:
acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
and determining combined multimedia data comprising the multimedia data from the candidate multimedia data, and determining the combined multimedia data as target multimedia data, wherein the candidate multimedia data are multimedia data belonging to the service.
Optionally, referring to fig. 6, the apparatus further comprises:
and a filtering module 505, configured to invoke a filtering service interface, and filter the target multimedia data that meets the filtering condition.
Optionally, the filtering conditions comprise at least one of:
the multimedia data is the same as the multimedia data included in the historical behavior data of the first user identifier;
the same as the multimedia data recommended to the first user identifier;
same as the preset filtering data.
Optionally, the target multimedia data includes a plurality of data, referring to fig. 6, the sending module 503 includes:
a sorting unit 5031 configured to sort the plurality of target multimedia data;
a selecting unit 5032, configured to select a target number of target multimedia data according to an arrangement order of the plurality of target multimedia data;
a sending unit 5033, configured to send the target amount of target multimedia data, or the data identification of the target amount of target multimedia data, to the application client.
Optionally, referring to fig. 6, the apparatus further comprises:
an information obtaining module 506, configured to obtain introduction information of the target multimedia data;
a sending module 503, configured to:
and sending the target multimedia data and the introduction information of the target multimedia data to the application client.
Optionally, referring to fig. 6, the apparatus further comprises:
an identifier determining module 507, configured to determine an original data identifier of the target multimedia data, where the original data identifier is used to indicate the target multimedia data;
a query module 508, configured to query an associated data identifier corresponding to the original data identifier, where the associated data identifier is used to indicate another version of the target multimedia data;
a sending module 503, configured to:
and sending the multimedia data corresponding to the target multimedia data and the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
It should be noted that: in the multimedia data recommendation device provided in the above embodiment, when sending the target multimedia data, only the division of the above functional modules is exemplified, 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 server is divided into different functional modules to complete all or part of the above described functions. In addition, the embodiment of the multimedia data recommendation device provided in the above embodiment and the embodiment of the multimedia data recommendation method belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 700 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
The terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning component 708, and a power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 14G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, disposed on a front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian glonass Positioning System, or the european union galileo Positioning System.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 140. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side frame of terminal 700 and/or underneath display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is adjusted down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 is gradually increased, the processor 701 controls the display 705 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the present application further provides a server, where the server includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so as to implement the operations performed in the multimedia data recommendation method in the foregoing embodiments. For example, fig. 8 is a schematic structural diagram illustrating a server according to an exemplary embodiment, where the server 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where at least one program code is stored in the memory 802, and the at least one program code is loaded and executed by the processors 801 to implement the methods provided by the above method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to implement the operations executed in the multimedia data recommendation method of the foregoing embodiment.
The embodiments of the present application also provide a computer program product or a computer program, where the computer program product or the computer program includes computer program code, the computer program code is stored in a computer-readable storage medium, and a processor of the server reads the computer program code from the computer-readable storage medium, and executes the computer program code, so that the server implements the operations performed in the multimedia data recommendation method according to the above aspect.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only an alternative embodiment of the present application and is not intended to limit the present application, and any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (10)
1. A method for recommending multimedia data, the method comprising:
receiving a recommendation request sent by an application client, wherein the recommendation request carries a first user identifier and a service identifier for logging in the application client, and the service identifier is used for indicating any service in the application client;
acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier;
and sending the target multimedia data or the data identification of the target multimedia data to the application client, wherein the application client is used for recommending the target multimedia data or the target multimedia data corresponding to the data identification in the service.
2. The method of claim 1, wherein the recommendation request carries behavior data for the first subscriber identity;
the acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier includes:
and acquiring target multimedia data which belongs to the service and is matched with the behavior data based on a data acquisition interface corresponding to the service identifier.
3. The method according to claim 1, wherein before the obtaining target multimedia data belonging to the service based on the data obtaining interface corresponding to the service identifier, the method further comprises:
receiving the recommendation request based on an access service interface;
before the acquiring the target multimedia data belonging to the service based on the data acquiring interface corresponding to the service identifier, the method further includes:
and distributing the recommendation request to a data acquisition interface corresponding to the service identifier based on the access service interface.
4. The method of claim 1, wherein the obtaining target multimedia data belonging to the service based on the data obtaining interface corresponding to the service identifier comprises:
acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data based on a data acquisition interface corresponding to the service identifier, wherein the candidate multimedia data are multimedia data belonging to the service;
and acquiring target multimedia data from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarity corresponding to other candidate multimedia data.
5. The method of claim 1, wherein the obtaining target multimedia data belonging to the service based on the data obtaining interface corresponding to the service identifier comprises:
determining a second user identifier matched with the first user identifier from the candidate user identifiers according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers on the basis of a data acquisition interface corresponding to the service identifiers;
and determining the multimedia data belonging to the service in the behavior data of the second user identifier as the target multimedia data.
6. The method of claim 1, wherein the obtaining target multimedia data belonging to the service based on the data obtaining interface corresponding to the service identifier comprises:
acquiring multimedia data matched with the behavior data of the first user identifier based on a data acquisition interface corresponding to the service identifier, wherein the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
determining combined multimedia data including the multimedia data from candidate multimedia data, and determining the combined multimedia data as the target multimedia data, wherein the candidate multimedia data are multimedia data belonging to the service.
7. The method of claim 1, wherein prior to sending the target multimedia data or the data identification of the target multimedia data to the application client, the method further comprises:
determining an original data identifier of the target multimedia data, wherein the original data identifier is used for indicating the target multimedia data;
querying a related data identifier corresponding to the original data identifier, wherein the related data identifier is used for indicating other versions of the target multimedia data;
the sending the target multimedia data or the data identifier of the target multimedia data to the application client includes:
and sending the multimedia data corresponding to the target multimedia data and the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
8. An apparatus for recommending multimedia data, said apparatus comprising:
the system comprises a receiving module, a recommending module and a processing module, wherein the receiving module is used for receiving a recommending request sent by an application client, the recommending request carries a first user identifier and a service identifier which log in the application client, and the service identifier is used for indicating any service in the application client;
the data acquisition module is used for acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier;
a sending module, configured to send the target multimedia data or the data identifier of the target multimedia data to the application client, where the application client is configured to recommend the target multimedia data or the data identifier of the target multimedia data in the service.
9. A server, characterized in that the server comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operations executed in the multimedia data recommendation method according to any one of claims 1 to 7.
10. A computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to perform the operations of the multimedia data recommendation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011278871.1A CN112364244A (en) | 2020-11-16 | 2020-11-16 | Multimedia data recommendation method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011278871.1A CN112364244A (en) | 2020-11-16 | 2020-11-16 | Multimedia data recommendation method, device, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112364244A true CN112364244A (en) | 2021-02-12 |
Family
ID=74515734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011278871.1A Pending CN112364244A (en) | 2020-11-16 | 2020-11-16 | Multimedia data recommendation method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112364244A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065677A (en) * | 2022-07-22 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Media resource acquisition method, device, electronic equipment, storage medium and product |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123360A (en) * | 2014-07-18 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Application recommendation data acquisition method, device and system and electronic device |
CN105868248A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Media recommendation method and device |
CN106326391A (en) * | 2016-08-17 | 2017-01-11 | 合智能科技(深圳)有限公司 | Method and device for recommending multimedia resources |
US9659068B1 (en) * | 2016-03-15 | 2017-05-23 | Spotify Ab | Methods and systems for providing media recommendations based on implicit user behavior |
CN107038213A (en) * | 2017-02-28 | 2017-08-11 | 华为技术有限公司 | A kind of method and device of video recommendations |
CN110245256A (en) * | 2019-06-20 | 2019-09-17 | 广州酷狗计算机科技有限公司 | Media content method for pushing, device and storage medium |
CN110287421A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Information content recommendation method and device and electronic equipment |
CN110309357A (en) * | 2018-02-27 | 2019-10-08 | 腾讯科技(深圳)有限公司 | Using the method for data recommendation, the method, apparatus of model training and storage medium |
CN110647653A (en) * | 2019-09-30 | 2020-01-03 | 广州酷狗计算机科技有限公司 | Song recommendation method and device and computer storage medium |
CN111125512A (en) * | 2019-11-18 | 2020-05-08 | 口碑(上海)信息技术有限公司 | Service recommendation processing method, device and system |
CN111159570A (en) * | 2019-12-16 | 2020-05-15 | 聚好看科技股份有限公司 | Information recommendation method and server |
CN111327955A (en) * | 2018-12-13 | 2020-06-23 | Tcl集团股份有限公司 | User portrait based on-demand method, storage medium and smart television |
CN111680219A (en) * | 2020-06-09 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Content recommendation method, device, equipment and readable storage medium |
CN111737582A (en) * | 2020-07-29 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Content recommendation method and device |
CN111782957A (en) * | 2020-07-13 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Method and device for recommending content, computing equipment and storage medium |
-
2020
- 2020-11-16 CN CN202011278871.1A patent/CN112364244A/en active Pending
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123360A (en) * | 2014-07-18 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Application recommendation data acquisition method, device and system and electronic device |
CN105868248A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Media recommendation method and device |
US9659068B1 (en) * | 2016-03-15 | 2017-05-23 | Spotify Ab | Methods and systems for providing media recommendations based on implicit user behavior |
CN106326391A (en) * | 2016-08-17 | 2017-01-11 | 合智能科技(深圳)有限公司 | Method and device for recommending multimedia resources |
CN107038213A (en) * | 2017-02-28 | 2017-08-11 | 华为技术有限公司 | A kind of method and device of video recommendations |
CN110309357A (en) * | 2018-02-27 | 2019-10-08 | 腾讯科技(深圳)有限公司 | Using the method for data recommendation, the method, apparatus of model training and storage medium |
CN111327955A (en) * | 2018-12-13 | 2020-06-23 | Tcl集团股份有限公司 | User portrait based on-demand method, storage medium and smart television |
CN110245256A (en) * | 2019-06-20 | 2019-09-17 | 广州酷狗计算机科技有限公司 | Media content method for pushing, device and storage medium |
CN110287421A (en) * | 2019-06-28 | 2019-09-27 | 北京金山安全软件有限公司 | Information content recommendation method and device and electronic equipment |
CN110647653A (en) * | 2019-09-30 | 2020-01-03 | 广州酷狗计算机科技有限公司 | Song recommendation method and device and computer storage medium |
CN111125512A (en) * | 2019-11-18 | 2020-05-08 | 口碑(上海)信息技术有限公司 | Service recommendation processing method, device and system |
CN111159570A (en) * | 2019-12-16 | 2020-05-15 | 聚好看科技股份有限公司 | Information recommendation method and server |
CN111680219A (en) * | 2020-06-09 | 2020-09-18 | 腾讯科技(深圳)有限公司 | Content recommendation method, device, equipment and readable storage medium |
CN111782957A (en) * | 2020-07-13 | 2020-10-16 | 腾讯科技(深圳)有限公司 | Method and device for recommending content, computing equipment and storage medium |
CN111737582A (en) * | 2020-07-29 | 2020-10-02 | 腾讯科技(深圳)有限公司 | Content recommendation method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115065677A (en) * | 2022-07-22 | 2022-09-16 | 北京达佳互联信息技术有限公司 | Media resource acquisition method, device, electronic equipment, storage medium and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110674022B (en) | Behavior data acquisition method and device and storage medium | |
CN108063981B (en) | Method and device for setting attributes of live broadcast room | |
CN111079012A (en) | Live broadcast room recommendation method and device, storage medium and terminal | |
CN109168073B (en) | Method and device for displaying cover of live broadcast room | |
CN109922356B (en) | Video recommendation method and device and computer-readable storage medium | |
CN110147503B (en) | Information issuing method and device, computer equipment and storage medium | |
CN111836069A (en) | Virtual gift presenting method, device, terminal, server and storage medium | |
CN112052354A (en) | Video recommendation method, video display method and device and computer equipment | |
CN109547847B (en) | Method and device for adding video information and computer readable storage medium | |
CN111651693A (en) | Data display method, data sorting method, device, equipment and medium | |
CN108495183B (en) | Method and device for displaying album information | |
CN111192072A (en) | User grouping method and device and storage medium | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN111008083B (en) | Page communication method and device, electronic equipment and storage medium | |
CN112559795A (en) | Song playing method, song recommending method, device and system | |
CN114168369A (en) | Log display method, device, equipment and storage medium | |
CN112118353A (en) | Information display method, device, terminal and computer readable storage medium | |
CN111563201A (en) | Content pushing method, device, server and storage medium | |
CN111782950A (en) | Sample data set acquisition method, device, equipment and storage medium | |
CN111428080A (en) | Storage method, search method and device for video files | |
CN112364244A (en) | Multimedia data recommendation method, device, server and storage medium | |
CN112597417B (en) | Page updating method and device, electronic equipment and storage medium | |
CN111641853B (en) | Multimedia resource loading method and device, computer equipment and storage medium | |
CN110717110B (en) | Multimedia resource filtering method and device, electronic equipment and storage medium | |
CN111399797B (en) | Voice message playing method and device, electronic equipment and storage medium |
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 |