WO2024055924A1 - Vibration data generation method and apparatus, and electronic device and storage medium - Google Patents

Vibration data generation method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2024055924A1
WO2024055924A1 PCT/CN2023/117968 CN2023117968W WO2024055924A1 WO 2024055924 A1 WO2024055924 A1 WO 2024055924A1 CN 2023117968 W CN2023117968 W CN 2023117968W WO 2024055924 A1 WO2024055924 A1 WO 2024055924A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
frequency
intensity
vibration
parameters
Prior art date
Application number
PCT/CN2023/117968
Other languages
French (fr)
Chinese (zh)
Inventor
柳慧芬
施韵
明幼林
何亮
Original Assignee
武汉市聚芯微电子有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 武汉市聚芯微电子有限责任公司 filed Critical 武汉市聚芯微电子有限责任公司
Publication of WO2024055924A1 publication Critical patent/WO2024055924A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves

Definitions

  • the present invention relates to methods, devices, electronic equipment and storage media for generating vibration data.
  • vibration motors to provide vibration feedback functions.
  • the vibration motor is driven by a specific vibration signal to output the desired vibration effect.
  • Vibration signals can be generated based on pre-stored vibration data in a vibration effects library, or can be generated in real time based on external vibration data provided by the application. For example, when playing music or videos, vibration signals corresponding to the music or videos can be generated in real time to improve the user's audio-visual experience.
  • the present invention generally provides a method, device, electronic equipment and storage medium for generating vibration data, which can generate vibration data with frequency and intensity changing over time, thereby making the changes in vibration effects richer, more delicate and smoother, thus Improve user experience.
  • a method of generating vibration data may include: obtaining a first type of description parameters that define boundary conditions of a vibration effect, the first type of description parameters including time parameters, frequency parameters and intensity parameters of the vibration effect. ; Acquire the second type of description parameters of the vibration effect, the second type of description parameters include time variation parameters, and also include one or more of frequency variation parameters and intensity variation parameters; based on the first type of description parameters and the second type description parameter determines the duration of the vibration effect, and determines one or more of the frequency change and the intensity change within the duration; and based on the duration of the vibration effect, and in One or more of frequency changes and intensity changes within the duration generate vibration data representing the vibration effect, wherein the frequency change of the vibration effect within the duration depends in addition to the frequency parameter and the In addition to the frequency change parameter, it also depends on at least one of the intensity parameter and the intensity change parameter, and the intensity change of the vibration effect within the duration depends on the intensity parameter and the intensity change parameter. In addition, it also depends on the frequency parameter and the frequency change parameter
  • the second type of description parameters is decorrelated with the first type of description parameters.
  • the time change parameter describes segmenting, extending or shortening the duration of the vibration effect;
  • the frequency change parameter describes how the vibration effect is processed during the corresponding duration or time segment.
  • the intensity change parameter describes the change curve of the intensity of the vibration effect during the corresponding duration or time segment.
  • the change curve of the frequency and the change curve of the intensity each include one of a linear change curve, a quadratic change curve, and an exponential change curve.
  • the frequency change parameter describes mixing or frequency conversion processing of the frequency of the vibration effect;
  • the intensity change parameter describes the linearity or curvature of the intensity change of the vibration effect.
  • generating vibration data representing the vibration effect includes: based on a predetermined granularity, generating a duration or a time segment of the vibration effect, time parameters, frequency parameters and intensity parameters corresponding to each granularity. sequence.
  • the predetermined granularity is an integer multiple of half a vibration cycle.
  • the predetermined granularity is a time interval corresponding to the code rate.
  • an apparatus for generating vibration data may include: a first acquisition unit configured to acquire a first type of description parameters defining boundary conditions of a vibration effect, the first type of description parameters including the vibration effect The duration, frequency and intensity of one or more; determining units, configured to determine the duration of the vibration effect based on the first type description parameter and the second type description parameter, and determine the frequency change and intensity change within the duration one or more of; and a generating unit configured to generate a vibration representing the vibration effect based on the duration of the vibration effect and one or more of frequency changes and intensity changes within the duration.
  • the frequency change of the vibration effect within the duration depends on at least one of the intensity parameter and the intensity change parameter in addition to the frequency parameter and the frequency change parameter, and In addition to the intensity parameter and the intensity change parameter, the intensity change of the vibration effect within the duration also depends on at least one of the frequency parameter and the frequency change parameter.
  • the device may further include other modules for performing the above vibration data generation method.
  • an electronic device may include: a processor; and a memory, in which instructions are stored, which when executed by the processor, cause the electronic device to perform the above method for generating vibration data.
  • a readable storage medium in which instructions are stored, which when executed by a processor, cause the processor to execute the above method for generating vibration data.
  • Figure 1 shows a schematic graph of a vibration signal.
  • Figure 2 shows a flow chart of a vibration data generation method according to an embodiment of the present invention.
  • FIG. 3 shows a schematic diagram of the boundary conditions of the vibration effect defined by the first type of description parameters according to an embodiment of the present invention.
  • FIG. 4 shows a schematic graph of the frequency and intensity of the vibration effect defined by the first type of description parameter and the second type of description parameter together according to an embodiment of the present invention.
  • Figure 5 shows a schematic graph of vibration data generated according to an embodiment of the present invention.
  • Figure 6 shows a functional block diagram of an apparatus for generating vibration data according to an embodiment of the present invention.
  • FIG. 7 shows a structural block diagram of an electronic device for generating vibration data according to an embodiment of the present invention.
  • Figure 1 shows an example of a vibration signal representing a vibration effect, which includes multiple vibration units ( Figure 1 shows 5 vibration units), which are connected in sequence to form a complete vibration effect.
  • the vibration unit can be understood as the basic (minimum) unit of the vibration effect, and each vibration unit can be defined by frequency F, intensity I and time T.
  • the frequency F is the number of complete vibrations (corresponding to 2 ⁇ phase changes) completed by the vibration motor in unit time, which represents the speed of the vibration;
  • the intensity I represents the severity of the vibration, which depends on the mapping relationship and can be determined by the driving current or voltage, displacement , speed, acceleration and other vibration attribute data;
  • time T can include the start time of the vibration unit, which can be a relative start time or an absolute start time, and the duration of the vibration unit. Therefore, by using the frequency parameter F, the intensity parameter I, and the time parameter T to define each vibration unit, the desired vibration effect can be obtained.
  • the vibration effect thus defined still has some shortcomings.
  • the vibration signal within each vibration unit has the same frequency F and intensity I, and its outline is roughly rectangular in shape.
  • the vibration effect within each vibration unit is relatively single and lacks flexible changes; on the other hand, the changes in frequency F and intensity I between adjacent vibration units are relatively abrupt. Therefore, it is difficult to produce a vibration effect with rich vibration, delicate changes, and smoothness, resulting in poor user experience.
  • Exemplary embodiments of the present invention provide a method, device, electronic device, and storage medium for generating vibration data, which can generate more complex vibration data, thereby providing richer vibration design.
  • additional parameters are also provided to describe the changes in time parameters and the variation curves of frequency and intensity over time, thereby based on each vibration unit
  • the description parameters can generate vibration data with frequency and intensity changing over time, making the changes in the generated vibration effects richer and more delicate, and the changes between vibration units smoother, thus improving the user experience.
  • FIG. 2 shows a flow chart of a vibration data generation method 100 according to an embodiment of the present invention.
  • the method 100 can be executed at an electronic device that provides a vibration feedback function.
  • electronic devices include but are not limited to mobile phones and portable media players. devices, personal digital assistants, game controllers, virtual reality (VR) devices and wearable devices, etc.
  • VR virtual reality
  • first type description parameters defining boundary conditions of the vibration effect are obtained.
  • the first type of description parameters are the traditional parameters describing the time T, frequency F and intensity I of the vibration effect.
  • the vibration effect can be represented by a plurality of consecutive identical or different vibration units, and each vibration unit can be defined by a time parameter T, a frequency parameter F and an intensity parameter I.
  • the time parameter T may define the start time of the vibration unit, which may be a relative start time or an absolute start time, and the duration of the vibration unit, which may be a duration length, or may be the end time point of the vibration unit.
  • the frequency parameter F is the time the vibration motor completes in unit time The number of complete vibrations (corresponding to 2 ⁇ phase changes), which can indicate the speed of vibration.
  • the intensity parameter I represents the severity of the vibration, which depends on the mapping relationship and can be represented by vibration attribute data such as driving current or voltage, displacement amplitude, speed, acceleration, etc.
  • FIG. 3 schematically shows three vibration units, in which the start and end times of the first vibration unit are T 1 and T 2 respectively, the start and end frequencies are F 1 and F 2 respectively, and the start and end intensities are I 1 and I 2 respectively.
  • the start and end time, frequency and intensity of the latter two vibration units are not marked in Figure 3.
  • the first type of description parameters of each vibration unit may include start and stop time, start and stop frequency, and start and stop intensity; or in other embodiments, the start time, frequency, and intensity of the next vibration unit may As the end time, frequency and intensity of the previous vibration unit, each vibration unit can be defined by only one time parameter T, frequency parameter F and intensity parameter I, combined with the first type description parameters of the next vibration unit to determine the current vibration Boundary conditions for vibration effects in the element. In the example shown in Figure 3, it can be considered that during the duration of each vibration unit, its vibration frequency and intensity change linearly between the starting and stopping frequencies and the starting and stopping intensity, respectively.
  • the first type of description parameter is not limited to any specific expression form.
  • the first type of description parameter can be a relative value, an absolute value, or a union expression.
  • the time parameter (100,300) can mean that the relative start time is 100ms and the duration is 300ms.
  • the frequency parameter 160 can represent a frequency of 160Hz; the frequency parameter -50 can represent a deviation of -50Hz from the frequency f0, and the dynamic calculation is (f0-50)Hz, where f0 is the resonant frequency of the vibration motor; the frequency parameter (75, 20 ) can represent (75+20)Hz or (f0+75*20%)Hz.
  • the first description parameters may be related to each other.
  • the intensity parameter 100 can represent dt*100%*function(F), where dt is the preset vibration displacement, and function(F) represents the function of frequency F, where frequency F can be the starting frequency F 1 and the ending frequency of the vibration unit F 2 or average frequency (F 1 +F 2 )/2, etc.
  • the first type of description parameters can characterize the time, frequency and intensity of the vibration unit in any predetermined expression form.
  • a second type of description parameter of the vibration effect may be obtained, which describes changes in one or more parameters in the first type of description parameter.
  • the second type of description parameter may describe changes in one or more of the time parameter T, the frequency parameter F and the intensity parameter I of the vibration effect.
  • Examples of the second type of description parameters may include time-varying parameters (r 1 , r 2 ,..., rt ), frequency-varying parameters (p 1 , One or more of p 2 , ..., p f ) and intensity variation parameters (q 1 , q 2 , ..., q i ).
  • the description parameters of the second type are decorrelated (ie, decorrelated or uncorrelated) with the description parameters of the first type.
  • the value of the description parameters of the second type does not depend on any of the above.
  • the value of the first type description parameter but the second type description parameter may be used in a predetermined manner or rule with the first type description parameter to determine changes in the first type description parameter, which will be described in further detail below.
  • the second type of description parameters can be related to each other, for example, the intensity change parameter can be used together with the time change parameter and/or the frequency change parameter to determine the intensity of the vibration effect. changes, which will also be described in further detail below.
  • the time variation parameters (r 1 , r 2 , ..., rt ) may be used to further refine the duration T of the vibration unit (eg, from T 1 to T 2 as shown in FIG. 3 ). Divide it into multiple segments and describe the time length of each segment or the percentage of the entire duration of the vibration unit; or it can be used to extend or shorten the duration T of the vibration unit, such as describing the extended or shortened time length or percentage, etc. It can be understood that when the time variation parameters (r 1 , r 2 ,..., r t ) divide the duration T of the vibration unit into segments, the start and end frequency and start and end intensity of each segment can be determined according to the values shown in Figure 3 Linear changes in frequency and intensity are calculated. Without being limited to the examples described here, the time variation parameters (r 1 , r 2 , ..., rt ) may describe changes in the duration T of the vibration unit in various ways.
  • the frequency change parameters may describe the duration of the vibration effect (eg, starting time T 1 to end time T 2 ) or may be extended according to the time change parameter or The vibration frequency variation curve of the shortened duration period) or the time segment period (for example, the time segment period determined according to the time change parameter).
  • the frequency variation parameters may indicate mixing processing of start and end frequencies determined based on the frequency parameters, such as F 1 and F 2 , such as the components of frequency F 1 It decreases linearly, quadratically or exponentially with time, and the component of frequency F2 increases linearly, quadratically or exponentially with time.
  • the frequency change parameters (p 1 , p 2 , ..., p f ) may indicate frequency conversion processing of the start and end frequencies determined based on the frequency parameters, such as F 1 and F 2 , for example, the frequency may be linear, quadratic or from F 1 changes exponentially to frequency F 2 .
  • the frequency change parameters (p 1 , p 2 , ..., p f ) can define various frequency change curve forms.
  • a parameter field can indicate the selection of the desired function from several predefined functions representing the curve form.
  • a The parameter fields or fields may indicate the values of one or more variables for the function.
  • the frequency change parameters (p 1 , p 2 ,..., p f ) can give the slope of the frequency change curve at multiple sampling points. These sampling points are connected to each other according to the given slope to form a complete frequency change. curve.
  • the frequency variation parameters (p 1 , p 2 , ..., p f ) can describe the vibration unit in various ways Various variation curves of frequency F.
  • the intensity change parameters may describe the duration of the vibration effect (eg, starting time T 1 to end time T 2 ) or may be extended according to the time change parameter or The vibration intensity change curve during a shortened duration) or a time segment period (for example, a time segment period determined according to a time change parameter).
  • the vibration intensity can be represented by any attribute parameter that can represent the severity of the vibration, such as the driving current or voltage of the vibration motor, displacement, speed, acceleration, etc.
  • the intensity variation parameters may indicate the starting and ending intensities determined based on the intensity parameters, such as any intensity variation curve between I 1 and I 2 , for example, the vibration intensity may Change from intensity I 1 to I 2 in the form of a linear, quadratic or exponential change curve.
  • one parameter field in the intensity change parameters may indicate selection of a desired function from several predefined functions representing the form of a curve, in addition to one or Multiple parameter fields can indicate the value of one or more variables for the function.
  • the intensity change parameters (q 1 , q 2 , ..., q i ) can give the linearity or curvature of the intensity change curve at multiple sampling points, and these sampling points are according to the given linearity. Or the curvatures are connected to each other to form a complete intensity change curve.
  • the intensity variation parameters (q 1 , q 2 , ..., q i ) may describe various variation curves of the intensity I of the vibration unit in various ways.
  • first type description parameters and the second type description parameters are described above in separate steps 110 and 120, it should be understood that these parameters may also be obtained together in the same step.
  • first type description parameters and second type description parameters can be obtained from a pre-stored vibration effect library, or can be provided in real time by a running application, or obtained by processing data provided by an application in real time.
  • the duration of the vibration effect and the frequency change and intensity change within the duration are determined based on the first type of description parameters and the second type of description parameters.
  • the second type of description parameters describes the changes of the first type of description parameters, so the final vibration effect parameters can be determined based on the first type of description parameters and the second type of description parameters and according to the preset mapping relationship.
  • the second type of description parameters can be related to each other. An example of the preset mapping relationship is described below in the form of a function.
  • the functions functiontp(p 1 ,p 2 ,...,p f ), functionti(q 1 ,q 2 ,...,q i ) and functiontt(r 1 , r 2 ,..., r t ) respectively represents the frequency change parameters (p 1 , p 2 ,..., p f ) and intensity change parameters (q 1 , q 2 ,..., q i ) and the influence of time variation parameters (r 1 , r 2 ,..., rt ) on the duration of the vibration effect.
  • functiontp(p 1 ,p 2 ,...,p f ) and functionti(q 1 ,q 2 ,...,q i ) may be set to 0 or other flag values to represent time parameters Uncorrelated with frequency changes and intensity changes.
  • the time-varying parameters (r 1 , r 2 , ..., rt ) are empty or their values are 0, the function functiontt (r 1 , r 2 , ..., rt )
  • the value can be 0 or other marker values.
  • the value of functionT can be set to 1 or other marker values, indicating that the time parameters have not changed under the boundary conditions determined by the first type of description parameters.
  • the output value of the function functionT can be the changed duration or multiple durations Segmentation. It can be seen from formula (1) that the frequency parameters F 1 and F 2 and the intensity parameters I 1 and I 2 can also affect the time parameter of the vibration effect.
  • functions functionpp(p 1 ,p 2 ,...,p f ), functionpi(q 1 ,q 2 ,...,q i ) and functionpt(r 1 ,r 2 ,... ,r t ) respectively represent frequency change parameters (p 1 , p 2 ,..., p f ), intensity change parameters (q 1 , q 2 ,..., q i ) and time change parameters (r 1 , r 2 ,..., r t ) on the frequency change curve.
  • the frequency change curve can also depend on the intensity parameters I 1 , I 2 and intensity change parameters (q 1 , q 2 ,..., q i ).
  • functionpi q 1 , q 2 ,..., q i
  • the parameters I 1 and I 2 are irrelevant.
  • the frequency change curve of the vibration effect is defined, but it should be understood that the frequency change curve can also be a nonlinear curve such as a quadratic curve or an exponential curve.
  • functions functionip(p 1 ,p 2 ,...,p f ), functionii(q 1 ,q 2 ,...,q i ) and functionit(r 1 ,r 2 ,... ,r t ) respectively represent frequency change parameters (p 1 , p 2 ,..., p f ), intensity change parameters (q 1 , q 2 ,..., q i ) and time change parameters (r 1 , r 2 ,...,r t ) on the intensity change curve.
  • the intensity change curve can also depend on the frequency parameters F 1 , F 2 and frequency change parameters (p 1 , p 2 ,..., p f ).
  • functionip p 1 , p 2 ,..., p f
  • the curve has nothing to do with the frequency parameters F 1 and F 2.
  • is a scaling factor that controls the curvature and linearity of the curve, and its value ranges from 0 to 1.
  • the intensity change curve changes according to the specified curvature; when the value of ⁇ is larger, for example, 1, the contribution of the specified curvature to the intensity change curve is zero, and the intensity change curve is linear. Variety.
  • curve or "change curve” also cover the situation of partial or overall linear change. Examples of specific functions of intensity profiles are given here, but it is understood that other forms of intensity profiles can also be defined.
  • FIG. 4 shows a schematic diagram of the frequency F and intensity I determined through step 130 as a function of time.
  • the time parameter T does not change, but the frequency F and intensity I show a nonlinear change curve, which allows a more varied and delicate vibration effect to be defined, and the frequency and frequency between adjacent vibration units are Intensity changes are smoother, thereby improving the user experience.
  • vibration data representing the vibration effect may be generated based on the determined duration of the vibration effect and the frequency change curve and the intensity change curve.
  • the vibration data generated in step 140 is used to describe a vibration waveform that represents a desired vibration effect, an example of which is shown in FIG. 5 .
  • the particle size can be freely chosen depending on the specific embodiment. For example, when the generated vibration data is used for structured driving signal waveform design, the granularity can be an integer multiple of a predefined half vibration cycle, preferably half a vibration cycle, one vibration cycle, or two vibration cycles.
  • the waveform is composed of artificially divided structural units (for example, half a cycle is a structural unit). Within a structural unit, it has constant frequency and intensity (amplitude), and only the phase changes with time. .
  • the granularity may be a time interval corresponding to the code rate.
  • the code rate is the number of sampling points that generate the driving signal waveform per unit time. The frequency and intensity will change between each sampling point. Several sampling points together form the driving signal waveform per unit time.
  • the granularity can be predetermined according to the driving signal waveform design plan, and then based on the preset granularity, within the time dt corresponding to the granularity, the frequency value f that conforms to the frequency change curve and the intensity value that conforms to the intensity change curve can be determined.
  • a vibration waveform represented by the resulting sequence of data triples (dt, f, i) is shown in Figure 5.
  • vibration data representing the vibration effect is generated.
  • These vibration data can be provided to a drive chip of a vibration motor, for example.
  • the drive chip can generate a drive signal based on the vibration data and drive the vibration motor to vibrate to output a corresponding vibration effect.
  • the vibration data corresponding to multiple vibration units can be spliced with each other, as shown in Figure 5, to provide a complete desired vibration effect.
  • the vibration data of the present invention can produce richer and more delicate vibration effects, and the frequency and intensity changes between adjacent vibration units are smoother, thereby improving the user experience.
  • Figure 6 shows a functional block diagram of an apparatus 200 for generating vibration data according to an embodiment of the present invention.
  • the device 200 may be implemented at an electronic device with a vibration function or as a part of such an electronic device, and the device 200 may include a plurality of unit modules for implementing the vibration data generation method described above with reference to FIGS. 2-5 , such a unit Modules may be implemented in various ways, including but not limited to software, hardware, firmware, or any combination thereof.
  • the device 200 may include a first obtaining unit 210, a second obtaining unit 220, a determining unit 230 and generation unit 240.
  • the first acquisition unit 210 may be used to acquire the first type of description parameters that define the boundary conditions of the vibration effect.
  • the first type of description parameters include time parameters, frequency parameters and intensity parameters of the vibration effect; the second acquisition unit 220 may be used to Obtain the second type of description parameters of the vibration effect, the second type of description parameters include one or more of time change parameters, frequency change parameters and intensity change parameters; the determination unit 230 may be configured to based on the first type of description The parameters and the second type of description parameters determine the duration of the vibration effect as well as the frequency change and intensity change within the duration; the generating unit 240 may be configured to based on the duration of the vibration effect and within the duration Frequency changes and intensity changes within the device generate vibration data representing the vibration effect.
  • the second type of description parameters is decorrelated with the first type of description parameters.
  • the time change parameter describes segmenting, extending or shortening the duration of the vibration effect
  • the frequency change parameter describes how the vibration effect is processed during the corresponding duration or time segment.
  • the frequency change curve, the intensity change parameter describes the change curve of the intensity of the vibration effect during the corresponding duration or time segment.
  • the change curve of the frequency and the change curve of the intensity each include one of a linear change curve, a quadratic change curve, and an exponential change curve.
  • the frequency change parameter describes mixing or frequency conversion processing of the frequency of the vibration effect
  • the intensity change parameter describes the linearity or curvature of the intensity change of the vibration effect
  • the frequency change of the vibration effect within the duration depends on at least one of the intensity parameter and the intensity change parameter in addition to the frequency parameter and the frequency change parameter.
  • the intensity change of the vibration effect within the duration depends not only on the intensity parameter and the intensity change parameter, but also on at least one of the frequency parameter and the frequency change parameter.
  • the generating unit 240 may be configured to generate a sequence of time parameters, frequency parameters and intensity parameters corresponding to each granularity during the duration or time segment of the vibration effect based on the predetermined granularity.
  • the predetermined particle size is an integer multiple of half a vibration period.
  • FIG. 7 shows a structural block diagram of an electronic device 300 for generating vibration data according to an embodiment of the present invention.
  • electronic devices 300 include, but are not limited to, cell phones, portable media players, personal digital assistants, game controllers, virtual reality (VR) devices, wearable devices, and the like.
  • VR virtual reality
  • electronic device 300 may include one or more processors 310 and one or more memories 320 .
  • the processor 310 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
  • CPU central processing unit
  • the processor 310 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
  • Memory 320 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
  • the volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache).
  • the non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
  • Computer program instructions 322 may be stored on the computer-readable storage medium, and the processor 310 may execute the program instructions 322 to implement the vibration data generation method described above with reference to FIGS. 2-5 and/or other desired functions.
  • the electronic device 300 may also include any other appropriate components depending on the specific application.
  • embodiments of the present application may also be a computer program product, which includes computer program instructions that, when executed by a processor, cause the processor to perform the above-referenced steps with reference to FIG. 2-
  • the vibration data generation method described in 5 and/or other desired functions may also be a computer program product, which includes computer program instructions that, when executed by a processor, cause the processor to perform the above-referenced steps with reference to FIG. 2-
  • the vibration data generation method described in 5 and/or other desired functions may also be a computer program product, which includes computer program instructions that, when executed by a processor, cause the processor to perform the above-referenced steps with reference to FIG. 2-
  • the vibration data generation method described in 5 and/or other desired functions may also be a computer program product, which includes computer program instructions that, when executed by a processor, cause the processor to perform the above-referenced steps with reference to FIG. 2-
  • the vibration data generation method described in 5 and/or other desired functions may also be a computer program product, which includes computer program instructions that, when executed by
  • the computer program product can be used to write program codes for performing the operations of the embodiments of the present application in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • embodiments of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor cause the processor to perform the vibration described above with reference to FIGS. 2-5 Data generation methods and/or other desired functionality.
  • the computer-readable storage medium may be any combination of one or more readable media.
  • Can The read medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may include, for example, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • each component or each step can be decomposed and/or recombined. These decompositions and/or recombinations shall be considered equivalent versions of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Apparatuses For Generation Of Mechanical Vibrations (AREA)

Abstract

A vibration data generation method and apparatus, and an electronic device and a storage medium. A vibration data generation method may comprise: acquiring first-type description parameters, which define a boundary condition of a vibration effect, wherein the first-type description parameters comprise a time parameter, a frequency parameter and an intensity parameter of the vibration effect; acquiring second-type description parameters of the vibration effect, wherein the second-type description parameters comprise one or more of a time change parameter, a frequency change parameter and an intensity change parameter; on the basis of the first-type description parameters and the second-type description parameters, determining the duration of the vibration effect, and a frequency change and an intensity change within the duration; and on the basis of the duration of the vibration effect and the frequency change and the intensity change within the duration, generating vibration data, which represents the vibration effect.

Description

振动数据的生成方法、装置、电子设备和存储介质Vibration data generation method, device, electronic equipment and storage medium 技术领域Technical field
本发明涉及振动数据的生成方法、装置、电子设备和存储介质。The present invention relates to methods, devices, electronic equipment and storage media for generating vibration data.
背景技术Background technique
目前,许多电子设备例如手机、游戏手柄、虚拟现实(VR)设备等都配备有振动马达以提供振动反馈功能。振动马达由特定的振动信号驱动,以输出期望的振动效果。振动信号可以基于振动效果库中预先存储的振动数据来生成,或者可以基于应用程序提供的外部振动数据实时地生成。例如,在播放音乐或视频时,可以实时地生成与音乐或视频对应的振动信号,以改善用户的视听体验。Currently, many electronic devices such as mobile phones, game controllers, virtual reality (VR) devices, etc. are equipped with vibration motors to provide vibration feedback functions. The vibration motor is driven by a specific vibration signal to output the desired vibration effect. Vibration signals can be generated based on pre-stored vibration data in a vibration effects library, or can be generated in real time based on external vibration data provided by the application. For example, when playing music or videos, vibration signals corresponding to the music or videos can be generated in real time to improve the user's audio-visual experience.
发明内容Contents of the invention
本发明总体上提供一种振动数据的生成方法、装置、电子设备和存储介质,其能够生成频率和强度随时间而变化的振动数据,从而使得振动效果的变化更丰富、细腻和平滑,由此提升用户体验。The present invention generally provides a method, device, electronic equipment and storage medium for generating vibration data, which can generate vibration data with frequency and intensity changing over time, thereby making the changes in vibration effects richer, more delicate and smoother, thus Improve user experience.
根据一实施例,一种振动数据的生成方法可包括:获取定义振动效果的边界条件的第一类描述参数,所述第一类描述参数包括所述振动效果的时间参数、频率参数和强度参数;获取所述振动效果的第二类描述参数,所述第二类描述参数包括时间变化参数,并且还包括频率变化参数和强度变化参数中的一个或多个;基于所述第一类描述参数和所述第二类描述参数确定所述振动效果的持续时间,以及确定在所述持续时间内的频率变化和强度变化中的一个或多个;以及基于所述振动效果的持续时间,以及在所述持续时间内的频率变化和强度变化中的一个或多个,生成表示所述振动效果的振动数据,其中,所述振动效果在持续时间内的频率变化除了依赖于所述频率参数和所述频率变化参数之外,还依赖于所述强度参数和所述强度变化参数中的至少一个,并且所述振动效果在持续时间内的强度变化除了依赖于所述强度参数和所述强度变化参数之外,还依赖于所述频率参数和所述频率变化参数中的 至少一个。According to an embodiment, a method of generating vibration data may include: obtaining a first type of description parameters that define boundary conditions of a vibration effect, the first type of description parameters including time parameters, frequency parameters and intensity parameters of the vibration effect. ; Acquire the second type of description parameters of the vibration effect, the second type of description parameters include time variation parameters, and also include one or more of frequency variation parameters and intensity variation parameters; based on the first type of description parameters and the second type description parameter determines the duration of the vibration effect, and determines one or more of the frequency change and the intensity change within the duration; and based on the duration of the vibration effect, and in One or more of frequency changes and intensity changes within the duration generate vibration data representing the vibration effect, wherein the frequency change of the vibration effect within the duration depends in addition to the frequency parameter and the In addition to the frequency change parameter, it also depends on at least one of the intensity parameter and the intensity change parameter, and the intensity change of the vibration effect within the duration depends on the intensity parameter and the intensity change parameter. In addition, it also depends on the frequency parameter and the frequency change parameter. at least one.
在一些实施例中,所述第二类描述参数与所述第一类描述参数解相关。In some embodiments, the second type of description parameters is decorrelated with the first type of description parameters.
在一些实施例中,所述时间变化参数描述对所述振动效果的持续时间进行分段、延长或缩短处理;所述频率变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的频率的变化曲线;所述强度变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的强度的变化曲线。In some embodiments, the time change parameter describes segmenting, extending or shortening the duration of the vibration effect; the frequency change parameter describes how the vibration effect is processed during the corresponding duration or time segment. The change curve of the frequency; the intensity change parameter describes the change curve of the intensity of the vibration effect during the corresponding duration or time segment.
在一些实施例中,所述频率的变化曲线和所述强度的变化曲线每个都包括线性变化曲线、二次变化曲线和指数变化曲线中的一种。In some embodiments, the change curve of the frequency and the change curve of the intensity each include one of a linear change curve, a quadratic change curve, and an exponential change curve.
在一些实施例中,所述频率变化参数描述对所述振动效果的频率进行混频或变频处理;所述强度变化参数描述所述振动效果的强度变化的线性度或曲率。In some embodiments, the frequency change parameter describes mixing or frequency conversion processing of the frequency of the vibration effect; the intensity change parameter describes the linearity or curvature of the intensity change of the vibration effect.
在一些实施例中,生成表示所述振动效果的振动数据包括:基于预定的粒度,生成所述振动效果的持续时间或者时间分段期间,与各个粒度对应的时间参数、频率参数和强度参数的序列。In some embodiments, generating vibration data representing the vibration effect includes: based on a predetermined granularity, generating a duration or a time segment of the vibration effect, time parameters, frequency parameters and intensity parameters corresponding to each granularity. sequence.
在一些实施例中,当所述振动数据用于结构化驱动信号波形设计时,所述预定的粒度是半个振动周期的整数倍。当所述振动数据用于非结构化驱动信号波形设计时,所述预定的粒度是与码率对应的时间间隔。In some embodiments, when the vibration data is used for structured driving signal waveform design, the predetermined granularity is an integer multiple of half a vibration cycle. When the vibration data is used for unstructured driving signal waveform design, the predetermined granularity is a time interval corresponding to the code rate.
根据一实施例,一种用于生成振动数据的装置可包括:第一获取单元,用于获取定义振动效果的边界条件的第一类描述参数,所述第一类描述参数包括所述振动效果的持续时间、频率和强度;第二获取单元,用于获取所述振动效果的第二类描述参数,所述第二类描述参数包括时间变化参数,并且还包括频率变化参数和强度变化参数中的一个或多个;确定单元,用于基于所述第一类描述参数和所述第二类描述参数确定所述振动效果的持续时间,以及确定在所述持续时间内的频率变化和强度变化中的一个或多个;以及生成单元,用于基于所述振动效果的持续时间,以及在所述持续时间内的频率变化和强度变化中的一个或多个,生成表示所述振动效果的振动数据,其中,所述振动效果在持续时间内的频率变化除了依赖于所述频率参数和所述频率变化参数之外,还依赖于所述强度参数和所述强度变化参数中的至少一个,并且所述振动效果在持续时间内的强度变化除了依赖于所述强度参数和所述强度变化参数之外,还依赖于所述频率参数和所述频率变化参数中的至少一个。 According to an embodiment, an apparatus for generating vibration data may include: a first acquisition unit configured to acquire a first type of description parameters defining boundary conditions of a vibration effect, the first type of description parameters including the vibration effect The duration, frequency and intensity of one or more; determining units, configured to determine the duration of the vibration effect based on the first type description parameter and the second type description parameter, and determine the frequency change and intensity change within the duration one or more of; and a generating unit configured to generate a vibration representing the vibration effect based on the duration of the vibration effect and one or more of frequency changes and intensity changes within the duration. data, wherein the frequency change of the vibration effect within the duration depends on at least one of the intensity parameter and the intensity change parameter in addition to the frequency parameter and the frequency change parameter, and In addition to the intensity parameter and the intensity change parameter, the intensity change of the vibration effect within the duration also depends on at least one of the frequency parameter and the frequency change parameter.
在一些实施例中,所述装置还可以包括用于执行上述振动数据生成方法的其他模块。In some embodiments, the device may further include other modules for performing the above vibration data generation method.
根据一实施例,一种电子设备可包括:处理器;以及存储器,其中存储有指令,所述指令在由所述处理器执行时,使得所述电子设备执行上述用于生成振动数据的方法。According to an embodiment, an electronic device may include: a processor; and a memory, in which instructions are stored, which when executed by the processor, cause the electronic device to perform the above method for generating vibration data.
根据一实施例,提供一种可读存储介质,其中存储有指令,所述指令在由处理器执行时,使得所述处理器执行上述用于生成振动数据的方法。According to an embodiment, a readable storage medium is provided, in which instructions are stored, which when executed by a processor, cause the processor to execute the above method for generating vibration data.
本发明的上述和其他特征和优点将从下面结合附图对示例性实施例的描述变得显而易见。The above and other features and advantages of the present invention will become apparent from the following description of exemplary embodiments taken in conjunction with the accompanying drawings.
附图说明Description of drawings
图1示出一种振动信号的示意曲线图。Figure 1 shows a schematic graph of a vibration signal.
图2示出根据本发明一实施例的振动数据生成方法的流程图。Figure 2 shows a flow chart of a vibration data generation method according to an embodiment of the present invention.
图3示出根据本发明一实施例由第一类描述参数定义的振动效果的边界条件的示意图。FIG. 3 shows a schematic diagram of the boundary conditions of the vibration effect defined by the first type of description parameters according to an embodiment of the present invention.
图4示出根据本发明一实施例由第一类描述参数和第二类描述参数一起定义的振动效果的频率和强度随时间变化的示意性曲线图。FIG. 4 shows a schematic graph of the frequency and intensity of the vibration effect defined by the first type of description parameter and the second type of description parameter together according to an embodiment of the present invention.
图5示出根据本发明一实施例生成的振动数据的示意性曲线图。Figure 5 shows a schematic graph of vibration data generated according to an embodiment of the present invention.
图6示出根据本发明一实施例的用于生成振动数据的装置的功能框图。Figure 6 shows a functional block diagram of an apparatus for generating vibration data according to an embodiment of the present invention.
图7示出根据本发明一实施例的用于生成振动数据的电子设备的结构框图。FIG. 7 shows a structural block diagram of an electronic device for generating vibration data according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图来描述本发明的一些示范性实施例。为了清楚和完整地描述这些示范性实施例,下面的描述提供了一些特定细节。但是应理解,本发明不应被限制到这些示范性实施例的特定细节。而是,可以在没有这些特定细节或者采用其他替代方式的情况下,实施本发明的实施例,而不会偏离权利要求定义的本发明的思想和原理。Some exemplary embodiments of the present invention will be described below with reference to the accompanying drawings. In order to clearly and completely describe these exemplary embodiments, the following description provides certain specific details. It is to be understood, however, that the invention should not be limited to the specific details of these exemplary embodiments. Rather, embodiments of the invention may be practiced without these specific details or in alternative ways without departing from the spirit and principles of the invention as defined by the claims.
在实际应用中,响应于不同的事件,期望能够提供不同的振动效果。图1示出了表示振动效果的振动信号的一个示例,其包括多个振动单元(图1示出了5个振动单元),这些振动单元依次连接形成一个完整的振动效果。 振动单元可以理解为振动效果的基本(最小)单元,每个振动单元可以由频率F、强度I和时间T来定义。频率F是振动马达在单位时间内完成的完整振动(对应于2π相位变化)的次数,其表示振动的快慢;强度I表示振动的剧烈程度,其取决于映射关系可以由驱动电流或电压、位移、速度、加速度等振动属性数据来表示;时间T可包括振动单元的开始时间,其可以是相对开始时间或者绝对开始时间,以及振动单元的持续时间。因此,通过使用频率参数F、强度参数I和时间参数T来定义各个振动单元,可以获得期望的振动效果。In practical applications, it is expected to provide different vibration effects in response to different events. Figure 1 shows an example of a vibration signal representing a vibration effect, which includes multiple vibration units (Figure 1 shows 5 vibration units), which are connected in sequence to form a complete vibration effect. The vibration unit can be understood as the basic (minimum) unit of the vibration effect, and each vibration unit can be defined by frequency F, intensity I and time T. The frequency F is the number of complete vibrations (corresponding to 2π phase changes) completed by the vibration motor in unit time, which represents the speed of the vibration; the intensity I represents the severity of the vibration, which depends on the mapping relationship and can be determined by the driving current or voltage, displacement , speed, acceleration and other vibration attribute data; time T can include the start time of the vibration unit, which can be a relative start time or an absolute start time, and the duration of the vibration unit. Therefore, by using the frequency parameter F, the intensity parameter I, and the time parameter T to define each vibration unit, the desired vibration effect can be obtained.
但是,这样定义的振动效果仍有一些不足之处。如图1所示,每个振动单元内的振动信号具有相同的频率F和强度I,其轮廓大致为矩形形状。一方面,每个振动单元内的振动效果比较单一,缺乏灵活的变化;另一方面,相邻振动单元之间的频率F和强度I变化比较突兀。因此,难以产生振感丰富,变化细腻、平滑的振动效果,导致用户体验不佳。However, the vibration effect thus defined still has some shortcomings. As shown in Figure 1, the vibration signal within each vibration unit has the same frequency F and intensity I, and its outline is roughly rectangular in shape. On the one hand, the vibration effect within each vibration unit is relatively single and lacks flexible changes; on the other hand, the changes in frequency F and intensity I between adjacent vibration units are relatively abrupt. Therefore, it is difficult to produce a vibration effect with rich vibration, delicate changes, and smoothness, resulting in poor user experience.
本发明的示例性实施例提供一种振动数据的生成方法、装置、电子设备和存储介质,其能够生成更复杂的振动数据,从而提供更丰富的振感设计。在本发明的示例性实施例中,除了传统的描述频率、强度和时间的参数之外,还提供附加参数来描述时间参数的变化以及频率和强度随时间的变化曲线,从而基于每个振动单元的描述参数,能够生成频率和强度随时间而变化的振动数据,使得所产生的振动效果的变化更丰富和细腻,而且振动单元之间的变化更平滑,由此提升了用户体验。Exemplary embodiments of the present invention provide a method, device, electronic device, and storage medium for generating vibration data, which can generate more complex vibration data, thereby providing richer vibration design. In an exemplary embodiment of the present invention, in addition to the traditional parameters describing frequency, intensity and time, additional parameters are also provided to describe the changes in time parameters and the variation curves of frequency and intensity over time, thereby based on each vibration unit The description parameters can generate vibration data with frequency and intensity changing over time, making the changes in the generated vibration effects richer and more delicate, and the changes between vibration units smoother, thus improving the user experience.
图2示出根据本发明一实施例的振动数据生成方法100的流程图,该方法100可以在提供振动反馈功能的电子设备处执行,这样的电子设备的示例包括但不限于手机、便携式媒体播放器、个人数字助理、游戏手柄、虚拟现实(VR)设备和可穿戴设备等。Figure 2 shows a flow chart of a vibration data generation method 100 according to an embodiment of the present invention. The method 100 can be executed at an electronic device that provides a vibration feedback function. Examples of such electronic devices include but are not limited to mobile phones and portable media players. devices, personal digital assistants, game controllers, virtual reality (VR) devices and wearable devices, etc.
参照图2,在步骤110,获取定义振动效果的边界条件的第一类描述参数。在本申请中,第一类描述参数是传统的描述振动效果的时间T、频率F和强度I的参数。在一些实施例中,振动效果可以由多个连续的相同或不同振动单元表示,每个振动单元可以由时间参数T、频率参数F和强度参数I来定义。时间参数T可以定义振动单元的开始时间,其可以是相对开始时间或者绝对开始时间,以及振动单元的持续时间,其可以是持续时间长度,或者可以是振动单元的结束时间点。频率参数F是振动马达在单位时间内完成 的完整振动(对应于2π相位变化)的次数,其可以表示振动的快慢。强度参数I表示振动的剧烈程度,其取决于映射关系可以由驱动电流或电压、位移振幅、速度、加速度等振动属性数据来表示。Referring to Figure 2, in step 110, first type description parameters defining boundary conditions of the vibration effect are obtained. In this application, the first type of description parameters are the traditional parameters describing the time T, frequency F and intensity I of the vibration effect. In some embodiments, the vibration effect can be represented by a plurality of consecutive identical or different vibration units, and each vibration unit can be defined by a time parameter T, a frequency parameter F and an intensity parameter I. The time parameter T may define the start time of the vibration unit, which may be a relative start time or an absolute start time, and the duration of the vibration unit, which may be a duration length, or may be the end time point of the vibration unit. The frequency parameter F is the time the vibration motor completes in unit time The number of complete vibrations (corresponding to 2π phase changes), which can indicate the speed of vibration. The intensity parameter I represents the severity of the vibration, which depends on the mapping relationship and can be represented by vibration attribute data such as driving current or voltage, displacement amplitude, speed, acceleration, etc.
上述第一类描述参数,即时间参数T、频率参数F和强度参数I,定义了振动效果的边界条件,其示例示于图3中。图3示意性示出了三个振动单元,其中第一个振动单元的起止时间分别为T1和T2,起止频率分别为F1和F2,起止强度分别为I1和I2。为了简单起见,图3中未标注后两个振动单元的起止时间、频率和强度。可以理解,在一些实施例中,每个振动单元的第一类描述参数可以包括起止时间、起止频率和起止强度;或者在另一些实施例中,下一个振动单元的起点时间、频率和强度可以作为上一个振动单元的结束时间、频率和强度,因此每个振动单元可以仅由一个时间参数T、频率参数F和强度参数I定义,结合下一个振动单元的第一类描述参数来确定当前振动单元中的振动效果的边界条件。在图3所示的示例中,可以认为在每个振动单元的持续时间期间,其振动频率和强度分别在起止频率和起止强度之间线性变化。The above-mentioned first type of description parameters, namely the time parameter T, the frequency parameter F and the intensity parameter I, define the boundary conditions of the vibration effect, an example of which is shown in Figure 3. Figure 3 schematically shows three vibration units, in which the start and end times of the first vibration unit are T 1 and T 2 respectively, the start and end frequencies are F 1 and F 2 respectively, and the start and end intensities are I 1 and I 2 respectively. For the sake of simplicity, the start and end time, frequency and intensity of the latter two vibration units are not marked in Figure 3. It can be understood that in some embodiments, the first type of description parameters of each vibration unit may include start and stop time, start and stop frequency, and start and stop intensity; or in other embodiments, the start time, frequency, and intensity of the next vibration unit may As the end time, frequency and intensity of the previous vibration unit, each vibration unit can be defined by only one time parameter T, frequency parameter F and intensity parameter I, combined with the first type description parameters of the next vibration unit to determine the current vibration Boundary conditions for vibration effects in the element. In the example shown in Figure 3, it can be considered that during the duration of each vibration unit, its vibration frequency and intensity change linearly between the starting and stopping frequencies and the starting and stopping intensity, respectively.
可以理解,第一类描述参数不限于任何特定的表达形式。例如,第一类描述参数可以是相对值、绝对值或者联合表达式。例如,时间参数(100,300)可以表示相对开始时间为100ms后开始,持续时间为300ms。例如,频率参数160可以表示频率为160Hz;频率参数-50可以表示从频率f0偏移-50Hz,动态计算为(f0-50)Hz,其中f0是振动马达的谐振频率;频率参数(75,20)可以表示(75+20)Hz或者(f0+75*20%)Hz。或者,频率参数(160,-50)可以表示起点频率为160Hz,结束频率为160-50=110Hz。而且,第一描述参数之间可以彼此关联。例如,强度参数100可以表示dt*100%*function(F),其中dt是预设振动位移,function(F)表示频率F的函数,其中频率F可以是振动单元的起点频率F1、结束频率F2或者平均频率(F1+F2)/2等。可以理解,在示例性实施例中,第一类描述参数可以以任何预定的表达形式来表征振动单元的时间、频率和强度。It can be understood that the first type of description parameter is not limited to any specific expression form. For example, the first type of description parameter can be a relative value, an absolute value, or a union expression. For example, the time parameter (100,300) can mean that the relative start time is 100ms and the duration is 300ms. For example, the frequency parameter 160 can represent a frequency of 160Hz; the frequency parameter -50 can represent a deviation of -50Hz from the frequency f0, and the dynamic calculation is (f0-50)Hz, where f0 is the resonant frequency of the vibration motor; the frequency parameter (75, 20 ) can represent (75+20)Hz or (f0+75*20%)Hz. Alternatively, the frequency parameter (160, -50) can indicate that the starting frequency is 160Hz and the ending frequency is 160-50=110Hz. Furthermore, the first description parameters may be related to each other. For example, the intensity parameter 100 can represent dt*100%*function(F), where dt is the preset vibration displacement, and function(F) represents the function of frequency F, where frequency F can be the starting frequency F 1 and the ending frequency of the vibration unit F 2 or average frequency (F 1 +F 2 )/2, etc. It can be understood that in exemplary embodiments, the first type of description parameters can characterize the time, frequency and intensity of the vibration unit in any predetermined expression form.
在步骤120中,可以获取振动效果的第二类描述参数,其描述了第一类描述参数中的一个或多个参数的变化。例如,第二类描述参数可以描述振动效果的时间参数T、频率参数F和强度参数I中的一个或多个的变化。第二类描述参数的示例可包括时间变化参数(r1,r2,...,rt)、频率变化参数(p1, p2,...,pf)和强度变化参数(q1,q2,...,qi)中的一个或多个。在本发明的一些实施例中,第二类描述参数与第一类描述参数解相关(即,去相关或者说不相关),也就是说,第二类描述参数的值并不依赖于任何上述第一类描述参数的值,但是第二类描述参数可以按照预定方式或规则与第一类描述参数一起使用来确定第一类描述参数的变化,这将在下面进一步详细描述。另一方面,与上面论述的第一类描述参数类似,第二类描述参数之间可以彼此相关,例如,强度变化参数可以与时间变化参数和/或频率变化参数一起使用来确定振动效果的强度变化,这也将在下面进一步详细描述。In step 120, a second type of description parameter of the vibration effect may be obtained, which describes changes in one or more parameters in the first type of description parameter. For example, the second type of description parameter may describe changes in one or more of the time parameter T, the frequency parameter F and the intensity parameter I of the vibration effect. Examples of the second type of description parameters may include time-varying parameters (r 1 , r 2 ,..., rt ), frequency-varying parameters (p 1 , One or more of p 2 , ..., p f ) and intensity variation parameters (q 1 , q 2 , ..., q i ). In some embodiments of the present invention, the description parameters of the second type are decorrelated (ie, decorrelated or uncorrelated) with the description parameters of the first type. That is to say, the value of the description parameters of the second type does not depend on any of the above. The value of the first type description parameter, but the second type description parameter may be used in a predetermined manner or rule with the first type description parameter to determine changes in the first type description parameter, which will be described in further detail below. On the other hand, similar to the first type of description parameters discussed above, the second type of description parameters can be related to each other, for example, the intensity change parameter can be used together with the time change parameter and/or the frequency change parameter to determine the intensity of the vibration effect. changes, which will also be described in further detail below.
在一些实施例中,时间变化参数(r1,r2,...,rt)可以用于将振动单元的持续时间T(例如,图3所示的从T1到T2)进一步细分成多段,描述各个分段的时间长度或者占振动单元的整个持续时间的百分比;或者可用于对振动单元的持续时间T进行延长或缩短处理,例如描述延长或缩短的时间长度或百分比等。可以理解,当时间变化参数(r1,r2,...,rt)将振动单元的持续时间T进行分段时,每个分段的起止频率和起止强度可以根据图3所示的频率和强度的线性变化来计算获得。不限于这里描述的示例,时间变化参数(r1,r2,...,rt)可以以各种方式来描述振动单元的持续时间T的变化。In some embodiments, the time variation parameters (r 1 , r 2 , ..., rt ) may be used to further refine the duration T of the vibration unit (eg, from T 1 to T 2 as shown in FIG. 3 ). Divide it into multiple segments and describe the time length of each segment or the percentage of the entire duration of the vibration unit; or it can be used to extend or shorten the duration T of the vibration unit, such as describing the extended or shortened time length or percentage, etc. It can be understood that when the time variation parameters (r 1 , r 2 ,..., r t ) divide the duration T of the vibration unit into segments, the start and end frequency and start and end intensity of each segment can be determined according to the values shown in Figure 3 Linear changes in frequency and intensity are calculated. Without being limited to the examples described here, the time variation parameters (r 1 , r 2 , ..., rt ) may describe changes in the duration T of the vibration unit in various ways.
在一些实施例中,频率变化参数(p1,p2,...,pf)可以描述在振动效果的持续时间期间(例如起点时间T1至结束时间T2或者根据时间变化参数延长或缩短后的持续时间期间)或者时间分段期间(例如根据时间变化参数确定的时间分段期间)的振动频率变化曲线。在一些实施例中,频率变化参数(p1,p2,...,pf)可以指示对基于频率参数确定的起止频率例如F1和F2进行混频处理,例如频率F1的成分随时间而呈线性、二次或指数形式减小,频率F2的成分随时间而呈线性、二次或指数形式增大。或者,频率变化参数(p1,p2,...,pf)可以指示对基于频率参数确定的起止频率例如F1和F2进行变频处理,例如频率可以从F1线性、二次或指数形式地变化到频率F2。频率变化参数(p1,p2,...,pf)可以定义各种频率变化的曲线形式,例如一个参数字段可以指示从表示曲线形式的若干预定义函数中选择期望的函数,此外一个或多个参数字段可以指示用于该函数的一个或多个变量的值。又例如,频率变化参数(p1,p2,...,pf)可以给出频率变化曲线在多个采样点处的斜率,这些采样点按给出的斜率彼此连接形成完整的频率变化曲线。不限于这里描述的示例,频率变化参数(p1,p2,...,pf)可以以各种方式来描述振动单元 的频率F的各种变化曲线。In some embodiments, the frequency change parameters (p 1 , p 2 , ..., p f ) may describe the duration of the vibration effect (eg, starting time T 1 to end time T 2 ) or may be extended according to the time change parameter or The vibration frequency variation curve of the shortened duration period) or the time segment period (for example, the time segment period determined according to the time change parameter). In some embodiments, the frequency variation parameters (p 1 , p 2 , ..., p f ) may indicate mixing processing of start and end frequencies determined based on the frequency parameters, such as F 1 and F 2 , such as the components of frequency F 1 It decreases linearly, quadratically or exponentially with time, and the component of frequency F2 increases linearly, quadratically or exponentially with time. Alternatively, the frequency change parameters (p 1 , p 2 , ..., p f ) may indicate frequency conversion processing of the start and end frequencies determined based on the frequency parameters, such as F 1 and F 2 , for example, the frequency may be linear, quadratic or from F 1 changes exponentially to frequency F 2 . The frequency change parameters (p 1 , p 2 , ..., p f ) can define various frequency change curve forms. For example, a parameter field can indicate the selection of the desired function from several predefined functions representing the curve form. In addition, a The parameter fields or fields may indicate the values of one or more variables for the function. For another example, the frequency change parameters (p 1 , p 2 ,..., p f ) can give the slope of the frequency change curve at multiple sampling points. These sampling points are connected to each other according to the given slope to form a complete frequency change. curve. Without being limited to the examples described here, the frequency variation parameters (p 1 , p 2 , ..., p f ) can describe the vibration unit in various ways Various variation curves of frequency F.
在一些实施例中,强度变化参数(q1,q2,...,qi)可以描述在振动效果的持续时间期间(例如起点时间T1至结束时间T2或者根据时间变化参数延长或缩短后的持续时间期间)或者时间分段期间(例如根据时间变化参数确定的时间分段期间)的振动强度变化曲线。应理解,振动强度可以由例如振动马达的驱动电流或电压、位移、速度、加速度等可以表示振动剧烈程度的任意属性参数来表示。在一些实施例中,强度变化参数(q1,q2,...,qi)可以指示基于强度参数确定的起止强度例如I1和I2之间的任意强度变化曲线,例如振动强度可以呈线性、二次或指数变化曲线的形式从强度I1变化到I2。在一些示例性实施例中,强度变化参数(q1,q2,...,qi)中的一个参数字段可以指示从表示曲线形式的若干预定义函数中选择期望的函数,此外一个或多个参数字段可以指示用于该函数的一个或多个变量的值。在另一些实施中,强度变化参数(q1,q2,...,qi)可以给出强度变化曲线在多个采样点处的线性度或曲率,这些采样点按照给出的线性度或曲率彼此连接形成完整的强度变化曲线。不限于这里描述的示例,强度变化参数(q1,q2,...,qi)可以以各种方式来描述振动单元的强度I的各种变化曲线。In some embodiments, the intensity change parameters (q 1 , q 2 , ..., q i ) may describe the duration of the vibration effect (eg, starting time T 1 to end time T 2 ) or may be extended according to the time change parameter or The vibration intensity change curve during a shortened duration) or a time segment period (for example, a time segment period determined according to a time change parameter). It should be understood that the vibration intensity can be represented by any attribute parameter that can represent the severity of the vibration, such as the driving current or voltage of the vibration motor, displacement, speed, acceleration, etc. In some embodiments, the intensity variation parameters (q 1 , q 2 , ..., q i ) may indicate the starting and ending intensities determined based on the intensity parameters, such as any intensity variation curve between I 1 and I 2 , for example, the vibration intensity may Change from intensity I 1 to I 2 in the form of a linear, quadratic or exponential change curve. In some exemplary embodiments, one parameter field in the intensity change parameters (q 1 , q 2 , ..., q i ) may indicate selection of a desired function from several predefined functions representing the form of a curve, in addition to one or Multiple parameter fields can indicate the value of one or more variables for the function. In other implementations, the intensity change parameters (q 1 , q 2 , ..., q i ) can give the linearity or curvature of the intensity change curve at multiple sampling points, and these sampling points are according to the given linearity. Or the curvatures are connected to each other to form a complete intensity change curve. Without being limited to the examples described here, the intensity variation parameters (q 1 , q 2 , ..., q i ) may describe various variation curves of the intensity I of the vibration unit in various ways.
虽然上面在单独的步骤110和120中描述了获取第一类描述参数和第二类描述参数的操作,但是应理解,也可以在同一步骤中一起获取这些参数。此外,上述第一类描述参数和第二类描述参数可以从预先存储的振动效果库中获得,或者也可以由运行的应用程序实时提供,或者通过对应用程序实时提供的数据进行处理而获得。Although the operations of obtaining the first type description parameters and the second type description parameters are described above in separate steps 110 and 120, it should be understood that these parameters may also be obtained together in the same step. In addition, the above-mentioned first type description parameters and second type description parameters can be obtained from a pre-stored vibration effect library, or can be provided in real time by a running application, or obtained by processing data provided by an application in real time.
继续参照图2,在步骤130,基于第一类描述参数和第二类描述参数来确定振动效果的持续时间以及在持续时间内的频率变化和强度变化。如前所述,第二类描述参数描述了第一类描述参数的变化,因此可以基于第一类描述参数和第二类描述参数,根据预设的映射关系来确定最终的振动效果参数。如前所述,在预设的映射关系中,第二类描述参数可以彼此相关,下面以函数形式来描述预设的映射关系的示例。Continuing to refer to FIG. 2 , in step 130 , the duration of the vibration effect and the frequency change and intensity change within the duration are determined based on the first type of description parameters and the second type of description parameters. As mentioned above, the second type of description parameters describes the changes of the first type of description parameters, so the final vibration effect parameters can be determined based on the first type of description parameters and the second type of description parameters and according to the preset mapping relationship. As mentioned above, in the preset mapping relationship, the second type of description parameters can be related to each other. An example of the preset mapping relationship is described below in the form of a function.
作为示例,振动单元的持续时间T可以根据下面的公式1来确定:
T=functionT[F1,F2,functiontp(p1,p2,...,pf),I1,I2,functionti(q1,q2,...,qi),
T1,T2,functiontt(r1,r2,...,rt)]   公式(1)。
As an example, the duration T of the vibration unit can be determined according to Equation 1 below:
T=functionT[F 1 ,F 2 ,functiontp(p 1 ,p 2 ,...,p f ),I 1 ,I 2 ,functionti(q 1 ,q 2 ,...,q i ),
T 1 ,T 2 ,functiontt(r 1 ,r 2 ,...,r t )] formula (1).
在上述公式1中,函数functiontp(p1,p2,...,pf)、functionti(q1,q2,...,qi)和 functiontt(r1,r2,...,rt)分别表示频率变化参数(p1,p2,...,pf)、强度变化参数(q1,q2,...,qi)和时间变化参数(r1,r2,...,rt)对振动效果持续时间的影响。在一些实施例中,可以将functiontp(p1,p2,...,pf)和functionti(q1,q2,...,qi)设置为0或者其他标记值,表示时间参数与频率变化和强度变化不相关。在一些实施例中,当时间变化参数(r1,r2,...,rt)为空或者其值为0时,函数functiontt(r1,r2,...,rt)的值可以为0或者其他标记值,进一步可以设置函数functionT的值为1或者其他标记值,表示时间参数在第一类描述参数确定的边界条件下没有做出改变。当时间变化参数(r1,r2,...,rt)指示对振动效果的时间参数进行分段或者缩放处理时,函数functionT的输出值可以为改变后的持续时间或者多个持续时间分段。从公式(1)可以看出,频率参数F1、F2和强度参数I1、I2也可以影响振动效果的时间参数。In the above formula 1, the functions functiontp(p 1 ,p 2 ,...,p f ), functionti(q 1 ,q 2 ,...,q i ) and functiontt(r 1 , r 2 ,..., r t ) respectively represents the frequency change parameters (p 1 , p 2 ,..., p f ) and intensity change parameters (q 1 , q 2 ,..., q i ) and the influence of time variation parameters (r 1 , r 2 ,..., rt ) on the duration of the vibration effect. In some embodiments, functiontp(p 1 ,p 2 ,...,p f ) and functionti(q 1 ,q 2 ,...,q i ) may be set to 0 or other flag values to represent time parameters Uncorrelated with frequency changes and intensity changes. In some embodiments, when the time-varying parameters (r 1 , r 2 , ..., rt ) are empty or their values are 0, the function functiontt (r 1 , r 2 , ..., rt ) The value can be 0 or other marker values. Furthermore, the value of functionT can be set to 1 or other marker values, indicating that the time parameters have not changed under the boundary conditions determined by the first type of description parameters. When the time change parameters (r 1 , r 2 ,..., r t ) indicate segmentation or scaling of the time parameters of the vibration effect, the output value of the function functionT can be the changed duration or multiple durations Segmentation. It can be seen from formula (1) that the frequency parameters F 1 and F 2 and the intensity parameters I 1 and I 2 can also affect the time parameter of the vibration effect.
作为示例,振动单元的频率变化曲线F可以根据下面的公式2来确定:
F=functionF[F1,F2,functionpp(p1,p2,...,pf),I1,I2,functionpi(q1,q2,...,qi),
T1,T2,functionpt(r1,r2,...,rt)]   公式(2)。
As an example, the frequency variation curve F of the vibration unit can be determined according to the following formula 2:
F=functionF[F 1 ,F 2 ,functionpp(p 1 ,p 2 ,...,p f ),I 1 ,I 2 ,functionpi(q 1 ,q 2 ,...,q i ),
T 1 ,T 2 ,functionpt(r 1 ,r 2 ,...,r t )] formula (2).
在上述公式2中,函数functionpp(p1,p2,...,pf)、functionpi(q1,q2,...,qi)和functionpt(r1,r2,...,rt)分别表示频率变化参数(p1,p2,...,pf)、强度变化参数(q1,q2,...,qi)和时间变化参数(r1,r2,...,rt)对频率变化曲线的影响。从公式2可以看出,频率变化曲线除了依赖于频率参数F1、F2和频率变化参数(p1,p2,...,pf)之外,还可以依赖于强度参数I1、I2和强度变化参数(q1,q2,...,qi)。在一些实施例中,可以将functionpi(q1,q2,...,qi)设置为0或者其他标记值,表示频率变化曲线与强度变化参数无关,并且还可以使频率变化曲线与强度参数I1、I2无关,此时公式2可以写为下面的公式2’:
F=functionF[F1,F2,functionpp(p1,p2,...,pf),T1,T2,functionpt(r1,r2,...,rt)]   
公式(2’)。
In the above formula 2, functions functionpp(p 1 ,p 2 ,...,p f ), functionpi(q 1 ,q 2 ,...,q i ) and functionpt(r 1 ,r 2 ,... ,r t ) respectively represent frequency change parameters (p 1 , p 2 ,..., p f ), intensity change parameters (q 1 , q 2 ,..., q i ) and time change parameters (r 1 , r 2 ,..., r t ) on the frequency change curve. It can be seen from Formula 2 that in addition to the frequency parameters F 1 , F 2 and frequency change parameters (p 1 , p 2 ,..., p f ), the frequency change curve can also depend on the intensity parameters I 1 , I 2 and intensity change parameters (q 1 , q 2 ,..., q i ). In some embodiments, functionpi (q 1 , q 2 ,..., q i ) can be set to 0 or other marker values, indicating that the frequency change curve has nothing to do with the intensity change parameter, and the frequency change curve can also be made to be related to the intensity change parameter. The parameters I 1 and I 2 are irrelevant. At this time, formula 2 can be written as the following formula 2':
F=functionF[F 1 ,F 2 ,functionpp(p 1 ,p 2 ,...,p f ),T 1 ,T 2 ,functionpt(r 1 ,r 2 ,...,r t )]
Formula (2').
在一示例中,可以预先定义公式2’为functionF=k*(t/dt)+f1,其中t表示时间轴,dt来自函数解析,表示一次振动粒度的时间长度,k表示由频率变化参数(p1,p2,...,pf)给出的斜率值,针对不同的时间分段可以有不同的斜率值k。这里,以斜率为k的线性变化为例,定义了振动效果的频率变化曲线,但是应理解,频率变化曲线也可以是诸如二次曲线、指数曲线之类的非线性曲线。In an example, formula 2' can be predefined as functionF=k*(t/dt)+f1, where t represents the time axis, dt comes from function analysis and represents the time length of one vibration granularity, and k represents the frequency change parameter ( The slope value given by p 1 , p 2 ,..., p f ) can have different slope values k for different time segments. Here, taking the linear change of slope k as an example, the frequency change curve of the vibration effect is defined, but it should be understood that the frequency change curve can also be a nonlinear curve such as a quadratic curve or an exponential curve.
作为示例,振动单元的强度变化曲线I可以根据下面的公式3来确定:
I=functionI[F1,F2,functionip(p1,p2,...,pf),I1,I2,functionii(q1,q2,...,qi),T1,
T2,functionit(r1,r2,...,rt)]   公式(3)。
As an example, the intensity variation curve I of the vibration unit can be determined according to the following formula 3:
I=functionI[F 1 ,F 2 ,functionip(p 1 ,p 2 ,...,p f ),I 1 ,I 2 ,functionii(q 1 ,q 2 ,...,q i ),T 1 ,
T 2 ,functionit(r 1 ,r 2 ,...,r t )] formula (3).
在上述公式3中,函数functionip(p1,p2,...,pf)、functionii(q1,q2,...,qi)和functionit(r1,r2,...,rt)分别表示频率变化参数(p1,p2,...,pf)、强度变化参数(q1,q2,...,qi)和时间变化参数(r1,r2,...,rt)对强度变化曲线的影响。从公式3可以看出,强度变化曲线除了依赖于强度参数I1、I2和强度变化参数(q1,q2,...,qi)之外,还可以依赖于频率参数F1、F2和频率变化参数(p1,p2,...,pf)。在一些实施例中,可以将functionip(p1,p2,...,pf)设置为0或者其他可识别的标记值,表示强度变化曲线与频率变化参数无关,并且还可以使强度变化曲线与频率参数F1、F2无关,此时公式3可以写为下面的公式3’:
I=functionI[I1,I2,functionii(q1,q2,...,qi),T1,T2,functionit(r1,r2,...,rt)]    
公式(3’)。
In the above formula 3, functions functionip(p 1 ,p 2 ,...,p f ), functionii(q 1 ,q 2 ,...,q i ) and functionit(r 1 ,r 2 ,... ,r t ) respectively represent frequency change parameters (p 1 , p 2 ,..., p f ), intensity change parameters (q 1 , q 2 ,..., q i ) and time change parameters (r 1 , r 2 ,...,r t ) on the intensity change curve. It can be seen from Formula 3 that in addition to the intensity parameters I 1 , I 2 and the intensity change parameters (q 1 , q 2 ,..., q i ), the intensity change curve can also depend on the frequency parameters F 1 , F 2 and frequency change parameters (p 1 , p 2 ,..., p f ). In some embodiments, functionip (p 1 , p 2 ,..., p f ) can be set to 0 or other identifiable marker values, indicating that the intensity change curve has nothing to do with the frequency change parameter, and the intensity change can also be made The curve has nothing to do with the frequency parameters F 1 and F 2. At this time, Formula 3 can be written as the following Formula 3':
I=functionI[I 1 ,I 2 ,functionii(q 1 ,q 2 ,...,q i ),T 1 ,T 2 ,functionit(r 1 ,r 2 ,...,r t )]
Formula (3').
在一示例中,可以预先定义公式3’为functionI=(1-β)*(I1+(I2-I1)*exp(α*t))+β*((I2-I1)*t/Tseg+I1),其中t表示时间轴,Tseg表示持续时间或时间分段长度,α表示曲率,其可以由强度变化参数(q1,q2,...,qi)给出,并且在不同的时间段Tseg可以有不同的曲率值。可以通过配置曲率值α和计算方式,形成对数效果的凹形曲线或指数效果的凸形曲线。β是控制曲线的曲率和线性度的比例因子,其取值在0到1的范围内。当β的值越小,例如为0时,强度变化曲线按指定的曲率变化;当β的值越大,例如为1时,指定的曲率对强度变化曲线的贡献为零,强度变化曲线呈线性变化。应理解,在本说明书中根据上下文可以理解,术语“曲线”或者“变化曲线”也涵盖局部或整体呈线性变化的情况。这里给出了强度变化曲线的特定函数示例,但是应理解,也可以定义其他形式的强度变化曲线。In an example, the formula 3' can be predefined as functionI=(1-β)*(I 1 +(I 2 -I 1 )*exp(α*t))+β*((I 2 -I 1 ) *t/T seg +I 1 ), where t represents the time axis, T seg represents the duration or time segment length, α represents the curvature, which can be determined by the intensity change parameters (q 1 , q 2 ,..., q i ) is given, and T seg can have different curvature values in different time periods. By configuring the curvature value α and the calculation method, a concave curve with a logarithmic effect or a convex curve with an exponential effect can be formed. β is a scaling factor that controls the curvature and linearity of the curve, and its value ranges from 0 to 1. When the value of β is smaller, for example, 0, the intensity change curve changes according to the specified curvature; when the value of β is larger, for example, 1, the contribution of the specified curvature to the intensity change curve is zero, and the intensity change curve is linear. Variety. It should be understood that according to the context in this specification, the terms "curve" or "change curve" also cover the situation of partial or overall linear change. Examples of specific functions of intensity profiles are given here, but it is understood that other forms of intensity profiles can also be defined.
如上所述,基于第一类描述参数和第二类描述参数以及预定义的映射关系(例如上面给出的示例函数),可以确定振动效果的持续时间以及在持续时间内的频率变化和强度变化,图4示出了通过步骤130确定的频率F和强度I随时间的变化曲线的示意图。在图4的示例中,时间参数T没有发生变化,频率F和强度I则呈现出非线性的变化曲线,从而可以定义变化更丰富细腻的振动效果,而且相邻的振动单元之间的频率和强度变化更平滑,由此提升了用户体验。As mentioned above, based on the first type description parameters and the second type description parameters and the predefined mapping relationship (such as the example function given above), the duration of the vibration effect and the frequency change and intensity change within the duration can be determined , FIG. 4 shows a schematic diagram of the frequency F and intensity I determined through step 130 as a function of time. In the example in Figure 4, the time parameter T does not change, but the frequency F and intensity I show a nonlinear change curve, which allows a more varied and delicate vibration effect to be defined, and the frequency and frequency between adjacent vibration units are Intensity changes are smoother, thereby improving the user experience.
在确定了振动效果的持续时间以及频率变化曲线和强度变化曲线之后, 在步骤140中,可以基于所确定的振动效果的持续时间以及频率变化曲线和强度变化曲线,生成表示振动效果的振动数据。步骤140生成的振动数据用于描述表示所期望的振动效果的振动波形,其示例示于图5中。在步骤140中,可以根据预定的粒度,来生成振动单元的持续时间或者时间分段期间,与各个粒度对应的时间参数dt、频率参数f和强度参数i的三元组(dt,f,i)的序列。粒度可以根据具体的实施方案来自由地选择。例如,当生成的振动数据是用于结构化的驱动信号波形设计时,粒度可以是预定义的半个振动周期的整数倍,优选地可以是半个振动周期、一个振动周期、两个振动周期、三个振动周期等等,当然也可以是其他数量的振动周期,例如四分之一个振动周期、一个半振动周期等。在结构化驱动波形设计中,波形由人为划分的结构单元(例如半个周期为一个结构单元)组成,在一个结构单元内具有不变的频率和强度(幅值),仅相位随时间而变化。再例如,当生成的振动数据是用于非结构化的驱动信号波形设计时,粒度可以是与码率对应的时间间隔。码率是单位时间内生成驱动信号波形的采样点的数量,在各个采样点之间频率和强度会发生变化,单位时间内由若干采样点一起形成驱动信号波形。如上所述,粒度可以根据驱动信号波形设计方案来预先确定,然后基于预设的粒度,可以确定在该粒度对应的时间dt内,符合频率变化曲线的频率值f和符合强度变化曲线的强度值i。所得的数据三元组(dt,f,i)的序列表示的振动波形的示例如图5所示。After determining the duration of the vibration effect as well as the frequency change curve and intensity change curve, In step 140, vibration data representing the vibration effect may be generated based on the determined duration of the vibration effect and the frequency change curve and the intensity change curve. The vibration data generated in step 140 is used to describe a vibration waveform that represents a desired vibration effect, an example of which is shown in FIG. 5 . In step 140, a triplet (dt, f, i )the sequence of. The particle size can be freely chosen depending on the specific embodiment. For example, when the generated vibration data is used for structured driving signal waveform design, the granularity can be an integer multiple of a predefined half vibration cycle, preferably half a vibration cycle, one vibration cycle, or two vibration cycles. , three vibration cycles, etc., of course, it can also be other numbers of vibration cycles, such as a quarter of a vibration cycle, one and a half vibration cycles, etc. In structured driving waveform design, the waveform is composed of artificially divided structural units (for example, half a cycle is a structural unit). Within a structural unit, it has constant frequency and intensity (amplitude), and only the phase changes with time. . For another example, when the generated vibration data is used for unstructured driving signal waveform design, the granularity may be a time interval corresponding to the code rate. The code rate is the number of sampling points that generate the driving signal waveform per unit time. The frequency and intensity will change between each sampling point. Several sampling points together form the driving signal waveform per unit time. As mentioned above, the granularity can be predetermined according to the driving signal waveform design plan, and then based on the preset granularity, within the time dt corresponding to the granularity, the frequency value f that conforms to the frequency change curve and the intensity value that conforms to the intensity change curve can be determined. i. An example of a vibration waveform represented by the resulting sequence of data triples (dt, f, i) is shown in Figure 5.
如上所述,生成了表示振动效果的振动数据,这些振动数据可以被提供给例如振动马达的驱动芯片,驱动芯片可以根据这些振动数据来生成驱动信号,驱动振动马达振动以输出对应的振动效果。可以理解,多个振动单元对应的振动数据可以彼此拼接,如图5所示的那样,以提供完整的期望的振动效果。如前所述,本发明的振动数据能够产生变化更丰富和细腻的振动效果,而且相邻的振动单元之间的频率和强度变化更平滑,由此提升了用户体验。As mentioned above, vibration data representing the vibration effect is generated. These vibration data can be provided to a drive chip of a vibration motor, for example. The drive chip can generate a drive signal based on the vibration data and drive the vibration motor to vibrate to output a corresponding vibration effect. It can be understood that the vibration data corresponding to multiple vibration units can be spliced with each other, as shown in Figure 5, to provide a complete desired vibration effect. As mentioned above, the vibration data of the present invention can produce richer and more delicate vibration effects, and the frequency and intensity changes between adjacent vibration units are smoother, thereby improving the user experience.
图6示出根据本发明一实施例的用于生成振动数据的装置200的功能框图。装置200可以实施在具有振动功能的电子设备处或者实施为这样的电子设备的一部分,并且装置200可以包括多个单元模块用于实施上面参照图2-5描述的振动数据生成方法,这样的单元模块可以以各种方式实现,包括但不限于软件、硬件、固件或者它们的任意组合。Figure 6 shows a functional block diagram of an apparatus 200 for generating vibration data according to an embodiment of the present invention. The device 200 may be implemented at an electronic device with a vibration function or as a part of such an electronic device, and the device 200 may include a plurality of unit modules for implementing the vibration data generation method described above with reference to FIGS. 2-5 , such a unit Modules may be implemented in various ways, including but not limited to software, hardware, firmware, or any combination thereof.
参照图6,装置200可包括第一获取单元210、第二获取单元220、确定 单元230和生成单元240。第一获取单元210可用于获取定义振动效果的边界条件的第一类描述参数,所述第一类描述参数包括所述振动效果的时间参数、频率参数和强度参数;第二获取单元220可用于获取所述振动效果的第二类描述参数,所述第二类描述参数包括时间变化参数、频率变化参数和强度变化参数中的一个或多个;确定单元230可用于基于所述第一类描述参数和所述第二类描述参数确定所述振动效果的持续时间以及在所述持续时间内的频率变化和强度变化;生成单元240可用于基于所述振动效果的持续时间以及在所述持续时间内的频率变化和强度变化,生成表示所述振动效果的振动数据。Referring to Figure 6, the device 200 may include a first obtaining unit 210, a second obtaining unit 220, a determining unit 230 and generation unit 240. The first acquisition unit 210 may be used to acquire the first type of description parameters that define the boundary conditions of the vibration effect. The first type of description parameters include time parameters, frequency parameters and intensity parameters of the vibration effect; the second acquisition unit 220 may be used to Obtain the second type of description parameters of the vibration effect, the second type of description parameters include one or more of time change parameters, frequency change parameters and intensity change parameters; the determination unit 230 may be configured to based on the first type of description The parameters and the second type of description parameters determine the duration of the vibration effect as well as the frequency change and intensity change within the duration; the generating unit 240 may be configured to based on the duration of the vibration effect and within the duration Frequency changes and intensity changes within the device generate vibration data representing the vibration effect.
在一些实施例中,所述第二类描述参数与所述第一类描述参数解相关。In some embodiments, the second type of description parameters is decorrelated with the first type of description parameters.
在一些实施例中,所述时间变化参数描述对所述振动效果的持续时间进行分段、延长或缩短处理,所述频率变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的频率的变化曲线,所述强度变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的强度的变化曲线。In some embodiments, the time change parameter describes segmenting, extending or shortening the duration of the vibration effect, and the frequency change parameter describes how the vibration effect is processed during the corresponding duration or time segment. The frequency change curve, the intensity change parameter describes the change curve of the intensity of the vibration effect during the corresponding duration or time segment.
在一些实施例中,所述频率的变化曲线和所述强度的变化曲线每个都包括线性变化曲线、二次变化曲线和指数变化曲线中的一种。In some embodiments, the change curve of the frequency and the change curve of the intensity each include one of a linear change curve, a quadratic change curve, and an exponential change curve.
在一些实施例中,所述频率变化参数描述对所述振动效果的频率进行混频或变频处理,所述强度变化参数描述所述振动效果的强度变化的线性度或曲率。In some embodiments, the frequency change parameter describes mixing or frequency conversion processing of the frequency of the vibration effect, and the intensity change parameter describes the linearity or curvature of the intensity change of the vibration effect.
在一些实施例中,所述振动效果在持续时间内的频率变化除了依赖于所述频率参数和所述频率变化参数之外,还依赖于所述强度参数和所述强度变化参数中的至少一个,所述振动效果在持续时间内的强度变化除了依赖于所述强度参数和所述强度变化参数之外,还依赖于所述频率参数和所述频率变化参数中的至少一个。In some embodiments, the frequency change of the vibration effect within the duration depends on at least one of the intensity parameter and the intensity change parameter in addition to the frequency parameter and the frequency change parameter. , the intensity change of the vibration effect within the duration depends not only on the intensity parameter and the intensity change parameter, but also on at least one of the frequency parameter and the frequency change parameter.
在一些实施例中,生成单元240可用于基于预定的粒度,生成所述振动效果的持续时间或者时间分段期间,与各个粒度对应的时间参数、频率参数和强度参数的序列。In some embodiments, the generating unit 240 may be configured to generate a sequence of time parameters, frequency parameters and intensity parameters corresponding to each granularity during the duration or time segment of the vibration effect based on the predetermined granularity.
在一些实施例中,所述预定的粒度是半个振动周期的整数倍。In some embodiments, the predetermined particle size is an integer multiple of half a vibration period.
图7示出根据本发明一实施例的用于生成振动数据的电子设备300的结构框图。电子设备300的示例包括但不限于手机、便携式媒体播放器、个人数字助理、游戏手柄、虚拟现实(VR)设备和可穿戴设备等。 FIG. 7 shows a structural block diagram of an electronic device 300 for generating vibration data according to an embodiment of the present invention. Examples of electronic devices 300 include, but are not limited to, cell phones, portable media players, personal digital assistants, game controllers, virtual reality (VR) devices, wearable devices, and the like.
参照图7,电子设备300可包括一个或多个处理器310以及一个或多个存储器320。Referring to FIG. 7 , electronic device 300 may include one or more processors 310 and one or more memories 320 .
处理器310可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备300中的其他组件以执行期望的功能。The processor 310 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
存储器320可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM)、硬盘、闪存等。在所述计算机可读存储介质上可以存储有计算机程序指令322,处理器310可以运行程序指令322,以实现上面参照图2-5描述的振动数据生成方法以及/或者其他期望的功能。Memory 320 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and/or cache memory (cache). The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. Computer program instructions 322 may be stored on the computer-readable storage medium, and the processor 310 may execute the program instructions 322 to implement the vibration data generation method described above with reference to FIGS. 2-5 and/or other desired functions.
当然,为了简化,图7中仅示出了电子设备300中与上面描述的方法相关的组件中的一些,省略了诸如总线、输入/输出接口、振动马达、马达驱动芯片等其他组件。除此之外,根据具体应用情况,电子设备300还可以包括任何其他适当的组件。Of course, for simplicity, only some of the components in the electronic device 300 related to the above-described method are shown in FIG. 7 , and other components such as buses, input/output interfaces, vibration motors, motor driver chips, etc. are omitted. In addition, the electronic device 300 may also include any other appropriate components depending on the specific application.
除了上述方法、装置和电子设备以外,本申请的实施例还可以是计算机程序产品,其包括计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行上面参照图2-5描述的振动数据生成方法以及/或者其他期望的功能。In addition to the above-mentioned methods, apparatuses and electronic devices, embodiments of the present application may also be a computer program product, which includes computer program instructions that, when executed by a processor, cause the processor to perform the above-referenced steps with reference to FIG. 2- The vibration data generation method described in 5 and/or other desired functions.
所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本申请实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be used to write program codes for performing the operations of the embodiments of the present application in any combination of one or more programming languages, including object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
此外,本申请的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行上面参照图2-5描述的振动数据生成方法以及/或者其他期望的功能。In addition, embodiments of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor cause the processor to perform the vibration described above with reference to FIGS. 2-5 Data generation methods and/or other desired functionality.
所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可 读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer-readable storage medium may be any combination of one or more readable media. Can The read medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
以上结合具体实施例描述了本申请的基本原理,但是,需要指出的是,在本申请中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本申请的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本申请为必须采用上述具体的细节来实现。The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be pointed out that the advantages, advantages, effects, etc. mentioned in this application are only examples and not limitations. These advantages, advantages, effects, etc. cannot be considered to be Each embodiment of this application must have. In addition, the specific details disclosed above are only for the purpose of illustration and to facilitate understanding, and are not limiting. The above details do not limit the application to be implemented using the above specific details.
本申请中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“诸如但不限于”,且可与其互换使用。The block diagrams of the devices, devices, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, devices, equipment, and systems may be connected, arranged, and configured in any manner. Words such as "includes," "includes," "having," etc. are open-ended words that mean "including, but not limited to," and may be used interchangeably therewith. As used herein, the words "or" and "and" refer to the words "and/or" and are used interchangeably therewith unless the context clearly dictates otherwise. As used herein, the word "such as" refers to the phrase "such as, but not limited to," and may be used interchangeably therewith.
还需要指出的是,在本申请的装置、设备和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本申请的等效方案。It should also be pointed out that in the device, equipment and method of the present application, each component or each step can be decomposed and/or recombined. These decompositions and/or recombinations shall be considered equivalent versions of this application.
提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本申请。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本申请的范围。因此,本申请不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, this application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本申请的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。 The foregoing description has been presented for the purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the form disclosed herein. Although various example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (11)

  1. 一种振动数据的生成方法,包括:A method for generating vibration data, including:
    获取定义振动效果的边界条件的第一类描述参数,所述第一类描述参数包括所述振动效果的时间参数、频率参数和强度参数;Obtain the first type of description parameters that define the boundary conditions of the vibration effect, the first type of description parameters including the time parameters, frequency parameters and intensity parameters of the vibration effect;
    获取所述振动效果的第二类描述参数,所述第二类描述参数包括时间变化参数,并且还包括频率变化参数和强度变化参数中的一个或多个;Obtain the second type of description parameters of the vibration effect, the second type of description parameters include time change parameters, and also include one or more of frequency change parameters and intensity change parameters;
    基于所述第一类描述参数和所述第二类描述参数确定所述振动效果的持续时间,以及确定在所述持续时间内的频率变化和强度变化中的一个或多个;以及Determining a duration of the vibration effect based on the first type of description parameter and the second type of description parameter, and determining one or more of a frequency change and an intensity change within the duration; and
    基于所述振动效果的持续时间,以及在所述持续时间内的频率变化和强度变化中的一个或多个,生成表示所述振动效果的振动数据,generating vibration data representative of the vibration effect based on the duration of the vibration effect and one or more of frequency changes and intensity changes within the duration,
    其中,所述振动效果在持续时间内的频率变化除了依赖于所述频率参数和所述频率变化参数之外,还依赖于所述强度参数和所述强度变化参数中的至少一个,并且所述振动效果在持续时间内的强度变化除了依赖于所述强度参数和所述强度变化参数之外,还依赖于所述频率参数和所述频率变化参数中的至少一个。Wherein, in addition to the frequency parameter and the frequency change parameter, the frequency change of the vibration effect within the duration also depends on at least one of the intensity parameter and the intensity change parameter, and the In addition to the intensity parameter and the intensity change parameter, the intensity change of the vibration effect within the duration also depends on at least one of the frequency parameter and the frequency change parameter.
  2. 如权利要求1所述的方法,其中,所述第二类描述参数与所述第一类描述参数解相关。The method of claim 1, wherein the second type of description parameter is de-correlated with the first type of description parameter.
  3. 如权利要求1所述的方法,其中,所述时间变化参数描述对所述振动效果的持续时间进行分段、延长或缩短处理,The method of claim 1, wherein the time variation parameter describes segmenting, extending or shortening the duration of the vibration effect,
    所述频率变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的频率的变化曲线,The frequency change parameter describes the change curve of the frequency of the vibration effect during the corresponding duration or time segment,
    所述强度变化参数描述在对应的持续时间或者时间分段期间,所述振动效果的强度的变化曲线。The intensity change parameter describes the change curve of the intensity of the vibration effect during the corresponding duration or time segment.
  4. 如权利要求3所述的方法,其中,所述频率的变化曲线和所述强度的变化曲线每个都包括线性变化曲线、二次变化曲线和指数变化曲线中的一种。 The method of claim 3, wherein the frequency variation curve and the intensity variation curve each include one of a linear variation curve, a quadratic variation curve, and an exponential variation curve.
  5. 如权利要求3所述的方法,其中,所述频率变化参数描述对所述振动效果的频率进行混频或变频处理,The method of claim 3, wherein the frequency change parameter describes mixing or frequency conversion processing of the frequency of the vibration effect,
    所述强度变化参数描述所述振动效果的强度变化的线性度或曲率。The intensity change parameter describes the linearity or curvature of the intensity change of the vibration effect.
  6. 如权利要求1所述的方法,其中,生成表示所述振动效果的振动数据包括:The method of claim 1, wherein generating vibration data representing the vibration effect includes:
    基于预定的粒度,生成所述振动效果的持续时间或者时间分段期间,与各个粒度对应的时间参数、频率参数和强度参数的序列。Based on the predetermined granularity, a sequence of time parameters, frequency parameters and intensity parameters corresponding to each granularity is generated during the duration or time segmentation of the vibration effect.
  7. 如权利要求6所述的方法,其中,当所述振动数据用于结构化驱动信号波形设计时,所述预定的粒度是半个振动周期的整数倍,The method of claim 6, wherein when the vibration data is used for structured driving signal waveform design, the predetermined granularity is an integer multiple of half a vibration cycle,
    当所述振动数据用于非结构化驱动信号波形设计时,所述预定的粒度是与码率对应的时间间隔。When the vibration data is used for unstructured driving signal waveform design, the predetermined granularity is a time interval corresponding to the code rate.
  8. 一种用于生成振动数据的装置,包括:An apparatus for generating vibration data, comprising:
    第一获取单元,用于获取定义振动效果的边界条件的第一类描述参数,所述第一类描述参数包括所述振动效果的持续时间、频率和强度;A first acquisition unit, configured to acquire the first type of description parameters that define the boundary conditions of the vibration effect, where the first type of description parameters include the duration, frequency and intensity of the vibration effect;
    第二获取单元,用于获取所述振动效果的第二类描述参数,所述第二类描述参数包括时间变化参数,并且还包括频率变化参数和强度变化参数中的一个或多个;A second acquisition unit, configured to acquire a second type of description parameter of the vibration effect, where the second type of description parameter includes a time change parameter, and also includes one or more of a frequency change parameter and an intensity change parameter;
    确定单元,用于基于所述第一类描述参数和所述第二类描述参数确定所述振动效果的持续时间,以及确定在所述持续时间内的频率变化和强度变化中的一个或多个;以及Determining unit, configured to determine the duration of the vibration effect based on the first type of description parameter and the second type of description parameter, and determine one or more of frequency changes and intensity changes within the duration. ;as well as
    生成单元,用于基于所述振动效果的持续时间,以及在所述持续时间内的频率变化和强度变化中的一个或多个,生成表示所述振动效果的振动数据,其中,所述振动效果在持续时间内的频率变化除了依赖于所述频率参数和所述频率变化参数之外,还依赖于所述强度参数和所述强度变化参数中的至少一个,并且所述振动效果在持续时间内的强度变化除了依赖于所述强度参数和所述强度变化参数之外,还依赖于所述频率参数和所述频率变化参数中的至少一个。 A generating unit configured to generate vibration data representing the vibration effect based on the duration of the vibration effect and one or more of frequency changes and intensity changes within the duration, wherein the vibration effect In addition to the frequency parameter and the frequency change parameter, the frequency change within the duration also depends on at least one of the intensity parameter and the intensity change parameter, and the vibration effect within the duration In addition to the intensity parameter and the intensity change parameter, the intensity change of also depends on at least one of the frequency parameter and the frequency change parameter.
  9. 如权利要求8所述的装置,其中,所述装置还包括用于执行权利要求2-7中的任一项所述的方法的模块。The apparatus of claim 8, wherein the apparatus further comprises a module for performing the method of any one of claims 2-7.
  10. 一种电子设备,包括:An electronic device including:
    处理器;以及processor; and
    存储器,其中存储有指令,所述指令在由所述处理器执行时,使得所述电子设备执行权利要求1至7中的任一项所述的方法。A memory storing instructions, wherein when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 7.
  11. 一种可读存储介质,其中存储有指令,所述指令在由处理器执行时,使得所述处理器执行权利要求1至7中的任一项所述的方法。 A readable storage medium in which instructions are stored, which when executed by a processor, cause the processor to execute the method described in any one of claims 1 to 7.
PCT/CN2023/117968 2022-09-13 2023-09-11 Vibration data generation method and apparatus, and electronic device and storage medium WO2024055924A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211109390.7A CN115390673A (en) 2022-09-13 2022-09-13 Vibration data generation method and device, electronic equipment and storage medium
CN202211109390.7 2022-09-13

Publications (1)

Publication Number Publication Date
WO2024055924A1 true WO2024055924A1 (en) 2024-03-21

Family

ID=84126917

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/117968 WO2024055924A1 (en) 2022-09-13 2023-09-11 Vibration data generation method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115390673A (en)
WO (1) WO2024055924A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115390673A (en) * 2022-09-13 2022-11-25 武汉市聚芯微电子有限责任公司 Vibration data generation method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160214007A1 (en) * 2015-01-27 2016-07-28 Nintendo Co., Ltd. Storage medium having stored therein vibration signal generation program, vibration generation apparatus, vibration generation system, and vibration signal generation method
CN111552377A (en) * 2020-03-30 2020-08-18 瑞声科技(新加坡)有限公司 Method, device and equipment for generating vibration signal and storage medium
CN111562839A (en) * 2020-03-30 2020-08-21 瑞声科技(新加坡)有限公司 Method and apparatus for presenting haptic effect based on displacement, storage medium and device
CN111580647A (en) * 2020-04-23 2020-08-25 瑞声科技(新加坡)有限公司 Vibration driving signal generation method and device and electronic equipment
CN112506341A (en) * 2020-12-01 2021-03-16 瑞声新能源发展(常州)有限公司科教城分公司 Vibration effect generation method and device, terminal equipment and storage medium
CN115390673A (en) * 2022-09-13 2022-11-25 武汉市聚芯微电子有限责任公司 Vibration data generation method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995629B (en) * 2021-12-30 2023-03-17 荣耀终端有限公司 Vibration method and vibration device
CN114740979B (en) * 2022-04-19 2023-03-24 腾讯科技(深圳)有限公司 Method and device for representing change trend of service curve and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160214007A1 (en) * 2015-01-27 2016-07-28 Nintendo Co., Ltd. Storage medium having stored therein vibration signal generation program, vibration generation apparatus, vibration generation system, and vibration signal generation method
CN111552377A (en) * 2020-03-30 2020-08-18 瑞声科技(新加坡)有限公司 Method, device and equipment for generating vibration signal and storage medium
CN111562839A (en) * 2020-03-30 2020-08-21 瑞声科技(新加坡)有限公司 Method and apparatus for presenting haptic effect based on displacement, storage medium and device
CN111580647A (en) * 2020-04-23 2020-08-25 瑞声科技(新加坡)有限公司 Vibration driving signal generation method and device and electronic equipment
CN112506341A (en) * 2020-12-01 2021-03-16 瑞声新能源发展(常州)有限公司科教城分公司 Vibration effect generation method and device, terminal equipment and storage medium
CN115390673A (en) * 2022-09-13 2022-11-25 武汉市聚芯微电子有限责任公司 Vibration data generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115390673A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
WO2024055924A1 (en) Vibration data generation method and apparatus, and electronic device and storage medium
US11289110B2 (en) Method and device for audio signal processing, and storage medium
WO2021196680A1 (en) Method and apparatus for presenting haptic effect based on displacement, storage medium, and device
Bullock et al. Ml. lib: robust, cross-platform, open-source machine learning for max and pure data.
EP0017341A1 (en) A sound synthesizing circuit and method of synthesizing sounds
WO2020108102A1 (en) Vibration method, electronic device and storage medium
WO2017162028A1 (en) Method and device for simulating on-line pressure test
CN106457310A (en) Drive device and drive device control method
US20230195945A1 (en) Integrated circuit chip verification method and apparatus, electronic device, and storage medium
US8843525B2 (en) Apparatus and method for calculating the selectivity of a range query for multidimensional data
CN111831114A (en) Driving voltage generation method and device, storage medium and electronic equipment
CN109410972B (en) Method, device and storage medium for generating sound effect parameters
CN110827789A (en) Music generation method, electronic device and computer-readable storage medium
TW202109508A (en) Sound separation method, electronic and computer readable storage medium
Eerola et al. Melodic and contextual similarity of folk song phrases
CN106054756B (en) The control method and device of robot
CN113674725B (en) Audio mixing method, device, equipment and storage medium
Choi Interactive exploration of a chaotic oscillator for generating musical signals in real-time concert performance
JPWO2021166745A5 (en)
CN110909789A (en) Sound volume prediction method and device, electronic equipment and storage medium
Klassen et al. Design of timbre with cellular automata and B-spline interpolation
Tan et al. Design of Computer-Optimised Signals for Linear System Identification
CN103902285A (en) Signal generator implementation method based on Android system
CN111400981B (en) Simulation circuit control system, method, electronic device, and storage medium
JP6139430B2 (en) Signal processing apparatus, method and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23864656

Country of ref document: EP

Kind code of ref document: A1