CN-114073854-B - Game method and system based on multimedia file
Abstract
The embodiment of the application provides a game method based on multimedia files, which comprises the steps of playing the multimedia files, separating the multimedia files to obtain target audio signals, obtaining a plurality of rhythm points in the target audio signals, respectively configuring corresponding interaction components for each rhythm point, monitoring the playing progress of the multimedia files, and displaying target interaction components on a playing interface of the multimedia files when the playing progress reaches a time node corresponding to one of the rhythm points, wherein the target interaction components are interaction components corresponding to the rhythm point. In the embodiment of the application, the corresponding interaction assembly can be popped up at the playing time of the audio rhythm point in combination with the audio content so as to be used for interaction operation of users. In other words, the interaction mode of the audio game is effectively increased in the process of playing the multimedia file by the computer equipment, and the experience of a user when watching the multimedia file is improved.
Inventors
- SHI YINGXUAN
- WU YONG
- LI CHAORAN
- ZHONG YIHONG
Assignees
- 上海哔哩哔哩科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20200814
Claims (11)
- 1. A method of playing a game based on multimedia files, the method comprising: playing the multimedia file; Separating the multimedia file to obtain a target audio signal; acquiring a plurality of rhythm points in the target audio signal; respectively configuring corresponding interaction components for each rhythm point; monitoring the playing progress of the multimedia file When the playing progress reaches a time node corresponding to one of the rhythm points, displaying a target interaction component on a playing interface of the multimedia file, wherein the target interaction component is an interaction component corresponding to the rhythm point; wherein, dispose corresponding interactive subassembly for every rhythm point respectively, include: And determining the interaction type of the interaction assembly of the ith rhythm point according to the time interval between the ith rhythm point and the preset number of adjacent rhythm points, wherein i is a positive integer less than or equal to N, and N is the number of the plurality of rhythm points.
- 2. The method of claim 1, wherein separating the multimedia file to obtain a target audio signal comprises: extracting an initial audio signal of the multimedia file; determining a musical audio signal and a non-musical audio signal in the initial audio signal, and The initial audio signal is separated to obtain the target audio signal corresponding to the music audio signal.
- 3. The multimedia file-based game method according to claim 2, wherein acquiring a plurality of rhythm points in the target audio signal comprises: Detecting the target audio signal to obtain a plurality of music drum points from the target audio signal according to the detection result, and Each audio drum point is determined as a corresponding cadence point.
- 4. The multimedia file-based game method according to claim 2, wherein acquiring a plurality of rhythm points in the target audio signal comprises: Acquiring lyric text of the target audio signal, and Predicting a sounding point of each lyric in the lyric text to determine the sounding point of each lyric as a corresponding rhythm point.
- 5. The multimedia file-based game method according to claim 2, wherein acquiring a plurality of rhythm points in the target audio signal comprises: Identifying a musical style of the target audio signal, and And finding out the plurality of rhythm points from the target audio signal through a preset rule matched with the music style.
- 6. The method of any one of claims 1 to 5, wherein the configuring of a corresponding interaction component for each cadence point comprises: and determining the spatial position of the interaction component of the ith rhythm point according to the time node of the ith rhythm point and the interaction type of the corresponding interaction component, wherein i is a positive integer less than or equal to N, and N is the number of the plurality of rhythm points.
- 7. The multimedia file-based game method according to any one of claims 1 to 5, wherein the multimedia file is a video file; Displaying a target interaction component on a playing interface of the multimedia file, wherein the target interaction component comprises: and popping the target interaction component in a target area, wherein the target area is a background area of a video picture of the video file.
- 8. A multimedia file-based gaming system, comprising: the playing module is used for playing the multimedia file; the separation module is used for separating the multimedia file to obtain a target audio signal; an acquisition module for acquiring a plurality of rhythm points in the target audio signal; The configuration module is used for respectively configuring corresponding interaction components for each rhythm point; The monitoring module is used for monitoring the playing progress of the multimedia file and The interactive module is used for displaying a target interactive component on a playing interface of the multimedia file when the playing progress reaches a time node corresponding to one of the rhythm points, wherein the target interactive component is an interactive component corresponding to the rhythm point; The configuration module is further configured to determine an interaction type of the interaction component of the ith rhythm point according to a time interval between the ith rhythm point and a preset number of adjacent rhythm points, where i is a positive integer less than or equal to N, and N is the number of the plurality of rhythm points.
- 9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is adapted to implement the steps of the multimedia file based game method of any one of claims 1 to 7 when the computer program is executed.
- 10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program executable by at least one processor to cause the at least one processor to perform the steps of the multimedia file based game method of any one of claims 1 to 7.
- 11. A computer program product comprising computer instructions which, when executed by a processor, implement the steps of the multimedia file based gaming method of any of claims 1 to 7.
Description
Game method and system based on multimedia file Technical Field Embodiments of the present application relate to the field of computer technologies, and in particular, to a game method, a game system, a computer device, and a computer readable storage medium based on a multimedia file. Background The more interactive users have with computer devices such as tablet computers, cell phones, etc., for example, watching movie videos or game videos. With the popularization of concepts such as augmented reality and virtual reality, entertainment requirements of computer devices are increasing. However, when the current computer equipment plays video contents such as movies and voices, the provided output form is single, the interaction mode is less, the user experience is poor, and the current entertainment demands of people can not be met obviously. Disclosure of Invention An object of the embodiments of the present application is to provide a game method, a game system, a computer device and a computer readable storage medium based on a multimedia file, which are used for solving the problems that in the prior art, when the computer device plays the multimedia file, the provided output form is single, the interaction mode is less, and the user experience is poor. An aspect of the embodiment of the application provides a game method based on multimedia files, which comprises the steps of playing the multimedia files, separating the multimedia files to obtain target audio signals, obtaining a plurality of rhythm points in the target audio signals, respectively configuring corresponding interaction components for each rhythm point, monitoring playing progress of the plurality of the media files, and displaying target interaction components on a playing interface of the multimedia files when the playing progress reaches a time node corresponding to one of the rhythm points, wherein the target interaction components are interaction components corresponding to the rhythm point. Optionally, separating the multimedia file to obtain a target audio signal includes extracting an initial audio signal of the multimedia file, determining a musical audio signal and a non-musical audio signal in the initial audio signal, and separating the initial audio signal to obtain the target audio signal corresponding to the musical audio signal. Optionally, acquiring a plurality of rhythm points in the target audio signal comprises detecting the target audio signal to acquire a plurality of music drum points from the target audio signal according to a detection result, and determining each audio drum point as a corresponding rhythm point. Optionally, the step of obtaining a plurality of rhythm points in the target audio signal comprises the steps of obtaining a lyric text of the target audio file and predicting a sounding point of each lyric in the lyric text to determine the sounding point of each lyric as a corresponding rhythm point. Optionally, the step of obtaining a plurality of rhythm points in the target audio signal comprises the steps of identifying a music style of the target audio file and finding out the plurality of rhythm points from the target audio signal through a preset rule matched with the music style. Optionally, corresponding interaction components are respectively configured for each rhythm point, wherein the interaction type of the interaction component of the ith rhythm point is determined according to the time interval between the ith rhythm point and the preset number of adjacent rhythm points, i is a positive integer less than or equal to N, and N is the number of the plurality of rhythm points. Optionally, a corresponding interaction component is configured for each rhythm point, and the method comprises the steps of determining the spatial position of the interaction component of the ith rhythm point according to the time node of the ith rhythm point and the interaction type of the corresponding interaction component, wherein i is a positive integer less than or equal to N, and N is the number of the plurality of rhythm points. Optionally, the multimedia file is a video file, and displaying the target interaction component on the playing interface of the multimedia file comprises popping up the target interaction component in a target area, wherein the target area is a background area of a video picture of the video file. The embodiment of the application further provides a game system based on the multimedia file, which comprises a playing module, a separating module, an acquiring module, a configuring module and an interaction module, wherein the playing module is used for playing the multimedia file, the separating module is used for separating the multimedia file to obtain a target audio signal, the acquiring module is used for acquiring a plurality of rhythm points in the target audio signal, the configuring module is used for respectively configuring corresponding interaction components for each rhyth