Multimedia data recommendation method, device, server and storage medium
By receiving recommendation requests from application clients and obtaining multimedia data based on business identifiers, it solves the problem of recommending data for different businesses and achieves accurate and diverse recommendation of multimedia data.
Patent Information
- Application Number
- CN202011278871.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-16
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-11-16
AI Technical Summary
It is difficult for the existing technology to effectively recommend multimedia data in different services, resulting in limited data acquisition methods during the recommendation process and the lack of a unified method for multiple services.
By receiving the recommendation request from the application client, the corresponding data acquisition interface is determined based on the business identifier, and the target multimedia data belonging to the business is acquired and recommended, which expands the multimedia data acquisition method and business scope, and improves the accuracy and diversity of data.
It realizes multimedia data recommendation for a variety of businesses, expands the acquisition methods, improves the accuracy and diversity of data, and meets the multimedia data needs of different businesses.
Smart Images

Figure CN112364244B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of recommendation technology, and in particular to a multimedia data recommendation method, device, server and storage medium. Background Art
[0002] 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 multimedia data that matches the user's behavior data to the user based on the user's behavior data. However, since the recommendation process involves multiple types of services, a method that can recommend multimedia data in different services is urgently needed. Summary of the invention
[0003] The embodiments of the present application provide a multimedia data recommendation method, device, server and storage medium, which expand the multimedia data acquisition method and also expand the service scope of recommending multimedia data. The technical solution is as follows:
[0004] On the one hand, a multimedia data recommendation method is provided, the method comprising:
[0005] receiving a recommendation request sent by an application client, the recommendation request carrying a first user identifier and a service identifier for logging into the application client, the service identifier being used to indicate any service in the application client;
[0006] Based on the data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service;
[0007] The target multimedia data or a data identifier of the target multimedia data is sent to the application client, and the application client is used to recommend the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
[0008] Optionally, the recommendation request carries behavior data of the first user identifier;
[0009] The acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier includes:
[0010] Based on the data acquisition interface corresponding to the service identifier, target multimedia data belonging to the service and matching the behavior data is acquired.
[0011] 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:
[0012] Based on the access service interface, receiving the recommendation request;
[0013] 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:
[0014] Based on the access service interface, the recommendation request is distributed to a data acquisition interface corresponding to the service identifier.
[0015] Optionally, acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier includes:
[0016] Based on the data acquisition interface corresponding to the service identifier, acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data, wherein the candidate multimedia data is multimedia data belonging to the service;
[0017] Target multimedia data is acquired from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0018] Optionally, acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier includes:
[0019] Based on the data acquisition interface corresponding to the service identifier, determining a second user identifier matching 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;
[0020] The multimedia data belonging to the service in the behavior data of the second user identification is determined as the target multimedia data.
[0021] Optionally, acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier includes:
[0022] Based on the data acquisition interface corresponding to the service identifier, a preset number of candidate multimedia data are acquired from a plurality of candidate multimedia data, and the preset number of candidate multimedia data are determined as target multimedia data belonging to the service;
[0023] The plurality of candidate multimedia data are multimedia data belonging to the service; and the heat values of the preset number of candidate multimedia data are greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
[0024] Optionally, acquiring target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier includes:
[0025] Based on the data acquisition interface corresponding to the service identifier, acquiring multimedia data matching the behavior data of the first user identifier, where the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
[0026] Determine combined multimedia data including the multimedia data from candidate multimedia data, determine the combined multimedia data as the target multimedia data, and the candidate multimedia data is multimedia data belonging to the service.
[0027] 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:
[0028] Call the filtering service interface to filter the target multimedia data that meets the filtering conditions.
[0029] Optionally, the filtering condition includes at least one of the following:
[0030] The same as the multimedia data included in the historical behavior data of the first user identification;
[0031] The same as the multimedia data recommended to the first user identifier;
[0032] Same as preset filter data.
[0033] Optionally, the target multimedia data includes multiple data, and the sending the target multimedia data or the data identifier of the target multimedia data to the application client includes:
[0034] sorting multiple target multimedia data;
[0035] According to the arrangement order of the multiple target multimedia data, a target number of target multimedia data is selected, and the target number of target multimedia data or data identifiers of the target number of target multimedia data are sent to the application client.
[0036] Optionally, the method further comprises:
[0037] Acquire introduction information of the target multimedia data;
[0038] The sending the target multimedia data to the application client includes:
[0039] The target multimedia data and introduction information of the target multimedia data are sent to the application client.
[0040] Optionally, before sending the target multimedia data or the data identifier of the target multimedia data to the application client, the method further includes:
[0041] Determine an original data identifier of the target multimedia data, where the original data identifier is used to indicate the target multimedia data;
[0042] Querying a related data identifier corresponding to the original data identifier, where the related data identifier is used to indicate another version of the target multimedia data;
[0043] The sending the target multimedia data or the data identifier of the target multimedia data to the application client includes:
[0044] The target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier of the target multimedia data and the associated data identifier are sent to the application client.
[0045] In another aspect, a multimedia data recommendation device is provided, the device comprising:
[0046] A receiving module, configured to receive a recommendation request sent by an application client, wherein the recommendation request carries a first user identifier and a service identifier for logging into the application client, and the service identifier is used to indicate any service in the application client;
[0047] A data acquisition module, used to acquire target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier;
[0048] The sending module is used to send the target multimedia data or the data identifier of the target multimedia data to the application client, and the application client is used to recommend the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
[0049] Optionally, the recommendation request carries behavior data of the first user identifier;
[0050] The data acquisition module is used to acquire target multimedia data belonging to the service and matching the behavior data based on the data acquisition interface corresponding to the service identifier.
[0051] Optionally, the device further comprises:
[0052] The receiving module is used to receive the recommendation request based on the access service interface;
[0053] A distribution module is used to distribute the recommendation request to the data acquisition interface corresponding to the service identifier based on the access service interface.
[0054] Optionally, the data acquisition module is used to:
[0055] Based on the data acquisition interface corresponding to the service identifier, acquiring the similarity between the behavior data of the first user identifier and each candidate multimedia data, wherein the candidate multimedia data is multimedia data belonging to the service;
[0056] Target multimedia data is acquired from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0057] Optionally, the data acquisition module is used to:
[0058] Based on the data acquisition interface corresponding to the service identifier, determining a second user identifier matching 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;
[0059] The multimedia data belonging to the service in the behavior data of the second user identification is determined as the target multimedia data.
[0060] Optionally, the data acquisition module is used to:
[0061] Based on the data acquisition interface corresponding to the service identifier, a preset number of candidate multimedia data are acquired from a plurality of candidate multimedia data, and the preset number of candidate multimedia data are determined as target multimedia data belonging to the service;
[0062] The plurality of candidate multimedia data are multimedia data belonging to the service; and the heat values of the preset number of candidate multimedia data are greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
[0063] Optionally, the data acquisition module is used to:
[0064] Based on the data acquisition interface corresponding to the service identifier, acquiring multimedia data matching the behavior data of the first user identifier, where the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
[0065] Determine combined multimedia data including the multimedia data from candidate multimedia data, determine the combined multimedia data as the target multimedia data, and the candidate multimedia data is multimedia data belonging to the service.
[0066] Optionally, the device further comprises:
[0067] The filtering module is used to call the filtering service interface to filter the target multimedia data that meets the filtering conditions.
[0068] Optionally, the filtering condition includes at least one of the following:
[0069] The same as the multimedia data included in the historical behavior data of the first user identification;
[0070] The same as the multimedia data recommended to the first user identifier;
[0071] Same as preset filter data.
[0072] Optionally, the target multimedia data includes multiple data, and the sending module includes:
[0073] A sorting unit, used for sorting a plurality of target multimedia data;
[0074] A selection unit, configured to select a target number of target multimedia data according to the arrangement order of the plurality of target multimedia data;
[0075] A sending unit is used to send the target quantity of target multimedia data, or the data identifier of the target quantity of target multimedia data, to the application client.
[0076] Optionally, the device further comprises:
[0077] An information acquisition module, used to acquire introduction information of the target multimedia data;
[0078] The sending module is used for:
[0079] The target multimedia data and introduction information of the target multimedia data are sent to the application client.
[0080] Optionally, the device further comprises:
[0081] an identification determination module, used to determine the original data identification of the target multimedia data, wherein the original data identification is used to indicate the target multimedia data;
[0082] A query module, 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;
[0083] The sending module is used for:
[0084] The target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier of the target multimedia data and the associated data identifier are sent to the application client.
[0085] On the other hand, a server is provided, the server comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to implement the operations performed in the multimedia data recommendation method.
[0086] On the other hand, a computer-readable storage medium is provided, wherein 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 performed in the multimedia data recommendation method.
[0087] On the other hand, a computer program product or a computer program is provided, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. The processor of the server reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the server implements the operations performed in the multimedia data recommendation method described in the above aspects.
[0088] The method, device, server and storage medium provided in the embodiments of the present application integrate multiple data acquisition interfaces, each data acquisition interface corresponds to a business. In the recommendation process, the data acquisition interface corresponding to the business identifier in the recommendation request is determined, and then the multimedia data belonging to the business corresponding to the business identifier is acquired based on the data acquisition interface to complete the recommendation of the multimedia data, thereby expanding the multimedia data acquisition method and the business scope of the recommended multimedia data. In addition, acquiring multimedia data based on the data acquisition interface corresponding to the business can improve the accuracy of the acquired multimedia data. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0090] Figure 1 It is a structural diagram of an implementation environment provided by an embodiment of the present application.
[0091] Figure 2 It is a flowchart of a multimedia data recommendation method provided in an embodiment of the present application.
[0092] Figure 3 It is a flowchart of a multimedia data recommendation method provided in an embodiment of the present application.
[0093] Figure 4A schematic diagram of the structure of a server for recommending multimedia data provided in an embodiment of the present application is shown.
[0094] Figure 5 It is a structural diagram of a multimedia data recommendation device provided in an embodiment of the present application.
[0095] Figure 6 It is a structural diagram of another multimedia data recommendation device provided in an embodiment of the present application.
[0096] Figure 7 It is a structural diagram of a terminal provided in an embodiment of the present application.
[0097] Figure 8 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0098] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0099] It is understood that the terms "first", "second", "third", "fourth", "fifth", "sixth", etc. used in this application can be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of this application, the first arrangement order can be called the second arrangement order, and the second arrangement order can be called the first arrangement order.
[0100] The terms "each", "multiple", "at least one", "any" and the like used in this application include one, two or more than two, multiple include two or more than two, each refers to each of the corresponding multiple, and any refers to any one of the multiple. For example, multiple elements include 3 elements, and each refers to each of the 3 elements, and any refers to any one of the 3 elements, which can be the first, the second, or the third.
[0101] The method provided in the embodiment of the present application is applied to a multi-service recommendation scenario, where multiple types of services are included in the application client. The application client can send a recommendation request carrying a service identifier to the server based on the service type. The server then uses the method provided in the embodiment of the present application to obtain target multimedia data belonging to the service corresponding to the service identifier and recommend the target multimedia data to the application client.
[0102] Figure 1 It is a schematic diagram of a structure of an implementation environment provided by an embodiment of the present application. Figure 1The implementation environment includes a server 101 and a terminal 102, and the terminal and the server are connected via a wireless or wired network.
[0103] The terminal 102 generates the user's behavior data according to the user's operation, and sends multiple behavior data of the user to the server 101. The application client in the terminal 102 can also send a recommendation request to the server 101. The server 101 determines the target multimedia data according to the recommendation request and the user's behavior data, and recommends the target multimedia data to the application client.
[0104] Among them, the terminal 102 in the embodiment of the present application is a terminal 102 of various types such as a mobile phone, a tablet computer, a computer, etc., and the server 101 is a server 101, or a server 101 cluster composed of several servers 101, or a cloud computing service center.
[0105] Figure 2 is a flowchart of a multimedia data recommendation method provided in an embodiment of the present application. The method is applied in a server. Figure 2 , the method comprising:
[0106] 201. Receive a recommendation request sent by an application client.
[0107] The recommendation request carries a first user identifier and a service identifier for logging into the application client, and the service identifier is used to indicate any service in the application client.
[0108] 202. Based on the data acquisition interface corresponding to the service identifier, acquire target multimedia data belonging to the service.
[0109] 203. Send the target multimedia data or a data identifier of the target multimedia data to the application client, so that the application client recommends the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
[0110] The method provided in the embodiment of the present application integrates multiple data acquisition interfaces, each data acquisition interface corresponds to a business. In the recommendation process, the data acquisition interface corresponding to the business identifier in the recommendation request is determined, and then the multimedia data belonging to the business corresponding to the business identifier is acquired based on the data acquisition interface to complete the recommendation of the multimedia data, thereby expanding the multimedia data acquisition method and the business scope of the recommended multimedia data. In addition, acquiring multimedia data based on the data acquisition interface corresponding to the business can improve the accuracy of the acquired multimedia data.
[0111] Optionally, the recommendation request carries the behavior data of the first user identifier;
[0112] Based on the data acquisition interface corresponding to the business identifier, the target multimedia data belonging to the business is acquired, including:
[0113] Based on the data acquisition interface corresponding to the business identifier, target multimedia data belonging to the business and matching the behavior data is acquired.
[0114] 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:
[0115] Based on the access service interface, receiving the recommendation request;
[0116] 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:
[0117] Based on the access service interface, the recommendation request is distributed to the data acquisition interface corresponding to the business identifier.
[0118] Optionally, based on a data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service includes:
[0119] Based on the data acquisition interface corresponding to the service identifier, the similarity between the behavior data of the first user identifier and each candidate multimedia data is acquired, where the candidate multimedia data is multimedia data belonging to the service;
[0120] Target multimedia data is obtained from the candidate multimedia data, and the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0121] Optionally, based on a data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service includes:
[0122] Based on the data acquisition interface corresponding to the service identifier, determining a second user identifier matching 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;
[0123] The multimedia data belonging to the service in the behavior data of the second user identifier is determined as the target multimedia data.
[0124] Optionally, based on a data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service includes:
[0125] Based on the data acquisition interface corresponding to the service identifier, a preset number of candidate multimedia data are acquired from the plurality of candidate multimedia data, and the preset number of candidate multimedia data are determined as target multimedia data belonging to the service;
[0126] Among them, the multiple candidate multimedia data are multimedia data belonging to the business; the heat values of the preset number of candidate multimedia data are greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
[0127] Optionally, based on a data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service includes:
[0128] Based on the data acquisition interface corresponding to the service identifier, multimedia data matching the behavior data of the first user identifier is acquired, where the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
[0129] Combined multimedia data including the multimedia data is determined from the candidate multimedia data, and the combined multimedia data is determined as the target multimedia data, wherein the candidate multimedia data is the multimedia data belonging to the service.
[0130] 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:
[0131] Call the filtering service interface to filter the target multimedia data that meets the filtering conditions.
[0132] Optionally, the filtering condition includes at least one of the following:
[0133] The same as the multimedia data included in the historical behavior data of the first user identification;
[0134] The same as the multimedia data recommended to the first user identification;
[0135] Same as preset filter data.
[0136] Optionally, the target multimedia data includes multiple data, and sending the target multimedia data or the data identifier of the target multimedia data to the application client includes:
[0137] sorting multiple target multimedia data;
[0138] According to the arrangement order of the plurality of target multimedia data, a target number of target multimedia data is selected, and the target number of target multimedia data or data identifiers of the target number of target multimedia data are sent to the application client.
[0139] Optionally, the method further comprises:
[0140] Obtain introduction information of target multimedia data;
[0141] Send target multimedia data to the application client, including:
[0142] The target multimedia data and introduction information of the target multimedia data are sent to the application client.
[0143] Optionally, before sending the target multimedia data or the data identifier of the target multimedia data to the application client, the method further includes:
[0144] Determine an original data identifier of the target multimedia data, where the original data identifier is used to indicate the target multimedia data;
[0145] Querying a related data identifier corresponding to the original data identifier, where the related data identifier is used to indicate other versions of the target multimedia data;
[0146] Sending target multimedia data or a data identifier of the target multimedia data to the application client includes:
[0147] Sending the target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier of the target multimedia data and the associated data identifier to the application client.
[0148] Figure 3 is a flowchart of a multimedia data recommendation method provided in an embodiment of the present application. The method is applied in a server, see Figure 3 , the method comprising:
[0149] 301. Receive a recommendation request sent by an application client based on an access service interface.
[0150] In the embodiment of the present application, a server and an application client are included, and the application client is a client installed in a terminal. The server is a server serving the application client, and the application client can interact with the server for data, for example, the application client sends the generated data to the server, which is stored by the server, or the application client requests to obtain the data stored in the server. The server can obtain the target multimedia data based on the stored data and the recommendation request sent by the application client, and then send the target multimedia data to the application client.
[0151] In addition, the application client may be a client of different types, such as an item recommendation client, an audio client, a video client, or other types of clients.
[0152] The application client includes multiple types of services, and the application client sends recommendation requests to the server according to different types of services. The service is a service provided by the application client to the user. For example, the service includes audio service, video service, music pictorial service, live broadcast service, etc.
[0153] Optionally, the application client includes multiple service options, which are audio options, music pictorial options, and live broadcast options. If the terminal displays at least one audio data in response to a trigger operation on the audio option, the user can select any audio data to play, and the application client sends a service identifier carrying an indication of the audio service when displaying the audio data to obtain the audio data belonging to the audio service. Alternatively, if the terminal displays at least one music pictorial data in response to a trigger operation on the music pictorial option, the user can select any music pictorial data to access, and the application client sends a service identifier carrying an indication of the music pictorial service when displaying the music pictorial data to obtain the music pictorial belonging to the music pictorial service.
[0154] The music pictorial includes music and pictures. The pictures in the music pictorial can be played in a loop, and the music included in the music pictorial can also be played during the playing of the pictures.
[0155] In an embodiment of the present application, the server can obtain target multimedia data belonging to the service corresponding to the service identifier based on multiple 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.
[0156] The recommendation request carries a first user identifier and a service identifier of the user who logs in to the application client, where the first user identifier is the user's mobile phone number, the user's account number, the user's nickname, etc. The service identifier is used to indicate any service in the application client.
[0157] In addition, the recommendation request carries a first user identifier and a service identifier. If the server receives a 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 the subsequent process of determining the target multimedia data based on the received recommendation request.
[0158] The first point that needs to be explained is that the embodiment of the present application is only described by taking the example of receiving a recommendation request based on an access service interface. In another embodiment, the server can also use other methods to receive a recommendation request sent by an application client without receiving a recommendation request based on an access service interface.
[0159] The second point that needs to be explained 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 the access operation performed by the user, the application client determines the first user identifier and service identifier of the user, and then sends the recommendation request to the server. Alternatively, the application client does not need to send the recommendation request according to the user's operation, but directly sends the recommendation request to the server at startup, and the server can receive the recommendation request. Alternatively, the application client can also send the recommendation request in other ways.
[0160] 302. Based on the access service interface, distribute the recommendation request to the data acquisition interface corresponding to the business identifier.
[0161] In the embodiment of the present application, the server includes multiple data acquisition interfaces, and different data acquisition interfaces acquire target multimedia data belonging to different businesses, so different data acquisition interfaces correspond to different business identifiers. The target multimedia data determined by the server based on different data acquisition interfaces also belong to different businesses. After receiving the recommendation request, the server needs to determine the corresponding data acquisition interface according to the business identifier in the recommendation request, and then can acquire the target multimedia data belonging to the business corresponding to the business identifier based on the data acquisition interface.
[0162] The data acquisition interface is used to acquire target multimedia data of a service belonging to a service identifier according to a recommendation request.
[0163] Optionally, the data acquisition interface included in the server corresponds to a service identifier. After the server receives a recommendation request based on the access service interface, it can determine the corresponding data acquisition interface based on the service identifier carried in the recommendation request and distribute the recommendation request to the data acquisition interface corresponding to the service identifier.
[0164] The method provided in the embodiment of the present application can recommend target multimedia data for different services, distribute the recommendation request to the data acquisition interface corresponding to the service identifier based on the access service interface, and the data acquisition interface obtains the target multimedia data of the service belonging to the service identifier, thereby improving the accuracy of obtaining the target multimedia data.
[0165] 303. Based on the data acquisition interface corresponding to the service identifier, acquire target multimedia data belonging to the service.
[0166] The target multimedia data is multimedia data recommended by the server to the application client, and can be considered as data that the first user identifier is interested in.
[0167] Optionally, the recommendation request carries the behavior data of the first user identifier. When the server obtains the target multimedia data based on the recommendation request, it obtains the target multimedia data belonging to the business and matching the behavior data of the first user identifier based on the data acquisition interface corresponding to the business identifier.
[0168] The behavior data includes multimedia data operated by the user corresponding to the first user identifier in the application client, and the operation performed 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 means that the user is interested in the multimedia data, and the user wants to view more multimedia data that is of interest to the multimedia data.
[0169] For example, the behavior data includes a play operation performed on audio data in the application client, a favorite operation on the audio, a comment operation on the audio, and the like.
[0170] In the embodiment of the present application, the server can obtain the target multimedia data in at least one of the following ways:
[0171] (1) Based on the data acquisition interface corresponding to the service identifier, the similarity between the behavior data of the first user identifier and each candidate multimedia data is acquired, and the target multimedia data is acquired from the candidate multimedia data, wherein the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0172] The behavior data of the first user identifier is obtained by the server. For example, the recommendation request received by the server includes the behavior data of the first user identifier. Alternatively, after receiving the recommendation request, the server obtains 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.
[0173] The candidate multimedia data is multimedia data stored in the server, and the candidate multimedia data are all multimedia data belonging to the 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 pictorial, the candidate multimedia data are all music pictorials.
[0174] In an embodiment of the present application, after obtaining the behavior data of the first user identifier based on the data acquisition interface corresponding to the business identifier, the server obtains the similarity between the behavior data and each candidate multimedia data, wherein the greater the obtained similarity, the more similar the candidate multimedia data is to the behavior data. Based on the obtained similarity, data similar to the behavior data is selected from the candidate multimedia data, and the selected candidate multimedia data is determined as the target multimedia data.
[0175] The similarity corresponding to the selected target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0176] Optionally, the method of selecting the target multimedia data includes any of the following:
[0177] 1. Sort the candidate multimedia data in descending order of similarity, and select a preset number of candidate multimedia data as target multimedia data.
[0178] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0179] 2. Sort the candidate multimedia data in order of similarity from small to large, and select a preset number of candidate multimedia data as target multimedia data.
[0180] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0181] 3. Obtain candidate multimedia data with a similarity greater than a preset similarity as target multimedia data.
[0182] The preset similarity is set by the server, or by an operator, or by other methods. For example, the preset similarity is 0.7, 0.75, 0.8 or other values.
[0183] (2) Based on the data acquisition interface corresponding to the business identifier, according to the behavior data of the first user identifier and the behavior data of the candidate user identifiers, a second user identifier that matches the first user identifier is determined from the candidate user identifiers, and multimedia data belonging to the business in the behavior data of the second user identifier is determined as the target multimedia data.
[0184] The behavior data of the candidate user identification is the data stored in the server. The candidate user identification is the user identification that performs operations in the application client. The candidate user identification is the user's mobile phone number, user nickname, user account, etc.
[0185] The behavior data of the candidate user identification includes multimedia data operated by the candidate user identification in the application client, and operations performed by the candidate user identification on the multimedia data in the application client.
[0186] For example, the behavior data includes that the user corresponding to the candidate user identifier has performed a play operation on the audio in the application client, or a collection operation on the audio, or a comment operation on the audio, etc.
[0187] Optionally, in an embodiment of the present application, based on a data acquisition interface corresponding to a service identifier, multimedia data operated by the first user identifier is determined from the behavior data of the first user identifier, and multimedia data operated by the candidate user identifier is determined from the behavior data of the candidate user identifier, and then based on the number of multimedia data operated by the first user identifier that is the same as the multimedia data operated by the candidate user identifier, the matching degree between the first user identifier and each second user identifier is determined, and then based on the obtained matching degree, the second user identifier that matches the first user identifier is determined, and the multimedia data belonging to the service in the behavior data of the second user identifier is determined as the target multimedia data.
[0188] Optionally, a method of selecting a second user identifier that matches the first user identifier includes any of the following:
[0189] 1. Sort the candidate multimedia data in descending order of similarity, select a preset number of candidate user identifiers, and determine them as second user identifiers that match the first user identifier.
[0190] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0191] 2. Sort the candidate multimedia data in order of similarity from small to large, and select a preset number of candidate user identifiers as the second user identifiers.
[0192] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0193] 3. Obtain a candidate user identifier whose similarity is greater than a preset similarity as the second user identifier.
[0194] The preset similarity is set by the server, or by an operator, or by other methods. For example, the preset similarity is 0.7, 0.75, 0.8 or other values.
[0195] (3) Based on the data acquisition interface corresponding to the service identifier, a preset number of candidate multimedia data are acquired from the plurality of candidate multimedia data, and the preset number of candidate multimedia data are determined as target multimedia data belonging to the service.
[0196] The plurality of candidate multimedia data are multimedia data belonging to the business, and the heat values of the preset number of candidate multimedia data are greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
[0197] In addition, the heat value of multimedia data is used to indicate the popularity of the multimedia data. The higher the heat value of the multimedia data, the higher the popularity of the multimedia data, and the lower the heat value of the multimedia data, the lower the popularity of the multimedia data.
[0198] In an embodiment of the present application, in the process of acquiring target multimedia data from a plurality of candidate multimedia data, a popularity value of each candidate multimedia data is acquired, and then the target multimedia data is selected based on the size of the acquired popularity value.
[0199] Optionally, the method of selecting the target multimedia data includes any of the following:
[0200] 1. Sort the candidate multimedia data in descending order of heat value, and select a preset number of candidate multimedia data to determine as target multimedia data.
[0201] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0202] 2. Sort the candidate multimedia data in order of heat value from small to large, and select a preset number of candidate multimedia data as target multimedia data.
[0203] The preset number is set by the server, or by an operator, or by other methods. For example, the preset number is 5, 10, 20 or other values.
[0204] 3. Obtain candidate multimedia data whose heat value is greater than a preset heat value as target multimedia data.
[0205] The preset heat value is set by the server, or by an operator, or by other methods.
[0206] It should be noted that the embodiment of the present application is only described by taking the acquisition of target multimedia data belonging to a service as an example. In another embodiment, if the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier, the following method is required to acquire the multimedia data belonging to the service:
[0207] Based on the data acquisition interface corresponding to the business identifier, multimedia data matching the behavior data of the first user identifier is acquired, the business to which the behavior data of the first user identifier belongs is different from the business indicated by the business identifier, and target multimedia data including the multimedia data is determined from the candidate multimedia data, and the candidate multimedia data is multimedia data belonging to the business.
[0208] In an embodiment of the present application, if the business to which the behavior data of the first user identifier belongs is different from the business indicated by the business identifier, then after determining the matching multimedia data based on the behavior data of the first user identifier, it is determined that the business to which the matching multimedia data belongs is still different from the business indicated by the business identifier, combined multimedia data including the matching multimedia data is determined from the candidate multimedia data belonging to the business, the combined multimedia data is determined as the target multimedia data, and the determined target multimedia data is the multimedia data that matches the behavior data of the first user identifier and belongs to the business.
[0209] For example, if the business to which the behavior data identified by the first user belongs is an audio business, and the business indicated by the business identifier is a music pictorial business, then the matching multimedia data obtained based on the behavior data identified by the first user is music, and then music pictorial data including music is obtained. These music pictorial data are target multimedia data, which are the same as the music pictorial business.
[0210] The method provided in the embodiment of the present application can use data belonging to different services to obtain multimedia data of the service belonging to the service identifier, thereby expanding the way of obtaining multimedia data and improving the diversity of the obtained multimedia data.
[0211] Optionally, after acquiring the target multimedia data in step 203, if the acquired target multimedia data includes data to be filtered, the server calls a filtering service interface to filter the target multimedia data that meets the filtering conditions to improve the accuracy of the target multimedia data recommended to the application client.
[0212] Optionally, the filtering condition includes at least one of the following:
[0213] 1. The multimedia data is the same as the multimedia data included in the historical behavior data of the first user identifier.
[0214] In an embodiment of the present application, the multimedia data included in the historical behavior data of the first user identifier are all multimedia data that have been visited by the user. The server does not need to recommend these multimedia data to the application client again. The target multimedia data that is the same as the multimedia data included in the historical behavior data of the first user identifier is filtered to prevent repeated recommendation of multimedia data that the user has visited to the first user identifier.
[0215] 2. The multimedia data is the same as the multimedia data recommended to the first user ID.
[0216] In an embodiment of the present application, since the server can recommend multimedia data to the application client multiple times, after the server obtains the target multimedia data, it will filter the target multimedia data that is the same as the multimedia data recommended to the first user identifier to prevent repeated recommendation of multimedia data that has been recommended to the first user identifier.
[0217] 3. Same as preset filter data.
[0218] The preset filtering data is pre-set multimedia data, which is set by a server, or by an operator, or by a user, or in other ways.
[0219] Optionally, the preset filtered data is data with dissemination restrictions, or is shielded data, or is other types of data, and the like.
[0220] 304. Send target multimedia data to the application client.
[0221] After acquiring the target multimedia data, the server sends the acquired target multimedia data to the application client. After receiving the target multimedia data, the application client recommends the target multimedia data in the service.
[0222] In one possible implementation, when the server sends target multimedia data to the application client, the target multimedia data carries a service identifier. When the application client receives the target multimedia data, it determines the service to which the target multimedia data belongs based on the service identifier, and then recommends the target multimedia data in the service.
[0223] Optionally, in an embodiment of the present application, before executing step 204, if the server obtains multiple target multimedia data, the multiple target multimedia data are sorted, and a target number of target multimedia data are selected according to the arrangement order of the multiple target multimedia data, and the target number of target multimedia data are sent to the application client.
[0224] The target number is set by the server, or by an operator, or by other methods. For example, the target number is 5, 10, 20, or other values.
[0225] Optionally, 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.
[0226] The introduction information is information for explaining the target multimedia data, for example, the introduction information includes the name of the target multimedia data, the content of the target multimedia data, the source of the target multimedia data, and the like.
[0227] Optionally, before sending the target multimedia data to the application client, the method further includes:
[0228] Determine the original data identifier of the target multimedia data, query the associated data identifier corresponding to the original data identifier, and send the target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
[0229] The original identifier is used to indicate the original version of the target multimedia data, and the associated data identifier is used to indicate other versions of the target multimedia data.
[0230] If the server determines the target multimedia data, it can obtain the original data identifier of the target multimedia data, and then determine the original version of the target multimedia data. After querying the associated data identifier corresponding to the original data identifier, it can determine other versions of the target multimedia data based on the associated data identifier. The server can send the target multimedia data and the multimedia data corresponding to the associated data identifier to the application client, or send the original data identifier and the associated data identifier.
[0231] Optionally, if the target multimedia data is audio data, the audio data in the embodiments of the present application all have an original data identifier, which is used to indicate the original version of the audio data. The server can query the associated data identifier corresponding to the original data identifier, which indicates other versions of the audio data, and thus can obtain other versions of the audio data.
[0232] In the embodiment of the present 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, which can improve the diversity of recommending the target multimedia data to the application client.
[0233] in addition, Figure 4 A schematic diagram of the structure of a server for recommending multimedia data provided in an embodiment of the present application is shown. Figure 4 ,The server includes intranet service interface, configuration service interface, access service interface, data acquisition interface, filtering service interface, details service interface and sorting service interface.
[0234] There are multiple intranet service interfaces, each of which can obtain a recommendation request, and the intranet service interface matches the service corresponding to the service identifier in the recommendation request, and the multiple intranet service interfaces are all connected to the access service interface.
[0235] The access service interface is used to receive the recommendation request sent by the intranet service interface, and then distribute the recommendation request to the data acquisition interface based on the business identifier in the recommendation request.
[0236] There are multiple data acquisition interfaces, and each data acquisition interface corresponds to a service identifier. The data acquisition interface acquires target multimedia data belonging to the service corresponding to the service identifier according to the received recommendation request.
[0237] The filtering service interface is connected to each data acquisition interface respectively, and is used to filter the target multimedia data acquired by the data acquisition interface.
[0238] The detail service interface is connected to each data acquisition interface respectively, and is used to acquire the introduction information of the target multimedia data acquired by the data acquisition interface.
[0239] The sorting service interface is connected to each data acquisition interface respectively, and is used to arrange the order of the target multimedia data acquired by the data acquisition interface.
[0240] In addition, the access service interface, data acquisition interface, filtering service interface, detail service interface and sorting service interface are all connected to the configuration service interface, and can all call the configuration service interface to obtain the configuration information of each service interface.
[0241] The server sends the recommendation request to the access service interface through the intranet service interface, and then distributes the received recommendation request to the data acquisition interface corresponding to the business identifier in the recommendation request based on the access service interface, obtains the target multimedia data belonging to the business based on the data acquisition interface, and then calls the filtering service interface to filter the target multimedia data that meets the filtering conditions, and can also call the sorting service interface to sort the target multimedia data to obtain the sorted target multimedia data, and can also call the details service interface to obtain the introduction information of the target multimedia data.
[0242] It can be seen from the above embodiments that the present application provides a unified recommendation platform, which can recommend multimedia data belonging to a business according to the business type, thereby improving the versatility of the unified recommendation platform and expanding the way of recommending multimedia data.
[0243] It should be noted that the embodiment of the present application is only described by taking the server determining the target multimedia data and sending the target multimedia data to the application client as an example. In another embodiment, the server determines the data identifier of the target multimedia data and sends the data identifier of the target multimedia data to the application client, and the application client can determine the corresponding target multimedia data according to the data identifier.
[0244] The embodiment of the present application provides a method for recommending multimedia data based on business type, which integrates multiple data acquisition interfaces, each of which corresponds to a business. During the recommendation process, the data acquisition interface corresponding to the business identifier in the recommendation request is determined, and then the multimedia data belonging to the business corresponding to the business identifier is acquired based on the data acquisition interface to complete the recommendation of the multimedia data, thereby expanding the multimedia data acquisition method and the business scope of the recommended multimedia data. In addition, acquiring multimedia data based on the data acquisition interface corresponding to the business can improve the accuracy of the acquired multimedia data.
[0245] Furthermore, the method provided in the embodiment of the present application can use multimedia data belonging to different services to obtain multimedia data of a service belonging to a service identifier, thereby expanding the way of obtaining multimedia data and improving the diversity of the obtained multimedia data.
[0246] Furthermore, the method provided in the embodiment of the present application can filter the target multimedia data that meets the filtering conditions, thereby improving the accuracy of the target multimedia data recommended to the application client.
[0247] Furthermore, the method provided in the embodiment of the present 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 multimedia data recommended to the application client.
[0248] Figure 5 is a schematic diagram of the structure of a multimedia data recommendation device provided in an embodiment of the present application. Figure 5 , the device comprises:
[0249] A receiving module 501 is used to receive a recommendation request sent by an application client, where the recommendation request carries a first user identifier and a service identifier for logging into the application client, where the service identifier is used to indicate any service in the application client;
[0250] A data acquisition module 502, used to acquire target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier;
[0251] The sending module 503 is used to send the target multimedia data or the data identifier of the target multimedia data to the application client, and the application client is used to recommend the target multimedia data or the target multimedia data corresponding to the data identifier in the service.
[0252] The device provided in the embodiment of the present application integrates multiple data acquisition interfaces, each data acquisition interface corresponds to a business. In the recommendation process, the data acquisition interface corresponding to the business identifier is determined according to the business identifier in the recommendation request, and then the multimedia data belonging to the business corresponding to the business identifier is acquired based on the data acquisition interface to complete the recommendation of the multimedia data, thereby expanding the multimedia data acquisition method and the business scope of the recommended multimedia data. In addition, acquiring multimedia data based on the data acquisition interface corresponding to the business can improve the accuracy of the acquired multimedia data.
[0253] Optionally, the recommendation request carries the behavior data of the first user identifier;
[0254] The data acquisition module 502 is used to acquire target multimedia data belonging to the business and matching the behavior data based on the data acquisition interface corresponding to the business identifier.
[0255] Alternatively, see Figure 6 , the device further comprises:
[0256] The receiving module 501 is used to receive a recommendation request based on an access service interface;
[0257] The distribution module 504 is used to distribute the recommendation request to the data acquisition interface corresponding to the service identifier based on the access service interface.
[0258] Optionally, the data acquisition module 502 is used to:
[0259] Based on the data acquisition interface corresponding to the service identifier, the similarity between the behavior data of the first user identifier and each candidate multimedia data is acquired, where the candidate multimedia data is multimedia data belonging to the service;
[0260] Target multimedia data is obtained from the candidate multimedia data, and the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
[0261] Optionally, the data acquisition module 502 is used to:
[0262] Based on the data acquisition interface corresponding to the service identifier, determining a second user identifier matching 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;
[0263] The multimedia data belonging to the service in the behavior data of the second user identifier is determined as the target multimedia data.
[0264] Optionally, the data acquisition module 502 is used to:
[0265] Based on the data acquisition interface corresponding to the service identifier, a preset number of candidate multimedia data are acquired from the plurality of candidate multimedia data, and the preset number of candidate multimedia data are determined as target multimedia data belonging to the service;
[0266] Among them, the multiple candidate multimedia data are multimedia data belonging to the business; the heat values of the preset number of candidate multimedia data are greater than the heat values of other candidate multimedia data except the preset number of candidate multimedia data.
[0267] Optionally, the data acquisition module 502 is used to:
[0268] Based on the data acquisition interface corresponding to the service identifier, multimedia data matching the behavior data of the first user identifier is acquired, where the service to which the behavior data of the first user identifier belongs is different from the service indicated by the service identifier;
[0269] Combined multimedia data including the multimedia data is determined from the candidate multimedia data, and the combined multimedia data is determined as the target multimedia data, wherein the candidate multimedia data is the multimedia data belonging to the service.
[0270] Alternatively, see Figure 6 , the device further comprises:
[0271] The filtering module 505 is used to call the filtering service interface to filter the target multimedia data that meets the filtering conditions.
[0272] Optionally, the filtering condition includes at least one of the following:
[0273] The same as the multimedia data included in the historical behavior data of the first user identification;
[0274] The same as the multimedia data recommended to the first user identification;
[0275] Same as preset filter data.
[0276] Optionally, the target multimedia data includes multiple Figure 6 , the sending module 503 includes:
[0277] A sorting unit 5031, used to sort the multiple target multimedia data;
[0278] A selection unit 5032, configured to select a target number of target multimedia data according to an arrangement order of the plurality of target multimedia data;
[0279] The sending unit 5033 is used to send a target quantity of target multimedia data, or a data identifier of a target quantity of target multimedia data, to the application client.
[0280] Alternatively, see Figure 6, the device further comprises:
[0281] Information acquisition module 506, used to acquire introduction information of target multimedia data;
[0282] The sending module 503 is used for:
[0283] The target multimedia data and introduction information of the target multimedia data are sent to the application client.
[0284] Alternatively, see Figure 6 , the device further comprises:
[0285] An identifier determination module 507, used to determine an original data identifier of target multimedia data, where the original data identifier is used to indicate the target multimedia data;
[0286] A query module 508, used to query the associated data identifier corresponding to the original data identifier, where the associated data identifier is used to indicate other versions of the target multimedia data;
[0287] The sending module 503 is used for:
[0288] Sending the target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier and the associated data identifier of the target multimedia data to the application client.
[0289] It should be noted that: the multimedia data recommendation device provided in the above embodiment only uses the division of the above functional modules as an example when sending target multimedia data. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiment of the multimedia data recommendation device provided in the above embodiment belongs to the same concept as the embodiment of the multimedia data recommendation method. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0290] Figure 7 700 is a schematic diagram of a terminal structure provided by 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), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 700 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0291] The terminal 700 includes a processor 701 and a memory 702 .
[0292] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the 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 to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0293] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one program code, which is used to be executed by the processor 701 to implement the multimedia data recommendation method provided in the method embodiment of the present application.
[0294] In some embodiments, the terminal 700 may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a 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 assembly 708 and a power supply 709.
[0295] The peripheral device interface 703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device 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 device interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0296] The radio frequency circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 704 communicates with communication networks and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. 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 user identity module card, etc. The radio frequency circuit 704 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 14G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0297] The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on the surface or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 705 can be one, arranged on the front panel of the terminal 700; in other embodiments, the display screen 705 can be at least two, respectively arranged on different surfaces of the terminal 700 or in a folding design; in other embodiments, the display screen 705 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal 700. Even, the display screen 705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 705 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0298] The camera assembly 706 is used to capture images or videos. Optionally, the 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, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0299] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 701 for processing, or input them into the radio frequency circuit 704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0300] Positioning component 708 is used to locate the current geographical location of terminal 700 to implement navigation or LBS (Location Based Service). Positioning component 708 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas positioning system or the European Union's Galileo positioning system.
[0301] The power supply 709 is used to power various components in the terminal 700. The power supply 709 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 709 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0302] In some embodiments, the terminal 700 further includes one or more sensors 710 , including but not limited to: an acceleration sensor 711 , a gyroscope sensor 712 , a pressure sensor 713 , a fingerprint sensor 714 , an optical sensor 715 , and a proximity sensor 716 .
[0303] The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 140. For example, the acceleration sensor 711 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 701 can control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 can also be used for collecting game or user motion data.
[0304] The gyro sensor 712 can detect the body direction and rotation angle of the terminal 700, and the gyro sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal 700. The processor 701 can implement the following functions based on the data collected by the gyro sensor 712: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0305] The pressure sensor 713 can be set on the side frame of the terminal 700 and / or the lower layer of the display screen 705. When the pressure sensor 713 is set on the side frame of the terminal 700, it can detect the user's holding signal of the terminal 700, and the processor 701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is set on the lower layer of the display screen 705, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0306] The fingerprint sensor 714 is used to collect the user's fingerprint, and the processor 701 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 714 can be set on the front, back, or side of the terminal 700. When a physical button or a manufacturer logo is set on the terminal 700, the fingerprint sensor 714 can be integrated with the physical button or the manufacturer logo.
[0307] The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 according to 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 reduced. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.
[0308] The proximity sensor 716, also called a distance sensor, is disposed on the front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from the screen-on state to the screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from the screen-off state to the screen-on state.
[0309] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 700, and the terminal 700 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0310] The embodiment of the present application further provides a server, the server comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to implement the operations performed in the multimedia data recommendation method in the above embodiment. Figure 8 This is a schematic diagram of the structure of a server according to an exemplary embodiment. The server 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, wherein the memory 802 stores at least one program code, and the at least one program code is loaded and executed by the processor 801 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.
[0311] An embodiment of the present application further provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the multimedia data recommendation method of the above embodiment.
[0312] An embodiment of the present application also provides a computer program product or a computer program, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. The processor of the server reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the server implements the operations performed in the multimedia data recommendation method described in the above aspects.
[0313] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, 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 disk or an optical disk, etc.
[0314] The above are only optional embodiments of the embodiments of the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.
Claims
1. A multimedia data recommendation method, characterized in that: The method comprises: receiving a recommendation request sent by an application client, the recommendation request carrying a first user identifier and a service identifier for logging into the application client, the service identifier being used to indicate any service in the application client, the application client including multiple types of services and multiple service options, the service identifier being an identifier corresponding to a service option selected by a user from the multiple service options; Based on the data acquisition interface corresponding to the service identifier, acquiring target multimedia data belonging to the service; Filtering the target multimedia data that meets a filtering condition, wherein the filtering condition includes at least one of the following: being the same as the multimedia data included in the historical behavior data of the first user identifier, and being the same as the multimedia data recommended to the first user identifier; Sending the filtered target multimedia data or a data identifier of the target multimedia data to the application client, wherein the application client is used to recommend the target multimedia data or the target multimedia data corresponding to the data identifier in the service; The acquiring target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier includes: Based on the data acquisition interface corresponding to the service identifier, acquire multimedia data matching the behavior data of the first user identifier, wherein the behavior data includes multimedia data operated by the user corresponding to the first user identifier in the application client and operations performed by the user on the multimedia data in the application client; If the business to which the behavior data of the first user identifier belongs is different from the business indicated by the business identifier, determining, from the candidate multimedia data, combined multimedia data including multimedia data matching the behavior data of the first user identifier, and determining the combined multimedia data as the target multimedia data, the candidate multimedia data is multimedia data belonging to the business, the candidate multimedia data is multimedia data stored in the server, and the candidate multimedia data are all multimedia data belonging to the business corresponding to the business identifier in the recommendation request; If the business to which the behavior data of the first user identifier belongs is the same as the business indicated by the business identifier, then the similarity between the behavior data of the first user identifier and each candidate multimedia data is obtained; the target multimedia data is obtained from the candidate multimedia data, and the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
2. The method according to claim 1, characterized in that: The recommendation request carries the behavior data of the first user identifier.
3. The method according to claim 1, characterized in that 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: Based on the access service interface, receiving the recommendation request; 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: Based on the access service interface, the recommendation request is distributed to a data acquisition interface corresponding to the service identifier.
4. The method according to claim 1, characterized in that: The acquiring of target multimedia data belonging to the service based on the data acquisition interface corresponding to the service identifier further includes: Based on the data acquisition interface corresponding to the service identifier, determining a second user identifier matching 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; The multimedia data belonging to the service in the behavior data of the second user identification is determined as the target multimedia data.
5. The method according to claim 1, characterized in that Before sending the filtered target multimedia data or the data identifier of the target multimedia data to the application client, the method further includes: Determine an original data identifier of the target multimedia data, where the original data identifier is used to indicate the target multimedia data; Querying a related data identifier corresponding to the original data identifier, where the related data identifier is used to indicate another version of the target multimedia data; The step of sending the filtered target multimedia data or the data identifier of the target multimedia data to the application client includes: The target multimedia data and multimedia data corresponding to the associated data identifier, or the original data identifier of the target multimedia data and the associated data identifier are sent to the application client.
6. A multimedia data recommendation device, characterized in that: The device comprises: a receiving module, configured to receive a recommendation request sent by an application client, wherein the recommendation request carries a first user identifier and a service identifier for logging into the application client, wherein the service identifier is used to indicate any service in the application client, wherein the application client includes multiple types of services and multiple service options, and wherein the service identifier is an identifier corresponding to a service option selected by a user from the multiple service options; A data acquisition module, used to acquire target multimedia data belonging to the service based on a data acquisition interface corresponding to the service identifier; A filtering module, configured to filter the target multimedia data that meets a filtering condition, wherein the filtering condition includes at least one of the following: being identical to the multimedia data included in the historical behavior data of the first user identifier, and being identical to the multimedia data recommended to the first user identifier; a sending module, configured to send the filtered target multimedia data or a data identifier of the target multimedia data to the application client, wherein 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 data acquisition module is specifically used for: Based on the data acquisition interface corresponding to the business identifier, multimedia data matching the behavior data of the first user identifier is acquired, the behavior data including multimedia data operated by the user corresponding to the first user identifier in the application client, and operations performed by the user on the multimedia data in the application client; if the business to which the behavior data of the first user identifier belongs is different from the business indicated by the business identifier, combined multimedia data including multimedia data matching the behavior data of the first user identifier is determined from candidate multimedia data, and the combined multimedia data is determined as the target multimedia data, the candidate multimedia data is multimedia data belonging to the business, the candidate multimedia data is multimedia data stored in the server, and the candidate multimedia data are all multimedia data belonging to the business corresponding to the business identifier in the recommendation request; If the business to which the behavior data of the first user identifier belongs is the same as the business indicated by the business identifier, then the similarity between the behavior data of the first user identifier and each candidate multimedia data is obtained; the target multimedia data is obtained from the candidate multimedia data, and the similarity corresponding to the target multimedia data is greater than the similarities corresponding to other candidate multimedia data.
7. A server, characterized in that: The server includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed in the multimedia data recommendation method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed in the multimedia data recommendation method according to any one of claims 1 to 5.
