Music rhythm feedback methods, devices, electronic equipment and systems

By detecting the music rhythm range on the mobile terminal and controlling the vibration of the vibration engine, the problem of a single multimedia data playback experience is solved, and a rich and immersive experience is achieved.

CN112086080BActive Publication Date: 2024-09-06BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010955525.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-11
Publication Date
2024-09-06
Estimated Expiration
2040-09-11

AI Technical Summary

Technical Problem

The multimedia data playback experience in the existing technology is relatively simple and traditional, and cannot meet users' needs for a richer and immersive experience.

Method used

By connecting the mobile terminal to the vibration engine, the corresponding vibration event is determined and executed when the music rhythm interval is detected, so that the vibration engine vibrates in the music rhythm interval to provide somatosensory feedback.

Benefits of technology

The playback form of multimedia data is enhanced, providing a richer and novel experience, and improving the user's immersive playback experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112086080B
    Figure CN112086080B
Patent Text Reader

Abstract

Embodiments of the present invention provide a music rhythm feedback method, device, electronic device and system, and relate to the field of computer technology. Among them, a music rhythm feedback method is applied to a mobile terminal, and the mobile terminal is connected to a vibration engine; the method comprises: during the playback of multimedia data, when the music rhythm interval of the multimedia data is detected, determining the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration of the vibration engine; controlling the vibration engine to execute the vibration event corresponding to the music rhythm interval. Through this solution, the problem that the playback experience brought to users when multimedia data is played in the related art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a music rhythm feedback method, device, electronic equipment and system. Background Art

[0002] Playing multimedia data through mobile terminals, such as playing videos provided by video clients through smart phones, has become an indispensable leisure and pastime in people's lives. Among them, the types of mobile terminals may include smart phones, tablet computers, etc.

[0003] In the related art, the playback process of multimedia data can only bring visual and / or auditory feelings to users, which makes the playback experience brought to users relatively simple and traditional, and can no longer meet the user's demand for playback experience. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a music rhythm feedback method, device, electronic device and system to solve the problem in the related art that the playing experience of multimedia data is relatively simple and traditional for users. The specific technical solution is as follows:

[0005] In a first aspect, an embodiment of the present invention provides a music rhythm feedback method, which is applied to a mobile terminal, wherein the mobile terminal is connected to a vibration engine; the method comprises:

[0006] During the playback of multimedia data, when a music rhythm interval of the multimedia data is detected, a vibration event corresponding to the music rhythm interval is determined; wherein the vibration event is used to control the vibration engine to vibrate;

[0007] The vibration engine is controlled to execute a vibration event corresponding to the music rhythm interval.

[0008] In a second aspect, an embodiment of the present invention provides a music rhythm feedback method, which is applied to a server, and the method includes:

[0009] Obtaining vibration description information corresponding to the music rhythm interval of multimedia data;

[0010] When a playback request for the multimedia data is received from a mobile terminal, the obtained vibration description information is sent to the mobile terminal, so that when the mobile terminal plays the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration of the vibration engine.

[0011] In a third aspect, an embodiment of the present invention provides a music rhythm feedback system, including: a mobile terminal and a server;

[0012] The mobile terminal is used to send a play request for multimedia data to the server; wherein the mobile terminal is connected to the vibration engine;

[0013] The server is used to obtain vibration description information corresponding to the music rhythm interval of the multimedia data; when receiving a play request for the multimedia data from the mobile terminal, the server sends the obtained vibration description information to the mobile terminal;

[0014] The mobile terminal is also used to determine a vibration event corresponding to the music rhythm interval constructed based on the vibration description information when playing the music rhythm interval of the multimedia data, and control the vibration engine to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate.

[0015] In a fourth aspect, an embodiment of the present invention provides a music rhythm feedback device, which is disposed in a mobile terminal, and the mobile terminal is connected to a vibration engine; the device comprises:

[0016] An event determination module, used for determining a vibration event corresponding to a music rhythm interval when detecting that the music rhythm interval of the multimedia data is played during the multimedia data playback process; wherein the vibration event is used to control the vibration engine to vibrate;

[0017] The event execution module is used to control the vibration engine to execute the vibration event corresponding to the music rhythm interval.

[0018] In a fifth aspect, an embodiment of the present invention provides a music rhythm feedback device, which is arranged on a server, and the device comprises:

[0019] An acquisition module, used to acquire vibration description information corresponding to a music rhythm interval of multimedia data;

[0020] A request response module is used to send the acquired vibration description information to the mobile terminal when receiving a playback request for the multimedia data from the mobile terminal, so that when the mobile terminal plays the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate.

[0021] In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0022] Memory, used to store computer programs;

[0023] The processor is used to implement the steps of the music rhythm feedback method described in the first aspect or the second aspect when executing the program stored in the memory.

[0024] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the music rhythm feedback method described in the first aspect or the second aspect are implemented.

[0025] In an eighth aspect, an embodiment of the present invention provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the steps of the music rhythm feedback method described in the first aspect or the second aspect.

[0026] The solution provided by the embodiment of the present invention, during the playback of multimedia data, if it is detected that the music rhythm interval of the multimedia data is played, then the vibration event corresponding to the music rhythm interval is determined, and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when the music rhythm interval is played, so that the playback form of the multimedia data is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem of the relatively single and traditional playback experience brought to users when multimedia data is played in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0028] Figure 1 A flowchart of a music rhythm feedback method provided by an embodiment of the present invention from the perspective of a mobile terminal;

[0029] Figure 2 Another flow chart of a music rhythm feedback method provided by an embodiment of the present invention from the perspective of a mobile terminal;

[0030] Figure 3 Another flow chart of a music rhythm feedback method provided from the perspective of a server according to an embodiment of the present invention;

[0031] Figure 4 A schematic diagram of the structure of a music rhythm feedback system provided by an embodiment of the present invention;

[0032] Figure 5 A schematic diagram of the structure of a music rhythm feedback device provided by an embodiment of the present invention from the perspective of a mobile terminal;

[0033] Figure 6 A structural schematic diagram of a music rhythm feedback device provided from the perspective of a server in an embodiment of the present invention;

[0034] Figure 7 The present invention is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0036] In order to solve the problem in the related art that multimedia data playback brings a relatively simple and traditional playback experience to users, the embodiments of the present invention provide a music rhythm feedback method, device, electronic device and system.

[0037] First, a music rhythm feedback method provided by an embodiment of the present invention from the perspective of a mobile terminal is introduced below.

[0038] It should be noted that a music rhythm feedback method provided by an embodiment of the present invention is applied to a mobile terminal, and the mobile terminal is connected to a vibration engine, wherein the electronic device may be a smart phone, a tablet computer, etc. Among them, the vibration engine is a motor device for realizing vibration. Exemplarily, the vibration engine may be a device possessed by the mobile terminal, that is, the mobile terminal has a vibration engine, in which case the vibration engine is a motor device that causes the mobile terminal to vibrate. Exemplarily, the mobile terminal may also be connected to a smart home device having a vibration engine, and the mobile terminal may also control the vibration of the vibration engine of the smart home device, that is, the vibration engine does not belong to a device possessed by the mobile terminal, and the mobile terminal may control the vibration of the smart home device through the vibration engine. For example, a mobile phone may be connected to a smart massage chair in communication, so that when a user watches a video program through a mobile phone, the vibration engine of the smart massage chair may vibrate in coordination with the playback of the video program.

[0039] Specifically, the execution subject of the music rhythm feedback method can be a music rhythm feedback device running in a mobile terminal. Exemplarily, the music rhythm feedback device can be a multimedia playback client running in the mobile terminal, such as a video client, an audio client, etc.; of course, the music rhythm feedback device can also be a plug-in program in the multimedia playback client, which is reasonable.

[0040] In addition, the multimedia data involved in the embodiments of the present invention may include but are not limited to: video or audio; and the multimedia data may be multimedia data downloaded locally by the mobile terminal, or online multimedia data. Wherein, when the multimedia data is a video, the video contains image data and audio data, and there is at least one piece of music content in the audio data; and when the multimedia data is audio, the audio contains audio data, and there is at least one piece of music content in the audio data. It should be noted that the types of music content described in the embodiments of the present invention may include: vocal type and instrumental type; wherein the music content of the vocal type may include songs, rap music, opera music, opera and other sounds expressed by human voice, and the music content of the instrumental type may include solos, duets and ensembles and other contents played by musical instruments.

[0041] Moreover, for multimedia data with at least one music content, at least one music rhythm interval can be predetermined, and each music rhythm interval contains music content of a certain duration. Among them, the music content of a certain duration can include one or more music beats, and the duration of the music rhythm interval can be set according to actual needs, which is not limited in the embodiment of the present invention. Exemplarily, for video A, assuming that the duration of video A is 30 minutes, and there is a piece of music during the period of 20:00 to 20:30, then the time period of 20:00 to 20:30 of video A can be used as a music rhythm interval of video A, or the three time periods of 20:00 to 20:10, 20:11 to 20:20, and 20:21 to 20:30 of video A can be used as three music rhythm intervals of video A.

[0042] In addition, in specific applications, a section of music content in the multimedia data can be divided into a music rhythm interval, and can also be divided into a plurality of music rhythm intervals, and the plurality of music rhythm intervals can be continuous or discontinuous. The determination of the music rhythm interval can be completed manually or by special audio recognition software, which is not limited in the embodiment of the present invention. Moreover, for a music rhythm interval, sub-intervals can be further divided, and the sub-intervals can be called rhythms, so that a music rhythm interval can include one or more rhythms.

[0043] A music rhythm feedback method provided by an embodiment of the present invention is applied to a mobile terminal, and the mobile terminal is connected to a vibration engine. The method may include the following steps:

[0044] During the playback of multimedia data, when a music rhythm interval of the multimedia data is detected, a vibration event corresponding to the music rhythm interval is determined; wherein the vibration event is used to control the vibration engine to vibrate;

[0045] The vibration engine is controlled to execute the vibration event corresponding to the music rhythm interval.

[0046] The solution provided by the embodiment of the present invention, during the playback of multimedia data, if it is detected that the music rhythm interval of the multimedia data is played, then the vibration event corresponding to the music rhythm interval is determined, and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when the music rhythm interval is played, so that the playback form of the multimedia data is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem of the relatively single and traditional playback experience brought to users when multimedia data is played in the related art.

[0047] Combine the following Figure 1 , a music rhythm feedback method provided by an embodiment of the present invention from the perspective of a mobile terminal is introduced in detail. The mobile terminal is connected to a vibration engine.

[0048] It should be noted that the multimedia data may include one or more audio rhythm intervals, and the processing process for each music rhythm interval may be the same. The following takes a music rhythm interval as an example to introduce the music rhythm feedback method provided by the embodiment of the present invention.

[0049] like Figure 1 As shown, a music rhythm feedback method provided by an embodiment of the present invention is applied to a mobile terminal and may include the following steps:

[0050] S101, during the playback of multimedia data, when it is detected that a music rhythm interval of the multimedia data is played, determining a vibration event corresponding to the music rhythm interval;

[0051] In order to solve the existing technical problems, when the mobile terminal detects that the music rhythm section of the multimedia data is being played, it indicates that the music part of the multimedia data is being played. At this time, the mobile terminal can determine the vibration event corresponding to the music rhythm section. The vibration event is used to control the vibration engine to vibrate.

[0052] Wherein, the method for detecting whether to play to the music rhythm interval of the multimedia data may include: based on the time parameter of the music rhythm interval and the current play time, detecting whether to play to the music rhythm interval of the multimedia data. Exemplarily, when the time parameter includes the starting time and the duration, the mobile terminal can determine whether the current play time is not less than the starting time of the music rhythm interval, and the difference between the starting time and the current play time is not greater than the duration. If so, it is determined that the music rhythm interval is played, otherwise, it is determined that the music rhythm interval is not played; or, when the time parameter includes the starting time and the ending time, the mobile terminal can determine whether the current play time is not less than the starting time of the music rhythm interval, and is not greater than the ending time of the music rhythm interval. If so, it is determined that the music rhythm interval is played, otherwise, it is determined that the music rhythm interval is not played. Wherein, the starting time and the ending time included in the time parameter of the music rhythm interval can be relative times relative to the starting time of the multimedia data.

[0053] Furthermore, before S101, the mobile terminal may pre-construct and cache vibration events corresponding to the music rhythm intervals of the multimedia data, so that music rhythm feedback can be quickly performed and the efficiency of music rhythm feedback can be improved; of course, the mobile terminal may also construct vibration events corresponding to the music rhythm interval when detecting the music rhythm interval of the multimedia data being played, so that cache occupancy and waste of computing resources can be reduced.

[0054] In addition, in order to ensure a better user experience, it can be determined whether to execute the music rhythm feedback process according to user needs. In one implementation, the mobile terminal can provide the user with a function switch on whether to turn on the music rhythm feedback function, so that the user can choose whether to turn on the music rhythm feedback function according to needs. Among them, the function switch can be set on the setting page, and can also be set on the playback interface of the multimedia data. For the function switch set on the setting page, the user can turn on the function in the setting page, so that when the multimedia data starts to play, the mobile terminal can trigger the execution of S101; and for the function switch set on the playback page, the user can turn on the function at any playback time or before the multimedia data is played, so that the mobile terminal can trigger the execution of S101 after detecting that the function is turned on.

[0055] In another implementation, the mobile terminal can implement the music rhythm feedback process by requesting user authorization. For example, the mobile terminal outputs prompt information for guiding the user to authorize. When the user chooses to authorize, the mobile terminal can execute the music rhythm feedback process, and when the user does not choose to authorize, the mobile terminal does not execute the music rhythm feedback process. The output timing of the prompt information may include but is not limited to: when the user requests to play multimedia data and during the multimedia data playback process.

[0056] S102, controlling the vibration engine to execute a vibration event corresponding to the music rhythm interval.

[0057] After determining the vibration event corresponding to the music rhythm interval, the mobile terminal can control the vibration engine to execute the vibration event corresponding to the music rhythm interval. The vibration event can be: an event for controlling the vibration engine to vibrate according to the fluctuation of the music rhythm in the music rhythm interval. Then, during the playback of the music rhythm interval, the vibration event is executed, and the vibration of the vibration event matches the fluctuation of the music rhythm played.

[0058] Optionally, in an implementation manner, a tactile feedback interface group may be provided in the mobile terminal, and then the mobile terminal controls the vibration engine to execute the vibration event corresponding to the music rhythm interval, which may include:

[0059] By calling the event start interface in the tactile feedback interface group, the vibration engine is controlled to execute the vibration event corresponding to the music rhythm interval.

[0060] Exemplarily, the tactile feedback interface group may be a Core Haptics interface group, but is not limited thereto. It is understandable that Haptics technology is a tactile feedback mechanism that combines hardware and software to simulate a person's real tactile experience, and Core Haptics is a new API (Application Programming Interface) group in iOS13 (a proprietary mobile operating system developed by Apple for its mobile devices). Core Haptics provides a more delicate and controllable vibration expression method, which can give APP (Application) a new experience.

[0061] If the tactile feedback interface group may be a Core Haptics interface group, then, illustratively, the code content of the event start interface may be as follows:

[0062] (BOOL)startAndReturnError:(NSError**)outError.

[0063] Furthermore, after executing a vibration event corresponding to any music rhythm interval, the mobile terminal can clear the vibration data of the vibration event corresponding to the music rhythm interval, thereby releasing storage space to reduce the memory usage of music rhythm feedback. The vibration data may include but is not limited to data related to the vibration event.

[0064] The solution provided by the embodiment of the present invention, during the playback of multimedia data, if it is detected that the music rhythm interval of the multimedia data is played, then the vibration event corresponding to the music rhythm interval is determined, and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when the music rhythm interval is played, so that the playback form of the multimedia data is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem of the relatively single and traditional playback experience brought to users when multimedia data is played in the related art.

[0065] Optionally, in another embodiment of the present invention, the vibration event corresponding to the music rhythm interval described in S101 is an event constructed using vibration description information corresponding to the music rhythm interval;

[0066] The vibration description information includes: vibration parameters and / or time parameters; the vibration parameters may include: vibration level parameters and / or vibration mode parameters; the vibration mode parameters include at least one of type, intensity, sharpness and vibration change curve.

[0067] In this embodiment, in order to realize music rhythm feedback, for multimedia data with music content, after determining the music rhythm interval of the multimedia data, the vibration description information corresponding to the music rhythm interval can be determined, and the vibration description information corresponding to the music rhythm interval is used to describe the vibration required by the vibration engine when playing in the music rhythm interval. Among them, the vibration description information corresponding to the music rhythm interval can be determined according to the music rhythm of the multimedia data, so that the vibration matches the rhythm fluctuation of the music rhythm interval. Among them, the vibration description information of any music rhythm interval can be determined by manual analysis, or it can be determined based on special audio recognition software. In addition, for a music rhythm interval, it can continue to be divided into sub-intervals, which can be called rhythms. In this way, a music rhythm interval can include multiple rhythms, and the vibration description information corresponding to the music rhythm interval may include: time parameters about the music rhythm interval, time parameters about each rhythm, and vibration mode parameters corresponding to each rhythm.

[0068] It is understandable that, for any multimedia data, the vibration description information corresponding to each music rhythm interval of the multimedia data can be saved as the rhythm description information of the multimedia data. Exemplarily, the rhythm description information of the multimedia data can be recorded in a file of a specified type, and the specified type can be: json, xml, etc., which can be recognized by a machine, but is certainly not limited to this.

[0069] In the present embodiment, for any music rhythm interval, since the vibration description information corresponding to the music rhythm interval is used to describe the vibration that the vibration engine needs to perform when playing the music rhythm interval, the vibration matches the rhythm fluctuation of the music rhythm interval. In this way, the vibration description information corresponding to the music rhythm interval can be used to construct a vibration event, so that the vibration event can control the vibration performed by the vibration engine to match the rhythm fluctuation of the music rhythm interval.

[0070] For ease of understanding, the following introduces the various parameters of the vibration parameters included in the vibration description information:

[0071] The type in the vibration mode parameter may include a short vibration type or a long vibration type; the intensity in the vibration mode parameter may change the amplitude and strength of the tactile sensation; the sharpness in the vibration mode parameter may also be called sharpness or vibration clarity, which may determine the characteristics of the tactile experience.

[0072] The vibration change curve in the vibration mode parameter is used to characterize the corresponding relationship between at least one time point and the vibration parameters at each time point, and at least one time point is a time point within the duration of the music rhythm interval. For example, assuming that the duration of a certain music rhythm interval is 3s, the vibration change curve can record: the vibration parameters at 0-1s are: intensity 1 and sharpness 1, the vibration parameters at 1-2s are: vibration intensity 1 and vibration sharpness 2, and the vibration parameters at 2-3s are: vibration intensity 3 and vibration sharpness 2. It can be understood that the vibration mode parameters may only include: type, intensity and sharpness, so that, for the vibration event corresponding to the music rhythm interval, the vibration type is the type in the vibration mode parameters, and the intensity and sharpness are fixed values, specifically the intensity and sharpness in the vibration mode parameters; of course, the vibration mode parameters may only include: type and vibration change curve, so that, for the vibration event corresponding to the music rhythm interval, the vibration type is the type in the vibration mode parameters, and the intensity and sharpness change according to the change curve; in addition, the vibration mode parameters may simultaneously include: type, intensity, sharpness and vibration change curve, so that, for the vibration event corresponding to the music rhythm interval, the vibration type is the type in the vibration mode parameters, the initial values ​​of the intensity and sharpness are the intensity and sharpness in the vibration mode parameters, and the intensity and sharpness change according to the change curve in the vibration mode parameters.

[0073] The parameter value of the vibration level parameter may be at least two, that is, at least two vibration levels, and the vibration mode parameter may be different at different vibration levels. It is understandable that when a corresponding relationship between the vibration level parameter and the vibration mode parameter is set, the vibration parameter may only include the vibration level parameter, so that the vibration mode parameter can be determined by the vibration level parameter.

[0074] In addition, since the vibration event is constructed using the vibration description information corresponding to the music rhythm interval, the mobile terminal can obtain the vibration description information corresponding to the music rhythm interval of the multimedia data before detecting whether to play the music rhythm interval of the multimedia data, so as to construct the vibration event based on the vibration description information corresponding to the music rhythm interval. Among them, the vibration description information corresponding to the music rhythm interval of the multimedia data can be generated by the server itself and sent to the mobile terminal, or it can be preset in the server and sent to the mobile terminal through the server, or it can be generated by the mobile terminal itself, which is reasonable.

[0075] Exemplarily, in one implementation, the mobile terminal sends a play request for the multimedia data to the server, and while feeding back the multimedia data, the server also feeds back to the mobile terminal the vibration description information corresponding to the music rhythm interval of the multimedia data that is pre-stored, and the vibration description information is determined according to the music rhythm of the multimedia data; thereby, the mobile terminal can obtain the vibration description information corresponding to the music rhythm interval of the multimedia data. In this implementation, the vibration description information corresponding to the music rhythm interval of the multimedia data is information pre-stored in the server. With respect to the case where the vibration description information is stored in the server, in one implementation, the server can generate the vibration description information corresponding to the music rhythm interval of the multimedia data according to the music rhythm of the multimedia data, and store the generated vibration description information; in another implementation, the server receives the vibration description information corresponding to the music rhythm interval of the multimedia data preset by relevant personnel, and stores the received vibration description information.

[0076] Exemplarily, in another implementation, if the multimedia data is local data of the mobile terminal, after acquiring the multimedia data, the mobile terminal can determine the vibration description information corresponding to the music rhythm interval of the multimedia data according to the music rhythm of the multimedia data. In this implementation, the vibration description information corresponding to the music rhythm interval of the multimedia data is generated and stored by the mobile terminal itself.

[0077] In this embodiment, during the playback of multimedia data, if a music rhythm interval of the multimedia data is detected, a vibration event corresponding to the music rhythm interval is determined, wherein the vibration event is constructed using the vibration description information corresponding to the music rhythm interval; and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when playing the music rhythm interval, so that the playback form of the multimedia data is richer and more novel, and can provide users with an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related art is relatively single and traditional.

[0078] Optionally, in another embodiment of the present invention, before executing S101, the music rhythm feedback method provided from the perspective of the mobile terminal may further include:

[0079] Acquire the music rhythm of the multimedia data;

[0080] Based on the music rhythm, vibration description information corresponding to the music rhythm interval of the multimedia data is determined.

[0081] Among them, any method that can obtain the music rhythm of multimedia data can be applied to this embodiment; after determining the music rhythm, any method that can determine the vibration description information corresponding to the audio rhythm interval based on the music rhythm can be applied to this embodiment.

[0082] Exemplarily, in one implementation, the method of obtaining the music rhythm of the multimedia data may include: obtaining the audio data of the multimedia data, calculating the cross-correlation function between the audio signal of the audio data and the audio signal of the preset music rhythm model, obtaining the number of preset music rhythm models contained in the audio data according to the number of times each peak position of the cross-correlation function curve appears in the audio signal, thereby obtaining the number of music rhythms, and determining the music rhythm interval of each music rhythm through the time interval in which each peak position is located. After determining the music rhythm interval, the type, intensity and sharpness in the vibration description information corresponding to the music rhythm interval, as well as the vibration change curve, can be determined based on the corresponding information such as the height of the peak position. Among them, the music rhythm model can be a basic beat model selected from a piece of music, for example: the beat model of Dum-Du-Dum-Dum.

[0083] Optionally, in another embodiment of the present invention, the mobile terminal is provided with a tactile feedback interface group for controlling the vibration engine, such as Figure 2 As shown, the above S101 may include:

[0084] S101A, during the playback of multimedia data, when it is detected that a music rhythm interval of the multimedia data is played, obtaining vibration description information corresponding to the music rhythm interval;

[0085] S101B, constructing a vibration event corresponding to the music rhythm interval by calling the event establishment interface in the tactile feedback interface group and using the vibration parameters in the obtained vibration description information.

[0086] The vibration event corresponding to the music rhythm interval is used to control the vibration engine to vibrate according to the rhythm fluctuation of the music rhythm interval.

[0087] Among them, by calling the event establishment interface in the tactile feedback interface group, using the vibration parameters in the obtained vibration description information to construct the vibration event corresponding to the music rhythm interval, it can include:

[0088] By calling the event establishment interface in the tactile feedback interface group, an initial vibration event of the type in the vibration mode parameter is constructed, and other parameters are set for the initial vibration event to obtain a vibration event that matches the vibration description information corresponding to the music rhythm interval;

[0089] Among them, other parameters are parameters other than type in the vibration mode parameters.

[0090] If the tactile feedback interface group can be a Core Haptics interface group, then, illustratively, the code content of the event establishment interface can be as follows:

[0091] (nullable id <chhapticadvancedpatternplayer>)create Advanced PlayerWith Pattern:

[0092] (CHHapticPattern*)pattern

[0093] error:(NSError**)outError.

[0094] In this embodiment, during the playback of multimedia data, if it is detected that the music rhythm interval of the multimedia data is played, the vibration description information corresponding to the music rhythm interval is obtained, and the vibration event corresponding to the music rhythm interval is constructed by calling the event establishment interface in the tactile feedback interface group and using the vibration parameters in the obtained vibration description information; and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when playing the music rhythm interval, so that the playback form of the multimedia data is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related technology is relatively single and traditional; and it can reduce the cache occupancy and avoid the waste of computing resources.

[0095] Optionally, in order to put the vibration engine in a ready state before executing the vibration event, thereby ensuring that the vibration event is executed quickly and effectively, in another embodiment of the present invention, before controlling the vibration engine to execute the vibration event corresponding to the music rhythm interval, the music rhythm feedback method may further include:

[0096] Initialize the vibration engine.

[0097] There are many implementations for initializing the vibration engine. Exemplarily, in one implementation, initializing the vibration engine may include:

[0098] The vibration engine is initialized by calling an initialization interface for the vibration engine; wherein the initialization interface for the vibration engine is an interface in a tactile feedback interface group set by the mobile terminal. Exemplarily, if the tactile feedback interface group can be a Core Haptics interface group, then, exemplary, the code content of the initialization interface can be as follows:

[0099] (nullable instancetype)initAndReturnError:(NSError**)error.

[0100] The solution provided in this embodiment can solve the problem in the related art that the playback experience brought to users when multimedia data is played is relatively simple and traditional; and before executing the vibration event, the vibration engine can be put into a ready state, thereby ensuring the rapid and effective execution of the vibration event.

[0101] Optionally, the number of music rhythm intervals of the multimedia data is multiple. In another embodiment of the present invention, on the basis of S101-S102, the music rhythm feedback method provided from the perspective of the mobile terminal may further include the following steps:

[0102] If the current playing time does not reach any music rhythm interval of the multimedia data, searching for a music rhythm interval whose starting time is after the current playing time and closest to the current playing time to obtain a candidate music rhythm interval;

[0103] Obtaining vibration description information corresponding to the candidate music rhythm interval;

[0104] Based on the vibration description information corresponding to the candidate music rhythm interval, a vibration event corresponding to the candidate music rhythm interval is constructed.

[0105] In this embodiment, the mobile terminal pre-establishes a vibration event corresponding to a candidate music rhythm interval, so that when the candidate music rhythm interval is subsequently played, the vibration event corresponding to the candidate music rhythm interval can be directly obtained and executed, thereby achieving the purpose of quickly providing music rhythm feedback. It should be emphasized that any music rhythm interval can be used as a candidate music rhythm interval.

[0106] It is understandable that, in this embodiment, the mobile terminal may also initialize the vibration engine before controlling the vibration engine to execute the vibration event corresponding to the music rhythm interval.

[0107] The solution provided in this embodiment can solve the problem in the related art that the playback experience brought to users when multimedia data is played is relatively simple and traditional; and, vibration events corresponding to candidate music rhythm intervals are pre-established, so that when a candidate music rhythm interval is reached, the vibration event corresponding to the candidate music rhythm interval is directly obtained and executed, thereby quickly performing music rhythm feedback.

[0108] In addition, in another embodiment of the present invention, the music rhythm feedback method provided from the perspective of the mobile terminal may also include:

[0109] During the multimedia data playback process, an interactive interface or pop-up window is output to the user for adjusting the vibration parameters corresponding to the music rhythm interval;

[0110] The vibration parameters set by the user based on the interactive interface / pop-up window are obtained, and the corresponding vibration parameters corresponding to the music rhythm interval of the multimedia data are updated using the obtained vibration parameters.

[0111] After the vibration parameters are updated, the mobile terminal can construct a vibration event according to the updated vibration parameters, thereby meeting the personalized vibration requirements of the user.

[0112] Exemplarily, the interactive interface / pop-up window displays setting buttons corresponding to the vibration parameters, so that the user can complete the settings of various vibration parameters based on the setting buttons. Among them, the vibration parameters displayed in the interactive interface / pop-up window may include some or all parameters in the vibration mode parameters and vibration level parameters, that is, the user can set all or part of the vibration parameters according to their own needs or preferences. Exemplarily, for the intensity in the vibration mode parameters, the user can increase or decrease the intensity; for the type in the vibration mode parameters, the user can set it to short vibration or long vibration.

[0113] Moreover, without affecting the user's playback experience, the mobile terminal can output the interactive interface or pop-up window by itself during the multimedia data playback process for the user to set parameters. For example: in a non-full screen state, the interactive interface or pop-up window automatically pops up on the right or bottom of the playback interface. Of course, the mobile terminal can output the interactive interface or pop-up window after detecting a specified operation issued by the user. For example: the mobile terminal detects a specified gesture operation of the user, or detects that the user clicks a button for outputting the interactive interface / pop-up window, etc.

[0114] In addition, the user can also set vibration parameters in the setting interface. For example, the mobile terminal can provide a setting icon for vibration parameters in the setting interface. After detecting that the user clicks the setting icon, the mobile terminal can output an interactive interface / pop-up window about the vibration parameters, so that the user can realize personalized settings of the vibration parameters based on the interactive interface / pop-up window.

[0115] In the solution provided in this embodiment, by outputting an interactive interface or pop-up window for adjusting the vibration parameters corresponding to the music rhythm interval to the user, the user can complete the personalized setting of the vibration parameters, that is, select the desired vibration mode according to their own needs. It can be seen that this solution can further provide users with a personalized vibration experience.

[0116] Corresponding to the above method provided from the perspective of the mobile terminal, from the perspective of the server, an embodiment of the present invention further provides a music rhythm feedback method.

[0117] like Figure 3 The embodiment of the present invention further provides a music rhythm feedback method, which is applied to a server and may include the following steps:

[0118] S301, obtaining vibration description information corresponding to a music rhythm interval of multimedia data;

[0119] S302, when receiving a playback request for the multimedia data from a mobile terminal, sending the obtained vibration description information to the mobile terminal, so that when the mobile terminal plays the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate.

[0120] When the server receives a playback request for the multimedia data from the mobile terminal, it not only feeds back the multimedia data to the mobile terminal, but also sends the acquired vibration description information to the mobile terminal, so that during the playback of the multimedia data, the mobile terminal can execute a vibration event constructed based on the vibration description information, thereby providing the user with an immersive playback experience in the form of somatosensory feedback.

[0121] The vibration description information includes: vibration parameters and / or time parameters; the vibration parameters include: vibration level parameters and / or vibration mode parameters; the vibration mode parameters include at least one of type, intensity, sharpness and vibration change curve.

[0122] Optionally, the vibration description information is determined according to the music rhythm of the multimedia data.

[0123] Optionally, obtaining vibration description information corresponding to a music rhythm interval of multimedia data may include:

[0124] Acquire the music rhythm of the multimedia data;

[0125] Based on the music rhythm, vibration description information corresponding to the music rhythm interval of the multimedia data is determined.

[0126] Among them, the specific content of the vibration description information corresponding to the music rhythm interval of the multimedia data, and the acquisition method can refer to the relevant description content in the above-mentioned embodiment provided from the perspective of the mobile terminal, which will not be repeated here. Similarly, the mobile terminal determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval. For detailed description, please refer to the relevant description content in the above-mentioned embodiment provided from the perspective of the mobile terminal, which will not be repeated here.

[0127] The solution provided by the embodiment of the present invention is that the server obtains the vibration description information corresponding to the music rhythm interval of the multimedia data; then, when receiving a play request for the multimedia data from the mobile terminal, the obtained vibration description information is sent to the mobile terminal, so that when the mobile terminal plays to the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate. In this solution, the server feeds back the vibration description information corresponding to the music rhythm interval of the multimedia data to the mobile terminal, so that the mobile terminal can control the vibration engine connected to the mobile terminal while playing the multimedia data, and vibrate according to the corresponding vibration event when playing the music rhythm interval, so that the multimedia data playback form is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related technology is relatively single and traditional.

[0128] A music rhythm feedback method provided by an embodiment of the present invention is introduced below with reference to a specific example.

[0129] Assume that there are multiple music contents in video A. For each music content, let the start time of the music content in video A be startT, and the end time be endT. The period from startT to endT can be called a music rhythm interval. Based on the division method of the music rhythm interval, the video A can include multiple music rhythm intervals.

[0130] In order to implement music rhythm feedback for video A, the server performs the following preprocessing operations on video A in advance:

[0131] Step 1, constructing a rhythm description file of video A manually or using designated audio recognition software;

[0132] Step 2: Store the rhythm description file of video A in the server.

[0133] The rhythm description file may be of json, xml, etc. Specifically, the rhythm description file may record the vibration description information corresponding to each music rhythm interval, and the vibration description information corresponding to each music rhythm interval may include:

[0134] a. Time parameters: the starting time of the music rhythm interval and the duration of the music rhythm interval;

[0135] b. Vibration parameters: vibration mode parameters; wherein the vibration mode parameters include type, intensity, sharpness and vibration change curve;

[0136] After completing the preprocessing operation of video A, the music rhythm feedback method can be implemented based on the rhythm description file of video A. The specific process can be as follows:

[0137] Step 1: When the music rhythm feedback device in the mobile terminal detects a play instruction of the mobile terminal for video A, it queries the server whether there is a rhythm description file of the video A. If so, it downloads the rhythm description file of the video A from the server and stores it in the disk of the mobile terminal;

[0138] Step 2. When video A starts playing, use the current playing time curT of video A to search the music rhythm interval whose starting time is after curT and closest to curT in the rhythm description file of video A; for the convenience of reference, the music rhythm interval whose starting time is after curT and closest to curT can be used as a candidate music rhythm interval, and the starting time of the music rhythm interval to be processed is set to StartM.

[0139] Step 3, set a timer, check the current play time every T0 seconds, and compare the current play time with StartM. If the current play time is not less than StartM, execute step 4;

[0140] Step 4: read the vibration description information corresponding to the candidate music rhythm interval in the rhythm description file of video A, and use the initialization interface of the vibration engine in the Core Haptics interface group to initialize the vibration engine of the mobile terminal;

[0141] Step 5: For the candidate music rhythm interval, the event establishment interface in the Core Haptics interface group is called to construct an initial vibration event of the type in the corresponding vibration mode parameter, and other parameters are configured for the initial vibration event to obtain the vibration event corresponding to the candidate music rhythm interval. Among them, the other parameters are the parameters in the vibration mode parameter except the type.

[0142] Step 6: By calling the event start interface in the Core Haptics interface group, the vibration engine is controlled to execute the vibration events corresponding to the candidate music rhythm intervals, so that the vibration engine in the mobile terminal vibrates according to the vibration events corresponding to each rhythm.

[0143] Step seven, when the vibration event corresponding to the candidate music rhythm interval is executed, clear the event data of the vibration event corresponding to the candidate music rhythm interval, and return to step two to continue using the current playback time curT of video A, and search the rhythm description file of video A for the music rhythm interval whose start time is after curT and closest to curT, and start the processing process of the next music rhythm interval.

[0144] The solution provided by the embodiment of the present invention provides a richer and more novel form of multimedia data playback, and through the vibration of the mobile terminal, it can provide users with an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related art is relatively single and traditional.

[0145] A music rhythm feedback method provided by an embodiment of the present invention is introduced below in conjunction with another specific example.

[0146] Assume that there are multiple music contents in video A. For each music content, let the start time of the music content in video A be startT, and the end time be endT. The period from startT to endT can be called a music rhythm interval. Based on the division method of the music rhythm interval, the video A can include multiple music rhythm intervals, each of which is divided into one or more sub-intervals, and the sub-intervals can be used as the rhythm in the music rhythm interval. In this way, each music rhythm interval can include one or more rhythms.

[0147] In order to implement music rhythm feedback for video A, the following preprocessing operations are performed on video A in advance:

[0148] Step 1, constructing a rhythm description file of video A manually or using designated audio recognition software;

[0149] Step 2: Store the rhythm description file of video A in the background server.

[0150] The rhythm description file may be of json, xml, etc. Specifically, the rhythm description file may record the vibration description information corresponding to each music rhythm interval, and the vibration description information corresponding to each music rhythm interval may include:

[0151] a. Time parameters: the starting time and duration of the music rhythm interval, as well as the starting time and duration of each rhythm;

[0152] b. Vibration parameters: vibration mode parameters corresponding to each rhythm in the music rhythm interval; wherein the vibration mode parameters include: type, intensity, sharpness and vibration change curve.

[0153] After completing the preprocessing operation of video A, the music rhythm feedback method can be implemented based on the rhythm description file of video A. The specific process can be as follows:

[0154] Step 1: When the music rhythm feedback device in the mobile terminal detects the play instruction of the mobile terminal for video A, it queries the background server whether there is a rhythm description file of the video A. If so, it downloads the rhythm description file of the video A from the background server and stores it in the disk of the mobile terminal;

[0155] Step 2. When video A starts playing, use the current playing time curT of video A to search the music rhythm interval whose starting time is after curT and closest to curT in the rhythm description file of video A; for the convenience of reference, the music rhythm interval whose starting time is after curT and closest to curT can be used as a candidate music rhythm interval, and the starting time of the candidate music rhythm interval is set to StartM.

[0156] Step 3, set a timer, check the current play time every T0 seconds, and compare the current play time with StartM. If the current play time is not less than StartM, execute step 4;

[0157] Step 4: read the vibration mode parameters of each rhythm in the candidate music rhythm interval in the rhythm description file of video A, and use the initialization interface of the vibration engine in the Core Haptics interface group to initialize the vibration engine of the mobile terminal;

[0158] Step 5: For each rhythm in the candidate music rhythm interval, an initial vibration event of the type included in the vibration mode parameter of the rhythm is constructed by calling the event establishment interface in the Core Haptics interface group, and other parameters are configured for the initial vibration event to obtain a vibration event corresponding to the rhythm; wherein the other parameters are other parameters in the vibration mode parameter of the rhythm except the type;

[0159] Step 6: According to the start time of each rhythm in the candidate music rhythm interval, the vibration engine is controlled to execute the vibration event corresponding to each rhythm by calling the event start interface in the Core Haptics interface group, so that the vibration engine in the mobile terminal vibrates according to the vibration event corresponding to each rhythm;

[0160] Step seven, when the vibration events corresponding to each rhythm in the candidate music rhythm interval are executed, clear the event data of the vibration events corresponding to each rhythm in the candidate rhythm interval, and return to step two to continue using the current playback time curT of video A, and search the rhythm description file of video A for a music rhythm interval whose start time is after curT and closest to curT, and start the processing process of the next music rhythm interval.

[0161] The solution provided by the embodiment of the present invention provides a richer and more novel form of multimedia data playback, and through the vibration of the mobile terminal, it can provide users with an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related art is relatively single and traditional.

[0162] Based on the above method embodiment, Figure 4 As shown, the embodiment of the present invention further provides a music rhythm feedback system, including: a mobile terminal 410 and a server 420;

[0163] The mobile terminal 410 is used to send a play request for multimedia data to the server 420; wherein the mobile terminal is connected to the vibration engine;

[0164] The server 420 is used to obtain vibration description information corresponding to the music rhythm interval of the multimedia data; when receiving a play request for the multimedia data from the mobile terminal, the server 420 sends the obtained vibration description information to the mobile terminal;

[0165] The mobile terminal 410 is also used to determine a vibration event corresponding to the music rhythm interval constructed based on the vibration description information when playing the music rhythm interval of the multimedia data, and control the vibration engine to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate.

[0166] Among them, when the server receives a playback request for the multimedia data from the mobile terminal, it not only feeds back the multimedia data to the mobile terminal, but also sends the acquired vibration description information to the mobile terminal, so that during the playback of the multimedia data, the mobile terminal can execute a vibration event constructed based on the vibration description information, thereby providing the user with an immersive playback experience in the form of somatosensory feedback.

[0167] Among them, the specific content of the vibration description information corresponding to the music rhythm interval of the multimedia data, and the acquisition method can refer to the relevant description content in the above-mentioned embodiment provided from the perspective of the mobile terminal, which will not be repeated here. Similarly, the mobile terminal determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval. For detailed description, please refer to the relevant description content in the above-mentioned embodiment provided from the perspective of the mobile terminal, which will not be repeated here.

[0168] The solution provided by the embodiment of the present invention provides a richer and more novel form of multimedia data playback, and can provide users with an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related art is relatively single and traditional.

[0169] Corresponding to the above method embodiment provided from the perspective of the mobile terminal, the embodiment of the present invention provides a music rhythm feedback device. Figure 5 As shown, a music rhythm feedback device provided by an embodiment of the present invention is arranged in a mobile terminal, and the mobile terminal is connected to a vibration engine; the device may include:

[0170] The event determination module 510 is used to determine the vibration event corresponding to the music rhythm interval when the music rhythm interval of the multimedia data is detected during the playback of the multimedia data; wherein the vibration event is used to control the vibration of the vibration engine;

[0171] The event execution module 520 is used to control the vibration engine to execute the vibration event corresponding to the music rhythm interval.

[0172] The solution provided by the embodiment of the present invention, during the playback of multimedia data, if it is detected that the music rhythm interval of the multimedia data is played, then the vibration event corresponding to the music rhythm interval is determined, and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the music rhythm interval. In this solution, while playing multimedia data, the mobile terminal can control the vibration engine connected to the mobile terminal to vibrate according to the corresponding vibration event when the music rhythm interval is played, so that the playback form of the multimedia data is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem of the relatively single and traditional playback experience brought to users when multimedia data is played in the related art.

[0173] Optionally, the vibration event is an event constructed using vibration description information corresponding to the music rhythm interval;

[0174] Wherein, the vibration description information includes: vibration parameters and / or time parameters; the vibration parameters include: vibration level parameters and / or vibration mode parameters; wherein the vibration mode parameters include at least one of type, intensity, sharpness and vibration change curve.

[0175] Optionally, the vibration description information is determined according to the music rhythm of the multimedia data.

[0176] Optionally, the device further comprises:

[0177] The vibration description information determination module is used to obtain the music rhythm of the multimedia data; based on the music rhythm, determine the vibration description information corresponding to the music rhythm interval of the multimedia data.

[0178] Optionally, the mobile terminal is provided with a tactile feedback interface group for controlling the vibration engine;

[0179] The event determination module determines the vibration event corresponding to the music rhythm interval, which may include:

[0180] Obtaining vibration description information corresponding to the music rhythm interval;

[0181] The vibration event corresponding to the music rhythm interval is constructed by calling the event establishment interface in the tactile feedback interface group and utilizing the vibration parameters in the obtained vibration description information.

[0182] Optionally, the device further comprises:

[0183] The initialization module is used to initialize the vibration engine before the event execution module controls the vibration engine to execute the vibration event corresponding to the music rhythm interval.

[0184] Optionally, the number of the music rhythm intervals is multiple; and the device further includes:

[0185] The event vibration module is used to search for a music rhythm interval whose start time is after the current playback time and closest to the current playback time to obtain a candidate music rhythm interval if the current playback time does not reach any music rhythm interval of the multimedia data; obtain vibration description information corresponding to the candidate music rhythm interval; and construct a vibration event corresponding to the candidate music rhythm interval based on the vibration description information corresponding to the candidate music rhythm interval.

[0186] Corresponding to the above method embodiment provided from the perspective of the server, the embodiment of the present invention further provides a music rhythm feedback device, which is arranged on the server. Figure 6 As shown, the music rhythm feedback device may include:

[0187] An acquisition module 610 is used to acquire vibration description information corresponding to a music rhythm interval of multimedia data;

[0188] The request response module 620 is used to send the acquired vibration description information to the mobile terminal when receiving a playback request for the multimedia data from the mobile terminal, so that when the mobile terminal plays the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration of the vibration engine.

[0189] The solution provided by the embodiment of the present invention is that the server obtains the vibration description information corresponding to the music rhythm interval of the multimedia data; then, when receiving a play request for the multimedia data from the mobile terminal, the obtained vibration description information is sent to the mobile terminal, so that when the mobile terminal plays to the music rhythm interval, it determines the vibration event corresponding to the music rhythm interval constructed based on the vibration description information, and controls the vibration engine connected to the mobile terminal to execute the vibration event corresponding to the music rhythm interval; wherein the vibration event is used to control the vibration engine to vibrate. In this solution, the server feeds back the vibration description information corresponding to the music rhythm interval of the multimedia data to the mobile terminal, so that the mobile terminal can control the vibration engine connected to the mobile terminal while playing the multimedia data, and vibrate according to the corresponding vibration event when playing the music rhythm interval, so that the multimedia data playback form is richer and novel, and can bring users an immersive playback experience in the form of somatosensory feedback, greatly improving the playback effect. It can be seen that this solution can solve the problem that the playback experience brought to users by multimedia data playback in the related technology is relatively single and traditional.

[0190] Corresponding to the above method embodiment, the embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0191] Memory 703, used for storing computer programs;

[0192] The processor 701 is used to execute the program stored in the memory 703 to implement the steps of the music rhythm feedback method provided by the embodiment of the present invention from the perspective of the mobile terminal, or to implement the steps of the music rhythm feedback method provided by the embodiment of the present invention from the perspective of the server.

[0193] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0194] The communication interface is used for communication between the above electronic device and other devices.

[0195] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0196] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0197] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the music rhythm feedback method described in any of the above embodiments is implemented.

[0198] In another embodiment provided by the present invention, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the music rhythm feedback method described in any one of the above embodiments.

[0199] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0200] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0201] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for embodiments such as devices, equipment, and media, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0202] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.< / chhapticadvancedpatternplayer>

Claims

1. A music rhythm feedback method, characterized in that: Applied to a mobile terminal, the mobile terminal is connected to a vibration engine; the vibration engine is a device possessed by the mobile terminal and / or a device possessed by other devices not belonging to the mobile terminal; the method comprises: During the playback of multimedia data, if the current playback time does not reach any of the multiple music rhythm intervals of the multimedia data, then search for a music rhythm interval whose start time is after the current playback time and is closest to obtain a candidate music rhythm interval; obtain vibration description information corresponding to the candidate music rhythm interval; based on the vibration description information corresponding to the candidate music rhythm interval, construct a vibration event corresponding to the candidate music rhythm interval; and, when the music rhythm interval played to the multimedia data is detected, determine the vibration event corresponding to the played music rhythm interval from the constructed vibration event; wherein the constructed vibration event is used to control the vibration of the vibration engine; the vibration description information corresponding to the candidate music rhythm interval is: during the playback of the multimedia data, the vibration description information obtained from the server is updated by parameter setting in response to a user operation; the parameter setting is the setting of some or all parameters in the vibration mode parameter and the vibration level parameter; The vibration engine is controlled to execute a vibration event corresponding to the rhythm interval of the music being played.

2. The method according to claim 1, characterized in that The constructed vibration event is an event constructed using the vibration description information corresponding to the music rhythm interval; Wherein, the vibration description information includes: vibration parameters and / or time parameters; the vibration parameters include: vibration level parameters and / or vibration mode parameters; wherein the vibration mode parameters include at least one of type, intensity, sharpness and vibration change curve.

3. The method according to claim 2, characterized in that The vibration description information is determined according to the music rhythm of the multimedia data.

4. The method according to claim 3, characterized in that The method further comprises: Acquire the music rhythm of the multimedia data; Based on the music rhythm, vibration description information corresponding to the music rhythm interval of the multimedia data is determined.

5. The method according to any one of claims 1 to 4, characterized in that: The mobile terminal is provided with a tactile feedback interface group for controlling the vibration engine; The step of constructing the vibration event corresponding to the candidate music rhythm interval includes: Obtaining vibration description information corresponding to the candidate music rhythm interval; The vibration event corresponding to the candidate music rhythm interval is constructed by calling the event establishment interface in the tactile feedback interface group and utilizing the vibration parameters in the obtained vibration description information.

6. The method according to any one of claims 1 to 4, characterized in that: Before controlling the vibration engine to execute the vibration event corresponding to the music rhythm interval, the method further includes: The vibration engine is initialized.

7. A music rhythm feedback method, characterized in that: Applied to a server, the method comprises: Obtaining vibration description information corresponding to the music rhythm interval of multimedia data; When a playback request for the multimedia data is received from a mobile terminal, the obtained vibration description information is sent to the mobile terminal, so that during the playback of the multimedia data, if the current playback time does not reach any of the multiple music rhythm intervals of the multimedia data, the mobile terminal searches for a music rhythm interval whose starting time is after the current playback time and closest to the current playback time to obtain a candidate music rhythm interval; obtains the vibration description information corresponding to the candidate music rhythm interval; constructs a vibration event corresponding to the candidate music rhythm interval based on the vibration description information corresponding to the candidate music rhythm interval; and, when playing to the music rhythm interval of the multimedia data, the vibration event corresponding to the candidate music rhythm interval is constructed from the constructed vibration description information. In the event, a vibration event corresponding to the rhythm interval of the music played is determined, and a vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the rhythm interval of the music played; wherein the constructed vibration event is used to control the vibration of the vibration engine; the vibration engine is a device possessed by the mobile terminal, and / or a device possessed by other devices that do not belong to the mobile terminal; the vibration description information corresponding to the candidate music rhythm interval is: during the playback of multimedia data, the mobile terminal updates the vibration description information obtained from the server by parameter setting in response to user operation; the parameter setting is the setting of some or all parameters in the vibration mode parameter and the vibration level parameter.

8. The method according to claim 7, characterized in that The vibration description information is determined according to the music rhythm of the multimedia data.

9. The method according to claim 8, characterized in that The step of obtaining vibration description information corresponding to the music rhythm interval of multimedia data includes: Acquire the music rhythm of the multimedia data; Based on the music rhythm, vibration description information corresponding to the music rhythm interval of the multimedia data is determined.

10. A music rhythm feedback system, characterized in that: include: Mobile terminals and servers; The mobile terminal is used to send a playback request for multimedia data to a server; wherein the mobile terminal is connected to a vibration engine; the vibration engine is a device possessed by the mobile terminal and / or a device possessed by other devices that are not part of the mobile terminal; The server is used to obtain vibration description information corresponding to the music rhythm interval of the multimedia data; when receiving a play request for the multimedia data from the mobile terminal, the server sends the obtained vibration description information to the mobile terminal; The mobile terminal is also used for, during the playback of multimedia data, if the current playback time does not reach any of the multiple music rhythm intervals of the multimedia data, searching for a music rhythm interval whose start time is after the current playback time and closest to it to obtain a candidate music rhythm interval; obtaining vibration description information corresponding to the candidate music rhythm interval; constructing a vibration event corresponding to the candidate music rhythm interval based on the vibration description information corresponding to the candidate music rhythm interval; and, when playing the music rhythm interval of the multimedia data, determining the vibration event corresponding to the music rhythm interval played from the constructed vibration events, and controlling the vibration engine to execute the vibration event corresponding to the music rhythm interval played; wherein the constructed vibration event is used to control the vibration engine to vibrate; the vibration description information corresponding to the candidate music rhythm interval is: during the playback of the multimedia data, the vibration description information obtained from the server is updated by parameter setting in response to a user operation; the parameter setting is the setting of some or all parameters in the vibration mode parameter and the vibration level parameter.

11. A music rhythm feedback device, characterized in that: Set in a mobile terminal, the mobile terminal is connected to a vibration engine; the vibration engine is a device possessed by the mobile terminal, and / or a device possessed by other devices that do not belong to the mobile terminal; the device includes: An event determination module is used for, during the playback of multimedia data, if the current playback time does not reach any of the multiple music rhythm intervals of the multimedia data, searching for a music rhythm interval whose start time is after the current playback time and closest to the current playback time to obtain a candidate music rhythm interval; obtaining vibration description information corresponding to the candidate music rhythm interval; constructing a vibration event corresponding to the candidate music rhythm interval based on the vibration description information corresponding to the candidate music rhythm interval; and, when a music rhythm interval played to the multimedia data is detected, determining the vibration event corresponding to the played music rhythm interval from the constructed vibration events; wherein the constructed vibration event is used to control the vibration of the vibration engine; the vibration description information corresponding to the candidate music rhythm interval is: during the playback of the multimedia data, the vibration description information obtained from the server is updated by parameter setting in response to a user operation; the parameter setting is the setting of some or all parameters in the vibration mode parameter and the vibration level parameter; The event execution module is used to control the vibration engine to execute the vibration event corresponding to the rhythm interval of the music being played.

12. A music rhythm feedback device, characterized in that: Set on the server, the device includes: An acquisition module, used to acquire vibration description information corresponding to a music rhythm interval of multimedia data; A request response module, for, when receiving a play request for the multimedia data from a mobile terminal, sending the obtained vibration description information to the mobile terminal, so that during the playback of the multimedia data, if the current playback time does not reach any of the multiple music rhythm intervals of the multimedia data, the mobile terminal searches for a music rhythm interval whose starting time is after the current playback time and closest to the current playback time to obtain a candidate music rhythm interval; obtains the vibration description information corresponding to the candidate music rhythm interval; constructs a vibration event corresponding to the candidate music rhythm interval based on the vibration description information corresponding to the candidate music rhythm interval; and, when playing to the music rhythm interval of the multimedia data, the vibration event corresponding to the candidate music rhythm interval is constructed from the constructed vibration description information. In the vibration event constructed, the vibration event corresponding to the rhythm interval of the music played is determined, and the vibration engine connected to the mobile terminal is controlled to execute the vibration event corresponding to the rhythm interval of the music played; wherein the constructed vibration event is used to control the vibration of the vibration engine; the vibration engine is a device possessed by the mobile terminal, and / or a device possessed by other devices that do not belong to the mobile terminal; the vibration description information corresponding to the candidate music rhythm interval is: during the playback of multimedia data, the mobile terminal responds to the user operation and updates the vibration description information obtained from the server by parameter setting; the parameter setting is the setting of some or all parameters in the vibration mode parameter and the vibration level parameter.

13. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 6, or the method steps described in any one of claims 7 to 9 when executing a program stored in a memory.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 6 or the method steps described in any one of claims 7 to 9 are implemented.