Parameter adjustment method, device, computer readable storage medium and electronic device
By quantifying vibration parameters and output parameters, binding tests and effect evaluations are carried out, the problem of poor synchronization between the vibration effect of the built-in linear motor of the mobile phone and multimedia data is solved, achieving more accurate parameter adjustments and better user experience.
Patent Information
- Application Number
- CN202310545481.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-22
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2041-02-22
AI Technical Summary
In the prior art, the vibration effect of the built-in linear motor of the mobile phone is not accurate enough with the synchronization of multimedia data, resulting in limited user experience.
By quantizing vibration parameters and output parameters, the binding test of vibration and sound is realized, the vibration effect is evaluated based on the effect evaluation information, and the parameters are adjusted to achieve synchronization between the vibration effect and multimedia data.
More accurate parameter adjustment is achieved, synchronousness between vibration effects and multimedia data is improved, thereby improving user experience.
Smart Images

Figure CN116437004B_ABST
Abstract
Description
[0001] This application is a divisional application filed on February 22, 2021, with application number 202110206661X, and invention name “Parameter adjustment method, device, computer-readable storage medium and electronic device”. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a parameter adjustment method, a parameter adjustment device, a computer-readable storage medium, and an electronic device. Background Art
[0003] The built-in linear motor in the mobile phone can usually assist in vibration in scenarios such as incoming calls, alarms, music, games, UI, etc., which can easily create a more multi-dimensional, immersive and realistic user experience. Generally speaking, the test of the motor vibration effect is usually divided into two stages: the hardware manufacturer debugs the motor parameters such as vibration amount and start and stop time, and provides them to the software manufacturer after debugging, and the software manufacturer performs artificial subjective matching of the vibration effect and audio and video data. However, parameter debugging is usually also of great significance in the process of matching vibration effects with audio and video data. The combination of artificial subjective debugging and hardware debugging by hardware manufacturers can easily cause the synchronization between vibration effects and multimedia data to be inaccurate. Summary of the invention
[0004] The purpose of the present application is to provide a parameter adjustment method, a parameter adjustment device, a computer-readable storage medium and an electronic device, which can evaluate the vibration effect according to the corresponding effect evaluation information after realizing the binding test of vibration and sound through quantified vibration parameters and output parameters, and then obtain more accurate parameters to accurately achieve the synchronization between vibration effects and multimedia data.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to one aspect of the present application, a parameter adjustment method is provided, comprising: when the vibration of a motor and the playback of multimedia data are synchronized by a parameter adjustment operation acting on a parameter adjustment interface, graphically displaying a current vibration effect and outputting effect evaluation information corresponding to the current vibration effect according to an adjustment result corresponding to the parameter adjustment operation, wherein the parameter adjustment operation is used to adjust at least one of the vibration parameters of the motor and the output parameters for playing the multimedia data; evaluating the current vibration effect according to the effect evaluation information to obtain an evaluation result; if the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time, outputting recommendation information for setting the adjustment result corresponding to the parameter adjustment operation as the best parameter; and when an optimal parameter setting operation is detected, storing the adjustment result corresponding to the parameter adjustment operation as the best parameter.
[0007] According to one aspect of the present application, a parameter adjustment device is provided, comprising: a graphical data output unit for graphically displaying a current vibration effect and outputting effect evaluation information corresponding to the current vibration effect according to an adjustment result corresponding to the parameter adjustment operation when the vibration of a motor and the playback of multimedia data are synchronized by a parameter adjustment operation acting on a parameter adjustment interface, wherein the parameter adjustment operation is used to adjust at least one of the vibration parameters of the motor and the output parameters for playing the multimedia data; an evaluation unit for evaluating the current vibration effect according to the effect evaluation information to obtain an evaluation result; an information output unit for outputting recommendation information for setting the adjustment result corresponding to the parameter adjustment operation as an optimal parameter if the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time; and a data storage unit for storing the adjustment result corresponding to the parameter adjustment operation as the optimal parameter when an optimal parameter setting operation is detected.
[0008] In some embodiments of the present application, based on the aforementioned scheme, the data storage unit stores the adjustment result corresponding to the parameter adjustment operation as the optimal parameter, including: if the parameter adjustment operation is used to adjust the vibration parameter, then the vibration parameter is updated according to the adjustment result and the output parameter and the updated vibration parameter are stored correspondingly as the optimal parameter; if the parameter adjustment operation is used to adjust the output parameter, then the output parameter is updated according to the adjustment result and the vibration parameter and the updated output parameter are stored correspondingly as the optimal parameter; if the parameter adjustment operation is used to adjust the output parameter and the vibration parameter, then the vibration parameter and the output parameter are updated according to the adjustment result, and the updated vibration parameter and the updated output parameter are stored correspondingly as the optimal parameter.
[0009] In some embodiments of the present application, based on the aforementioned scheme, the vibration parameters include at least one of the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration; the output parameters include at least one of the delay duration and the maximum particle effect duration.
[0010] In some embodiments of the present application, based on the aforementioned scheme, when in the delay management mode, the motor control unit controls the motor to vibrate according to the vibration parameters, including: controlling the motor to vibrate according to the maximum amplitude, the continuous vibration duration, the vibration start duration, and the vibration end duration.
[0011] In some embodiments of the present application, based on the aforementioned scheme, when in the granularity management mode, the motor control unit controls the motor to vibrate according to the vibration parameters, including: controlling the motor to vibrate according to the maximum amplitude, the continuous vibration duration, the vibration start duration, the vibration end duration and the vibration interval duration.
[0012] In some embodiments of the present application, based on the aforementioned scheme, the device also includes: an operation receiving unit, which is used to receive a configuration operation for configuring a first vibration waveform and an initial delay duration before the motor control unit controls the motor to vibrate according to the vibration parameters, if it is in a delay management mode, and graphically display the first vibration waveform and the initial delay duration through a parameter adjustment interface; the operation receiving unit is also used to receive a configuration operation for configuring a second vibration waveform and an initial data playback interval duration before the motor control unit controls the motor to vibrate according to the vibration parameters, if it is in a granularity management mode, and graphically display the second vibration waveform and the initial data playback interval duration through a parameter adjustment interface; wherein the first vibration waveform is used to be represented by the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration; the second vibration waveform is used to be represented by the vibration interval duration.
[0013] In some embodiments of the present application, based on the aforementioned scheme, the device also includes: a test result generating unit, which is used to generate a test result according to the adjustment result corresponding to the parameter adjustment operation after the parameter adjustment unit adjusts at least one of the vibration parameter and the output parameter according to the parameter adjustment operation, and upload the test result to the cloud server so that the cloud server can perform vibration retest according to the test data; wherein the test result includes at least one of the test time, manufacturer, model, test version number, vibration test code, vibration parameters, effect parameters and custom data.
[0014] In some embodiments of the present application, based on the aforementioned scheme, the device also includes: a delay calculation unit, which is used to calculate the recommended delay duration according to the quantized vibration results and playback results before the motor control unit controls the motor to vibrate according to the vibration parameters; a delay output unit, which is used to output the recommended delay duration to the parameter adjustment interface.
[0015] In some embodiments of the present application, based on the aforementioned scheme, the multimedia data output unit plays the multimedia data according to the output parameters, including: if the multimedia data includes audio data, then the audio data is played; if the multimedia data includes audio data and video data, then the audio data and video data are played synchronously in a frame synchronization manner.
[0016] In some embodiments of the present application, based on the aforementioned scheme, the device further includes: a parameter alignment unit, which is used to align the waveform represented by the vibration parameters and the waveform represented by the output parameters before the motor control unit controls the motor to vibrate according to the vibration parameters.
[0017] According to one aspect of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.
[0018] According to one aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the methods described above is implemented.
[0019] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.
[0020] The exemplary embodiments of the present application may have some or all of the following beneficial effects:
[0021] In the parameter adjustment method provided in an example embodiment of the present application, the binding test of vibration and sound can be implemented through quantified vibration parameters and output parameters. The user can personally feel whether the vibration and sound are consistent through the binding test, and modify at least one of the vibration parameters and output parameters in the case of inconsistency, so as to achieve the synchronization between the vibration effect and the multimedia data faster and more accurately. At the same time, after the binding test of vibration and sound is implemented through quantified vibration parameters and output parameters, the vibration effect can be evaluated according to the corresponding effect evaluation information, and then more accurate parameters can be obtained to accurately achieve the synchronization between the vibration effect and the multimedia data.
[0022] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram showing an exemplary system architecture of a parameter adjustment method and a parameter adjustment device to which the embodiments of the present application can be applied;
[0024] Figure 2 A schematic diagram showing the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown;
[0025] Figure 3 A flow chart schematically shows a parameter adjustment method according to an embodiment of the present application;
[0026] Figure 4 A schematic diagram of a parameter adjustment interface according to an embodiment of the present application is schematically shown;
[0027] Figure 5 A schematic diagram of a parameter adjustment interface according to another embodiment of the present application is schematically shown;
[0028] Figure 6 A diagrammatic representation of the duration of a vibration interval according to an embodiment of the present application is schematically shown;
[0029] Figure 7 Schematically shows a diagram of parameter diagramming according to an embodiment of the present application;
[0030] Figure 8 A flow chart schematically shows a parameter adjustment method according to an embodiment of the present application;
[0031] Fig. 9 The structural block diagram of a parameter adjustment device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0032] The exemplary embodiments are now described in a more comprehensive manner with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be understood as being limited to these examples; on the contrary, the purpose of providing these embodiments is to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0033] In addition, the features, structures or characteristics described in the present application may be combined in one or more embodiments in any suitable manner. In the following description, there are many specific details so that the embodiments of the present application can be fully understood. However, those skilled in the art will appreciate that when implementing the technical scheme of the present application, all the detailed features in the embodiments may not be needed, one or more specific details may be omitted, or other methods, elements, devices, steps, etc. may be adopted.
[0034] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0035] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0036] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0037] Figure 1 A schematic diagram of a system architecture of an exemplary application environment in which a parameter adjustment method and a parameter adjustment device according to an embodiment of the present application can be applied is shown.
[0038] like Figure 1As shown, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server cluster 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server cluster 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The terminal devices 101, 102, 103 may be various electronic devices with display screens, including but not limited to desktop computers, portable computers, smart phones, tablet computers, etc. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0039] The parameter adjustment method provided in the embodiment of the present application can be executed by the terminal device 101, 102, 103 or any server in the server cluster 105. Accordingly, the parameter adjustment device is generally arranged in the server of the server cluster 105 or the terminal device 101, 102, 103. For example, in an exemplary embodiment, any server in the server cluster 105 can control the motor to vibrate according to the vibration parameters; play the multimedia data according to the output parameters; jointly output the quantized vibration results and the playback results, and the vibration results and the playback results are used to determine whether to adjust the parameters; when a parameter adjustment operation acting on the parameter adjustment interface is detected, at least one of the vibration parameters and the output parameters is adjusted according to the parameter adjustment operation, so that the vibration of the motor and the playback of the multimedia data are synchronized.
[0040] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.
[0041] It should be noted that Figure 2 The computer system 200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0042] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 202 or a program loaded from a storage part 208 into a random access memory (RAM) 203. Various programs and data required for system operation are also stored in the RAM 203. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.
[0043] The following components are connected to the I / O interface 205: an input section 206 including a keyboard, a mouse, etc.; an output section 207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed, so that a computer program read therefrom is installed into the storage section 208 as needed.
[0044] In particular, according to an embodiment of the present application, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 209, and / or installed from a removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, various functions defined in the method and apparatus of the present application are executed.
[0045] Generally speaking, the motors used in smart terminals (such as mobile phones) are linear motors, which can support complex and sensitive vibrations. The built-in linear motors in mobile phones can usually assist in vibration in scenarios such as incoming calls, alarms, music, games, UI, etc., which can easily create a more multi-dimensional, immersive, and realistic user experience. However, the richness of vibration scenes does not represent the quality of the vibration effect, and there is no unified evaluation standard for the vibration effect. Although hardware manufacturers provide the performance parameters of the motor (vibration amount + start and stop time, etc.), the actual vibration experience is quite different on different system platforms. The vibration experience needs to rely on the joint tuning of software and hardware, and even the optimization of specific application scenarios, not just hardware indicators.
[0046] In the prior art, hardware manufacturers are required to first measure the vibration amount and start and stop time of the motor through a vibration sensor, and then provide the debugged vibration effect to application testers for testing. Among them, the optimization of the effect mainly relies on the personal feelings of the testers, which easily leads to the problem of low synchronization accuracy between multimedia data and vibration effects.
[0047] Based on the above problems, this example embodiment provides a parameter adjustment method. Figure 3 , Figure 3 The flowchart of a parameter adjustment method according to an embodiment of the present application is schematically shown.
[0048] like Figure 3 As shown, the parameter adjustment method may include the following steps S310 to S340:
[0049] Step S310: controlling the motor to vibrate according to the vibration parameters.
[0050] Step S320: Play the multimedia data according to the output parameters.
[0051] Step S330: jointly outputting the quantized vibration result and the playback result, where the vibration result and the playback result are used to determine whether to perform parameter adjustment.
[0052] Step S340: When a parameter adjustment operation on the parameter adjustment interface is detected, at least one of the vibration parameter and the output parameter is adjusted according to the parameter adjustment operation so that the vibration of the motor and the playback of the multimedia data are synchronized.
[0053] Wherein, step S310 and step S320 can be performed simultaneously. Optionally, controlling the motor to vibrate according to the vibration parameter includes: controlling the motor to vibrate according to the vibration parameter after a preset time (3s). Playing multimedia data according to the output parameter includes: playing multimedia data according to the output parameter after a preset time (3s).
[0054] Implementation Figure 3 The method shown can realize the binding test of vibration and sound through quantified vibration parameters and output parameters. Users / tester can personally feel whether the vibration and sound are consistent through the binding test, and modify at least one of the vibration parameters and output parameters in case of inconsistency, so as to realize the synchronization between vibration effect and multimedia data faster and more accurately. In addition, it can also avoid the problem of low synchronization efficiency caused by motor stage testing, so that users can realize timely parameter adjustment through quantification of motor vibration parameters and quantification of multimedia data output parameters, which helps to improve synchronization efficiency.
[0055] Next, the above steps of this exemplary embodiment are described in more detail.
[0056] In step S310, the motor is controlled to vibrate according to the vibration parameters.
[0057] Specifically, the motor may be a linear motor, which is used to directly convert electrical energy into linear motion mechanical energy without requiring any intermediate conversion mechanism transmission device. The method of controlling the motor to vibrate according to the vibration parameters may specifically be: calling a protocol corresponding to the motor, converting the vibration parameters into vibration signals according to the protocol and sending them to the motor, so as to control the motor to vibrate according to the vibration parameters.
[0058] Wherein, the vibration parameters include at least one of the maximum amplitude, continuous vibration duration, vibration start duration, vibration termination duration, and vibration interval duration. Optionally, the vibration parameters may also include ADSR envelopes, etc., which are not limited in the embodiments of the present application; wherein, the ADSR envelope may include the rise time (Attack Time) of the sound from nothing to something, the release time (Release Time) of the sound from something to nothing, the decay time (Decay Time) of the amplitude slowly decreasing, and the sustain time (Sustain Time) of the continuous voicing. Specifically, when in the delay management mode, the vibration parameters include the maximum amplitude (e.g., 80), the continuous vibration duration (e.g., 10s), the vibration start duration (e.g., 10ms), and the vibration termination duration (e.g., 10ms); when in the granularity management mode, the vibration parameters include the maximum amplitude, the continuous vibration duration, the vibration start duration, the vibration termination duration, and the vibration interval duration (e.g., 100ms).
[0059] In addition, before controlling the motor to vibrate according to the vibration parameters, the above method may further include: outputting a parameter adjustment interface and detecting a waveform selection operation or a parameter input operation for selecting a waveform to be tested from a plurality of preset waveforms, that is, the user may directly select a preset waveform or customize the waveform by customizing parameters. Among them, the above-mentioned multiple preset waveforms may correspond to different intensities, different durations, and different maximum amplitudes, etc. Optionally, before detecting a waveform selection operation or a parameter input operation for selecting a waveform to be tested from a plurality of preset waveforms, the above method may further include: downloading the above-mentioned multiple preset waveforms from a cloud server; or, reading a plurality of preset waveforms from a local storage space, so that the user can select the waveform to be tested from a plurality of waveforms according to personalized needs, thereby improving the test efficiency.
[0060] As an optional embodiment, when in delay management mode, controlling the motor to vibrate according to vibration parameters includes: controlling the motor to vibrate according to maximum amplitude, continuous vibration duration, vibration start duration, and vibration end duration.
[0061] Specifically, the method of controlling the motor to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration can be: sending a control signal to an external vibration sensor so that the vibration sensor controls the motor to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration.
[0062] It can be seen that the implementation of this optional embodiment can facilitate users to pre-set various parameters by quantifying the test indicators for the motor, and then control the motor to vibrate according to the set parameters, so as to obtain the required delay test results.
[0063] As an optional embodiment, when in granularity management mode, the motor is controlled to vibrate according to vibration parameters, including: controlling the motor to vibrate according to maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration.
[0064] The granularity is used to measure the fineness and sensitivity of the vibration of the linear motor. In addition, the method of controlling the motor to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration can be specifically: sending a control signal to an external vibration sensor so that the vibration sensor controls the motor to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration.
[0065] It can be seen that the implementation of this optional embodiment can facilitate users to pre-set various parameters by quantifying the test indicators of the motor, and then control the motor to vibrate according to the set parameters, so as to obtain the required particle size test results.
[0066] As an optional embodiment, before controlling the motor to vibrate according to the vibration parameter, the method further includes:
[0067] If in the delay management mode, receiving a configuration operation for configuring the first vibration waveform and the initial delay duration, and graphically displaying the first vibration waveform and the initial delay duration through a parameter adjustment interface;
[0068] If in the granularity management mode, receiving a configuration operation for configuring the second vibration waveform and the initial data playback interval length, and graphically displaying the second vibration waveform and the initial data playback interval length through a parameter adjustment interface;
[0069] The first vibration waveform is used to be represented by the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration; the second vibration waveform is used to be represented by the vibration interval duration.
[0070] Specifically, the vibration interval duration can be customized and modified, and the vibration interval duration is used to simulate the granularity of the vibration, and multiple vibration cycles can be discretely arranged according to the vibration interval duration. In addition, preferably, the vibration interval duration can be the minimum time interval that can feel the vibration granularity.
[0071] See also Figure 4 , Figure 4 The following schematically shows a parameter adjustment interface diagram according to an embodiment of the present application. Figure 4As shown, in the delay management mode, the slider control corresponding to "sound delay" can be displayed in the parameter adjustment interface; wherein, the initial delay duration can be set by the configuration operation acting on the slider control, and the sliding step of the slider control is in milliseconds; in addition, the first vibration waveform can be graphically displayed in the coordinate system in the parameter adjustment interface, and the horizontal axis of the coordinate system is time and the vertical axis is amplitude, which can facilitate the user to quantify the vibration test, so that the various parameters corresponding to the vibration can be clarified, which is helpful to achieve the synchronization of multimedia data and vibration effects through subsequent parameter adjustment. Furthermore, the user can trigger the control represented as "start test", thereby triggering the device to execute the steps of step S310 to step S330, and the synchronization of multimedia data and vibration effects can be gradually achieved by continuously adjusting the parameters displayed on the interface. When the test is completed, the device can automatically generate the test results corresponding to this test, and when it is detected that the "analysis result" control is acted on, the test results can be displayed to the user for reference.
[0072] See also Figure 5 , Figure 5 The following is a schematic diagram of a parameter adjustment interface according to another embodiment of the present application. Figure 5 As shown, in the granularity management mode, the slider control corresponding to the "interval time" can be displayed in the parameter adjustment interface; wherein, the initial data playback interval (such as the sound playback interval) can be set by the configuration operation acting on the slider control, thereby helping to improve the synchronization degree between the discrete sound playback and the granular vibration; in addition, the vibration parameters can be graphically displayed in the parameter adjustment interface. Furthermore, the user can trigger the control represented as "Start Test" to trigger the device to execute steps S310 to S330. By continuously adjusting the parameters displayed on the interface, the synchronization of multimedia data and vibration effects can be gradually achieved. When the test is completed, the device can automatically generate the test results corresponding to this test, and when it is detected that the "Analysis Results" control is acted on, the test results can be displayed to the user for reference.
[0073] See also Figure 6 , Figure 6 The diagram schematically shows the duration of the vibration interval according to an embodiment of the present application. Figure 6 As shown, the vibration interval duration can be represented by a quantitative schematic diagram. The vibration interval duration is represented as multiple intervals in a coordinate system with time as the horizontal axis. A vibration cycle is defined as the period from the start of a vibration to the end of the vibration. The continuous interval repetition can achieve a granular sense of vibration. In addition, each vertical line can represent a vibration cycle (i.e., Figure 6), wherein the vertical line corresponds to the vibration amplitude of the longitudinal axis, which can be used to characterize that the motor can vibrate according to the vibration amplitude after each vibration interval to achieve a granular vibration effect.
[0074] It can be seen that the implementation of this optional embodiment can provide a parameter configuration function, and the user can configure the corresponding parameters according to personalized needs, which is conducive to obtaining the required test results, and further helps to improve the synchronization efficiency of multimedia data and vibration effects.
[0075] As an optional embodiment, before controlling the motor to vibrate according to the vibration parameters, the method further includes: calculating a recommended delay time (eg, 150 ms) based on the quantized vibration results and playback results; and outputting the recommended delay time to the parameter adjustment interface.
[0076] The recommended delay duration is calculated based on the quantized vibration result and the playback result, including: comparing the quantized vibration result and the playback result to determine a delay range of the vibration result and the playback result, and selecting a recommended delay duration from the delay range based on a historical delay setting.
[0077] Specifically, after the recommended delay time is output to the parameter adjustment interface, the above method may further include the following steps: when a data application operation is detected, the above recommended delay time is applied to the output parameters, and the vibration parameters are coordinated according to the adjusted output parameters to simultaneously trigger the motor and multimedia data playback, so that the user can experience the synchronization of the vibration effect and the multimedia data under the recommended delay time.
[0078] It can be seen that the implementation of this optional embodiment can automatically calculate the delay duration and recommend it to the user for reference, which can help improve the user's usage experience.
[0079] As an optional embodiment, before controlling the motor to vibrate according to the vibration parameters, the method further includes: aligning the waveform represented by the vibration parameters and the waveform represented by the output parameters.
[0080] Specifically, the way of aligning the waveform characterized by the vibration parameters and the waveform characterized by the output parameters can be: left-aligning and / or right-aligning the waveform characterized by the vibration parameters and the waveform characterized by the output parameters so that at least the vibration start duration and / or the vibration end duration of the waveform characterized by the vibration parameters and the waveform characterized by the output parameters are consistent. If the waveform characterized by the vibration parameters and the waveform characterized by the output parameters are consistent, after the alignment process, the waveform characterized by the vibration parameters and the waveform characterized by the output parameters can overlap.
[0081] See also Figure 7 , Figure 7Schematically shows a parameter diagram according to an embodiment of the present application. Figure 7 As shown, before step S310, the above method can also use different broken lines to represent vibration parameters and output parameters respectively; wherein the broken lines used to represent vibration parameters include multiple meaningful characterization points such as start of vibration, maximum amplitude, start to stop, end of vibration, etc. The motor can reduce the amplitude of vibration at the turning point used to represent the start to stop, thereby gradually ending the vibration. The broken lines used to represent output parameters include multiple meaningful characterization points such as the start of sound, the end of sound, etc. Figure 7 It can be seen that the multimedia data and the motor correspond to the same maximum amplitude.
[0082] It can be seen that implementing this optional embodiment can avoid the problem of inaccurate optimal delay duration determined due to parameter misalignment, which is beneficial to improving the accuracy of the maximum delay duration.
[0083] In step S320, the multimedia data is played according to the output parameters.
[0084] Specifically, the output parameter includes at least one of a delay duration (e.g., 50 ms) and a maximum particle effect duration (e.g., 100 ms). The multimedia data may include at least one of audio data and video data, wherein it should be noted that the above-mentioned video data may output only the picture without outputting the sound, and the audio data is output together with the video data to achieve synchronous output of the picture and the sound.
[0085] In addition, after playing the multimedia data according to the output parameters, the above method may further include: detecting whether the test is completed, and if so, storing and outputting the monitored actual trigger time of the motor and the actual start time of the multimedia data. Based on this, it may also include: generating a first comparison result according to the actual trigger time of the motor and the vibration parameters, and generating a second comparison result according to the actual start time of the multimedia data, and then outputting the first comparison result and the second comparison result for user reference.
[0086] As an optional embodiment, playing multimedia data according to output parameters includes: if the multimedia data includes audio data, playing the audio data; if the multimedia data includes audio data and video data, playing the audio data and video data synchronously in a frame synchronization manner.
[0087] Specifically, the above-mentioned audio data and video data are mutually matched data, and each frame of audio corresponds to each frame of video. In addition, synchronously playing the audio data and the video data in a frame synchronization manner includes: synchronously outputting the audio data and the video data according to the frame sequence numbers of the audio data and the video data, so that the audio data and the video data are output in a frame synchronization manner. For example, synchronously outputting the first frame of the audio data and the video data, synchronously outputting the second frame of the audio data and the video data, and so on.
[0088] It can be seen that the implementation of this optional embodiment can achieve the synchronization of audio data and vibration effects, and can also achieve the synchronization of audio and video data and vibration effects, which can expand the application scope of the present application.
[0089] Step S330: jointly outputting the quantized vibration result and the playback result, where the vibration result and the playback result are used to determine whether to perform parameter adjustment.
[0090] Among them, the quantized vibration results and playback results can be output as numerical values, curve graphs, tables, spectrum graphs, etc., which are not limited in the embodiments of the present application. In addition, the quantized vibration results and playback results are jointly output, and the vibration results and playback results are used to determine whether to adjust the parameters, including: outputting the quantized vibration results and playback results to the same interface / the same chart. Before outputting the quantized vibration results and playback results to the same interface / the same chart, it also includes: representing the vibration results and playback results as quantized lines (such as curves / broken lines / straight lines) respectively, and jointly representing the quantized lines in the same coordinate system; or, representing the vibration results and playback results as a parameter set, wherein the parameter set may include a start time, an end time, etc.
[0091] In addition, after jointly outputting the quantized vibration results and playback results, the above method may further include: generating and outputting parameter adjustment suggestions based on the quantized vibration results and / or playback results for user reference, wherein the parameter adjustment suggestions may include a recommended adjustment range and recommendation information for at least one parameter. It should be noted that, on the one hand, by jointly outputting the quantized vibration results and playback results, users / software manufacturers can directly refer to the vibration results and playback results to make subjective parameter adjustments; on the other hand, after jointly outputting the quantized vibration results and playback results, the device may also automatically generate and output parameter adjustment suggestions to enrich the user's reference basis.
[0092] In step S340, when a parameter adjustment operation acting on the parameter adjustment interface is detected, at least one of the vibration parameter and the output parameter is adjusted according to the parameter adjustment operation so that the vibration of the motor and the playback of the multimedia data are synchronized.
[0093] Specifically, the parameter adjustment operation may be one or more times, and the number of times of adjusting at least one of the vibration parameter and the output parameter according to the parameter adjustment operation may also be one or more times. The synchronization of the vibration of the motor and the playback of the multimedia data may be manifested as: the playback of the multimedia data and the vibration of the motor may start at the same time and may be perceived. In addition, the parameter adjustment operation may act on a parameter adjustment control (such as a slider). The vibration parameters may include one or more parameters, and the output parameters may also include one or more parameters.
[0094] If in the delay management mode, at least one of the vibration parameters and the output parameters is adjusted according to the parameter adjustment operation, including: adjusting the maximum amplitude in the vibration parameters according to the parameter adjustment operation so that the adjusted maximum amplitude can match the volume of the multimedia data (such as audio data), avoiding the problem of inharmonious matching caused by low volume and large amplitude, and improving the synchronization effect between the multimedia data and the vibration effect. Based on this, the above method can also include: adjusting the delay time in the output parameter according to the parameter adjustment operation so that after the audio playback instruction is obtained and after the delay time, the multimedia data is played to achieve synchronization between the multimedia data and the vibration effect.
[0095] In the granularity management mode, the vibration waveform may correspond to a plurality of vibration cycles, each vibration cycle corresponding to a segment of multimedia data. In addition, if in the granularity management mode, at least one of the vibration parameters and the output parameters is adjusted according to the parameter adjustment operation, including: adjusting the maximum particle effect duration in the output parameter according to the parameter adjustment operation, so that the maximum particle effect duration is consistent with the continuous vibration duration in the vibration parameter. Based on this, the above method may also include: adjusting the delay duration in the output parameter according to the parameter adjustment operation, so that the output granularity of the multimedia data is consistent with the granularity corresponding to the vibration parameter. Based on this, the above method may also include: adjusting the vibration interval duration in the vibration parameter according to the parameter adjustment operation, and adjusting the matching relationship between the multiple segments of data contained in the multimedia data and the vibration cycle according to the vibration interval duration. For example, if the vibration interval duration is shortened, the interval of each vibration of the motor is shortened, so that each audio segment in the multimedia data needs to be adjusted to be consistent with the interval of the motor vibration, so as to ensure that the audio can be output synchronously each time the motor vibrates.
[0096] As an optional embodiment, after adjusting at least one of the vibration parameter and the output parameter according to the parameter adjustment operation, the method further includes: graphically displaying the current vibration effect according to the adjustment result and outputting effect evaluation information corresponding to the current vibration effect.
[0097] Specifically, the current vibration effect is graphically displayed according to the adjustment result, including: measuring the vibration delay and / or vibration granularity according to the adjustment result, and graphically representing the measured result to reflect the current vibration effect. Based on this, the effect evaluation information corresponding to the current vibration effect is output, including: determining the corresponding effect evaluation information according to the effect range corresponding to the current vibration effect; specifically including: determining whether the measured delay under the current vibration effect is within the preset legal range, if so, determining the effect evaluation information used to indicate that the current vibration effect can be applied, if not, determining the effect evaluation information used to indicate that the current vibration effect cannot be applied. Based on this, the above method may also include: outputting the effect evaluation information; wherein the effect evaluation information may be represented by characters, numbers, symbols, etc., which is not limited in the embodiments of the present application. For example, the effect evaluation information may be: the synchronization between the vibration effect and the multimedia data is high, which can reach 90 points.
[0098] It can be seen that the implementation of this optional embodiment can help users intuitively feel the synchronization between the vibration effect and multimedia data after parameter adjustment through the graphical display of the results, thereby helping to improve the adjustment efficiency of the synchronization accuracy.
[0099] As an optional embodiment, after graphically displaying the current vibration effect according to the adjustment result and outputting the effect evaluation information corresponding to the current vibration effect, the above method also includes: evaluating the current vibration effect according to the effect evaluation information to obtain an evaluation result; if the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time, then outputting recommendation information for recommending that the adjustment result corresponding to the parameter adjustment operation be set as the optimal parameter; when the optimal parameter setting operation is detected, the adjustment result is stored as the optimal parameter.
[0100] Among them, evaluating the current vibration effect according to the effect evaluation information to obtain the evaluation result includes: calculating the weighted sum of various parameters in the effect evaluation information, and taking the evaluation result corresponding to the threshold range to which the weighted sum belongs as the evaluation result of the current vibration effect.
[0101] Specifically, the adjustment result corresponding to the parameter adjustment operation is stored as the optimal parameter, including: determining the type of the adjustment result corresponding to the parameter adjustment operation, and storing the type and the adjustment result as the optimal parameter in correspondence; wherein the type includes the terminal external speaker type, the wired headphone output type and the Bluetooth headphone output type, and different types can correspond to different adjustment results. Specifically, different types can correspond to different delay durations.
[0102] In addition, the adjustment results corresponding to the parameter adjustment operation are stored as optimal parameters, including: detecting whether there are optimal parameters corresponding to the multimedia data, and if so, outputting multiple options for the user to select, and then performing the storage operation according to the options selected by the user; wherein the multiple options may include: overwriting the original optimal parameters according to the latest optimal parameters, and storing the latest optimal parameters and the original optimal parameters in parallel.
[0103] It can be seen that the implementation of this optional embodiment can provide the function of optimal parameter setting, so that the user can store the parameters that he thinks have the highest synchronization after adjustment for easy recall.
[0104] As an optional embodiment, storing the adjustment result corresponding to the parameter adjustment operation as the optimal parameter includes:
[0105] If the parameter adjustment operation is used to adjust the vibration parameter, the vibration parameter is updated according to the adjustment result and the output parameter and the updated vibration parameter are stored correspondingly as the optimal parameter;
[0106] If the parameter adjustment operation is used to adjust the output parameter, the output parameter is updated according to the adjustment result and the vibration parameter and the updated output parameter are stored correspondingly as the optimal parameter;
[0107] If the parameter adjustment operation is used to adjust the output parameter and the vibration parameter, the vibration parameter and the output parameter are updated according to the adjustment result, and the updated vibration parameter and the updated output parameter are correspondingly stored as optimal parameters.
[0108] Specifically, both the vibration parameters and the output parameters can be output on the parameter adjustment interface so that the user can adjust the required parameters in a personalized manner on the interface.
[0109] It can be seen that by implementing this optional embodiment, the corresponding storage of vibration parameters and output parameters can be easily called at any time, thereby improving the output efficiency of multimedia data accompanied by vibration effects.
[0110] As an optional embodiment, after adjusting at least one of the vibration parameters and the output parameters according to the parameter adjustment operation, the above method also includes: generating a test result according to the adjustment result corresponding to the parameter adjustment operation, and uploading the test result to the cloud server so that the cloud server performs vibration retest according to the test data; wherein the test data includes test time (such as, XXXX year XX month XX day XX hour XX minute XX second), manufacturer (such as, brand A, brand B), model (such as, P80, P65), test version number (such as, 0.23.15.612), vibration test code (such as, 123456), vibration parameters, effect parameters and at least one of custom data.
[0111] Specifically, the test data may also include the motor type and the vibration waveform code (e.g., 001), etc. In addition, the custom data may be a user-defined optimal effect delay (e.g., 50ms). In addition, for example, the format of uploading the test results to the cloud server may be: time|manufacturer|model|test version number|vibration test code|vibration parameter|effect parameter|custom data|..., which is not limited in the embodiments of the present application.
[0112] It can be seen that by implementing this optional embodiment, by uploading the test results, on the one hand, other users can refer to the test results, and on the other hand, retesting can be achieved through the cloud platform to ensure that the test results are normal.
[0113] See also Figure 8 , Figure 8 The following schematically shows a flow chart of a parameter adjustment method according to an embodiment of the present application. Figure 8 As shown, the parameter adjustment method may include: steps S800 to S822.
[0114] Step S800: When in the delay management mode, receive the configuration operation for configuring the first vibration waveform and the initial delay duration, and graphically display the first vibration waveform and the initial delay duration through the parameter adjustment interface; the first vibration waveform is used to be represented by the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration.
[0115] Step S802: When in granularity management mode, receive a configuration operation for configuring a second vibration waveform and an initial data playback interval duration, and graphically display the second vibration waveform and the initial data playback interval duration through a parameter adjustment interface; the second vibration waveform is used to be represented by the vibration interval duration.
[0116] Step S804: aligning the waveform represented by the vibration parameters and the waveform represented by the output parameters.
[0117] Step S806: Calculate the recommended delay time according to the quantified vibration result and the playback result, and output the recommended delay time to the parameter adjustment interface.
[0118] Step S808: When a test trigger operation is detected, the motor is controlled to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, and vibration end duration.
[0119] Step S810: When a test trigger operation is detected, the motor is controlled to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration, and vibration interval duration.
[0120] Step S812: Play the multimedia data according to the output parameters.
[0121] Step S814: when a parameter adjustment operation on the parameter adjustment interface is detected, at least one of the vibration parameter and the output parameter is adjusted according to the parameter adjustment operation so that the vibration of the motor and the playback of the multimedia data are synchronized.
[0122] Step S816: graphically display the current vibration effect according to the adjustment result and output effect evaluation information corresponding to the current vibration effect.
[0123] Step S818: Evaluate the current vibration effect according to the effect evaluation information to obtain an evaluation result. If the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time, output recommendation information for recommending that the adjustment result corresponding to the parameter adjustment operation be set as the optimal parameter.
[0124] Step S820: When the optimal parameter setting operation is detected, the adjustment result is stored as the optimal parameter.
[0125] Step S822: Generate test results according to the adjustment results corresponding to the parameter adjustment operation, and upload the test results to the cloud server so that the cloud server can retest the vibration according to the test data; wherein the test data includes at least one of the test time, manufacturer, model, test version number, vibration test code, vibration parameters, effect parameters and custom data.
[0126] It should be noted that steps S800 to S822 are Figure 3 The steps and their embodiments shown correspond to each other. For the specific implementation of steps S800 to S822, please refer to Figure 3 And its embodiments are not described in detail here.
[0127] It can be seen that implementation Figure 8 The method shown can realize the binding test of vibration and sound through quantified vibration parameters and output parameters. Users can personally feel whether the vibration and sound are consistent through the binding test, and modify at least one of the vibration parameters and output parameters in the case of inconsistency, so as to achieve the synchronization between the vibration effect and the multimedia data faster and more accurately. In addition, it can also avoid the problem of low synchronization efficiency caused by the phased testing of the motor, so that users can realize timely parameter adjustment through the quantification of the vibration parameters of the motor and the quantification of the output parameters of the multimedia data, which helps to improve the synchronization efficiency.
[0128] Furthermore, in this exemplary embodiment, a parameter adjustment device is also provided. Fig. 9As shown, the parameter adjustment device 900 may include: a motor control unit 901, a multimedia data output unit 902, a quantization result output unit 903 and a parameter adjustment unit 904, wherein:
[0129] A motor control unit 901, used to control the motor to vibrate according to the vibration parameters;
[0130] The multimedia data output unit 902 is used to play the multimedia data according to the output parameters;
[0131] A quantization result output unit 903, used to jointly output the quantized vibration result and the playback result, where the vibration result and the playback result are used to determine whether to perform parameter adjustment;
[0132] The parameter adjustment unit 904 is used to adjust at least one of the vibration parameter and the output parameter according to the parameter adjustment operation when a parameter adjustment operation acting on the parameter adjustment interface is detected, so as to synchronize the vibration of the motor and the playback of the multimedia data.
[0133] The vibration parameters include at least one of the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration; the output parameters include at least one of the delay duration and the maximum particle effect duration.
[0134] It can be seen that implementation Fig. 9 The device shown can realize the binding test of vibration and sound through quantified vibration parameters and output parameters. Users can personally feel whether the vibration and sound are consistent through the binding test, and modify at least one of the vibration parameters and output parameters in the case of inconsistency, so as to achieve the synchronization between the vibration effect and the multimedia data faster and more accurately. In addition, it can also avoid the problem of low synchronization efficiency caused by the phased testing of the motor, so that users can realize timely parameter adjustment through the quantification of the vibration parameters of the motor and the quantification of the output parameters of the multimedia data, which helps to improve the synchronization efficiency.
[0135] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0136] The graphical data output unit (not shown) is used to graphically display the current vibration effect according to the adjustment result and output effect evaluation information corresponding to the current vibration effect after the parameter adjustment unit 904 adjusts at least one of the vibration parameter and the output parameter according to the parameter adjustment operation.
[0137] It can be seen that the implementation of this optional embodiment can help users intuitively feel the synchronization between the vibration effect and multimedia data after parameter adjustment through the graphical display of the results, thereby helping to improve the adjustment efficiency of the synchronization accuracy.
[0138] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0139] An evaluation unit (not shown) is used to evaluate the current vibration effect according to the effect evaluation information to obtain an evaluation result after the graphical data output unit graphically displays the current vibration effect according to the adjustment result and outputs the effect evaluation information corresponding to the current vibration effect;
[0140] an information output unit (not shown), configured to output recommendation information for recommending that the adjustment result corresponding to the parameter adjustment operation be set as the optimal parameter when the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time;
[0141] The data storage unit (not shown) is used to store the adjustment result as the optimal parameter when the optimal parameter setting operation is detected.
[0142] It can be seen that the implementation of this optional embodiment can provide the function of optimal parameter setting, so that the user can store the parameters that he thinks have the highest synchronization after adjustment for easy recall.
[0143] In an exemplary embodiment of the present application, the data storage unit stores the adjustment result corresponding to the parameter adjustment operation as the optimal parameter, including:
[0144] If the parameter adjustment operation is used to adjust the vibration parameter, the vibration parameter is updated according to the adjustment result and the output parameter and the updated vibration parameter are stored correspondingly as the optimal parameter;
[0145] If the parameter adjustment operation is used to adjust the output parameter, the output parameter is updated according to the adjustment result and the vibration parameter and the updated output parameter are stored correspondingly as the optimal parameter;
[0146] If the parameter adjustment operation is used to adjust the output parameter and the vibration parameter, the vibration parameter and the output parameter are updated according to the adjustment result, and the updated vibration parameter and the updated output parameter are correspondingly stored as optimal parameters.
[0147] It can be seen that by implementing this optional embodiment, the corresponding storage of vibration parameters and output parameters can be easily called at any time, thereby improving the output efficiency of multimedia data accompanied by vibration effects.
[0148] In an exemplary embodiment of the present application, when in the delay management mode, the motor control unit 901 controls the motor to vibrate according to the vibration parameter, including:
[0149] The motor is controlled to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, and vibration end duration.
[0150] It can be seen that the implementation of this optional embodiment can facilitate users to pre-set various parameters by quantifying the test indicators for the motor, and then control the motor to vibrate according to the set parameters, so as to obtain the required delay test results.
[0151] In an exemplary embodiment of the present application, when in the granularity management mode, the motor control unit 901 controls the motor to vibrate according to the vibration parameters, including:
[0152] The motor is controlled to vibrate according to the maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration.
[0153] It can be seen that the implementation of this optional embodiment can facilitate users to pre-set various parameters by quantifying the test indicators of the motor, and then control the motor to vibrate according to the set parameters, so as to obtain the required particle size test results.
[0154] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0155] An operation receiving unit (not shown) is used for receiving a configuration operation for configuring a first vibration waveform and an initial delay duration before the motor control unit 901 controls the motor to vibrate according to the vibration parameters, if in a delay management mode, and graphically displaying the first vibration waveform and the initial delay duration through a parameter adjustment interface;
[0156] The operation receiving unit is further used for receiving a configuration operation for configuring the second vibration waveform and the initial data playback interval time length before the motor control unit 901 controls the motor to vibrate according to the vibration parameter, if in the granularity management mode, and graphically displaying the second vibration waveform and the initial data playback interval time length through the parameter adjustment interface;
[0157] The first vibration waveform is used to be represented by the maximum amplitude, continuous vibration duration, vibration start duration and vibration end duration; the second vibration waveform is used to be represented by the vibration interval duration.
[0158] It can be seen that the implementation of this optional embodiment can provide a parameter configuration function, and the user can configure the corresponding parameters according to personalized needs, which is conducive to obtaining the required test results, and further helps to improve the synchronization efficiency of multimedia data and vibration effects.
[0159] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0160] A test result generating unit (not shown), configured to generate a test result according to an adjustment result corresponding to the parameter adjustment operation after the parameter adjustment unit 904 adjusts at least one of the vibration parameter and the output parameter according to the parameter adjustment operation, and upload the test result to the cloud server so that the cloud server performs vibration retest according to the test data;
[0161] The test data includes at least one of test time, manufacturer, model, test version number, vibration test code, vibration parameters, effect parameters and custom data.
[0162] It can be seen that by implementing this optional embodiment, by uploading the test results, on the one hand, other users can refer to the test results, and on the other hand, retesting can be achieved through the cloud platform to ensure that the test results are normal.
[0163] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0164] A delay calculation unit (not shown), used to calculate a recommended delay time according to the quantized vibration result and the playback result before the motor control unit 901 controls the motor to vibrate according to the vibration parameter;
[0165] The delay output unit (not shown) is used to output the recommended delay duration to the parameter adjustment interface.
[0166] It can be seen that the implementation of this optional embodiment can automatically calculate the delay duration and recommend it to the user for reference, which can help improve the user's usage experience.
[0167] In an exemplary embodiment of the present application, the multimedia data output unit 902 plays the multimedia data according to the output parameters, including:
[0168] If the multimedia data includes audio data, playing the audio data;
[0169] If the multimedia data includes audio data and video data, the audio data and the video data are synchronously played in a frame synchronization manner.
[0170] It can be seen that the implementation of this optional embodiment can achieve the synchronization of audio data and vibration effects, and can also achieve the synchronization of audio and video data and vibration effects, which can expand the application scope of the present application.
[0171] In an exemplary embodiment of the present application, the above-mentioned device further includes:
[0172] The parameter alignment unit (not shown) is used to align the waveform represented by the vibration parameters and the waveform represented by the output parameters before the motor control unit 901 controls the motor to vibrate according to the vibration parameters.
[0173] It can be seen that implementing this optional embodiment can avoid the problem of inaccurate optimal delay duration determined due to parameter misalignment, which is beneficial to improving the accuracy of the maximum delay duration.
[0174] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0175] Since the various functional modules of the parameter adjustment device in the example embodiment of the present application correspond to the steps of the example embodiment of the parameter adjustment method described above, for details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the parameter adjustment method described above in the present application.
[0176] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0177] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0178] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0179] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0180] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0181] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A parameter adjustment method, characterized in that: include: When a test trigger operation is detected, the motor is controlled to vibrate according to the set vibration parameters, and multimedia data is played according to the output parameters; When a parameter adjustment operation acting on the parameter adjustment interface is detected, at least one of the vibration parameter and the output parameter is adjusted according to the parameter adjustment operation so that the vibration of the motor and the playback of the multimedia data are synchronized; According to the adjustment result corresponding to the parameter adjustment operation, the current vibration effect is graphically displayed and the effect evaluation information corresponding to the current vibration effect is output; Evaluate the current vibration effect according to the effect evaluation information to obtain an evaluation result; If the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time, outputting recommendation information for setting the adjustment result corresponding to the parameter adjustment operation as the best parameter; When an optimal parameter setting operation is detected, an adjustment result corresponding to the parameter adjustment operation is stored as the optimal parameter.
2. The method according to claim 1, characterized in that Storing the adjustment result corresponding to the parameter adjustment operation as the optimal parameter includes: If the parameter adjustment operation is used to adjust the vibration parameter, the vibration parameter is updated according to the adjustment result and the output parameter and the updated vibration parameter are stored correspondingly as the optimal parameter; If the parameter adjustment operation is used to adjust the output parameter, the output parameter is updated according to the adjustment result and the vibration parameter and the updated output parameter are stored correspondingly as the optimal parameter; If the parameter adjustment operation is used to adjust the output parameter and the vibration parameter, the vibration parameter and the output parameter are updated according to the adjustment result, and the updated vibration parameter and the updated output parameter are correspondingly stored as the optimal parameters.
3. The method according to claim 1, characterized in that The vibration parameters include at least one of maximum amplitude, continuous vibration duration, vibration start duration, vibration end duration and vibration interval duration; the output parameters include at least one of delay duration and maximum particle effect duration.
4. The method according to claim 3, characterized in that Control the motor to vibrate according to the set vibration parameters, including: When in the delay management mode, the motor is controlled to vibrate according to the maximum amplitude, the continuous vibration duration, the vibration start duration, and the vibration end duration.
5. The method according to claim 3, characterized in that: Control the motor to vibrate according to the set vibration parameters, including: When in the granularity management mode, the motor is controlled to vibrate according to the maximum amplitude, the continuous vibration duration, the vibration start duration, the vibration end duration, and the vibration interval duration.
6. The method according to claim 3, characterized in that Also includes: If in the delay management mode, receiving a configuration operation for configuring a first vibration waveform and an initial delay duration, and graphically displaying the first vibration waveform and the initial delay duration through the parameter adjustment interface; If in the granularity management mode, receiving a configuration operation for configuring a second vibration waveform and an initial data playback interval length, and graphically displaying the second vibration waveform and the initial data playback interval length through the parameter adjustment interface; The first vibration waveform is used to be represented by the maximum amplitude, the continuous vibration duration, the vibration start duration and the vibration end duration; the second vibration waveform is used to be represented by the vibration interval duration.
7. The method according to claim 1, characterized in that Also includes: Generate a test result according to the adjustment result corresponding to the parameter adjustment operation, and upload the test result to a cloud server so that the cloud server performs a vibration retest according to the test result; The test result includes at least one of test time, manufacturer, model, test version number, vibration test code, vibration parameters, effect parameters and custom data.
8. The method according to claim 1, characterized in that Also includes: Calculate the recommended delay time based on the quantified vibration results and playback results; The recommended delay duration is output to the parameter adjustment interface.
9. The method according to claim 1, characterized in that: The method further comprises: If the multimedia data includes audio data, playing the audio data; If the multimedia data includes the audio data and the video data, the audio data and the video data are synchronously played in a frame synchronization manner.
10. The method according to claim 1, characterized in that The method further comprises: The waveform represented by the vibration parameter and the waveform represented by the output parameter are aligned, and after the alignment, the motor is controlled to vibrate according to the set vibration parameter.
11. A parameter adjustment device, characterized in that: include: A motor control unit, used to control the motor to vibrate according to set vibration parameters when a test trigger operation is detected; A multimedia data output unit, used for playing multimedia data according to output parameters; A parameter adjustment unit, configured to adjust at least one of a vibration parameter and an output parameter according to the parameter adjustment operation when a parameter adjustment operation acting on the parameter adjustment interface is detected, so that the vibration of the motor and the playback of the multimedia data are synchronized; A graphical data output unit, used to graphically display the current vibration effect and output effect evaluation information corresponding to the current vibration effect according to the adjustment result corresponding to the parameter adjustment operation; An evaluation unit, configured to evaluate the current vibration effect according to the effect evaluation information to obtain an evaluation result; an information output unit, configured to output recommendation information for setting the adjustment result corresponding to the parameter adjustment operation as the optimal parameter if the evaluation result is used to indicate that the current vibration effect is the best test result among the test results within a unit time; The data storage unit is used to store the adjustment result corresponding to the parameter adjustment operation as the optimal parameter when the optimal parameter setting operation is detected.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
13. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more computer programs, which, when executed by the one or more processors, enables the electronic device to implement the method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The computer program product comprises a computer program, which is stored in a computer-readable storage medium. A processor of a computer device reads and executes the computer program from the computer-readable storage medium, so that the computer device executes the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Parameter adjustment method and device, computer readable storage medium and electronic equipment
CN114979349A