CN106156270B - Multimedia data push method and device - Google Patents
Multimedia data push method and device Download PDFInfo
- Publication number
- CN106156270B CN106156270B CN201610440423.4A CN201610440423A CN106156270B CN 106156270 B CN106156270 B CN 106156270B CN 201610440423 A CN201610440423 A CN 201610440423A CN 106156270 B CN106156270 B CN 106156270B
- Authority
- CN
- China
- Prior art keywords
- multimedia data
- user account
- played
- user
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
- G06F16/437—Administration of user profiles, e.g. generation, initialisation, adaptation, distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开是关于一种多媒体数据推送方法,属于互联网领域,该方法包括:获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;对于多个用户账号中的每个用户账号,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值;基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据;将选择的多媒体数据推送给该用户账号对应的终端。本公开通过向终端推送与该用户账号的气质类型相匹配的多媒体数据,从而提高了服务器向终端推送多媒体数据的效率。
The present disclosure relates to a method for pushing multimedia data, belonging to the field of the Internet. The method includes: acquiring rhythm level information of each multimedia data in a plurality of multimedia data stored in a multimedia database; for each user account in the plurality of user accounts , based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, determine the character characteristic value of the user account; Multimedia data matching the character feature value of the account; push the selected multimedia data to the terminal corresponding to the user account. The present disclosure improves the efficiency of the server pushing multimedia data to the terminal by pushing the multimedia data matching the temperament type of the user account to the terminal.
Description
技术领域technical field
本公开涉及互联网领域,尤其涉及一种多媒体数据推送方法及装置。The present disclosure relates to the field of the Internet, and in particular, to a method and device for pushing multimedia data.
背景技术Background technique
随着技术的发展,出现越来越多专为儿童进行学习教育的终端,比如,故事机。故事机可以让儿童鉴赏音乐、听故事等。同时,服务器可以对每个终端进行多媒体数据的推送,从而丰富终端对多媒体数据的播放。With the development of technology, there are more and more terminals designed for children's learning and education, such as story machines. Story machines allow children to appreciate music, listen to stories, and more. At the same time, the server can push multimedia data to each terminal, thereby enriching the playback of multimedia data by the terminal.
目前,服务器向终端进行多媒体数据推送的方式为:服务器获取终端播放多媒体数据的历史记录,基于该历史记录,获取与历史记录中的多媒体数据风格相似的多媒体数据,并将获取的多媒体数据推送给终端。At present, the server pushes the multimedia data to the terminal as follows: the server obtains the history record of the terminal playing the multimedia data, obtains the multimedia data similar in style to the multimedia data in the history record based on the history record, and pushes the obtained multimedia data to terminal.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本公开提供一种多媒体数据推送方法及装置。In order to overcome the problems existing in the related art, the present disclosure provides a method and device for pushing multimedia data.
根据本公开实施例的第一方面,提供一种多媒体数据推送方法,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for pushing multimedia data, the method comprising:
获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;Obtain the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database;
对于多个用户账号中的每个用户账号,基于所述多个多媒体数据中所述用户账号已播放的多媒体数据的节奏等级信息,确定所述用户账号的性格特征值;For each user account in the plurality of user accounts, determine the character characteristic value of the user account based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data;
基于所述用户账号的性格特征值,从所述多个多媒体数据中选择与所述用户账号的性格特征值匹配的多媒体数据;Based on the character characteristic value of the user account, selecting multimedia data matching the character characteristic value of the user account from the plurality of multimedia data;
将选择的多媒体数据推送给所述用户账号的对应终端。Pushing the selected multimedia data to the corresponding terminal of the user account.
可选地,所述获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息,包括:Optionally, obtaining the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database, including:
对于所述多个多媒体数据中的每个多媒体数据,确定所述多媒体数据的数据时长、所述多媒体数据在所述数据时长内的多个单位时间上的数据频率;For each multimedia data in the plurality of multimedia data, determine the data duration of the multimedia data and the data frequency of the multimedia data in multiple units of time within the data duration;
基于所述多媒体数据的数据时长和所述多个单位时间上的数据频率,确定所述多媒体数据的频率平均值;determining the average frequency of the multimedia data based on the data duration of the multimedia data and the data frequencies in the plurality of unit times;
基于所述频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取所述多媒体数据的节奏等级信息。Based on the frequency average value, the rhythm level information of the multimedia data is acquired from the stored correspondence between the frequency average value range and the rhythm level information.
可选地,所述基于所述多个多媒体数据中所述用户账号已播放的多媒体数据的节奏等级信息,确定所述用户账号的性格特征值,包括:Optionally, determining the character characteristic value of the user account based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, including:
对于所述多个多媒体数据中所述用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,基于所述多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取所述多媒体数据的等级权重;For each multimedia data in the multimedia data that has been played by the user account within the specified time period in the plurality of multimedia data, based on the rhythm level information of the multimedia data, from the stored rhythm level information and the level weight In the corresponding relationship between, obtain the level weight of the multimedia data;
确定所述已播放的多媒体数据的播放数量、所述已播放的多媒体数据中每个多媒体数据的播放总时长、所述用户账号对所述已播放的多媒体数据的切换权重和所述用户账号的用户年龄;Determine the playing quantity of the played multimedia data, the total playing time of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, and the user account's switching weight. user age;
将所述已播放的多媒体数据中每个多媒体数据的播放总时长除以所述用户账号的用户年龄,得到所述已播放的多媒体数据中每个多媒体数据的播放时长平均值;The total playing duration of each multimedia data in the played multimedia data is divided by the user age of the user account to obtain the average playing duration of each multimedia data in the played multimedia data;
基于所述播放数量、所述已播放的多媒体数据中每个多媒体数据的播放时长平均值、所述用户账号对所述已播放的多媒体数据的切换权重、所述已播放的多媒体数据中每个多媒体数据的等级权重和所述用户账号的用户年龄,确定所述用户账号的性格特征值。Based on the number of plays, the average play duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, each of the played multimedia data The grade weight of the multimedia data and the user age of the user account determine the character characteristic value of the user account.
可选地,所述基于所述播放数量、所述已播放的多媒体数据中每个多媒体数据的播放时长平均值、所述用户账号对已播放的多媒体数据的切换权重、所述已播放的多媒体数据中每个多媒体数据的等级权重和所述用户账号的用户年龄,确定所述用户账号的性格特征值,包括:Optionally, based on the number of plays, the average play duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the played multimedia data The grade weight of each multimedia data in the data and the user age of the user account determine the character characteristic value of the user account, including:
基于所述播放数量、所述已播放的多媒体数据中每个多媒体数据的播放时长平均值、所述用户账号对已播放的多媒体数据的切换权重、所述已播放的多媒体数据中每个多媒体数据的等级权重和所述用户账号的用户年龄,通过如下公式确定所述用户账号的性格特征值:Based on the number of playbacks, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, and each multimedia data in the played multimedia data The level weight of the user account and the user age of the user account are determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,所述C为所述用户账号的性格特征值,所述n为所述播放数量,所述D(i)为所述n个多媒体数据中第i个多媒体数据的播放时长平均值,所述Pace(i)为所述第i个多媒体数据的等级权重,所述frequency为所述用户账号对已播放的多媒体数据的切换权重,所述age为所述用户账号的用户年龄。Wherein, in the above formula, the C is the character characteristic value of the user account, the n is the number of playbacks, and the D(i) is the playback duration of the i-th multimedia data in the n pieces of multimedia data Average value, the Pace(i) is the grade weight of the i-th multimedia data, the frequency is the switching weight of the user account to the played multimedia data, and the age is the user age of the user account .
可选地,所述基于所述用户账号的性格特征值,从所述多个多媒体数据中选择与所述用户账号的性格特征值匹配的多媒体数据,包括:Optionally, selecting the multimedia data matching the character characteristic value of the user account from the plurality of multimedia data based on the character characteristic value of the user account, including:
获取已注册的所有用户账号的性格特征值;Get the character trait values of all registered user accounts;
确定性格特征平均值,所述性格特征平均值为所述已注册的所有用户账号的性格特征值的平均值;Determine the average value of the character characteristic, the average value of the character characteristic is the average value of the character characteristic value of all the registered user accounts;
基于所述性格特征平均值和所述用户账号的性格特征值,确定所述用户账号的气质类型;Determine the temperament type of the user account based on the character characteristic average value and the character characteristic value of the user account;
基于所述用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取所述用户账号的节奏等级信息;Based on the temperament type of the user account, obtain the rhythm grade information of the user account from the stored correspondence between the temperament type and the rhythm grade information;
基于所述多个多媒体数据中每个多媒体数据的节奏等级信息,从所述多个多媒体数据中选择与所述用户账号的节奏等级信息匹配的多媒体数据。Based on the rhythm level information of each of the plurality of multimedia data, multimedia data matching the rhythm level information of the user account is selected from the plurality of multimedia data.
根据本公开实施例的第二方面,提供一种多媒体数据推送装置,所述装置包括:According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for pushing multimedia data, the apparatus comprising:
获取模块,获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;an acquisition module, to acquire the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database;
确定模块,用于对于多个用户账号中的每个用户账号,基于所述多个多媒体数据中所述用户账号已播放的多媒体数据的节奏等级信息,确定所述用户账号的性格特征值;A determination module, for each user account in a plurality of user accounts, based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, determine the character characteristic value of the user account;
选择模块,用于基于所述用户账号的性格特征值,从所述多个多媒体数据中选择与所述用户账号的性格特征值匹配的多媒体数据;a selection module, configured to select multimedia data matching the character characteristic value of the user account from the plurality of multimedia data based on the character characteristic value of the user account;
推送模块,用于将选择的多媒体数据推送给所述用户账号对应的终端。A push module, configured to push the selected multimedia data to the terminal corresponding to the user account.
可选地,所述获取模块包括:Optionally, the obtaining module includes:
第一确定单元,用于对于所述多个多媒体数据中的每个多媒体数据,确定所述多媒体数据的数据时长、所述多媒体数据在所述数据时长内的多个单位时间上的数据频率;a first determining unit, configured to, for each multimedia data in the plurality of multimedia data, determine the data duration of the multimedia data and the data frequency of the multimedia data in a plurality of units of time within the data duration;
第二确定单元,用于基于所述多媒体数据的数据时长和所述多个单位时间上的数据频率,确定所述多媒体数据的频率平均值;a second determining unit, configured to determine the average frequency of the multimedia data based on the data duration of the multimedia data and the data frequencies in the plurality of units of time;
第一获取单元,用于基于所述频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取所述多媒体数据的节奏等级信息。A first acquiring unit, configured to acquire, based on the frequency average, the rhythm level information of the multimedia data from the stored correspondence between the frequency average range and the rhythm level information.
可选地,所述确定模块包括:Optionally, the determining module includes:
第二获取单元,用于对于所述多个多媒体数据中所述用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,基于所述多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取所述多媒体数据的等级权重;The second acquiring unit is configured to, for each multimedia data in the multimedia data that has been played by the user account within the specified time period in the plurality of multimedia data, based on the rhythm level information of the multimedia data, from the stored In the correspondence between the rhythm level information and the level weight, obtain the level weight of the multimedia data;
第三确定单元,用于确定所述已播放的多媒体数据的播放数量、所述已播放的多媒体数据中每个多媒体数据的播放总时长、所述用户账号对所述已播放的多媒体数据的切换权重和所述用户账号的用户年龄;a third determining unit, configured to determine the playing quantity of the played multimedia data, the total playing duration of each multimedia data in the played multimedia data, the switching of the played multimedia data by the user account weight and user age of said user account;
计算单元,用于将所述已播放的多媒体数据中每个多媒体数据的播放总时长除以所述用户账号的用户年龄,得到所述已播放的多媒体数据中每个多媒体数据的播放时长平均值;A computing unit for dividing the total playing duration of each multimedia data in the played multimedia data by the user age of the user account to obtain the average playing duration of each multimedia data in the played multimedia data ;
第四确定单元,用于基于所述播放数量、所述已播放的多媒体数据中每个多媒体数据的播放时长平均值、所述用户账号对所述已播放的多媒体数据的切换权重、所述已播放的多媒体数据中每个多媒体数据的等级权重和所述用户账号的用户年龄,确定所述用户账号的性格特征值。The fourth determination unit is configured to be based on the number of playbacks, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the The rank weight of each multimedia data in the played multimedia data and the user age of the user account determine the character characteristic value of the user account.
可选地,所述第四确定单元包括:Optionally, the fourth determining unit includes:
基于所述播放数量、所述已播放的多媒体数据中每个多媒体数据的播放时长平均值、所述用户账号对已播放的多媒体数据的切换权重、所述已播放的多媒体数据中每个多媒体数据的等级权重和所述用户账号的用户年龄,通过如下公式确定所述用户账号的性格特征值:Based on the number of playbacks, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, and each multimedia data in the played multimedia data The level weight of the user account and the user age of the user account are determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,所述C为所述用户账号的性格特征值,所述n为所述播放数量,所述D(i)为所述n个多媒体数据中第i个多媒体数据的播放时长平均值,所述Pace(i)为所述第i个多媒体数据的等级权重,所述frequency为所述用户账号对已播放的多媒体数据的切换权重,所述age为所述用户账号的用户年龄。Wherein, in the above formula, the C is the character characteristic value of the user account, the n is the number of playbacks, and the D(i) is the playback duration of the i-th multimedia data in the n pieces of multimedia data Average value, the Pace(i) is the grade weight of the i-th multimedia data, the frequency is the switching weight of the user account to the played multimedia data, and the age is the user age of the user account .
可选地,所述选择模块包括:Optionally, the selection module includes:
第三获取单元,用于获取已注册的所有用户账号的性格特征值;The third obtaining unit is used to obtain the character characteristic values of all registered user accounts;
第五确定单元,用于确定性格特征平均值,所述性格特征平均值为所述已注册的所有用户账号的性格特征值的平均值;a fifth determining unit, configured to determine an average value of character characteristics, where the average value of character characteristics is the average value of character characteristic values of all the registered user accounts;
第六确定单元,用于基于所述性格特征平均值和所述用户账号的性格特征值,确定所述用户账号的气质类型;A sixth determining unit, configured to determine the temperament type of the user account based on the character characteristic average value and the character characteristic value of the user account;
第四获取单元,用于基于所述用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取所述用户账号的节奏等级信息;a fourth obtaining unit, configured to obtain the rhythm grade information of the user account from the stored correspondence between the temperament type and the rhythm grade information based on the temperament type of the user account;
选择单元,用于基于所述多个多媒体数据中每个多媒体数据的节奏等级信息,从所述多个多媒体数据中选择与所述用户账号的节奏等级信息匹配的多媒体数据。A selection unit, configured to select multimedia data matching the rhythm level information of the user account from the multiple multimedia data based on the rhythm level information of each multimedia data in the multiple multimedia data.
根据本公开实施例的第三方面,提供一种多媒体数据推送装置,所述装置包括:According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for pushing multimedia data, the apparatus comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;Obtain the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database;
对于多个用户账号中的每个用户账号,基于所述多个多媒体数据中所述用户账号已播放的多媒体数据的节奏等级信息,确定所述用户账号的性格特征值;For each user account in the plurality of user accounts, determine the character characteristic value of the user account based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data;
基于所述用户账号的性格特征值,从所述多个多媒体数据中选择与所述用户账号的性格特征值匹配的多媒体数据;Based on the character characteristic value of the user account, selecting multimedia data matching the character characteristic value of the user account from the plurality of multimedia data;
将选择的多媒体数据推送给所述用户账号对应的终端。Pushing the selected multimedia data to the terminal corresponding to the user account.
本公开的实施例提供的技术方案可以包括以下有益效果:在本公开实施例中,服务器可以获取存储在多媒体数据库中多个多媒体数据中每个多媒体数据的节奏等级信息和多个用户账号的性格特征值,并根据该多个用户账号中每个用户账号的性格特征值,从该多个多媒体数据中选择与该性格特征值匹配的多媒体数据,向用户账号对应的终端推送与该性格特征特征值匹配的多媒体数据,从而使服务器向终端推送的多媒体数据更具有针对性,同时该服务器推送的多媒体数据将更加符合用户账号的播放喜好和习惯,提高了服务器向终端推送多媒体数据的效率。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: In the embodiments of the present disclosure, the server may acquire the rhythm level information of each multimedia data among the plurality of multimedia data stored in the multimedia database and the character of the plurality of user accounts feature value, and according to the character feature value of each user account in the multiple user accounts, select multimedia data that matches the character feature value from the plurality of multimedia data, and push the character feature to the terminal corresponding to the user account. Therefore, the multimedia data pushed by the server to the terminal is more targeted, and at the same time, the multimedia data pushed by the server will be more in line with the playback preferences and habits of the user account, which improves the efficiency of the server pushing multimedia data to the terminal.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种多媒体数据推送方法的流程图。Fig. 1 is a flowchart of a method for pushing multimedia data according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种多媒体数据推送方法的流程图。Fig. 2 is a flow chart of another method for pushing multimedia data according to an exemplary embodiment.
图3A是根据一示例性实施例示出的一种多媒体数据推送装置的结构框图。Fig. 3A is a structural block diagram of a multimedia data push device according to an exemplary embodiment.
图3B是根据一示例性实施例示出的一种获取模块的结构框图。Fig. 3B is a structural block diagram of an acquisition module according to an exemplary embodiment.
图3C是根据一示例性实施例示出的一种确定模块的结构框图。Fig. 3C is a structural block diagram of a determination module according to an exemplary embodiment.
图3D是根据一示例性实施例示出的一种选择模块的结构框图。Fig. 3D is a structural block diagram of a selection module according to an exemplary embodiment.
图4是根据一示例性实施例示出的另一种多媒体数据推送装置的结构框图。Fig. 4 is a structural block diagram of another apparatus for pushing multimedia data according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.
在对本公开实施例进行详细的解释说明之前,先对本公开实施例的应用场景予以介绍。目前,当服务器获取终端播放多媒体数据的播放记录后,可以对该播放记录中的多媒体数据进行分析,从而向终端推送与播放记录中的多媒体数据风格相似的多媒体数据。但是,由于仅仅只是根据多媒体数据的风格进行推送,推送的多媒体数据可能并不是用户所喜欢的,且在获取多媒体数据进行推送时并没有将推送的多媒体数据与用户真正的需求进行联系,从而使推送的多媒体数据缺少准确性。另外,仅仅推送风格相似的多媒体数据,推送的形式较为单一。因此,本公开实施例提供了一种多媒体数据推送方法,可以使服务器在进行多媒体推送时具有针对性的进行推送,提高了推送多媒体数据的准确性,同时丰富了获取推送的多媒体数据的方式,提高了推送多媒体数据的效率。Before explaining the embodiments of the present disclosure in detail, the application scenarios of the embodiments of the present disclosure are first introduced. At present, after the server acquires the playback record of the multimedia data played by the terminal, it can analyze the multimedia data in the playback record, so as to push multimedia data similar in style to the multimedia data in the playback record to the terminal. However, because the push is only based on the style of the multimedia data, the pushed multimedia data may not be what the user likes, and when the multimedia data is obtained and pushed, the pushed multimedia data is not connected with the real needs of the user, so that the Pushed multimedia data lacks accuracy. In addition, only the multimedia data with similar styles are pushed, and the push form is relatively simple. Therefore, the embodiments of the present disclosure provide a method for pushing multimedia data, which enables the server to push the multimedia data in a targeted manner, improves the accuracy of pushing the multimedia data, and enriches the way of acquiring the pushed multimedia data. The efficiency of pushing multimedia data is improved.
图1是根据一示例性实施例示出的一种多媒体数据推送方法的流程图,如图1所示,该方法用于服务器中,包括以下步骤。Fig. 1 is a flowchart of a method for pushing multimedia data according to an exemplary embodiment. As shown in Fig. 1 , the method is used in a server and includes the following steps.
在步骤101中,获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息。In
在步骤102中,对于多个用户账号中的每个用户账号,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值。In
在步骤103中,基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据。In
在步骤104中,将选择的多媒体数据推送给该用户账号对应的终端。In
在本公开实施例中,服务器可以获取存储在多媒体数据库中多个多媒体数据中每个多媒体数据的节奏等级信息和多个用户账号的性格特征值,并根据该多个用户账号中每个用户账号的性格特征值,从该多个多媒体数据中选择与该性格特征值匹配的多媒体数据,向用户账号对应的终端推送与该性格特征特征值匹配的多媒体数据,从而使服务器向终端推送的多媒体数据更具有针对性,同时该服务器推送的多媒体数据将更加符合用户账号的播放喜好和习惯,提高了服务器向终端推送多媒体数据的效率。In the embodiment of the present disclosure, the server may acquire the rhythm level information of each multimedia data among the multiple multimedia data stored in the multimedia database and the character characteristic value of the multiple user accounts, and according to each user account of the multiple user accounts character characteristic value, select the multimedia data matching the character characteristic value from the plurality of multimedia data, and push the multimedia data matching the character characteristic characteristic value to the terminal corresponding to the user account, so that the server pushes the multimedia data to the terminal It is more targeted, and at the same time, the multimedia data pushed by the server will be more in line with the user account's playing preferences and habits, which improves the efficiency of the server pushing the multimedia data to the terminal.
可选地,获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息,包括:Optionally, obtain the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database, including:
对于该多个多媒体数据中的每个多媒体数据,确定该多媒体数据的数据时长、该多媒体数据在该数据时长内的多个单位时间上的数据频率;For each multimedia data in the plurality of multimedia data, determine the data duration of the multimedia data and the data frequency of the multimedia data in a plurality of units of time within the data duration;
基于该多媒体数据的数据时长和该多个单位时间上的数据频率,确定该多媒体数据的频率平均值;Determine the average frequency of the multimedia data based on the data duration of the multimedia data and the data frequencies in the plurality of unit times;
基于该频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取该多媒体数据的节奏等级信息。Based on the frequency average value, the rhythm level information of the multimedia data is acquired from the stored correspondence between the frequency average value range and the rhythm level information.
可选地,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值,包括:Optionally, based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, determine the character characteristic value of the user account, including:
对于该多个多媒体数据中该用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,基于该多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取该多媒体数据的等级权重;For each multimedia data in the multimedia data that has been played by the user account within the specified time period in the plurality of multimedia data, based on the rhythm level information of the multimedia data, the correspondence between the stored rhythm level information and the level weight is obtained. In the relationship, obtain the grade weight of the multimedia data;
确定该已播放的多媒体数据的播放数量、该已播放的多媒体数据中每个多媒体数据的播放总时长、该用户账号对该已播放的多媒体数据的切换权重和该用户账号的用户年龄;Determine the number of plays of the played multimedia data, the total playing time of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data and the user age of the user account;
将该已播放的多媒体数据中每个多媒体数据的播放总时长除以该用户账号的用户年龄,得到该已播放的多媒体数据中每个多媒体数据的播放时长平均值;Divide the total playing duration of each multimedia data in this played multimedia data by the user age of this user account, obtain the playing duration average value of each multimedia data in this played multimedia data;
基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对该已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值。Based on the number of plays, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, and the level weight of each multimedia data in the played multimedia data and the user age of the user account to determine the character characteristic value of the user account.
可选地,基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值,包括:Optionally, based on the number of plays, the average value of the playing duration of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data, each multimedia data in the played multimedia data The level weight of the user account and the user age of the user account, determine the character characteristic value of the user account, including:
基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,通过如下公式确定该用户账号的性格特征值:Based on the number of plays, the average play duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the level weight of each multimedia data in the played multimedia data, and The user age of the user account is determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,C为该用户账号的性格特征值,n为该播放数量,D(i)为该n个多媒体数据中第i个多媒体数据的播放时长平均值,Pace(i)为该第i个多媒体数据的等级权重,frequency为该用户账号对已播放的多媒体数据的切换权重,age为该用户账号的用户年龄。Wherein, in the above formula, C is the character characteristic value of the user account, n is the number of playbacks, D(i) is the average playback duration of the i-th multimedia data in the n multimedia data, and Pace(i) is the The rank weight of the i-th multimedia data, frequency is the switching weight of the user account to the played multimedia data, and age is the user age of the user account.
可选地,基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据,包括:Optionally, based on the character feature value of the user account, multimedia data matching the character feature value of the user account is selected from the plurality of multimedia data, including:
获取已注册的所有用户账号的性格特征值;Get the character trait values of all registered user accounts;
确定性格特征平均值,该性格特征平均值为该已注册的所有用户账号的性格特征值的平均值;Determine the average value of the character characteristic, the average value of the character characteristic is the average value of the character characteristic value of all the registered user accounts;
基于该性格特征平均值和该用户账号的性格特征值,确定该用户账号的气质类型;Determine the temperament type of the user account based on the average character characteristic value and the character characteristic value of the user account;
基于该用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取该用户账号的节奏等级信息;Based on the temperament type of the user account, obtain the rhythm grade information of the user account from the stored correspondence between the temperament type and the rhythm grade information;
基于该多个多媒体数据中每个多媒体数据的节奏等级信息,从该多个多媒体数据中选择与该用户账号的节奏等级信息匹配的多媒体数据。Based on the rhythm level information of each of the plurality of multimedia data, multimedia data matching the rhythm level information of the user account is selected from the plurality of multimedia data.
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above-mentioned optional technical solutions can be combined to form optional embodiments of the present disclosure, which are not repeated in the embodiments of the present disclosure.
图2是根据一示例性实施例提供的一种多媒体数据推送方法的流程图,参见图2,该方法包括如下步骤。FIG. 2 is a flowchart of a method for pushing multimedia data according to an exemplary embodiment. Referring to FIG. 2 , the method includes the following steps.
在步骤201中,服务器获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息。In
在本步骤中,对于该多个多媒体数据中的每个多媒体数据,服务器确定该多媒体数据的数据时长、该多媒体数据在该数据时长内的多个单位时间上的数据频率;基于该多媒体数据的数据时长和该多个单位时间上的数据频率,确定该多媒体数据的频率平均值;基于该频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取该多媒体数据的节奏等级信息。In this step, for each multimedia data in the plurality of multimedia data, the server determines the data duration of the multimedia data and the data frequency of the multimedia data in a plurality of units of time within the data duration; The data duration and the data frequencies of the multiple unit times determine the frequency average value of the multimedia data; based on the frequency average value, obtain the multimedia data from the stored correspondence between the frequency average value range and the rhythm level information rhythm level information.
其中,服务器基于该多媒体数据的数据时长和该多个单位时间上的数据频率,确定该多媒体数据的频率平均值的操作可以为:将该多个单位时间上的数据频率进行相加,得到第一数值,用第一数值除以该多媒体数据的数据时长,得到第二数值,将该第二数值确定为该多媒体数据的频率平均值。Wherein, the operation of the server determining the average frequency of the multimedia data based on the data duration of the multimedia data and the data frequencies in the plurality of unit times may be: adding the data frequencies in the plurality of unit times to obtain the first A numerical value, dividing the first numerical value by the data duration of the multimedia data to obtain a second numerical value, and determining the second numerical value as the frequency average of the multimedia data.
需要说明的是,单位时间可以事先设置,比如,单位时长可以为20秒、30秒、1分钟等,本公开实施例对此不做具体限定。It should be noted that the unit time may be set in advance, for example, the unit time may be 20 seconds, 30 seconds, 1 minute, etc., which is not specifically limited in this embodiment of the present disclosure.
比如,当服务器确定多媒体数据A的数据时长为3分钟,且该多媒体数据A在数据时长3分钟内的3个单位时间上的数据频率分别为2000Hz、4000Hz、2400Hz时,服务器将2000Hz、4000Hz和2400Hz相加,得到第一数值8400Hz,用第一数值8400Hz除以该多媒体数据的数据时长3分钟,得到第二数值2800Hz,将该第二数值2800Hz确定为该多媒体数据的频率平均值。For example, when the server determines that the data duration of multimedia data A is 3 minutes, and the data frequencies of the multimedia data A in three units of time within the data duration of 3 minutes are 2000Hz, 4000Hz, and 2400Hz, respectively, the server will 2000Hz, 4000Hz and 2400Hz is added to obtain a first value of 8400Hz, and the first value of 8400Hz is divided by the data duration of the multimedia data for 3 minutes to obtain a second value of 2800Hz. The second value of 2800Hz is determined as the frequency average of the multimedia data.
另外,由于该多媒体数据的数据时长可能不能分成整数个单位时间,因此,在本公开实施例中,将多媒体数据的数据时长进行单位时间划分后,将不能构成一个单位时间的剩余时长默认丢弃,也可以将剩余时长确定为一个单位时间,本公开实施例对此同样不做具体限定。In addition, since the data duration of the multimedia data may not be divided into an integer unit time, in the embodiment of the present disclosure, after the data duration of the multimedia data is divided into unit time, the remaining duration that cannot constitute a unit time is discarded by default, The remaining duration may also be determined as a unit time, which is also not specifically limited in this embodiment of the present disclosure.
比如,多媒体数据B的数据时长为3分10秒,单位时间为1分钟,将该多媒体数据B的数据时长划分为3个单位时间后,还有10秒钟的剩余时长,可以将该剩余时长10秒钟默认丢弃。For example, the data duration of multimedia data B is 3 minutes and 10 seconds, and the unit time is 1 minute. After dividing the data duration of multimedia data B into 3 unit times, there is a remaining duration of 10 seconds, and the remaining duration can be 10 seconds are discarded by default.
需要说明的是,节奏等级信息用于描述多媒体数据的节奏等级,在本公开实施例中将该节奏等级信息可以分为快速、普通、舒缓和缓慢,当然还可以分包括其他的节奏等级信息,本公开实施例对此不做具体限定。It should be noted that the rhythm level information is used to describe the rhythm level of the multimedia data. In this embodiment of the present disclosure, the rhythm level information can be divided into fast, normal, slow, and slow, and of course, other rhythm level information can also be included. This embodiment of the present disclosure does not specifically limit this.
其中,服务器基于该频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取该多媒体数据的节奏等级信息的操作可以为:服务器获取该频率平均值范围与节奏等级信息之间对应关系中的多个频率平均值范围,将该多媒体数据的频率平均值与该多个频率平均值范围进行比较,以确定该多媒体数据的频率平均值所在的频率平均值范围,进而将确定的频率平均值范围对应的节奏等级信息确定为该多媒体数据的节奏等级信息。Wherein, based on the frequency average value, the server obtains the rhythm level information of the multimedia data from the stored correspondence between the frequency average value range and the rhythm level information. The operation may be: the server obtains the frequency average value range and the rhythm level information. For multiple frequency average ranges in the corresponding relationship between the information, the frequency average value of the multimedia data is compared with the multiple frequency average value ranges to determine the frequency average value range where the frequency average value of the multimedia data is located, and then The rhythm level information corresponding to the determined frequency average range is determined as the rhythm level information of the multimedia data.
比如,服务器确定该多媒体数据A的频率平均值为2800Hz,并获取如表1所示的频率平均值范围与节奏等级信息之间的对应关系中的多个频率平均值范围,将该多媒体数据的频率平均值2800Hz与多个频率平均值范围进行比较,确定该频率平均值2800Hz所在的频率平均值范围为5000Hz>=Pace>2000Hz,从而确定该频率平均值范围对应的节奏等级信息为“普通”,并将该节奏等级信息“普通”确定为该多媒体数据A的节奏等级信息。For example, the server determines that the frequency average value of the multimedia data A is 2800 Hz, and obtains a plurality of frequency average value ranges in the corresponding relationship between the frequency average value range and the rhythm level information as shown in Table 1. Compare the frequency average 2800Hz with multiple frequency average ranges, and determine that the frequency average range where the frequency average 2800Hz is located is 5000Hz>=Pace>2000Hz, so as to determine that the rhythm level information corresponding to the frequency average range is "normal" , and the rhythm level information "normal" is determined as the rhythm level information of the multimedia data A.
表1Table 1
需要说明的是,在本公开实施例中仅以表1所示的频率平均值范围与节奏等级信息之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiment of the present disclosure, only the corresponding relationship between the frequency average range and the rhythm level information shown in Table 1 is used as an example for description, and does not constitute a limitation to the embodiment of the present disclosure.
还需要说明的是,服务器可以事先设置频率平均值范围与节奏等级信息之间对应关系,本公开实施例对此不做具体限定。It should also be noted that the server may set the corresponding relationship between the frequency average range and the rhythm level information in advance, which is not specifically limited in this embodiment of the present disclosure.
在步骤202中,对于多个用户账号中的每个用户账号,服务器基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值。In
其中,服务器基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值的操作可以包括如下(1)-(4)的步骤:Wherein, based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, the operation of determining the character characteristic value of the user account may include the steps of the following (1)-(4):
(1):对于该多个多媒体数据中该用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,服务器基于该多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取该多媒体数据的等级权重。(1): for each multimedia data in the multimedia data that the user account has played in the specified time period in the plurality of multimedia data, the server is based on the rhythm level information of the multimedia data, from the stored rhythm level information and level In the corresponding relationship between the weights, the level weight of the multimedia data is obtained.
需要说明的是,该指定时间段可以事先设置,比如,该指定时间段可以为3天、7天、10天等,本公开实施例对此不做具体限定。It should be noted that the specified time period may be set in advance, for example, the specified time period may be 3 days, 7 days, 10 days, etc., which is not specifically limited in this embodiment of the present disclosure.
比如,该多媒体数据A的节奏等级信息为“普通”,从如表2所示的节奏等级信息和等级权重之间的对应关系中,确定节奏等级信息“普通”对应的等级权重为0.8,将等级权重0.8确定为该多媒体数据A的的等级权重。For example, the rhythm level information of the multimedia data A is "normal". From the correspondence between the rhythm level information and the level weight shown in Table 2, it is determined that the level weight corresponding to the "normal" rhythm level information is 0.8. The level weight 0.8 is determined as the level weight of the multimedia data A.
表2Table 2
需要说明的是,在本公开实施例中仅以表2所示的节奏等级信息与等级权重之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiment of the present disclosure, only the corresponding relationship between the rhythm level information and the level weight shown in Table 2 is used as an example for description, and does not constitute a limitation to the embodiment of the present disclosure.
还需要说明的是,节奏等级信息与等级权重之间的对应关系同样可以事先设置,本公开实施例对此不做具体限定。It should also be noted that the corresponding relationship between the rhythm level information and the level weight may also be set in advance, which is not specifically limited in the embodiment of the present disclosure.
(2):服务器确定该已播放的多媒体数据的播放数量、该已播放的多媒体数据中每个多媒体数据的播放总时长、该用户账号对该已播放的多媒体数据的切换权重和该用户账号的用户年龄。(2): the server determines the number of plays of the played multimedia data, the total playing time of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data and the user account User age.
其中,当该用户账号通过在线的方式进行多媒体数据的播放时,服务器可以实时记录该用户账号的播放的多媒体数据的播放数量;当该用户账号通过线下方式进行多媒体数据的播放时,终端实时记录该用户账号播放多媒体数据的播放数量,并每隔指定时间段将该线下播放数量发送给服务器,从而使服务器可以确定该用户账号在指定时间段内已播放的多媒体数据的播放数量。Wherein, when the user account plays the multimedia data online, the server can record the playback quantity of the multimedia data played by the user account in real time; when the user account plays the multimedia data offline, the terminal real-time Record the playback quantity of multimedia data played by the user account, and send the offline playback quantity to the server every specified time period, so that the server can determine the playback quantity of multimedia data played by the user account within the specified time period.
需要说明的是,在本公开实施例中服务器不仅可以通过上述方式确定该用户账号在指定时间段内已播放的多媒体数据的播放数量,还可以通过其他方式进行确定,本公开实施例对此不做具体限定。It should be noted that, in the embodiment of the present disclosure, the server can not only determine the playback quantity of the multimedia data played by the user account within the specified time period in the above-mentioned manner, but also determine in other manners, which is not covered by the embodiment of the present disclosure. Make specific restrictions.
同理,服务器确定该用户账号在指定时间段内已播放的多媒体数据中每个多媒体数据的播放总时长的操作同样可以为:当该用户账号通过在线的方式进行多媒体数据的播放时,服务器可以实时记录该用户账号的播放的多媒体数据的播放总时长;当该用户账号通过线下方式进行多媒体数据的播放时,终端实时记录该用户账号播放多媒体数据的播放总时长,并每隔指定时间段将该线下的播放总时长发送给服务器,从而使服务器可以确定该用户账号在指定时间段内已播放的多媒体数据的播放总时长。Similarly, the operation of the server determining the total playing time of each multimedia data in the multimedia data played by the user account within the specified time period can also be as follows: when the user account plays the multimedia data in an online manner, the server can Record the total playing time of the multimedia data played by the user account in real time; when the user account plays the multimedia data offline, the terminal records the total playing time of the multimedia data played by the user account in real time, and records the total playing time of the multimedia data played by the user account in real time. The total offline playing time is sent to the server, so that the server can determine the total playing time of the multimedia data played by the user account within the specified time period.
需要说明的是,在本公开实施例中服务器不仅可以通过上述方式确定该用户账号在指定时间段内已播放的多媒体数据的播放总时长,还可以通过其他方式进行确定,本公开实施例对此不做具体限定。It should be noted that, in the embodiment of the present disclosure, the server can not only determine the total playback duration of the multimedia data played by the user account within the specified time period in the above-mentioned manner, but also determine in other ways. No specific limitation is made.
另外,服务器确定该用户账号对该已播放的多媒体数据的切换权重的操作可以为:服务器可以获取已注册用户账号中每个用户账号对该已播放的多媒体数据的切换率,将所有用户账号对该已播放的多媒体数据的切换率相加后,除以所有用户账号的用户数量,得到切换率平均值,计算该每个用户账号对该已播放的多媒体数据的切换率与切换率平均值之间的切换率比值;基于该切换率比值,从切换率比值范围与切换权重之间的对应关系中,确定该用户账号对已播放的多媒体数据的切换权重。In addition, the operation of the server determining the switching weight of the played multimedia data of the user account may be as follows: the server may obtain the switching rate of the played multimedia data of each user account in the registered user accounts, and assign all user accounts to the played multimedia data. After adding up the switching rates of the played multimedia data, divide it by the number of users of all user accounts to obtain the average switching rate, and calculate the sum of the switching rate of the played multimedia data for each user account and the average switching rate Based on the switching rate ratio, the switching weight of the user account to the played multimedia data is determined from the corresponding relationship between the switching rate ratio range and the switching weight.
其中,服务器可以将该切换率比值与该多个切换率比值范围进行比较,以确定该的切换率比值所在的切换率比值范围,进而将确定的切换率比值范围对应的切换权重确定为该用户账号对已播放的多媒体数据的切换权重。The server may compare the switching rate ratio with the multiple switching rate ratio ranges to determine the switching rate ratio range where the switching rate ratio is located, and then determine the switching weight corresponding to the determined switching rate ratio range as the user The switching weight of the account to the played multimedia data.
比如,该切换率比值范围与切换权重之间的对应关系如表2所示,当用户账号为用户账号ID1,且服务器计算得到该切换率比值f/F为100%,将该切换率比值100%与该多个切换率比值范围进行比较,确定切换率比值100%首位于切换率比值范围1+10%>=f/F>1-10%内,因此,确定该切换率比值对应的切换权重为0.8,从而确定该用户账号ID1对已播放的多媒体数据的切换权重为0.8。For example, the corresponding relationship between the switching rate ratio range and switching weight is shown in Table 2. When the user account is user account ID1, and the server calculates that the switching rate ratio f/F is 100%, the switching rate ratio is 100 % is compared with the multiple switching rate ratio ranges, and it is determined that the switching rate ratio 100% is first within the switching rate ratio range 1+10%>=f/F>1-10%, therefore, determine the switching ratio corresponding to the switching rate ratio The weight is 0.8, so it is determined that the switching weight of the user account ID1 to the played multimedia data is 0.8.
表3table 3
需要说明的是,在本公开实施例中仅以表3所示的切换率比值范围与切换权重之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiment of the present disclosure, only the corresponding relationship between the ratio range of the switching rate and the switching weight shown in Table 3 is used as an example for description, and does not constitute a limitation to the embodiment of the present disclosure.
还需要说明的是,该切换率比值范围与切换率权重之间的对应关系可以事先设置,本公开实施例对此不做具体限定。It should also be noted that, the corresponding relationship between the switching rate ratio range and the switching rate weight may be set in advance, which is not specifically limited in this embodiment of the present disclosure.
其中,服务器可以在接收到终端发送的登录请求时,获取该登录请求中携带的该用户账号的用户信息,该用户信息中包括用户年龄,也可以在服务器需要确定该用户账号的性格特征值时,获取该用户账号的用户信息,本公开实施例对此不做具体限定。Wherein, the server may obtain the user information of the user account carried in the login request when receiving the login request sent by the terminal, and the user information includes the age of the user, or when the server needs to determine the character characteristic value of the user account , to obtain the user information of the user account, which is not specifically limited in this embodiment of the present disclosure.
需要说明的是,用户信息用于描述用户账号的用户的信息,该用户信息中不仅可以包括用户年龄,还可以包括其他选项,比如,用户昵称、用户注册时间、用户等级等,本公开实施例对此不做具体限定。It should be noted that the user information is used to describe the information of the user of the user account, and the user information may include not only the user's age, but also other options, such as the user's nickname, the user's registration time, and the user's level. There is no specific limitation on this.
还需要说明的是,在本发明实施例中,该终端可以是故事机,也可以是其他设备,比如,手机、电脑、智能电视等,本公开实施例对此不做具体限定。It should also be noted that, in this embodiment of the present invention, the terminal may be a story machine or other devices, such as a mobile phone, a computer, a smart TV, etc., which are not specifically limited in the embodiments of the present disclosure.
(3):服务器将该已播放的多媒体数据中每个多媒体数据的播放总时长除以该用户账号的用户年龄,得到该已播放的多媒体数据中每个多媒体数据的播放时长平均值。(3): The server divides the total playing duration of each multimedia data in the played multimedia data by the user age of the user account, and obtains the average playing duration of each multimedia data in the played multimedia data.
比如,服务器获取指定时间段3天用户账号已播放的多媒体数据为多媒体数据B,且该用户账号ID1的用户年龄为6岁,则服务器确定该多媒体数据B在3天内的播放总时长为30分钟后,用该多媒体数据B的播放总时长30分钟除以用户年龄6岁,得到多媒体数据B的播放时长平均值5分钟。For example, if the server obtains the multimedia data that has been played by the user account for 3 days in the specified time period as multimedia data B, and the user age of the user account ID1 is 6 years old, the server determines that the total playing time of the multimedia data B within 3 days is 30 minutes Then, divide the total playing time of the multimedia data B by 30 minutes by the user's age of 6 to obtain an average playing time of the multimedia data B of 5 minutes.
需要说明的是,在本公开实施例中,该服务器可以先执行步骤(1),然后依次执行步骤(2)和(3),或者,该服务器可以先执行步骤(2)和(3),然后执行步骤(1),也即是,在本公开实施例中,不限制服务器获取该多媒体数据该用户账号已播放的多媒体数据中的每个多媒体数据的等级权重、确定该用户账号在指定时间段内已播放的多媒体数据的播放数量、该已播放的多媒体数据中每个多媒体数据的播放总时长、该用户账号对该已播放的多媒体数据的切换权重、该用户账号的用户年龄和该已播放的多媒体数据中每个多媒体数据的播放时长平均值的顺序。其中,由于该已播放的多媒体数据中每个多媒体数据的播放时长平均值是通过用户年龄来确定的,因此,服务器必须在确定该已播放的多媒体数据中每个多媒体数据的播放时长平均值之前确定该用户账号的用户年龄。It should be noted that, in this embodiment of the present disclosure, the server may perform step (1) first, and then perform steps (2) and (3) in sequence, or the server may perform steps (2) and (3) first, Step (1) is then executed, that is, in the embodiment of the present disclosure, the server is not restricted to obtain the grade weight of each multimedia data in the multimedia data played by the user account of the multimedia data, determine that the user account is at a specified time The number of played multimedia data in the segment, the total playing time of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the user age of the user account and the played multimedia data. The order of the average playback duration of each multimedia data in the played multimedia data. Wherein, since the average playback duration of each multimedia data in the played multimedia data is determined by the age of the user, the server must determine the average playback duration of each multimedia data in the played multimedia data before determining the average playback duration of each multimedia data in the played multimedia data. Determines the user age for this user account.
(4):服务器基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对该已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值。(4): the server is based on the number of plays, the average value of playing duration of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data, each of the played multimedia data The grade weight of the multimedia data and the user age of the user account determine the character characteristic value of the user account.
其中,服务器可以基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,通过如下公式确定该用户账号的性格特征值:Wherein, the server may be based on the number of playbacks, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the user account for the played multimedia data, and each multimedia data in the played multimedia data. The level weight of the user account and the user age of the user account are determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,C为该用户账号的性格特征值,n为该播放数量,D(i)为该n个多媒体数据中第i个多媒体数据的播放时长平均值,Pace(i)为该第i个多媒体数据的等级权重,frequency为用户账号对已播放的多媒体数据的切换权重,age为该用户账号的用户年龄。Wherein, in the above formula, C is the character characteristic value of the user account, n is the number of playbacks, D(i) is the average playback duration of the i-th multimedia data in the n multimedia data, and Pace(i) is the The rank weight of the i-th multimedia data, frequency is the switching weight of the user account to the played multimedia data, and age is the user age of the user account.
在步骤203中,服务器基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据。In
在本步骤中,服务器获取已注册的所有用户账号的性格特征值;确定性格特征平均值,该性格特征平均值为该已注册的所有用户账号的性格特征值的平均值;基于该性格特征平均值和该用户账号的性格特征值,确定该用户账号的气质类型;基于该用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取该用户账号的节奏等级信息;基于该多个多媒体数据中每个多媒体数据的节奏等级信息,从该多个多媒体数据中选择与该用户账号的节奏等级信息匹配的多媒体数据。In this step, the server obtains the character characteristic values of all registered user accounts; determines the average character value of the character characteristic, and the character characteristic average value is the average value of the character characteristic values of all the registered user accounts; value and the character characteristic value of the user account to determine the temperament type of the user account; based on the temperament type of the user account, obtain the rhythm grade of the user account from the stored correspondence between the temperament type and the rhythm grade information information; based on the rhythm level information of each multimedia data in the plurality of multimedia data, selecting multimedia data matching the rhythm level information of the user account from the plurality of multimedia data.
其中,服务器基于该性格特征平均值和该用户账号的性格特征值,确定该用户账号的气质类型的操作可以为:计算该用户账号的性格特征值和该性格特征平均值之间的性格特征比值;基于该性格特征比值,从性格特征比值范围与气质类型之间的对应关系中,确定该用户账号的气质类型。Wherein, the operation of the server determining the temperament type of the user account based on the average value of the character characteristic and the character characteristic value of the user account may be: calculating the character characteristic ratio between the character characteristic value of the user account and the average value of the character characteristic ; Based on the character characteristic ratio, the temperament type of the user account is determined from the corresponding relationship between the character characteristic ratio range and the temperament type.
其中,服务器可以将该用户账号的性格特征比值与该多个性格特征比值范围进行比较,以确定该用户账号的性格特征比值所在的性格特征比值范围,进而将确定的性格特征比值范围对应的气质类型确定为该用户账号的气质类型。The server may compare the character characteristic ratio of the user account with the multiple character characteristic ratio ranges to determine the character characteristic ratio range in which the character characteristic ratio of the user account is located, and then compare the temperament corresponding to the determined character characteristic ratio range. The type is determined as the temperament type of the user account.
比如,该性格特征比值范围与气质类型之间的对应关系如表4所示,服务器计算得到该性格特征比值C/C0为152%,将该用户账号ID1的性格特征比值152%与该多个性格特征比值范围进行比较,确定该用户账号ID1的性格特征比值位于性格特征比值范围C/C0>150%中,因此,确定该性格特征比值152%对应气质类型为胆汁质,将该气质类型胆汁质确定为该用户账号ID1的气质类型。For example, the corresponding relationship between the character feature ratio range and temperament type is shown in Table 4. The server calculates that the character feature ratio C/C0 is 152%, and the character feature ratio of the user account ID1 is 152% and the multiple Compare the character feature ratio range, and determine that the character feature ratio of the user account ID1 is located in the character feature ratio range C/C0>150%. Therefore, it is determined that the temperament type corresponding to the character feature ratio of 152% is choleric, and the temperament type is choleric. The temperament is determined as the temperament type of the user account ID1.
表4Table 4
需要说明的是,在本公开实施例中仅以表4所示的性格特征比值范围与气质类型之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiment of the present disclosure, only the corresponding relationship between the character characteristic ratio range and the temperament type shown in Table 4 is used as an example for description, and does not constitute a limitation to the embodiment of the present disclosure.
需要说明的是,该性格特征比值范围与气质类型之间的对应关系可以事先设置。It should be noted that, the corresponding relationship between the character characteristic ratio range and the temperament type can be set in advance.
另外,该服务器不仅可以通过上述方式,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据。还可以通过其他方式进行选择,比如,服务器可以通过性格特征值进行选择,也可以直接通过性格特征值与节奏等级信息进行选择,还可以通过性格特征值与频率平均值范围进行选择等,本公开实施例对此不做具体限定。In addition, the server can not only select the multimedia data matching the character characteristic value of the user account from the plurality of multimedia data in the above-mentioned manner. Selection can also be made in other ways. For example, the server can make selections through character feature values, or directly through character feature values and rhythm level information, and can also make selections through character feature values and frequency average ranges. The embodiment does not specifically limit this.
假如,以服务器通过性格特征值进行选择的操作方式为例,该操作方式可以为:服务器可以将该用户账号的性格特征值与多个性格特征范围进行比较,确定该用户账号的性格特征值所在的性格特征值范围,并从已存储的性格特征值范围与多媒体数据之间的对应关系中,选择该性格特征值范围对应的多媒体数据为与该用户账号的性格特征值匹配的多媒体数据。Suppose, taking the operation mode of the server selecting by the character characteristic value as an example, the operation mode may be: the server may compare the character characteristic value of the user account with a plurality of character characteristic ranges, and determine where the character characteristic value of the user account is located. and select the multimedia data corresponding to the character characteristic value range from the stored correspondence between the character characteristic value range and the multimedia data as the multimedia data matching the character characteristic value of the user account.
比如,性格特征值范围与多媒体数据之间的对应关系如表5所示,服务器将该用户账号ID1的性格特征值496与该多个性格特征值范围进行比较,确定该用户账号ID1的性格特征值位于性格特征比值范围C>450中,因此,确定该性格特征值496对应的多媒体数据为多媒体数据A、多媒体数据E和多媒体数据F,因此,选择多媒体数据A、多媒体数据E和多媒体数据F为与该用户账号ID1的性格特征值496匹配的多媒体数据。For example, the correspondence between the character feature value range and the multimedia data is shown in Table 5. The server compares the character feature value 496 of the user account ID1 with the multiple character feature value ranges, and determines the character feature of the user account ID1 The value is located in the character feature ratio range C>450. Therefore, it is determined that the multimedia data corresponding to the character feature value 496 is multimedia data A, multimedia data E and multimedia data F. Therefore, select multimedia data A, multimedia data E and multimedia data F. It is multimedia data that matches the character feature value 496 of the user account ID1.
表5table 5
需要说明的是,在本公开实施例中仅以表5所示的性格特征值范围与多媒体数据之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiments of the present disclosure, only the correspondence between the character feature value ranges shown in Table 5 and the multimedia data is used as an example for description, and does not constitute a limitation to the embodiments of the present disclosure.
还需要说明的是,性格特征值范围与多媒体数据之间的对应关系可以事先设置。It should also be noted that the correspondence between the character feature value range and the multimedia data may be set in advance.
在步骤204中,服务器将选择的多媒体数据推送给该用户账号对应的终端。In
需要说明的是,在本公开实施例中,由于该服务器基于该多个多媒体数据中每个多媒体数据的节奏等级信息,从该多个多媒体数据中选择的与该用户账号的节奏等级信息匹配的多媒体数据中,可能包括该用户账号已播放过的多媒体数据,因此,该服务器可以将该选择的多媒体数据中该用户账号已播放的多媒体数据滤除,将滤除后剩余的多媒体数据推送该用户账号对应的终端。当然该服务器还可以不进行滤除,而是将选择的多媒体数据全部推送给该用户账号对应的终端,本公开实施例对此不做具体限定。It should be noted that, in this embodiment of the present disclosure, since the server selects the rhythm level information matching the rhythm level information of the user account from the plurality of multimedia data based on the rhythm level information of each multimedia data in the plurality of multimedia data The multimedia data may include the multimedia data that has been played by the user account. Therefore, the server can filter out the multimedia data that has been played by the user account in the selected multimedia data, and push the remaining multimedia data after filtering to the user. The terminal corresponding to the account. Of course, the server may not perform filtering, but push all the selected multimedia data to the terminal corresponding to the user account, which is not specifically limited in this embodiment of the present disclosure.
在本公开实施例中,服务器可以获取存储在多媒体数据库中多个多媒体数据中每个多媒体数据的节奏等级信息和多个用户账号中每个用户账号的性格特征值,其中,由于该用户账号的性格特征值是服务器通过用户账号的用户年龄、该用户账号对已播放的多媒体数据的切换率、该已播放的多媒体数据中每个多媒体数据的数据总时长和该已播放的多媒体数据中每个多媒体数据的节奏等级信息计算得到,而该用户账号的气质类型是根据该性格特征值确定的。因此,服务器从该多个多媒体数据中选择与该气质类型匹配的多媒体数据,并将选择的多媒体数据向该用户账号对应的终端进行推送时,可以使服务器推送的多媒体数据更具有针对性。并且由于服务器是根据用户账号的气质类型进行多媒体的推送,因此,该服务器推送的多媒体数据将跟符合用户账号的播放喜好和习惯,从而提高了服务器向终端推送多媒体数据的效率。In the embodiment of the present disclosure, the server may acquire the rhythm level information of each multimedia data in the plurality of multimedia data stored in the multimedia database and the character characteristic value of each user account in the plurality of user accounts, wherein, due to the The character characteristic value is the age of the user through the user account, the switching rate of the user account to the played multimedia data, the total data duration of each multimedia data in the played multimedia data, and each of the played multimedia data. The rhythm level information of the multimedia data is calculated, and the temperament type of the user account is determined according to the character characteristic value. Therefore, when the server selects multimedia data matching the temperament type from the plurality of multimedia data, and pushes the selected multimedia data to the terminal corresponding to the user account, the multimedia data pushed by the server can be more targeted. And because the server pushes multimedia according to the temperament of the user account, the multimedia data pushed by the server will conform to the user account's playing preferences and habits, thereby improving the efficiency of the server pushing multimedia data to the terminal.
图3A是根据一示例性实施例示出的一种多媒体数据推送装置的结构框图。参照图3A,该装置包括获取模块301、确定模块302、选择模块303和推送模块304。Fig. 3A is a structural block diagram of a multimedia data push device according to an exemplary embodiment. 3A , the apparatus includes an
获取模块301,获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;Obtaining
确定模块302,用于对于多个用户账号中的每个用户账号,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值;A
选择模块303,用于基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据;A
推送模块304,用于将选择的多媒体数据推送给该用户账号对应的终端。The
可选地,参见图3B,该获取模块301包括:Optionally, referring to FIG. 3B, the obtaining
第一确定单元3011,用于对于该多个多媒体数据中的每个多媒体数据,确定该多媒体数据的数据时长、该多媒体数据在该数据时长内的多个单位时间上的数据频率;The first determining
第二确定单元3012,用于基于该多媒体数据的数据时长和该多个单位时间上的数据频率,确定该多媒体数据的频率平均值;A second determining
第一获取单元3013,用于基于该频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取该多媒体数据的节奏等级信息。The first obtaining
可选地,参见图3C,该确定模块302包括:Optionally, referring to FIG. 3C, the determining
第二获取单元3021,用于对于该多个多媒体数据中该用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,基于该多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取该多媒体数据的等级权重;The second obtaining
第三确定单元3022,用于确定该已播放的多媒体数据的播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对该已播放的多媒体数据的切换权重和该用户账号的用户年龄;The third determining
计算单元3023,用于将该已播放的多媒体数据中每个多媒体数据的播放总时长除以该用户账号的用户年龄,得到该已播放的多媒体数据中每个多媒体数据的播放时长平均值;
第四确定单元3024,用于基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对该已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值。The
可选地,该第四确定单元3024包括:Optionally, the fourth determining
基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,通过如下公式确定该用户账号的性格特征值:Based on the number of plays, the average play duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the level weight of each multimedia data in the played multimedia data, and The user age of the user account is determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,该C为该用户账号的性格特征值,该n为该播放数量,该D(i)为该n个多媒体数据中第i个多媒体数据的播放时长平均值,该Pace(i)为该第i个多媒体数据的等级权重,该frequency为该用户账号对已播放的多媒体数据的切换权重,该age为该用户账号的用户年龄。Wherein, in the above formula, the C is the character characteristic value of the user account, the n is the number of playbacks, the D(i) is the average playback duration of the i-th multimedia data in the n multimedia data, and the Pace( i) is the grade weight of the i-th multimedia data, the frequency is the switching weight of the user account to the played multimedia data, and the age is the user age of the user account.
可选地,参见图3D,该选择模块303包括:Optionally, referring to FIG. 3D, the
第三获取单元3031,用于获取已注册的所有用户账号的性格特征值;The third obtaining
第五确定单元3032,用于确定性格特征平均值,该性格特征平均值为该已注册的所有用户账号的性格特征值的平均值;The
第六确定单元3033,用于基于该性格特征平均值和该用户账号的性格特征值,确定该用户账号的气质类型;The sixth determining
第四获取单元3034,用于基于该用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取该用户账号的节奏等级信息;The fourth obtaining
选择单元,用于基于该多个多媒体数据中每个多媒体数据的节奏等级信息,从该多个多媒体数据中选择与该用户账号的节奏等级信息匹配的多媒体数据。A selection unit, configured to select multimedia data matching the rhythm level information of the user account from the plurality of multimedia data based on the rhythm level information of each multimedia data in the plurality of multimedia data.
在本公开实施例中,服务器可以获取存储在多媒体数据库中多个多媒体数据中每个多媒体数据的节奏等级信息和多个用户账号中每个用户账号的性格特征值,其中,由于该用户账号的性格特征值是服务器通过用户账号的用户年龄、该用户账号对已播放的多媒体数据的切换率、该已播放的多媒体数据中每个多媒体数据的数据总时长和该已播放的多媒体数据中每个多媒体数据的节奏等级信息计算得到,而该用户账号的气质类型是根据该性格特征值确定的。因此,服务器从该多个多媒体数据中选择与该气质类型匹配的多媒体数据,并将选择的多媒体数据向该用户账号对应的终端进行推送时,可以使服务器推送的多媒体数据更具有针对性。并且由于服务器是根据用户账号的气质类型进行多媒体的推送,因此,该服务器推送的多媒体数据将跟符合用户账号的播放喜好和习惯,从而提高了服务器向终端推送多媒体数据的效率。In the embodiment of the present disclosure, the server may acquire the rhythm level information of each multimedia data in the plurality of multimedia data stored in the multimedia database and the character characteristic value of each user account in the plurality of user accounts, wherein, due to the The character characteristic value is the age of the user through the user account, the switching rate of the user account to the played multimedia data, the total data duration of each multimedia data in the played multimedia data, and each of the played multimedia data. The rhythm level information of the multimedia data is calculated, and the temperament type of the user account is determined according to the character characteristic value. Therefore, when the server selects multimedia data matching the temperament type from the plurality of multimedia data, and pushes the selected multimedia data to the terminal corresponding to the user account, the multimedia data pushed by the server can be more targeted. And because the server pushes multimedia according to the temperament of the user account, the multimedia data pushed by the server will conform to the user account's playing preferences and habits, thereby improving the efficiency of the server pushing multimedia data to the terminal.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图4是根据一示例性实施例示出的一种用于多媒体数据推送的装置400的框图。例如,装置400可以被提供为一服务器。参照图4,装置400包括处理组件422,其进一步包括一个或多个处理器,以及由存储器432所代表的存储器资源,用于存储可由处理组件422的执行的指令,例如应用程序。存储器432中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。FIG. 4 is a block diagram of an
装置400还可以包括一个电源组件426被配置为执行装置400的电源管理,一个有线或无线网络接口450被配置为将装置400连接到网络,和一个输入输出(I/O)接口458。装置400可以操作基于存储在存储器432的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
此外,处理组件422被配置为执行指令,以执行下述方法:Additionally, the
获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息;Obtain the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database;
对于多个用户账号中的每个用户账号,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值;For each user account in the plurality of user accounts, determine the character characteristic value of the user account based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data;
基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据;Based on the character characteristic value of the user account, selecting multimedia data matching the character characteristic value of the user account from the plurality of multimedia data;
将选择的多媒体数据推送给该用户账号对应的终端。The selected multimedia data is pushed to the terminal corresponding to the user account.
可选地,获取多媒体数据库中存储的多个多媒体数据中每个多媒体数据的节奏等级信息,包括:Optionally, obtain the rhythm level information of each multimedia data in a plurality of multimedia data stored in the multimedia database, including:
对于该多个多媒体数据中的每个多媒体数据,确定该多媒体数据的数据时长、该多媒体数据在该数据时长内的多个单位时间上的数据频率;For each multimedia data in the plurality of multimedia data, determine the data duration of the multimedia data and the data frequency of the multimedia data in a plurality of units of time within the data duration;
基于该多媒体数据的数据时长和该多个单位时间上的数据频率,确定该多媒体数据的频率平均值;Determine the average frequency of the multimedia data based on the data duration of the multimedia data and the data frequencies in the plurality of unit times;
基于该频率平均值,从已存储的频率平均值范围与节奏等级信息之间对应关系中,获取该多媒体数据的节奏等级信息。Based on the frequency average value, the rhythm level information of the multimedia data is acquired from the stored correspondence between the frequency average value range and the rhythm level information.
可选地,基于该多个多媒体数据中该用户账号已播放的多媒体数据的节奏等级信息,确定该用户账号的性格特征值,包括:Optionally, based on the rhythm level information of the multimedia data played by the user account in the plurality of multimedia data, determine the character characteristic value of the user account, including:
对于该多个多媒体数据中该用户账号在指定时间段内已播放的多媒体数据中的每个多媒体数据,基于该多媒体数据的节奏等级信息,从已存储的节奏等级信息与等级权重之间的对应关系中,获取该多媒体数据的等级权重;For each multimedia data in the multimedia data that has been played by the user account within the specified time period in the plurality of multimedia data, based on the rhythm level information of the multimedia data, the correspondence between the stored rhythm level information and the level weight is obtained. In the relationship, obtain the grade weight of the multimedia data;
确定该已播放的多媒体数据的播放数量、该已播放的多媒体数据中每个多媒体数据的播放总时长、该用户账号对该已播放的多媒体数据的切换权重和该用户账号的用户年龄;Determine the number of plays of the played multimedia data, the total playing time of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data and the user age of the user account;
将该已播放的多媒体数据中每个多媒体数据的播放总时长除以该用户账号的用户年龄,得到该已播放的多媒体数据中每个多媒体数据的播放时长平均值;Divide the total playing duration of each multimedia data in this played multimedia data by the user age of this user account, obtain the playing duration average value of each multimedia data in this played multimedia data;
基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对该已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值。Based on the number of plays, the average playback duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, and the level weight of each multimedia data in the played multimedia data and the user age of the user account to determine the character characteristic value of the user account.
可选地,基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,确定该用户账号的性格特征值,包括:Optionally, based on the number of plays, the average value of the playing duration of each multimedia data in the played multimedia data, the switching weight of the user account to the played multimedia data, each multimedia data in the played multimedia data The level weight of the user account and the user age of the user account, determine the character characteristic value of the user account, including:
基于该播放数量、该已播放的多媒体数据中每个多媒体数据的播放时长平均值、该用户账号对已播放的多媒体数据的切换权重、该已播放的多媒体数据中每个多媒体数据的等级权重和该用户账号的用户年龄,通过如下公式确定该用户账号的性格特征值:Based on the number of plays, the average play duration of each multimedia data in the played multimedia data, the switching weight of the played multimedia data by the user account, the level weight of each multimedia data in the played multimedia data, and The user age of the user account is determined by the following formula to determine the character characteristic value of the user account:
其中,上述公式中,C为该用户账号的性格特征值,n为该播放数量,D(i)为该n个多媒体数据中第i个多媒体数据的播放时长平均值,Pace(i)为该第i个多媒体数据的等级权重,frequency为该用户账号对已播放的多媒体数据的切换权重,age为该用户账号的用户年龄。Wherein, in the above formula, C is the character characteristic value of the user account, n is the number of playbacks, D(i) is the average playback duration of the i-th multimedia data in the n multimedia data, and Pace(i) is the The rank weight of the i-th multimedia data, frequency is the switching weight of the user account to the played multimedia data, and age is the user age of the user account.
可选地,基于该用户账号的性格特征值,从该多个多媒体数据中选择与该用户账号的性格特征值匹配的多媒体数据,包括:Optionally, based on the character feature value of the user account, multimedia data matching the character feature value of the user account is selected from the plurality of multimedia data, including:
获取已注册的所有用户账号的性格特征值;Get the character trait values of all registered user accounts;
确定性格特征平均值,该性格特征平均值为该已注册的所有用户账号的性格特征值的平均值;Determine the average value of the character characteristic, the average value of the character characteristic is the average value of the character characteristic value of all the registered user accounts;
基于该性格特征平均值和该用户账号的性格特征值,确定该用户账号的气质类型;Determine the temperament type of the user account based on the average character characteristic value and the character characteristic value of the user account;
基于该用户账号的气质类型,从已存储的气质类型与节奏等级信息之间的对应关系中,获取该用户账号的节奏等级信息;Based on the temperament type of the user account, obtain the rhythm grade information of the user account from the stored correspondence between the temperament type and the rhythm grade information;
基于该多个多媒体数据中每个多媒体数据的节奏等级信息,从该多个多媒体数据中选择与该用户账号的节奏等级信息匹配的多媒体数据。Based on the rhythm level information of each of the plurality of multimedia data, multimedia data matching the rhythm level information of the user account is selected from the plurality of multimedia data.
在本公开实施例中,服务器可以获取存储在多媒体数据库中多个多媒体数据中每个多媒体数据的节奏等级信息和多个用户账号中每个用户账号的性格特征值,其中,由于该用户账号的性格特征值是服务器通过用户账号的用户年龄、该用户账号对已播放的多媒体数据的切换率、该已播放的多媒体数据中每个多媒体数据的数据总时长和该已播放的多媒体数据中每个多媒体数据的节奏等级信息计算得到,而该用户账号的气质类型是根据该性格特征值确定的。因此,服务器从该多个多媒体数据中选择与该气质类型匹配的多媒体数据,并将选择的多媒体数据向该用户账号对应的终端进行推送时,可以使服务器推送的多媒体数据更具有针对性。并且由于服务器是根据用户账号的气质类型进行多媒体的推送,因此,该服务器推送的多媒体数据将跟符合用户账号的播放喜好和习惯,从而提高了服务器向终端推送多媒体数据的效率。In the embodiment of the present disclosure, the server may acquire the rhythm level information of each multimedia data in the plurality of multimedia data stored in the multimedia database and the character characteristic value of each user account in the plurality of user accounts, wherein, due to the The character characteristic value is the age of the user through the user account, the switching rate of the user account to the played multimedia data, the total data duration of each multimedia data in the played multimedia data, and each of the played multimedia data. The rhythm level information of the multimedia data is calculated, and the temperament type of the user account is determined according to the character characteristic value. Therefore, when the server selects multimedia data matching the temperament type from the plurality of multimedia data, and pushes the selected multimedia data to the terminal corresponding to the user account, the multimedia data pushed by the server can be more targeted. And because the server pushes multimedia according to the temperament of the user account, the multimedia data pushed by the server will conform to the user account's playing preferences and habits, thereby improving the efficiency of the server pushing multimedia data to the terminal.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or conventional techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610440423.4A CN106156270B (en) | 2016-06-17 | 2016-06-17 | Multimedia data push method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610440423.4A CN106156270B (en) | 2016-06-17 | 2016-06-17 | Multimedia data push method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106156270A CN106156270A (en) | 2016-11-23 |
| CN106156270B true CN106156270B (en) | 2020-09-11 |
Family
ID=57352977
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610440423.4A Expired - Fee Related CN106156270B (en) | 2016-06-17 | 2016-06-17 | Multimedia data push method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106156270B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108268486B (en) * | 2016-12-30 | 2022-04-19 | 中兴通讯股份有限公司 | Multimedia content association and playing method and device, and terminal |
| CN107566896B (en) * | 2017-08-17 | 2022-02-11 | 上海擎感智能科技有限公司 | Multimedia information recommendation method and device, storage medium and terminal |
| CN107885784A (en) * | 2017-10-17 | 2018-04-06 | 北京京东尚科信息技术有限公司 | The method and apparatus for extracting user characteristic data |
| CN108882015B (en) * | 2018-06-27 | 2021-07-23 | Oppo广东移动通信有限公司 | Method, device, electronic device and storage medium for adjusting playback speed of recall video |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050047580A1 (en) * | 2003-08-30 | 2005-03-03 | Mow John Beck | Mnemonic techniques on a soft-phone and a single point of contact service |
| US8315212B2 (en) * | 2004-08-13 | 2012-11-20 | Broadcom Corporation | Energy based communication path selection |
| JP4737564B2 (en) * | 2008-07-08 | 2011-08-03 | ソニー株式会社 | Information processing apparatus, information processing method, and program |
| CN104077339B (en) * | 2013-07-09 | 2016-05-11 | 腾讯科技(深圳)有限公司 | The methods, devices and systems that the user preference degree of multi-medium data obtains |
| CN104090906B (en) * | 2014-05-28 | 2016-03-09 | 腾讯科技(深圳)有限公司 | Multimedia method for pushing and multimedia pusher |
| CN104750839B (en) * | 2015-04-03 | 2019-02-15 | 魅族科技(中国)有限公司 | A kind of data recommendation method, terminal and server |
| CN105303397A (en) * | 2015-09-28 | 2016-02-03 | 百度在线网络技术(北京)有限公司 | Information recommendation method, system, server end and client |
| CN105530239B (en) * | 2015-11-26 | 2019-08-13 | 广州酷狗计算机科技有限公司 | Multi-medium data acquisition methods and device |
| CN105682057B (en) * | 2016-02-26 | 2019-10-08 | 努比亚技术有限公司 | A kind of message notifying device and message prompt method |
-
2016
- 2016-06-17 CN CN201610440423.4A patent/CN106156270B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN106156270A (en) | 2016-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230004594A1 (en) | Media selection | |
| CN108108821B (en) | Model training method and device | |
| US10142279B2 (en) | Method and system for presenting a listing of message logs | |
| CN106156270B (en) | Multimedia data push method and device | |
| CN107832437B (en) | Audio/video pushing method, device, equipment and storage medium | |
| CN111432226B (en) | Live broadcast recommendation method and device, server, terminal and storage medium | |
| CN109947438B (en) | Game installation method based on machine learning, electronic equipment and readable storage medium | |
| CN106777382A (en) | Social friends recommend method, device and server | |
| CN103514215A (en) | Method and device for generating social contact influence information for user | |
| CN107944063B (en) | News recommendation method and system based on topic model and user group | |
| CN113365095B (en) | Live resource recommendation method, device, electronic device, and storage medium | |
| CN111294620A (en) | Video recommendation method and device | |
| CN104239421B (en) | A kind of method and system for pushing VAS application -to-terminal service | |
| US11470032B2 (en) | Method for recommending groups and related electronic device | |
| CN106407353B (en) | Method and device for playing animation | |
| CN113780415B (en) | User portrait generating method, device, equipment and medium based on applet game | |
| CN109408737B (en) | User recommendation method, device and storage medium | |
| CN113254757B (en) | Data recommendation method, device, equipment and storage medium | |
| CN104268189B (en) | Evaluate the method and device of application | |
| CN111359224A (en) | A method to obtain the addiction index | |
| CN113886679B (en) | Recommendation method, device, electronic device and storage medium | |
| CN110782288A (en) | Cloud computing aggregate advertisement data processing method, device, equipment and medium | |
| CN113901258B (en) | Video recommendation method and device, electronic equipment and storage medium | |
| CN105975580B (en) | Music recommended method and device | |
| CN112749946B (en) | Word2vec model training and data recall method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200911 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |