Multimedia data playing method, device, equipment and computer readable storage medium
By matching user environment data with plot branches of interactive reading content and combining real environment scenarios, the problem of insufficient user immersion in existing interactive reading technologies is solved, and the reading experience is improved.
Patent Information
- Application Number
- CN202110858988.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-07-28
AI Technical Summary
The existing interactive reading technology cannot be combined with the user's real environment, resulting in a lack of immersion when reading and reducing the user experience.
By obtaining the user's current environment data, matching it with the plot branches of multimedia content, determining the target plot branches, and presenting them to the user, combining the user's environment scenes, providing a reading experience that is closely integrated with reality.
It effectively improves the user's reading experience and increases the immersion and participation of the reading content.
Smart Images

Figure CN113590950B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of multimedia information technology, and in particular to a multimedia data playing method, device, equipment and computer-readable storage medium. Background Art
[0002] Interactive reading is a new reading mode that allows users to interact while reading, feel immersed in the content, have a better sense of freedom while reading, and change the ending online.
[0003] At present, for interactive reading, most of the options are used to determine the direction of the plot, thereby creating different branch endings, increasing the diversity and fun of reading, and users will have a sense of participation in the reading process. However, in the process of implementing the present invention, the inventor found that the existing interactive reading cannot be combined with the display of the real environment, and the user lacks the sense of immersion in the reading content when actually reading, which reduces the user's experience. Summary of the invention
[0004] In view of the above problems, the embodiments of the present invention provide a multimedia data playback method, device, equipment and computer-readable storage medium, which are used to solve the technical problems in the prior art that users lack immersion when reading and have poor user experience.
[0005] According to one aspect of an embodiment of the present invention, a method for playing multimedia data is provided, the method comprising:
[0006] Get the user's current environment data;
[0007] Matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
[0008] The target plot branch is presented to the user.
[0009] In an optional manner, the plot branch is associated with at least one preset environment tag; and matching the current environment data with each plot branch of the current multimedia content to determine the target plot branch includes:
[0010] Determining an environmental keyword corresponding to the current environmental data;
[0011] Calculating the similarity between the environmental keywords and the environmental labels associated with each plot branch;
[0012] Get the weights corresponding to the environmental tags associated with each plot branch;
[0013] Calculating the overlap between each of the plot branches and the environmental keywords according to the similarity and the weight;
[0014] The target plot branch is determined according to the degree of overlap.
[0015] In an optional manner, obtaining the weight corresponding to the environment label of each plot branch includes:
[0016] Acquire the type of the multimedia content, the percentage of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content;
[0017] The weight of the environmental label associated with each plot branch is determined according to the type, the frequency ratio, the popularity and the attractiveness.
[0018] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0019] Obtaining a first occurrence number of the environmental tag in the multimedia content and a second occurrence ratio of all environmental tags in the multimedia content;
[0020] The frequency ratio is obtained according to the first occurrence number and the second occurrence number.
[0021] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0022] Obtaining the number of first comments corresponding to the environmental tag and the number of second comments corresponding to all environmental tags;
[0023] The popularity is obtained according to the first comment data and the second comment quantity.
[0024] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0025] Obtaining the number of movements and the movement threshold of the user when reading the content corresponding to the environment tag;
[0026] The attraction degree is obtained according to the movement times and the movement threshold.
[0027] In an optional manner, before presenting the target plot branch to the user, the method further includes:
[0028] Determining a reading scenario for the multimedia content according to the current environment data;
[0029] Determining a scene element corresponding to the reading scene;
[0030] The scene elements and the multimedia content are simultaneously presented to the user.
[0031] According to another aspect of an embodiment of the present invention, there is provided a multimedia data playback device, comprising:
[0032] The acquisition module is used to obtain the user's current environment data;
[0033] A matching module, used to match the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
[0034] A display module is used to display the target plot branch to the user.
[0035] According to another aspect of an embodiment of the present invention, a multimedia data playback device is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the multimedia data playback method.
[0036] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium. When the executable instruction is executed on a multimedia data playback device, the multimedia data playback device executes the operation of the multimedia data playback method.
[0037] The embodiment of the present invention receives a plot advancement request from a user for multimedia content, obtains the user's current environment data according to the plot advancement request, matches the current environment data with the environment tags of each plot branch, and determines the target plot branch of the multimedia content; the target plot branch is displayed to the user, which can be combined with the user's environment to give the user a reading experience that is closely integrated with reality, thereby effectively improving the user's usage experience.
[0038] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0040] Figure 1 A schematic diagram showing a flow chart of a multimedia data playing method provided by an embodiment of the present invention;
[0041] Figure 2 A schematic diagram showing the structure of a multimedia data playback device provided by an embodiment of the present invention is shown;
[0042] Figure 3 A schematic diagram showing the structure of a multimedia data playback device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0043] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0044] Figure 1 The flowchart of the multimedia data playing method provided by the embodiment of the present invention is shown, and the method is executed by a multimedia data playing device. The device can be a computer device, a terminal device, or a server for playing multimedia data, etc., and the embodiment of the present invention does not make specific restrictions. Figure 1 As shown, the method comprises the following steps:
[0045] Step 110: Obtain the user's current environment data.
[0046] In an embodiment of the present invention, the user's current environment data includes weather data, time data, solar term data, etc. of the user's current location. Specifically, in an embodiment of the present invention, after receiving a plot promotion request, the terminal obtains the user's current location information, and obtains the current weather conditions, such as thunderstorm, sunny, snowy, etc., through the user's location information. The terminal can obtain the user's local time information, and extract whether the user is currently daytime or night through the local time. The terminal can obtain the user's local date information, and obtain the current solar term data, such as the Spring Festival, the Chinese Valentine's Day, etc. through the local date.
[0047] In an embodiment of the present invention, before obtaining the user's current environment data, step 100 is also included: receiving a user's request for plot advancement of the current multimedia content. The current multimedia content may be multimedia content that interacts with the user, that is, interactive reading content, such as an interactive e-book, interactive video, or interactive audio. The current multimedia content may be multimedia content for a plot branch to be determined, or it may be multimedia content currently being played. In an embodiment of the present invention, the plot advancement request may be triggered by a user clicking an interactive button in the multimedia content at a terminal. The interactive button may be a button that triggers the display of the next plot section.
[0048] Step 120: Match the current environment data with each plot branch of the current multimedia content to determine a target plot branch.
[0049] Wherein, the plot branch is a plurality of plot contents in the multimedia content. It is understandable that a multimedia content includes a plurality of plot branches, and different plot branches are reached according to the user's options, so that the plot direction is different, and finally the displayed ending is different. That is, when the user finishes reading the current plot branch and clicks the plot push button, he can jump to one of the multiple next plot branches. The embodiment of the present invention creates an environment tag for each plot branch in advance, and associates the created environment tag with the corresponding plot branch, so that the plot branch corresponds to one or more environment tags. Wherein, when associating the created tag with the plot branch, if multiple different tags of the same type appear in the same plot branch, for example, daytime appears first in the plot branch, and then night appears, then the tag that appears for the first time in each type, or the tag that appears for a long time, is associated with the plot branch; if only one tag of the same type appears in the same plot branch, then the tag is directly associated with the plot branch.
[0050] Among them, since there are multiple environmental tags corresponding to each plot branch, the current environmental data is matched with the environmental tags of each plot branch, so that the target plot branch to be displayed can be determined. In an embodiment of the present invention, the current environmental data may include current weather data, current time data and current solar term data. Correspondingly, the environmental tags may include weather tags, time tags and solar term tags, wherein the weather tags may specifically be rainy day tags, sunny day tags, snowy day tags, etc., the time tags may be daytime tags, nighttime tags, dusk tags, etc., and the solar term tags may be Spring Festival tags, Dragon Boat Festival tags, etc. According to the matching of the current environmental data with the environmental tags of each plot branch, the target plot branch is determined, specifically including: matching the current weather data, current time data and current air data with the weather tags, time tags and solar term tags of each plot branch to determine the target plot branch.
[0051] The specific matching process includes: determining the environmental keywords corresponding to the current environmental data according to the current environmental data, calculating the similarity between the environmental keywords and the environmental tags associated with each plot branch, and obtaining the weight corresponding to each environmental tag in the environmental tags associated with each plot branch, and then calculating the overlap between each plot branch and the environmental data according to the similarity and the weight; determining the target plot branch according to the overlap. In other words, the calculation of the overlap between the current environmental data and the environmental tags of each next plot branch needs to be determined in combination with the weights of each environmental tag.
[0052] In the embodiment of the present invention, the purpose of setting weights for each environmental tag associated with each plot branch is to determine the plot branch that is closer to the environmental data. The following describes the process of setting the weights of each environmental tag:
[0053] Step 001: Obtain the type of the multimedia content, the percentage of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content.
[0054] Specifically, for obtaining the type of the multimedia content, it can be classified according to the plot type, such as history, suspense, romance, etc., so as to determine the type of the multimedia content. According to the different types of multimedia content, a corresponding initial weight can be preset for the environmental tag. The value of the weight is between 1-10, depending on the type of multimedia content. For example, for an interactive e-book, the initial weight of the rainy day tag in a suspense work is set to N1. The embodiment of the present invention does not limit the specific value of N, and those skilled in the art can make corresponding settings according to the specific scenario.
[0055] For obtaining the proportion of the number of occurrences of the environmental tag in the multimedia content, it includes: obtaining the first number of occurrences of the environmental tag in the multimedia content and the second number of occurrences of all environmental tags in the multimedia content; according to the first number of occurrences and the second number of occurrences, obtaining the proportion of the number of occurrences of the environmental tag. Specifically, the terminal can obtain the type and content data of the multimedia content, and query the number of times each environmental tag appears in the multimedia content by searching in the multimedia content, so as to determine the proportion. Specifically, for example, the number of times the rainy day tag is retrieved in the multimedia content is P, and the number of times all environmental tags are retrieved is P0, and the minimum value of P and P0 is 1. Specifically, the keyword corresponding to the environmental tag can be searched in the multimedia content to obtain the number of times the keyword appears as the number of times the environmental tag appears.
[0056] For obtaining the popularity of the environmental tag in the multimedia content, it includes: obtaining the first number of comments corresponding to the environmental tag, and the second number of comments corresponding to all environmental tags; according to the first comment data and the second number of comments, obtaining the popularity of the environmental tag in the multimedia content. Specifically, the terminal can obtain the number of comments at the multimedia content corresponding to each environmental tag, such as the number of bullet screens, the number of annotations, the number of likes, etc., and determine the number of comments at the multimedia content corresponding to all environmental tags, so as to determine the popularity of each environmental tag in the multimedia content. Among them, the comments can be comments made by all users who read the current multimedia content; or they can be comments made by designated users who read the current multimedia content, such as comments made by users in the current user's friend list. For example, in the work, the number of comments at the book content corresponding to the rainy day tag is q, and the number of comments at the book content corresponding to all tags retrieved is q0. At this time, the popularity of the rainy day tag in the book is determined to be q / q0.
[0057] For obtaining the attractiveness of the environmental tag in the multimedia content, it includes: obtaining the number of movements and the movement threshold corresponding to the user reading the environmental tag; and obtaining the attractiveness of the environmental tag in the multimedia content according to the number of movements and the movement threshold. Among them, the attractiveness is determined according to the number of movements of the user's head. Specifically, the attractiveness of the multimedia content to the user can be determined by detecting the change of the user's head image when the historical user reads the multimedia content. Among them, the user's head image can be obtained according to the preset sampling time interval, and whether the user's head at the current sampling time point has changed relative to the head at the previous sampling point can be determined according to the obtained head image. In an embodiment of the invention, the sampling time interval can be set to a smaller value, such as 0.5 seconds. Since the probability of the terminal being moved in the sampling time interval during the reading process is small, it can be determined that the possibility of the boundary area of the image obtained by the terminal based on the front camera changing is small. Therefore, when determining whether the user's head at the current sampling time point has changed relative to the head at the previous sampling point according to the obtained head image, the coordinates corresponding to the user's head area in the two images can be directly compared. When the coordinates change, it is determined that the user's head has changed; if the coordinates do not change, it is determined that the user's head has not changed. If a change occurs, the terminal can obtain the corresponding environmental tag in the multimedia content read by the user and make a corresponding record. Then, when the user finishes reading a chapter, reads for a preset time, changes the reading point (determined according to the user's geographical location and / or the background image of the user's head image obtained when reading, when the geographical location changes or the background image changes, it means that the reading point has been changed) or stops reading, the terminal stops recording the changes of the user's head in the current stage, and counts the number of head movements of the user when reading each environmental tag in the current stage. The embodiment of the present invention can preset a head movement threshold, which can be preset in combination with the type of reading content, reading time, number of words read, etc., and the embodiment of the present invention does not make specific restrictions. When the number of head movements corresponding to a certain tag is greater than the head movement threshold, it means that the user is not focused enough when reading the content corresponding to the environmental tag. At this time, it can be explained that the content corresponding to the environmental tag is less attractive to the user; when the number of head movements corresponding to a certain environmental tag is not greater than the head movement threshold, it means that the user is highly focused when reading the content corresponding to the environmental tag. At this time, it can be explained that the content corresponding to the environmental tag is more attractive to the user. In the embodiment of the present invention, the attraction can be determined based on the number of head movements counted in the current stage and the head movement threshold. Specifically, if the number of head movements of the user when reading a certain tag counted in the current stage is X1 and the corresponding head movement threshold is X0, the attraction is: X0 / 1. From the above content, it can be seen that when the attraction is high, the value of the attraction is greater than 1; when the attraction is low, the value of the attraction is less than 1.
[0058] Step 002: Determine the weight of the environmental label corresponding to the plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
[0059] After determining the type, frequency ratio, popularity and attraction, the weight of the environmental tag can be determined based on the initial weight, frequency ratio, popularity and attraction of the environmental tag under the type.
[0060] Combining the above example, the weight of the rainy day label can be expressed as:
[0061] Z=N1×(P1÷0)×(q÷q0)×(X0 / 1)
[0062] For example, for multimedia content that is an interactive e-book, the interactive e-book may include history books, martial arts books, and other types. In history books, the initial weight of the rainy day tag is set to 1. The number of times the rainy day tag appears is 10, the number of times all environmental tags appear is 100, the number of comments on the book content corresponding to rainy days is 1000, the number of comments on the book content corresponding to all tags is 10000, the number of user movements corresponding to rainy days is 10, and the movement threshold is 8, then the attractiveness is 0.8.
[0063] In martial arts books, the initial weight of rainy days is set to 2. The number of times rainy days appear is 5, the number of times all environmental tags appear is 100, the number of comments on the book content corresponding to rainy days is 2000, the number of comments on the book content corresponding to all environmental tags is 10000, the number of user movements corresponding to rainy days is 8, and the movement threshold is 10, then the attractiveness is 1.25.
[0064] Then the weight of the rainy day label of the historical category is: Z = 1×(10÷100)×(1000÷10000)×0.8.
[0065] The weight of the rainy day label for martial arts is: Z = 2×(5÷100)×(2000÷10000)×1.25.
[0066] After obtaining the weight of the environment label, by calculating the similarity between the current environment data and the environment label, the overlap between the plot branch and the environment data is calculated based on the similarity and the weight, so that the target plot branch can be determined based on the overlap. Specifically, the weight of the environment label corresponding to each plot branch is combined and calculated. For example, if the current user's environment keyword is "rainy day / night / Spring Festival", that is, in the environment of "rainy day / night / Spring Festival", the environment label of the plot branch is "rainy day / daytime / Dragon Boat Festival". First, in the plot branch with the environment label, the label similarity of the plot is calculated. The similarity between the rainy day label and the rainy day environment is L0, the similarity between the daytime label and the night environment is L2, the similarity between the Dragon Boat Festival label and the Spring Festival environment is L4, the weight of the rainy day label is Z0, the weight of the night label is Z1, and the weight of the Spring Festival label is Z2. Then the overlap between the environment label of the plot branch and the current environment data is: S1=0×Z0+2×1+4×Z2. The similarity may be calculated according to a preset similarity calculation rule, and the embodiment of the present invention does not impose any specific limitation thereto.
[0067] For example: in a certain interactive e-book, it is determined by pre-calculation that the weight of the rainy day label is 1, the weight of the night label is 2, the weight of the Spring Festival label is 4, the similarity of rainy days to rainy days is 1, the similarity of snowy days to rainy days is 0.5, the similarity of daytime to night is 0, the similarity of night to night is 1, the similarity of Dragon Boat Festival to Spring Festival is 0.2, and the similarity of Spring Festival to Spring Festival is 1. For the next plot branch including plot branch 1 "Rainy day / daytime / Dragon Boat Festival" and plot branch 2 "Snowy day / night / Spring Festival", the overlap between the environmental label and the current environmental data is:
[0068] The overlap of plot branch 1: 1×1+0×2+0.2×4=1.8
[0069] The overlap of plot branch 2: 0.5×1+1×2+1×4=6.5
[0070] In the process of matching the current environmental data with the environmental labels, plot branch 2 has more similar overlaps, so plot branch 2 will be pushed first in the user's plot advancement, so that different plot directions will be obtained through the user's current environmental scene.
[0071] Step 130: Display the target plot branch to the user.
[0072] In the embodiment of the present invention, after the target plot branch is determined, the target plot branch is displayed to the user.
[0073] In an embodiment of the present invention, before the target plot branch is displayed to the user, the following steps are also included: determining the reading scene of the multimedia content according to the current environment data, determining the scene elements corresponding to the reading scene, and displaying the scene elements and the multimedia content to the user at the same time. The reading scene refers to the background displayed when the multimedia content is read, including static and dynamic decorative elements. Specifically, the terminal affects the scene of the user's current reading according to the current environment data obtained, such as affecting the reading scene through the weather, wherein the user is currently snowing, the reading scene will trigger the snow effect element, and the clothing or hair of the scene characters will fall snowflakes, etc. The terminal will have light and shadow special effects elements in the scene according to the current time of the user, if it is morning, and starlight special effects elements in the scene if it is evening. According to the current festival of the user, if it is the Spring Festival, scene elements such as firecrackers and Spring Festival couplets will appear in the scene; decorations such as zongzi will appear on the Dragon Boat Festival; confession balloons will appear on the Chinese Valentine's Day, etc.
[0074] The embodiment of the present invention receives a plot advancement request from a user for multimedia content, obtains the user's current environment data according to the plot advancement request, matches the current environment data with the environment tags of each plot branch, and determines the target plot branch of the multimedia content; the target plot branch is displayed to the user, which can be combined with the user's environment to give the user a reading experience that is closely integrated with reality, thereby effectively improving the user's usage experience.
[0075] Figure 2 FIG. 2 shows a schematic diagram of the structure of a multimedia data playback device provided by an embodiment of the present invention. Figure 2 As shown, the device 200 includes:
[0076] The acquisition module 210 is used to acquire the user's current environment data.
[0077] The matching module 220 is used to match the current environment data with each plot branch of the current multimedia content to determine a target plot branch.
[0078] The display module 230 is used to display the target plot branch to the user.
[0079] In the embodiment of the present invention, the multimedia data playback device further comprises a request module for receiving a user's plot advancement request for the current multimedia content. The acquisition module 220 is further configured to acquire the user's current environment data according to the plot advancement request.
[0080] In an optional manner, the plot branch is associated with at least one preset environment tag; and matching the current environment data with each plot branch of the current multimedia content to determine the target plot branch includes:
[0081] Determining an environmental keyword corresponding to the current environmental data;
[0082] Calculating the similarity between the environmental keywords and the environmental labels associated with each plot branch;
[0083] Get the weights corresponding to the environmental tags associated with each plot branch;
[0084] Calculating the overlap between each of the plot branches and the environmental keywords according to the similarity and the weight;
[0085] The target plot branch is determined according to the degree of overlap.
[0086] In an optional manner, obtaining the weight corresponding to the environment label of each plot branch includes:
[0087] Acquire the type of the multimedia content, the percentage of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content;
[0088] The weight of the environmental label associated with each plot branch is determined according to the type, the frequency ratio, the popularity and the attractiveness.
[0089] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0090] Obtaining a first occurrence number of the environmental tag in the multimedia content and a second occurrence ratio of all environmental tags in the multimedia content;
[0091] The frequency ratio is obtained according to the first occurrence number and the second occurrence number.
[0092] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0093] Obtaining the number of first comments corresponding to the environmental tag and the number of second comments corresponding to all environmental tags;
[0094] The popularity is obtained according to the first comment data and the second comment quantity.
[0095] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0096] Obtaining the number of movements and the movement threshold of the user when reading the content corresponding to the environment tag;
[0097] The attraction degree is obtained according to the movement times and the movement threshold.
[0098] In an optional manner, before presenting the target plot branch to the user, the method further includes:
[0099] Determining a reading scenario for the multimedia content according to the current environment data;
[0100] Determining a scene element corresponding to the reading scene;
[0101] The scene elements and the multimedia content are simultaneously presented to the user.
[0102] The specific working process of the multimedia data playback device 200 of the embodiment of the present invention is consistent with the specific implementation steps of the above method embodiment, and will not be repeated here.
[0103] The embodiment of the present invention receives a plot advancement request from a user for multimedia content, obtains the user's current environment data according to the plot advancement request, matches the current environment data with each plot branch, and determines the target plot branch of the multimedia content; the target plot branch is displayed to the user, which can be combined with the user's environment to give the user a reading experience that is closely integrated with reality, thereby effectively improving the user's usage experience.
[0104] Figure 3 The schematic diagram of the structure of the multimedia data playback device provided by the embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the multimedia data playback device.
[0105] like Figure 3 As shown, the multimedia data playback device may include: a processor (processor) 302 , a communications interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0106] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned embodiment of the method for playing multimedia data.
[0107] Specifically, the program 310 may include program code including computer executable instructions.
[0108] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the multimedia data playback device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0109] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0110] The program 310 can be specifically called by the processor 302 to enable the multimedia data playback device to perform the following operations:
[0111] Get the user's current environment data;
[0112] Matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
[0113] The target plot branch is presented to the user.
[0114] In an optional manner, the plot branch is associated with at least one preset environment tag; and matching the current environment data with each plot branch of the current multimedia content to determine the target plot branch includes:
[0115] Determining an environmental keyword corresponding to the current environmental data;
[0116] Calculating the similarity between the environmental keywords and the environmental labels associated with each plot branch;
[0117] Get the weights corresponding to the environmental tags associated with each plot branch;
[0118] Calculating the overlap between each of the plot branches and the environmental keywords according to the similarity and the weight;
[0119] The target plot branch is determined according to the degree of overlap.
[0120] In an optional manner, obtaining the weight corresponding to the environment label of each plot branch includes:
[0121] Acquire the type of the multimedia content, the percentage of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content;
[0122] The weight of the environmental label associated with each plot branch is determined according to the type, the frequency ratio, the popularity and the attractiveness.
[0123] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0124] Obtaining a first occurrence number of the environmental tag in the multimedia content and a second occurrence ratio of all environmental tags in the multimedia content;
[0125] The frequency ratio is obtained according to the first occurrence number and the second occurrence number.
[0126] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0127] Obtaining the number of first comments corresponding to the environmental tag and the number of second comments corresponding to all environmental tags;
[0128] The popularity is obtained according to the first comment data and the second comment quantity.
[0129] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0130] Obtaining the number of movements and the movement threshold of the user when reading the content corresponding to the environment tag;
[0131] The attraction degree is obtained according to the movement times and the movement threshold.
[0132] In an optional manner, before presenting the target plot branch to the user, the method further includes:
[0133] Determining a reading scenario for the multimedia content according to the current environment data;
[0134] Determining a scene element corresponding to the reading scene;
[0135] The scene elements and the multimedia content are simultaneously presented to the user.
[0136] The specific working process of the multimedia data playback device of the embodiment of the present invention is consistent with the specific implementation steps of the above method embodiment, and will not be repeated here.
[0137] The embodiment of the present invention receives a plot advancement request from a user for multimedia content, obtains the user's current environment data according to the plot advancement request, matches the current environment data with each plot branch, and determines the target plot branch of the multimedia content; the target plot branch is displayed to the user, which can be combined with the user's environment to give the user a reading experience that is closely integrated with reality, thereby effectively improving the user's usage experience.
[0138] An embodiment of the present invention provides a computer-readable storage medium, wherein the storage medium stores at least one executable instruction. When the executable instruction is executed on a multimedia data playback device, the multimedia data playback device executes the multimedia data playback method in any of the above method embodiments.
[0139] The executable instructions may be specifically used to enable the multimedia data playback device to perform the following operations:
[0140] Get the user's current environment data;
[0141] Matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
[0142] The target plot branch is presented to the user.
[0143] In an optional manner, the plot branch is associated with at least one preset environment tag; and matching the current environment data with each plot branch of the current multimedia content to determine the target plot branch includes:
[0144] Determining an environmental keyword corresponding to the current environmental data;
[0145] Calculating the similarity between the environmental keywords and the environmental labels associated with each plot branch;
[0146] Get the weights corresponding to the environmental tags associated with each plot branch;
[0147] Calculating the overlap between each of the plot branches and the environmental keywords according to the similarity and the weight;
[0148] The target plot branch is determined according to the degree of overlap.
[0149] In an optional manner, obtaining the weight corresponding to the environment label of each plot branch includes:
[0150] Acquire the type of the multimedia content, the percentage of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content;
[0151] The weight of the environmental label associated with each plot branch is determined according to the type, the frequency ratio, the popularity and the attractiveness.
[0152] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0153] Obtaining a first occurrence number of the environmental tag in the multimedia content and a second occurrence ratio of all environmental tags in the multimedia content;
[0154] The frequency ratio is obtained according to the first occurrence number and the second occurrence number.
[0155] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0156] Obtaining the number of first comments corresponding to the environmental tag and the number of second comments corresponding to all environmental tags;
[0157] The popularity is obtained according to the first comment data and the second comment quantity.
[0158] In an optional manner, obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes:
[0159] Obtaining the number of movements and the movement threshold of the user when reading the content corresponding to the environment tag;
[0160] The attraction degree is obtained according to the movement times and the movement threshold.
[0161] In an optional manner, before presenting the target plot branch to the user, the method further includes:
[0162] Determining a reading scenario for the multimedia content according to the current environment data;
[0163] Determining a scene element corresponding to the reading scene;
[0164] The scene elements and the multimedia content are simultaneously presented to the user.
[0165] The specific working process of the executable instructions in the computer-readable storage medium of the embodiment of the present invention when running on the multimedia data playback device is consistent with the specific implementation steps of the above method embodiment, and will not be repeated here.
[0166] The embodiment of the present invention receives a plot advancement request from a user for multimedia content, obtains the user's current environment data according to the plot advancement request, matches the current environment data with each plot branch, and determines the target plot branch of the multimedia content; the target plot branch is displayed to the user, which can be combined with the user's environment to give the user a reading experience that is closely integrated with reality, thereby effectively improving the user's usage experience.
[0167] An embodiment of the present invention provides a multimedia data playing device, which is used to execute the multimedia data playing method.
[0168] An embodiment of the present invention provides a computer program, which can be called by a processor to enable a multimedia data playback device to execute the multimedia data playback method in any of the above method embodiments.
[0169] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed on a computer, the computer executes the multimedia data playback method in any of the above method embodiments.
[0170] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description made to specific languages above is for disclosing the best mode of the present invention.
[0171] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0172] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed invention requires more features than those expressly recited in each claim.
[0173] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0174] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A multimedia data playing method, characterized in that: The method comprises: Get the user's current environment data; Matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch includes: determining an environment keyword corresponding to the current environment data; calculating the similarity between the environment keyword and the environment tag associated with each plot branch; obtaining the weight corresponding to the environment tag associated with each plot branch; calculating the overlap between each plot branch and the environment keyword according to the similarity and the weight; and determining the target plot branch according to the overlap; The step of obtaining the weights corresponding to the environmental tags of each plot branch includes: obtaining the type of the multimedia content, the proportion of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content; determining the weights of the environmental tags associated with each plot branch according to the type, the proportion of occurrences, the popularity, and the attractiveness; the popularity is determined according to the number of comments on the environmental tag; and the attractiveness is determined according to the number of head movements of the user when reading the environmental tag; The target plot branch is presented to the user.
2. The method according to claim 1, characterized in that The obtaining of the type of the multimedia content, the proportion of the number of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes: Obtaining a first occurrence number of the environmental tag in the multimedia content and a second occurrence number of all environmental tags in the multimedia content; The frequency ratio is obtained according to the first occurrence number and the second occurrence number.
3. The method according to claim 1, characterized in that The obtaining of the type of the multimedia content, the proportion of the number of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes: Obtaining the number of first comments corresponding to the environmental tag and the number of second comments corresponding to all environmental tags; The popularity is obtained according to the first number of comments and the second number of comments.
4. The method according to claim 1, characterized in that: The obtaining of the type of the multimedia content, the proportion of the number of occurrences of the environmental tag in the multimedia content, the popularity of the environmental tag in the multimedia content, and the attractiveness of the environmental tag in the multimedia content includes: Obtaining the number of movements and the movement threshold corresponding to the user reading the environmental label; The attraction degree is obtained according to the movement times and the movement threshold.
5. The method according to claim 1, characterized in that Before presenting the target plot branch to the user, the method further includes: Determining a reading scenario for the multimedia content according to the current environment data; Determining a scene element corresponding to the reading scene; The scene elements and the multimedia content are simultaneously presented to the user.
6. A multimedia data playback device, characterized in that: The device comprises: The acquisition module is used to obtain the user's current environment data; A matching module, for matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch, including: determining an environment keyword corresponding to the current environment data; calculating the similarity between the environment keyword and the environment tag associated with each plot branch; obtaining the weight corresponding to the environment tag associated with each plot branch; calculating the overlap between each plot branch and the environment keyword according to the similarity and the weight; determining the target plot branch according to the overlap; obtaining the weight corresponding to the environment tag of each plot branch, including: obtaining the type of the multimedia content, the proportion of the number of occurrences of the environment tag in the multimedia content, the popularity of the environment tag in the multimedia content, and the attractiveness of the environment tag in the multimedia content; determining the weight of the environment tag associated with each plot branch according to the type, the proportion of the number of occurrences, the popularity, and the attractiveness; the popularity is determined according to the number of comments on the environment tag; the attractiveness is determined according to the number of head movements of the user when reading the environment tag; A display module is used to display the target plot branch to the user.
7. A multimedia data playback device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the multimedia data playing method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction. When the executable instruction is executed on the multimedia data playback device, the multimedia data playback device performs the operation of the multimedia data playback method according to any one of claims 1 to 5.
