CN113590950A - Multimedia data playing method, device, equipment and computer readable storage medium - Google Patents

Multimedia data playing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113590950A
CN113590950A CN202110858988.5A CN202110858988A CN113590950A CN 113590950 A CN113590950 A CN 113590950A CN 202110858988 A CN202110858988 A CN 202110858988A CN 113590950 A CN113590950 A CN 113590950A
Authority
CN
China
Prior art keywords
multimedia content
environment
tag
user
branch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110858988.5A
Other languages
Chinese (zh)
Inventor
杨文兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Digital Media Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110858988.5A priority Critical patent/CN113590950A/en
Publication of CN113590950A publication Critical patent/CN113590950A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The embodiment of the invention relates to the technical field of multimedia information, and discloses a multimedia data playing method, which comprises the following steps: acquiring current environment data of a user; matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch; and displaying the target plot branches to the user. Through the mode, the embodiment of the invention realizes the beneficial effect of enhancing the user experience.

Description

Multimedia data playing method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of multimedia information, in particular to a multimedia data playing method, a multimedia data playing device, multimedia data playing equipment and a computer readable storage medium.
Background
The interactive reading is a novel reading mode, and a user can interact while reading, has substitution feeling, has better free feeling during reading and can change the outcome online.
At present, for interactive reading, the trend of a plot is mostly determined through options, so that different branch outcomes are created, the diversity and interestingness of reading are increased, and a user can participate in the reading process. However, the inventor finds that the existing interactive reading cannot be combined with the display of the real environment in the process of implementing the invention, and the user lacks the sense of immersion of reading content in actual reading, so that the use experience of the user is reduced.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a multimedia data playing method, apparatus, device and computer-readable storage medium, which are used to solve the technical problems that, in the prior art, a user lacks immersion feeling during reading and user experience is poor.
According to an aspect of an embodiment of the present invention, there is provided a multimedia data playing method, including:
acquiring current environment data of a user;
matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and displaying the target plot branches to the user.
In an alternative mode, the plot branch is associated with at least one preset environment tag; the matching the current environment data with each scenario branch of the current multimedia content to determine a target scenario branch comprises:
determining an environment keyword corresponding to the current environment data;
calculating the similarity of the environment keywords and the environment labels associated with the various plot branches;
acquiring the weight corresponding to the environment label associated with each plot branch;
calculating the contact ratio of each plot branch and the environment key word according to the similarity and the weight;
and determining the target plot branches according to the contact ratio.
In an optional manner, the obtaining the weight corresponding to the environmental label of each scenario branch includes:
acquiring the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content;
and determining the weight of the environment label associated with each plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the ratio of the first occurrence number of the environment tags in the multimedia content to the second occurrence number of all the environment tags in the multimedia content;
and obtaining the frequency ratio according to the first frequency and the second frequency.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring a first comment quantity corresponding to the environment tags and a second comment quantity corresponding to all the environment tags;
and obtaining the popularity according to the first comment data and the second comment quantity.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the moving times and moving threshold value of a user when reading the content corresponding to the environment tag;
and obtaining the attraction degree according to the moving times and the moving threshold value.
In an optional manner, before the presenting the target scenario branch to the user, the method further includes:
determining a reading scene of the multimedia content according to the current environment data;
determining scene elements corresponding to the reading scene;
and simultaneously displaying the scene element and the multimedia content to the user.
According to another aspect of the embodiments of the present invention, there is provided a multimedia data playing apparatus, including:
the acquisition module is used for acquiring the current environment data of the user;
the matching module is used for matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and the display module is used for displaying the target plot branches to the user.
According to another aspect of the embodiments of the present invention, there is provided a multimedia data playing apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation of the multimedia data playing method.
According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, in which at least one executable instruction is stored, and when the executable instruction is executed on a multimedia data playing apparatus, the multimedia data playing apparatus executes the operations of the multimedia data playing method.
The method comprises the steps of receiving a plot pushing request of a user for multimedia content, obtaining current environment data of the user according to the plot pushing request, matching the current environment data with environment labels of all plot branches, and determining target plot branches of the multimedia content; the target plot branches are displayed to the user, so that reading experience closely combined with reality can be provided for the user in combination with the environment where the user is located, and the using experience of the user can be effectively improved.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart illustrating a multimedia data playing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a multimedia data playing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a multimedia data playing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein.
Fig. 1 shows a flowchart of a multimedia data playing method provided by an embodiment of the present invention, where the method is executed by a multimedia data playing device. The device may be a computer device, a terminal device, a server capable of playing multimedia data, and the like, and the embodiment of the present invention is not particularly limited. As shown in fig. 1, the method comprises the steps of:
step 110: and acquiring current environment data of the user.
In the embodiment of the invention, the current environment data of the user comprises weather data, time data, solar terms data and the like of the current position of the user. Specifically, in the embodiment of the present invention, after receiving the scenario pushing request, the terminal may obtain the current location information of the user, and obtain the current weather conditions, such as thunderstorm weather, sunny day, snow day, and the like, through the location information of the user. The terminal can acquire the local time information of the user and extract the current day or night of the user through the local time. The terminal can acquire the local date information of the user and acquire the current solar term data such as spring festival, seven sunset festival and the like through the local date.
In the embodiment of the present invention, before acquiring the current environment data of the user, the method further includes step 100: and receiving a plot pushing request of the current multimedia content from the user. The current multimedia content may be multimedia content interacting with a user, that is, interactive reading content, such as an interactive electronic book, an interactive video, or an interactive audio. The current multimedia content may be the multimedia content of the scenario branch to be determined, or may be the multimedia content currently being played. In the embodiment of the invention, the scenario pushing request can be generated by a user clicking an interactive button in the multimedia content at the terminal to trigger. The interactive button may be a button for triggering presentation of a next scenario.
Step 120: and matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch.
Wherein the scenario branches into a plurality of scenario contents in the multimedia contents. It can be understood that a multimedia content includes a plurality of scenario branches, and different scenario branches are reached according to the options of the user, so that the scenario trends are different, and finally the displayed ending is different. That is, for a user to finish reading the current scenario branch, when the scenario push button is clicked, it is possible to jump to one of the next scenario branches. The embodiment of the invention creates an environment label for each plot branch in advance, and associates the created environment label with the corresponding plot branch, so that the plot branch corresponds to one or more environment labels. When the created tags are associated with the scenario branches, if a plurality of different tags of the same type appear in the same scenario branch, for example, the day appears first in the scenario branch and the night appears later in the scenario branch, the tag appearing first in each type or the tag appearing for a long time is associated with the scenario branch; if only one tag of the same type appears in the same plot branch, the tag is directly associated to the plot branch.
The present environmental data is matched with the environmental tags of the respective scenario branches, so that the target scenario branch to be displayed can be determined. In the embodiment of the invention, the current environment data can comprise current weather data, current time data and current solar terms data. Correspondingly, the environment tag can comprise a weather tag, a time tag and a solar term tag, wherein the weather tag can be a rainy tag, a sunny tag, a snowy tag and the like, the time tag can be a daytime tag, a night tag, a dusk tag and the like, and the solar term tag can be a spring festival tag, an end-of-the-day tag and the like. Matching the current environment data with the environment tags of all the plot branches to determine target plot branches, wherein the method specifically comprises the following steps: and matching the current weather data, the current time data and the current air receiving data with the weather tags, the time tags and the solar terms tags of all the plot branches to determine the target plot branches.
The specific matching process comprises the following steps: determining an environment keyword corresponding to the current environment data according to the current environment data, calculating the similarity between the environment keyword and the environment tags associated with the plot branches, acquiring the weight corresponding to each environment tag in the environment tags associated with the plot branches, and calculating the contact ratio between each plot branch and the environment data according to the similarity and the weight; and determining the target plot branches according to the contact ratio. That is, for the calculation of the coincidence degree of the current environmental data with the environmental label of each next scenario branch, it needs to be determined in combination with the weight of each environmental label.
In the embodiment of the invention, the purpose of respectively setting the weight for each environment label associated with each scenario branch is to determine the scenario branch closer to the environment data. The setting process of each environment label weight is described as follows:
step 001: obtaining the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content.
Specifically, for obtaining the type of the multimedia content, the type of the multimedia content may be determined by sorting the types of scenarios, such as a history class, a suspicion class, a speaking class, and the like. According to different types of multimedia contents, a corresponding initial weight can be preset for the environment tag. The weight has a value of 1-10 depending on the type of multimedia content. For example, for an interactive ebook, the initial weight of the rainy day tag in a suspense-like 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 may perform corresponding setting according to a specific scenario.
For obtaining the frequency of the environmental tag appearing in the multimedia content, the method comprises the following steps: acquiring a first occurrence number of the environmental label in the multimedia content and a second occurrence number of all the environmental labels in the multimedia content; and obtaining the frequency ratio of the environment tag according to the first frequency and the second frequency. Specifically, the terminal may acquire the type and content data of the multimedia content, and determine the occupation ratio by searching in the multimedia content and inquiring the number of times each environment tag appears in the multimedia content. Specifically, for example, the number of times of retrieving the rainy tag in the multimedia content is P, and the number of times of retrieving all the environmental tags is P0P and P0Is 1. Specifically, the search can be performed in the multimedia content according to the keyword corresponding to the environment tag, and the occurrence frequency of the keyword is obtained and used as the occurrence frequency of the environment tag.
For obtaining the heat of the environmental label in the multimedia content, the method comprises the following steps: obtaining the number of the first comments corresponding to the environment label and all the environment labelsSigning the corresponding second comment number; and obtaining the popularity of the environment tag in the multimedia content according to the first comment data and the second comment quantity. Specifically, the terminal can obtain the number of comments, such as the number of pop-ups, the number of comments, the number of praises, and the like, at the multimedia content corresponding to each environment tag, and determine the number of comments at the multimedia content corresponding to all environment tags, so as to determine the popularity of each environment tag in the multimedia content. The comments can be comments made by all users reading the current multimedia content; or may be a designated user reading the current multimedia content, such as a comment made by a user in the current user's buddy list, etc. For example, the number of comments corresponding to the book content in the product on rainy days is q, and the number of comments corresponding to the book content in all the tags is retrieved and is q0At this time, the heat of the label in the book in the rainy day is determined to be q/q0
For obtaining the attraction degree of the environment tag in the multimedia content, the method comprises the following steps: acquiring the moving times and moving threshold value corresponding to the environment tag read by the user; and obtaining the attraction degree of the environment label in the multimedia content according to the moving times and the moving threshold value. Wherein the attraction degree is determined according to the number of movements of the head of the user. Specifically, the attractiveness of the multimedia content to the user may be determined by detecting changes in the image of the user's head during historical user reading of the multimedia content. The head image of the user can be acquired according to a preset sampling time interval, and whether the head of the user at the current sampling time point changes relative to the head of the last sampling point is determined according to the acquired head image. In an embodiment of the invention, the sampling time interval may be set to be small, such as 0.5 seconds. Since the probability that the terminal is moved in the sampling time interval is small in the reading process, it can be determined that the probability that the boundary area of the image acquired by the terminal based on the front camera is changed is small. Therefore, when determining whether the head of the user at the current sampling time point is changed relative to the head of the last sampling point according to the acquired head image, the two images can be directly usedComparing the coordinates corresponding to the head area of the user in the image, and determining that the head of the user changes when the coordinates change; and if the coordinates are not changed, determining that the head of the user is not changed. If the change occurs, the terminal can acquire the corresponding environment tag in the multimedia content read by the user and perform corresponding recording. Then, the terminal may stop recording the head change of the user in the current stage when the user finishes reading a chapter, reads a preset time length, replaces the reading point (determined according to the geographic position of the user and/or the obtained background image of the head image when the user reads, and indicates that the reading point is replaced when the geographic position changes or the background image changes) or stops reading this time, and counts the head movement times of the user reading each environment tag in the current stage. The embodiment of the present invention may preset a head movement threshold, where the threshold may be preset in combination with the type of the reading content, the reading duration, the number of reading words, and the like, and the embodiment of the present invention is not particularly limited. When the number of times of head movement corresponding to a certain tag is greater than the head movement threshold, it indicates that the user is not attentive enough when reading the content corresponding to the environment tag, and at this time, it may indicate that the content corresponding to the environment tag has a low attraction to the user; when the number of times of head movement corresponding to a certain environment tag is not greater than the head movement threshold, it indicates that the user is highly attentive when reading the content corresponding to the environment tag, and at this time, it may be indicated that the content corresponding to the environment tag has a high appeal to the user. In the embodiment of the present invention, the attraction degree may be determined according to the number of times of head movement counted at the current stage and a head movement threshold. Specifically, if the counted number of times of head movement of the user when reading a certain tag at the current stage is X1The corresponding head movement threshold is X0Then, the attraction degree is: x0/1. As can be seen from the above, when the attraction force is high, the value of the attraction degree is greater than 1; when the attraction force is low, the value of the attraction degree is less than 1.
Step 002: and determining the weight of the environment label corresponding to the plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
After the type, the frequency proportion, the popularity and the attractiveness are determined, the weight of the environment label can be determined according to the initial weight, the frequency proportion, the popularity and the attractiveness of the environment label under the type.
In connection with the above example, the weight of the rainy day tag may be expressed as:
Z=N1×(P1÷0)×(q÷q0)×(X0/1)
for example, for the multimedia content being an interactive electronic book, the interactive electronic book may include history-like books, martial arts-like books, and the like. In the history class book, the initial weight of the rainy label is set to 1. The number of times of occurrence of the tags in rainy days is 10, the number of times of occurrence of all the environment tags is 100, the number of comments of the book content corresponding to rainy days is 1000, the number of comments of the book content corresponding to all the tags is 10000, the number of times of movement of the user corresponding to rainy days is 10, and the movement threshold value is 8, then the attraction degree is 0.8.
In a swordsman book, the initial weight on rainy days is set to 2. The number of occurrences in rainy days is 5, the number of occurrences in all environment tags 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 environment tags is 10000, the number of times of user movement corresponding to rainy days is 8, and the movement threshold value is 10, then the attraction degree is 1.25.
Then the rainy label weight of the history class is: z is 1 × (10 ÷ 100) × (1000 ÷ 10000) × 0.8.
The weighting of the swordsmen rain day label is as follows: z is 2 × (5 ÷ 100) × (2000 ÷ 10000) × 1.25.
After the weight of the environment label is obtained, the similarity between the current environment data and the environment label is calculated, and the coincidence degree between the scenario branch and the environment data is calculated according to the similarity and the weight, so that the target scenario branch can be determined according to the coincidence degree. Specifically, the weight of the environment label corresponding to each episode branch is combined and calculated, for example, in an environment where the environment keyword of the current user is "rainy day/night/spring festival", that is, in an environment of "rainy day/night/spring festival", the environment label of the episode branch is "rainy day/daytime/morning festival", first, the user owns the episode branchIn the plot branch of the environment label, calculating the label similarity of the plot, and the similarity L of the rainy day label and the rainy day environment0And the similarity between the daytime label and the night environment is L2Similarity between the morning festival label and the spring festival environment is L4The weight of the label in rainy days is Z0The weight of the night label is Z1The weight of the spring festival label is Z2If the coincidence degree of the environment tag of the scenario branch and the current environment data is: s10×Z0+2×1+4×Z2. The similarity may be calculated according to a preset similarity calculation rule, and the embodiment of the present invention is not particularly limited.
For example, the following steps are carried out: in an interactive electronic book, the weight of a rainy label is 1, the weight of a black label is 2, the weight of a spring festival label is 4, the similarity of the rainy label in the rainy day is 1, the similarity of the snowy label in the rainy day is 0.5, the similarity of the daytime in the black night is 0, the similarity of the black night in the black night is 1, the similarity of the morning festival in the spring is 0.2, and the similarity of the spring festival in the spring festival is 1. For the next scenario branch including scenario branch 1 "rainy day/daytime/early afternoon festival" and scenario branch 2 "snowy day/night/spring festival", the coincidence of the environment label and the current environment data are respectively:
coincidence degree of scenario branch 1: 1 × 1+0 × 2+0.2 × 4 ═ 1.8
Coincidence degree of scenario branch 2: 0.5 × 1+1 × 2+1 × 4 ═ 6.5
In the matching process of the current environment data and the environment label, the scenario branch 2 has more similar contact degrees, so that the scenario branch 2 is preferentially pushed in the scenario push of the user, and different scenario trends can be obtained through the current environment scene of the user.
Step 130: and displaying the target plot branches to the user.
In the embodiment of the invention, after the target plot branch is determined, the target plot branch is displayed to the user.
In the embodiment of the present invention, before displaying the target scenario branch to the user, the method further includes the following steps: and determining a reading scene of the multimedia content according to the current environment data, determining a scene element corresponding to the reading scene, and simultaneously displaying the scene element and the multimedia content to the user. The reading scene refers to a background displayed during reading corresponding to the multimedia content, and comprises static and dynamic decorative elements and the like. Specifically, the terminal influences a current reading scene of the user according to the acquired current environment data, for example, the reading scene is influenced through weather, wherein the user currently snows, the reading scene triggers snowing dynamic effect elements, and clothes or hair of scene characters can float and fall snowflakes and the like. The terminal is in the morning according to the current time of the user, and the scene has light and shadow special effect elements; at night, the scene is a starlight special effect element. The terminal is in spring festival according to the current festival of the user, scene elements such as firecrackers, spring festival scrolls and the like appear in the scene; decorations such as rice dumplings appear in the morning festival; the appearance of white balloon will appear in the seven suns section.
The method comprises the steps of receiving a plot pushing request of a user for multimedia content, obtaining current environment data of the user according to the plot pushing request, matching the current environment data with environment labels of all plot branches, and determining target plot branches of the multimedia content; the target plot branches are displayed to the user, so that reading experience closely combined with reality can be provided for the user in combination with the environment where the user is located, and the using experience of the user can be effectively improved.
Fig. 2 is a schematic structural diagram of a multimedia data playing apparatus according to an embodiment of the present invention. As shown in fig. 2, the apparatus 200 includes:
the obtaining module 210 is configured to obtain current environment data of the user.
And the matching module 220 is configured to match the current environment data with each scenario branch of the current multimedia content, and determine a target scenario branch.
A displaying module 230, configured to display the target scenario branch to the user.
In the embodiment of the present invention, the multimedia data playing apparatus further includes a request module, configured to receive a scenario promotion request of a user for current multimedia content. The obtaining module 220 is further configured to obtain current environment data of the user according to the scenario promotion request.
In an alternative mode, the plot branch is associated with at least one preset environment tag; the matching the current environment data with each scenario branch of the current multimedia content to determine a target scenario branch comprises:
determining an environment keyword corresponding to the current environment data;
calculating the similarity of the environment keywords and the environment labels associated with the various plot branches;
acquiring the weight corresponding to the environment label associated with each plot branch;
calculating the contact ratio of each plot branch and the environment key word according to the similarity and the weight;
and determining the target plot branches according to the contact ratio.
In an optional manner, the obtaining the weight corresponding to the environmental label of each scenario branch includes:
acquiring the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content;
and determining the weight of the environment label associated with each plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the ratio of the first occurrence number of the environment tags in the multimedia content to the second occurrence number of all the environment tags in the multimedia content;
and obtaining the frequency ratio according to the first frequency and the second frequency.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring a first comment quantity corresponding to the environment tags and a second comment quantity corresponding to all the environment tags;
and obtaining the popularity according to the first comment data and the second comment quantity.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the moving times and moving threshold value of a user when reading the content corresponding to the environment tag;
and obtaining the attraction degree according to the moving times and the moving threshold value.
In an optional manner, before the presenting the target scenario branch to the user, the method further includes:
determining a reading scene of the multimedia content according to the current environment data;
determining scene elements corresponding to the reading scene;
and simultaneously displaying the scene element and the multimedia content to the user.
The specific working process of the multimedia data playing device 200 according to the embodiment of the present invention is consistent with the specific implementation steps of the foregoing method embodiments, and details are not repeated here.
The embodiment of the invention receives a plot pushing request of a user to multimedia content, acquires the current environment data of the user according to the plot pushing request, matches the current environment data with each plot branch and determines the target plot branch of the multimedia content; the target plot branches are displayed to the user, so that reading experience closely combined with reality can be provided for the user in combination with the environment where the user is located, and the using experience of the user can be effectively improved.
Fig. 3 is a schematic structural diagram of a multimedia data playing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the multimedia data playing device.
As shown in fig. 3, the multimedia data playing apparatus may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308. A communication interface 304 for communicating with network elements of other devices, such as clients or other servers. The processor 302 is configured to execute the program 310, and may specifically execute the relevant steps in the above-described embodiment of the method for playing multimedia data.
In particular, program 310 may include program code comprising computer-executable instructions.
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 an embodiment of the present invention. The multimedia data playing device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Specifically, the program 310 can be invoked by the processor 302 to enable the multimedia data playing apparatus to perform the following operations:
acquiring current environment data of a user;
matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and displaying the target plot branches to the user.
In an alternative mode, the plot branch is associated with at least one preset environment tag; the matching the current environment data with each scenario branch of the current multimedia content to determine a target scenario branch comprises:
determining an environment keyword corresponding to the current environment data;
calculating the similarity of the environment keywords and the environment labels associated with the various plot branches;
acquiring the weight corresponding to the environment label associated with each plot branch;
calculating the contact ratio of each plot branch and the environment key word according to the similarity and the weight;
and determining the target plot branches according to the contact ratio.
In an optional manner, the obtaining the weight corresponding to the environmental label of each scenario branch includes:
acquiring the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content;
and determining the weight of the environment label associated with each plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the ratio of the first occurrence number of the environment tags in the multimedia content to the second occurrence number of all the environment tags in the multimedia content;
and obtaining the frequency ratio according to the first frequency and the second frequency.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring a first comment quantity corresponding to the environment tags and a second comment quantity corresponding to all the environment tags;
and obtaining the popularity according to the first comment data and the second comment quantity.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the moving times and moving threshold value of a user when reading the content corresponding to the environment tag;
and obtaining the attraction degree according to the moving times and the moving threshold value.
In an optional manner, before the presenting the target scenario branch to the user, the method further includes:
determining a reading scene of the multimedia content according to the current environment data;
determining scene elements corresponding to the reading scene;
and simultaneously displaying the scene element and the multimedia content to the user.
The specific working process of the multimedia data playing device in the embodiment of the present invention is consistent with the specific implementation steps of the above method embodiment, and details are not repeated here.
The embodiment of the invention receives a plot pushing request of a user to multimedia content, acquires the current environment data of the user according to the plot pushing request, matches the current environment data with each plot branch and determines the target plot branch of the multimedia content; the target plot branches are displayed to the user, so that reading experience closely combined with reality can be provided for the user in combination with the environment where the user is located, and the using experience of the user can be effectively improved.
An embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores at least one executable instruction, and when the executable instruction runs on a multimedia data playing device, the multimedia data playing device is enabled to execute a multimedia data playing method in any method embodiment described above.
The executable instructions may be specifically configured to cause the multimedia data playing device to perform the following operations:
acquiring current environment data of a user;
matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and displaying the target plot branches to the user.
In an alternative mode, the plot branch is associated with at least one preset environment tag; the matching the current environment data with each scenario branch of the current multimedia content to determine a target scenario branch comprises:
determining an environment keyword corresponding to the current environment data;
calculating the similarity of the environment keywords and the environment labels associated with the various plot branches;
acquiring the weight corresponding to the environment label associated with each plot branch;
calculating the contact ratio of each plot branch and the environment key word according to the similarity and the weight;
and determining the target plot branches according to the contact ratio.
In an optional manner, the obtaining the weight corresponding to the environmental label of each scenario branch includes:
acquiring the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content;
and determining the weight of the environment label associated with each plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the ratio of the first occurrence number of the environment tags in the multimedia content to the second occurrence number of all the environment tags in the multimedia content;
and obtaining the frequency ratio according to the first frequency and the second frequency.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring a first comment quantity corresponding to the environment tags and a second comment quantity corresponding to all the environment tags;
and obtaining the popularity according to the first comment data and the second comment quantity.
In an optional manner, the obtaining the type of the multimedia content, the occurrence ratio 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:
acquiring the moving times and moving threshold value of a user when reading the content corresponding to the environment tag;
and obtaining the attraction degree according to the moving times and the moving threshold value.
In an optional manner, before the presenting the target scenario branch to the user, the method further includes:
determining a reading scene of the multimedia content according to the current environment data;
determining scene elements corresponding to the reading scene;
and simultaneously displaying the scene element and the multimedia content to the user.
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 playing device is consistent with the specific implementation steps of the above method embodiments, and is not described herein again.
The embodiment of the invention receives a plot pushing request of a user to multimedia content, acquires the current environment data of the user according to the plot pushing request, matches the current environment data with each plot branch and determines the target plot branch of the multimedia content; the target plot branches are displayed to the user, so that reading experience closely combined with reality can be provided for the user in combination with the environment where the user is located, and the using experience of the user can be effectively improved.
The embodiment of the invention provides a multimedia data playing device, which is used for executing the multimedia data playing method.
Embodiments of the present invention provide a computer program, where the computer program can be called by a processor to enable a multimedia data playing device to execute a multimedia data playing method in any of the above method embodiments.
An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are run on a computer, the computer is caused to execute the multimedia data playing method in any of the above-mentioned method embodiments.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A method for playing multimedia data, the method comprising:
acquiring current environment data of a user;
matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and displaying the target plot branches to the user.
2. The method of claim 1, wherein the storyline branch is associated with a preset at least one environmental tag; the matching the current environment data with each scenario branch of the current multimedia content to determine a target scenario branch comprises:
determining an environment keyword corresponding to the current environment data;
calculating the similarity of the environment keywords and the environment labels associated with the various plot branches;
acquiring the weight corresponding to the environment label associated with each plot branch;
calculating the contact ratio of each plot branch and the environment key word according to the similarity and the weight;
and determining the target plot branches according to the contact ratio.
3. The method according to claim 2, wherein the obtaining the weight corresponding to the environmental label of each plot branch comprises:
acquiring the type of the multimedia content, the occurrence frequency ratio of the environment tag in the multimedia content, the heat degree of the environment tag in the multimedia content and the attraction degree of the environment tag in the multimedia content;
and determining the weight of the environment label associated with each plot branch according to the type, the frequency ratio, the popularity and the attractiveness.
4. The method of claim 3, wherein the obtaining of the type of the multimedia content, the occurrence ratio 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 comprises:
acquiring a first occurrence number of the environment tags in the multimedia content and a second occurrence number of all the environment tags in the multimedia content;
and obtaining the frequency ratio according to the first frequency and the second frequency.
5. The method of claim 3, wherein the obtaining of the type of the multimedia content, the occurrence ratio 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 comprises:
acquiring a first comment quantity corresponding to the environment tags and a second comment quantity corresponding to all the environment tags;
and obtaining the popularity according to the first comment data and the second comment quantity.
6. The method of claim 3, wherein the obtaining of the type of the multimedia content, the occurrence ratio 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 comprises:
acquiring the moving times and moving threshold value corresponding to the environment tag read by the user;
and obtaining the attraction degree according to the moving times and the moving threshold value.
7. The method of claim 1, wherein prior to presenting the target storyline to the user, the method further comprises:
determining a reading scene of the multimedia content according to the current environment data;
determining scene elements corresponding to the reading scene;
and simultaneously displaying the scene element and the multimedia content to the user.
8. A multimedia data playback apparatus, comprising:
the acquisition module is used for acquiring the current environment data of the user;
the matching module is used for matching the current environment data with each plot branch of the current multimedia content to determine a target plot branch;
and the display module is used for displaying the target plot branches to the user.
9. A multimedia data playback apparatus, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation of the multimedia data playing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is executed on a multimedia data playing device, the executable instruction causes the multimedia data playing device to execute the operations of the multimedia data playing method according to any one of claims 1 to 7.
CN202110858988.5A 2021-07-28 2021-07-28 Multimedia data playing method, device, equipment and computer readable storage medium Pending CN113590950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110858988.5A CN113590950A (en) 2021-07-28 2021-07-28 Multimedia data playing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110858988.5A CN113590950A (en) 2021-07-28 2021-07-28 Multimedia data playing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113590950A true CN113590950A (en) 2021-11-02

Family

ID=78251254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110858988.5A Pending CN113590950A (en) 2021-07-28 2021-07-28 Multimedia data playing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113590950A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114177621A (en) * 2021-12-15 2022-03-15 乐元素科技(北京)股份有限公司 Data processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681900A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Information processing method and mobile terminal
CN106776999A (en) * 2016-12-07 2017-05-31 北京小米移动软件有限公司 Multi-medium data recommends method and device
CN108156523A (en) * 2017-11-24 2018-06-12 互影科技(北京)有限公司 The interactive approach and device that interactive video plays
US20190147864A1 (en) * 2017-11-15 2019-05-16 Baidu Online Network Technology (Beijing) Co., Ltd. Voice interaction based method and apparatus for generating multimedia playlist
CN110446080A (en) * 2019-05-10 2019-11-12 咪咕文化科技有限公司 Video broadcasting method and device
CN110765395A (en) * 2019-09-23 2020-02-07 上海掌门科技有限公司 Method and equipment for providing novel information
CN111282268A (en) * 2020-02-28 2020-06-16 苏州叠纸网络科技股份有限公司 Plot showing method, plot showing device, plot showing terminal and storage medium in virtual environment
US20200413163A1 (en) * 2019-06-28 2020-12-31 Rovi Guides, Inc. Systems and methods for displaying interactive content item for a predetermined duration

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681900A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Information processing method and mobile terminal
CN106776999A (en) * 2016-12-07 2017-05-31 北京小米移动软件有限公司 Multi-medium data recommends method and device
US20190147864A1 (en) * 2017-11-15 2019-05-16 Baidu Online Network Technology (Beijing) Co., Ltd. Voice interaction based method and apparatus for generating multimedia playlist
CN108156523A (en) * 2017-11-24 2018-06-12 互影科技(北京)有限公司 The interactive approach and device that interactive video plays
CN110446080A (en) * 2019-05-10 2019-11-12 咪咕文化科技有限公司 Video broadcasting method and device
US20200413163A1 (en) * 2019-06-28 2020-12-31 Rovi Guides, Inc. Systems and methods for displaying interactive content item for a predetermined duration
CN110765395A (en) * 2019-09-23 2020-02-07 上海掌门科技有限公司 Method and equipment for providing novel information
CN111282268A (en) * 2020-02-28 2020-06-16 苏州叠纸网络科技股份有限公司 Plot showing method, plot showing device, plot showing terminal and storage medium in virtual environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈学辉等: "基于内容推荐的资讯推荐系统的设计与实现", 电脑知识与技术, 25 March 2019 (2019-03-25) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114177621A (en) * 2021-12-15 2022-03-15 乐元素科技(北京)股份有限公司 Data processing method and device
CN114177621B (en) * 2021-12-15 2024-03-22 乐元素科技(北京)股份有限公司 Data processing method and device

Similar Documents

Publication Publication Date Title
CN107995535B (en) A kind of method, apparatus, equipment and computer storage medium showing video
CN107993191B (en) Image processing method and device
CN109688451B (en) Method and system for providing camera effect
CN110020411B (en) Image-text content generation method and equipment
US11941049B2 (en) Adaptive search results for multimedia search queries
CN102567543B (en) Clothing picture search method and clothing picture search device
CN110019600B (en) Map processing method, map processing device and storage medium
CN106598998B (en) Information acquisition method and information acquisition device
CN111311339A (en) Target object display method and device and electronic equipment
CN112183588A (en) Video processing method and device, electronic equipment and storage medium
CN106130886A (en) The methods of exhibiting of extension information and device
CN108536293A (en) Man-machine interactive system, method, computer readable storage medium and interactive device
CN111984169B (en) Electronic book page display method, computing equipment and computer storage medium
CN113810742A (en) Virtual gift processing method and device, electronic equipment and storage medium
CN112164102A (en) Image processing method and device
CN113590950A (en) Multimedia data playing method, device, equipment and computer readable storage medium
CN110214445A (en) Information processing system and information processing unit
CN107562954B (en) Recommendation search method and device based on mobile terminal and mobile terminal
CN110083291B (en) Page turning processing method of electronic book, electronic equipment and computer storage medium
CN109299378B (en) Search result display method and device, terminal and storage medium
CN117132690A (en) Image generation method and related device
CN114257827B (en) Game live broadcast room display method, device, equipment and storage medium
CN112312205B (en) Video processing method and device, electronic equipment and computer storage medium
EP3782043A1 (en) Using image understanding to assist user engagement
CN113747223B (en) Video comment method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination