A waveform processing method, apparatus, device, and computer storage medium

By adjusting the frequencies of various vibration waveforms and superimposing them, the problem of low vibration feedback efficiency in multiple vibration processing was solved, achieving a clear, smooth, and rich vibration experience.

CN117008716BActive Publication Date: 2026-05-26WUHAN JUXIN MICROELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN JUXIN MICROELECTRONICS CO LTD
Filing Date
2023-03-22
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing technologies suffer from low vibration feedback efficiency, poor user experience, and disorganized or fragmented vibration effects when dealing with multiple vibrations.

Method used

By acquiring the vibration frequencies of various vibration waveforms, adjusting one or more of these frequencies to meet preset conditions, and then superimposing the adjusted frequencies, a target vibration waveform is generated.

Benefits of technology

It enhances the vibration overlay effect, achieving clear and smooth vibration feedback and a rich hybrid vibration experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117008716B_ABST
    Figure CN117008716B_ABST
Patent Text Reader

Abstract

This application discloses a waveform processing method, apparatus, device, and computer storage medium. The method includes: acquiring the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2; adjusting the vibration frequency of at least one of the n vibration waveforms to obtain a target vibration frequency corresponding to the n vibration waveforms, wherein the target vibration frequency satisfies a first preset condition; and superimposing the n vibration waveforms based on the target vibration frequency to generate a target vibration waveform. In this way, by adjusting the frequency of the vibration waveforms, the vibration waveforms can be better superimposed at the target vibration frequency, which not only improves the vibration sensing superposition effect but also enables rich mixed vibration sensing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vibration waveform processing technology, and in particular to a waveform processing method, apparatus, device, and computer storage medium. Background Technology

[0002] Vibration waveform processing is a crucial function in modern electronic devices, as high-quality vibration sensing significantly enhances the user experience. With the increasing sophistication of electronic system and application functions, the amount of vibration sensing involved in electronic devices is also growing. In some scenarios, a single electronic device needs to handle multiple vibrations occurring simultaneously, requiring the processing of these multiple vibrations.

[0003] When processing multiple vibrations, most related technologies employ either a method of superimposing and playing multiple vibrations or a method of interrupting each other based on priority. However, these methods all have some drawbacks. For example, the former not only makes the vibration sensations experienced by the user more chaotic, affecting the efficiency of vibration feedback, but the latter not only requires pre-setting the priority of all scenarios with vibration, but also the sudden termination of vibration caused by interruption can create a strong sense of discontinuity in the user experience, similarly affecting the efficiency of vibration feedback. Summary of the Invention

[0004] This application proposes a waveform processing method, apparatus, device, and computer storage medium that generates a new vibration waveform by adjusting the vibration frequency of multiple vibrations. This not only improves the vibration superposition effect but also makes the vibration effect clear and smooth, and can also achieve rich mixed vibration.

[0005] The technical solution of this application is implemented as follows:

[0006] In a first aspect, embodiments of this application provide a waveform processing method, the method comprising:

[0007] Obtain the vibration frequencies corresponding to the n conflicting vibration waveforms, where n is an integer greater than or equal to 2;

[0008] The vibration frequency of at least one of the n vibration waveforms is adjusted to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies the first preset condition.

[0009] The target vibration waveform is generated by superimposing the n vibration waveforms based on the target vibration frequency.

[0010] In some embodiments, the target vibration frequency satisfies a first preset condition, including: the target vibration frequencies corresponding to the n vibration waveforms have a least common multiple.

[0011] In some embodiments, the target vibration frequency satisfies a first preset condition, including:

[0012] The target vibration period corresponding to the n vibration waveforms satisfies the second preset condition; wherein, there is a corresponding relationship between the target vibration period and the target vibration frequency.

[0013] In some embodiments, the target vibration period corresponding to the n vibration waveforms satisfies a second preset condition, including: the target vibration period has a least common multiple.

[0014] In some embodiments, the method further includes:

[0015] When the duration corresponding to the least common multiple of the target vibration period is less than or equal to the vibration duration of the conflict zone, the target vibration frequency is determined to meet the first preset condition.

[0016] In some embodiments, after obtaining the vibration frequencies corresponding to the n conflicting vibration waveforms, the method further includes:

[0017] Determine the vibration period corresponding to the n vibration waveforms;

[0018] If the duration corresponding to the least common multiple of the vibration period is less than or equal to the vibration duration of the conflict zone, the vibration frequency corresponding to the n vibration waveforms is directly determined as the target vibration frequency.

[0019] In some embodiments, when the duration corresponding to the least common multiple of the vibration period is greater than the vibration duration of the conflict region, adjusting the vibration frequency of at least one vibration waveform among the n vibration waveforms includes:

[0020] A preset function is determined, using the vibration frequencies corresponding to the n vibration waveforms as variables;

[0021] Based on the preset function, the vibration frequency of at least one of the n vibration waveforms is adjusted until the duration corresponding to the least common multiple of the adjusted target vibration period is less than or equal to the vibration duration of the conflict region.

[0022] In some embodiments, the step of superimposing the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform further includes:

[0023] The target vibration waveform is obtained by summing the vibration magnitudes of the n vibration waveforms at each point according to the target vibration frequency.

[0024] In some embodiments, the step of superimposing the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform includes:

[0025] Determine the target weights corresponding to the n vibration waveforms;

[0026] The target vibration waveform is obtained by weighting and summing the vibration magnitudes of the n vibration waveforms at each point based on the target weight and the target vibration frequency.

[0027] In some embodiments, determining the target weights corresponding to the n vibration waveforms includes:

[0028] Obtain the target vibration effect;

[0029] Based on the target vibration effect, the target weights corresponding to the n vibration waveforms are determined.

[0030] Secondly, embodiments of this application provide a waveform processing apparatus, the waveform processing apparatus comprising:

[0031] The acquisition unit is configured to acquire the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2.

[0032] The adjustment unit is configured to adjust the vibration frequency of at least one of the n vibration waveforms to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition.

[0033] The superposition unit is configured to superimpose the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform.

[0034] Thirdly, embodiments of this application provide an electronic device, the electronic device comprising:

[0035] Memory is used to store computer programs that can run on a processor;

[0036] A processor, configured to execute the waveform processing method as described in any one of the first aspects when running the computer program.

[0037] Fourthly, embodiments of this application provide a computer storage medium storing a computer program that, when executed by at least one processor, implements the waveform processing method as described in any one of the first aspects.

[0038] This application provides a waveform processing method, apparatus, device, and computer storage medium that acquires the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2; adjusts the vibration frequency of at least one of the n vibration waveforms to obtain a target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition; based on the target vibration frequency, the n vibration waveforms are superimposed to generate a target vibration waveform. In this way, by adjusting the frequency of the vibration waveforms, the vibration waveforms can be better superimposed at the target vibration frequency, thereby not only improving the vibration superposition effect but also providing a clear and smooth vibration effect, and enabling rich mixed vibration sensations. Attached Figure Description

[0039] Figure 1 A schematic flowchart illustrating a waveform processing method provided in an embodiment of this application;

[0040] Figure 2 A detailed flowchart illustrating a waveform processing method provided in an embodiment of this application;

[0041] Figure 3 A waveform diagram illustrating a vibration waveform mixture provided for related technologies;

[0042] Figure 4 This application provides a waveform diagram of a vibration waveform mixture as an embodiment of the present application.

[0043] Figure 5 This is a schematic diagram of the composition structure of a waveform processing device provided in an embodiment of this application;

[0044] Figure 6 This is a schematic diagram of the specific hardware structure of an electronic device provided in an embodiment of this application;

[0045] Figure 7 This is a schematic diagram of the composition structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0046] In order to gain a more detailed understanding of the features and technical content of the embodiments of this application, the implementation of the embodiments of this application will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and illustration only and are not intended to limit the embodiments of this application.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0048] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. It should also be noted that the terms "first, second, third" used in the embodiments of this application are merely for distinguishing similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0049] It's understandable that vibration waveform processing is a crucial function in modern electronic devices, as high-quality vibration sensing can significantly enhance the user experience. With the increasing sophistication of electronic device systems and applications, vibration sensing is becoming more and more prevalent. In some scenarios, a single electronic device needs to handle multiple vibrations occurring simultaneously, requiring processing of these vibrations to generate the driving voltage for the final target vibration signal.

[0050] In related technologies, when processing multiple vibrations, most methods employ the method of superimposing and playing multiple vibrations. However, superimposing and playing multiple vibrations not only makes the vibration sensations experienced by the user chaotic, but also affects the efficiency of vibration feedback. Alternatively, different vibrations can be processed by interrupting each other according to priority. This not only requires pre-setting the priority of all scenarios with vibrations, making the program cumbersome and highly dependent on manual intervention, but also the sudden termination of vibrations caused by interruption can create a strong sense of discontinuity in the user experience, similarly affecting the efficiency of vibration feedback.

[0051] In short, current technical solutions are limited and unsuitable for interruption methods in some scenarios. For example, when multiple vibrations are issued simultaneously, it is usually necessary to determine the priority of each scene based on preset scene priorities, allowing higher-priority scene vibrations to interrupt lower-priority scene vibrations. In this case, the priority of all scene vibrations needs to be preset, which is complex and cannot achieve rich mixed vibration sensations.

[0052] Based on this, this application provides a waveform processing method. The basic idea of ​​this method is: to obtain the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2; to adjust the vibration frequency of at least one of the n vibration waveforms to obtain a target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition; and to superimpose the n vibration waveforms based on the target vibration frequency to generate a target vibration waveform. In this way, by adjusting the frequency of the vibration waveforms, the vibration waveforms can be better superimposed at the target vibration frequency, which not only improves the vibration superposition effect but also achieves a richer mixed vibration sensation. The method proposed in this application, by adjusting the frequency of the original vibration waveforms, can ensure that the vibration of the mixed vibration waveforms is fully realized, resulting in a better vibration superposition effect.

[0053] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0054] In one embodiment of this application, see Figure 1 This illustrates a flowchart of a waveform processing method provided in an embodiment of this application. Figure 1 As shown, the method may include:

[0055] S101: Obtain the vibration frequencies corresponding to the n conflicting vibration waveforms.

[0056] It should be noted that the waveform processing method provided in this application embodiment can be applied to waveform processing devices that require waveform processing, or to electronic devices that integrate such devices. Here, electronic devices can be such as computers, smartphones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, etc., and this application embodiment does not specifically limit them.

[0057] It should also be noted that in the embodiments of this application, there are n kinds of vibration waveforms among the multiple composite vibrations. The vibration frequencies of different vibration waveforms can be the same or different. When the vibration frequencies of at least two waveforms are the same, at least two waveforms can be directly superimposed to obtain a new waveform. Specifically, the peaks can be superimposed to obtain the target waveform with the largest vibration.

[0058] It should also be noted that, in the embodiments of this application, n vibration waveforms may include two, three or more vibration waveforms, that is, n is an integer greater than or equal to 2.

[0059] S102: Adjust the vibration frequency of at least one of the n vibration waveforms to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies the first preset condition.

[0060] It should be noted that, in the embodiments of this application, the vibration frequency of at least one of the n vibration waveforms is adjusted so that the vibration frequency of the n vibration waveforms meets the target requirements after adjustment, so that the n vibration waveforms can be superimposed subsequently.

[0061] It should also be noted that, in the embodiments of this application, when adjusting the vibration frequency, one or more of the n vibration waveforms can be adjusted. At least one waveform can be adjusted in terms of vibration frequency, and at most, each of the n vibration waveforms can be adjusted in terms of vibration frequency. Specifically, for the vibration waveform whose frequency is adjusted, the adjusted vibration waveform frequency can be used as the target vibration frequency; for the vibration waveform whose frequency is not adjusted, the original vibration waveform frequency can be directly used as the target vibration frequency.

[0062] In some embodiments, the target vibration frequency satisfies a first preset condition, which may include: the target vibration frequencies corresponding to the n vibration waveforms have a least common multiple.

[0063] It should be noted that, in the embodiments of this application, when the vibration frequencies corresponding to the n vibration waveforms have a least common multiple, it can be said that the frequencies of the n vibration waveforms have similar fluctuation characteristics, which can be used to merge them to generate the target vibration waveform.

[0064] In some embodiments, the target vibration frequency satisfying a first preset condition may include:

[0065] The target vibration period corresponding to the n vibration waveforms satisfies the second preset condition; wherein, there is a corresponding relationship between the target vibration period and the target vibration frequency.

[0066] It should be noted that, in the embodiments of this application, the target vibration period needs to be determined by the vibration frequency corresponding to n vibration waveforms. Then, when the target vibration period meets the second preset condition, the envelope approximation between the n vibration waveforms is determined, and they can be superimposed to generate the target vibration waveform.

[0067] It should also be noted that, in the embodiments of this application, the vibration period corresponding to the vibration waveform can be determined by the vibration frequency of the vibration waveform. Specifically, the vibration period T of the vibration waveform is 1 / f, where f is the vibration frequency of the vibration waveform.

[0068] In some embodiments, the target vibration period corresponding to the n vibration waveforms satisfies a second preset condition, which may include: the target vibration period corresponding to the n vibration waveforms has a least common multiple.

[0069] It should be noted that, in this embodiment, the target vibration period needs to be determined by the vibration frequencies corresponding to n vibration waveforms. Then, given that the target vibration period has a least common multiple, the envelope approximation between the n vibration waveforms is determined, and they can be superimposed to generate the target vibration waveform. Specifically, the vibration period of the vibration waveform is T = 1 / f, where f is the vibration frequency of the vibration waveform.

[0070] In some embodiments, the method may further include:

[0071] When the duration corresponding to the least common multiple of the target vibration period is less than or equal to the vibration duration of the conflict zone, the target vibration frequency is determined to meet the first preset condition.

[0072] It should be noted that, in this embodiment, the least common multiple of the target vibration period is compared with the vibration duration of the conflict area. If the target vibration period is less than or equal to the vibration duration of the conflict area, and the periodicity of the n vibration waveforms is determined to be relatively consistent, without any continuous weakening of each other, the n vibration waveforms can be superimposed to generate the target vibration waveform. Here, "consistent" can mean completely consistent or approximately consistent. For the periodicity of the n vibration waveforms to be relatively consistent, it can mean that the periodic errors between the n vibration waveforms are all within a preset range.

[0073] In some embodiments, after obtaining the vibration frequencies corresponding to the n conflicting vibration waveforms, the method may further include:

[0074] Determine the vibration period corresponding to the n vibration waveforms;

[0075] If the duration corresponding to the least common multiple of the vibration period is less than or equal to the vibration duration of the conflict zone, the vibration frequency corresponding to the n vibration waveforms is directly determined as the target vibration frequency.

[0076] It should be noted that, in the embodiments of this application, the vibration period corresponding to the vibration waveform can be determined by the vibration frequency of the vibration waveform. Specifically, the vibration period T of the vibration waveform is 1 / f, where f is the vibration frequency of the vibration waveform. The least common multiple of the target vibration period is compared with the vibration duration of the conflict area. If the target vibration period is less than or equal to the vibration duration of the conflict area, it is determined that the periodicity of the n vibration waveforms is relatively consistent and there will be no continuous mutual weakening. The n vibration waveforms can be superimposed to generate the target vibration waveform.

[0077] It should also be noted that, in the embodiments of this application, when the duration corresponding to the least common multiple of the vibration periods of the n vibration waveforms is less than or equal to the vibration duration of the conflict region, it can be determined that the vibration periods of the n vibration waveforms are relatively close. Therefore, the vibration frequency of the vibration waveforms does not need to be adjusted, and the original vibration frequency can be directly determined as the target vibration frequency.

[0078] In some embodiments, when the duration corresponding to the least common multiple of the vibration period is greater than the vibration duration of the conflict region, adjusting the vibration frequency of at least one of the n vibration waveforms may include:

[0079] A preset function is determined, using the vibration frequencies corresponding to the n vibration waveforms as variables;

[0080] Based on the preset function, the vibration frequency of at least one of the n vibration waveforms is adjusted until the duration corresponding to the least common multiple of the adjusted target vibration period is less than or equal to the vibration duration of the conflict region.

[0081] It should be noted that, in the embodiments of this application, when the duration corresponding to the least common multiple of the vibration periods of the n vibration waveforms is greater than the vibration duration of the conflict area, it indicates that the vibration periods of the n vibration waveforms differ significantly, and it is necessary to adjust the vibration frequency of at least one of the n vibration waveforms. Specifically, the overall frequency of the vibration waveform can be adjusted. When the vibration waveform is a variable frequency vibration, the vibration frequency of the vibration waveform can be adjusted locally, so that the duration corresponding to the least common multiple of the vibration periods of the n vibration waveforms is less than or equal to the vibration duration of the conflict area, and the adjusted vibration frequency is determined as the target vibration frequency.

[0082] It should be noted that, in the embodiments of this application, the vibration frequency of at least one of the n vibration waveforms can be adjusted using a preset function that takes the vibration frequencies corresponding to the n vibration waveforms as variables. Specifically, taking the adjustment of two vibration waveforms as an example, (f1′,f2′) = function(f1,f2) can be used to adjust the original vibration frequencies f1 and f2 to obtain the adjusted vibration frequencies f1′,f2′. If the vibration period corresponding to the adjusted vibration frequencies f1′,f2′ satisfies that the least common multiple is less than or equal to the vibration duration of the conflict area, the adjusted vibration frequency is determined as the target vibration frequency. Furthermore, taking the adjustment of multiple vibration waveforms as an example, (f1′,f2′…f n ′)=function(f1,f2…f n For the original vibration frequencies f1, f2…f nAdjustments were made to obtain the adjusted vibration frequencies f1′, f2′…f n The adjusted vibration frequencies are f1′, f2′…f′. n If the vibration period corresponding to ′ satisfies that the least common multiple is less than or equal to the vibration duration of the conflict area, the adjusted vibration frequency is determined as the target vibration frequency.

[0083] In this way, by adjusting the vibration frequency of at least one of the n vibration waveforms, and ensuring that the vibration period satisfies the condition that the least common multiple is less than or equal to the vibration duration of the conflict region, the target vibration frequency corresponding to the n vibration waveforms can be obtained.

[0084] S103: Based on the target vibration frequency, n vibration waveforms are superimposed to generate the target vibration waveform.

[0085] It should be noted that, in the embodiments of this application, while maintaining the target vibration frequency, n vibration waveforms are superimposed and merged to obtain the final target vibration waveform. Specifically, the peaks and troughs of the n vibration waveforms can be superimposed, which can maximize the vibration amount of the target vibration waveform and obtain a clearer vibration effect.

[0086] In some embodiments, the step of superimposing the n vibration waveforms based on the target vibration frequency to obtain the target vibration waveform may further include:

[0087] While keeping the target vibration frequency constant, the vibration magnitude of the n vibration waveforms at each point is summed to obtain the target vibration waveform.

[0088] It should be noted that, in the embodiments of this application, the vibration quantities of n vibration waveforms can be directly summed to obtain the target vibration waveform. Specifically, the vibration quantity of each point on the vibration waveform can be summed to obtain the target vibration waveform.

[0089] In some embodiments, the step of superimposing the n vibration waveforms based on the target vibration frequency to obtain the target vibration waveform may include:

[0090] While keeping the target vibration frequency constant, determine the target weights corresponding to the n vibration waveforms;

[0091] Based on the target weight, the vibration magnitude of the n vibration waveforms at each point is weighted and summed to obtain the target vibration waveform.

[0092] It should be noted that, in the process of determining the target weight, the preset weight of the vibration waveform can be determined according to the expected vibration effect to be obtained, or the preset weight of the vibration waveform can be determined according to the importance ranking, etc. Finally, the preset weight is determined as the target weight, and the n vibration waveforms are superimposed and merged. Specifically, the vibration amount of each point on the vibration waveform can be weighted and summed to obtain the target vibration waveform.

[0093] In some embodiments, determining the target weights corresponding to the n vibration waveforms may include:

[0094] Determine the target vibration waveform corresponding to the target vibration effect;

[0095] Based on the target vibration waveform, the importance of the n vibration waveforms is ranked, and the target weights corresponding to the n vibration waveforms are determined in turn.

[0096] It should be noted that, in the embodiments of this application, when determining the target weight, the target weight corresponding to different vibration waveforms can be adjusted according to the target vibration effect, and the target weight of different vibration waveforms can also be determined according to user preferences, etc., without any limitation.

[0097] This application provides a waveform processing method that obtains the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2; adjusts the vibration frequency of at least one of the n vibration waveforms to obtain a target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition; and superimposes the n vibration waveforms based on the target vibration frequency to generate a target vibration waveform. In this way, by adjusting the frequency of the vibration waveforms, the vibration waveforms can be better superimposed at the target vibration frequency, which not only improves the vibration sensing superposition effect but also enables rich mixed vibration sensing.

[0098] In another embodiment of this application, based on the waveform processing method described in the foregoing embodiments, see [link to previous document]. Figure 2 This illustrates a detailed flowchart of a waveform processing method provided in an embodiment of this application. Figure 2 As shown, the method may include:

[0099] S201: Obtain the vibration frequency of the mixed vibration waveform and calculate the vibration period time.

[0100] S202: Fine-tune the vibration frequency so that the least common multiple of the vibration period is less than the vibration duration of the conflict zone.

[0101] S203: Adjust the weights of the vibration waveform according to requirements to achieve the desired vibration effect of the mixed vibration.

[0102] S204: Processing complete.

[0103] Specifically, in this embodiment of the application, mixed vibration information is obtained, and the vibration period time of the mixed vibration waveform is processed based on this information so that the adjusted period time of the mixed vibration waveform has the least common multiple period time during the vibration time of the conflict area. Furthermore, weights are assigned to the vibration waveform to achieve the expected vibration effect, including the effect of achieving the maximum vibration amount of the mixed vibration waveform.

[0104] This application embodiment obtains the vibration frequencies of the mixed vibration waveforms and fine-tunes them to ensure that the vibration period times have a least common multiple of time, and this least common multiple time is less than the vibration duration of the conflict region, thereby achieving the expected vibration effect. The vibration period times t1, t2, ..., tn are obtained based on the vibration frequencies f1, f2, ..., fn of N mixed vibration waveforms, and the vibration frequencies are fine-tuned to ensure that the least common multiple time t of the vibration period times is achieved. lcm Vibration duration t in the conflict zone total This allows the mixed vibration of N vibration waveforms to achieve the maximum vibration amount within the vibration duration of the conflict zone, or to assign different weights to individual vibrations and superimpose them, so that the final mixed vibration waveform has a richer vibration effect.

[0105] For example, consider the hybrid vibration treatment method with N=2:

[0106] Obtain the vibration frequencies f1 and f2 of the two vibration waveforms, as well as the vibration duration t of the conflict region. total Adjust the vibration frequencies of the two vibration waveforms to have a least common multiple, that is, make the vibration period time a least common multiple t. lcm At this point, the maximum vibration effect of the two vibration waveforms can be obtained.

[0107] Ift lcm >t total ;

[0108] Then:f1′,f2′)=function(f1,f2);

[0109] t l ′ cm <t total .

[0110] Where f1' and f2' are the fine-tuned vibration frequencies, and t lcm ' is the least common multiple of the vibration period time after fine-tuning the vibration frequency.

[0111] For example, a hybrid vibration treatment method with N=2 is used.

[0112] Obtain the vibration frequencies f1 and f2 of the two vibration waveforms, as well as the vibration duration t of the conflict region. total The vibration period times t1 and t2 are obtained through the vibration frequency. At the same time, the preset weights A1 and A2 of the two vibration waveforms are calculated according to the desired vibration effect. By adjusting the vibration frequency of the two vibration waveforms and assigning weights to the two vibration waveforms, the mixed vibration waveform achieves the desired vibration effect.

[0113] final wave =A1×wave1+A2×wave2.

[0114] Where wave1 and wave2 are the waveforms after frequency adjustment, and A1 and A2 are the waveform weights.

[0115] See Figure 3 It shows a waveform diagram of a vibration waveform mixture provided by related technologies, such as... Figure 3 The mixed waveform shown exhibits unstable vibration and lacks periodicity, resulting in poor vibration performance. In some specific embodiments, see [reference needed]. Figure 4 The illustration shows a waveform diagram of a vibration waveform mixture provided in an embodiment of this application. By adjusting the frequencies of the two waveforms, the period of the adjusted waveform has a least common multiple, and the duration corresponding to the least common multiple is less than or equal to the vibration duration of the conflict area. The adjusted waveforms are then superimposed and merged to obtain a mixed waveform with a relatively stable vibration effect and a certain periodicity, achieving the expected vibration effect.

[0116] This application provides a waveform processing method. Based on the above embodiments, the specific implementation of the aforementioned embodiments is described in detail. It can be seen that, according to the technical solution of the aforementioned embodiments, this technical solution proposes to obtain mixed vibration information, process the vibration period time of the mixed vibration waveform based on this information, so that the adjusted mixed vibration waveform period time has the least common multiple period time within the vibration duration of the conflict region, and further assign weights to the vibration waveform to achieve the expected vibration effect, including achieving the effect of the maximum vibration amount of the mixed vibration waveform, etc.

[0117] In another embodiment of this application, see [link to application]. Figure 5 This illustrates a schematic diagram of the composition of a waveform processing apparatus provided in an embodiment of this application. Figure 5 As shown, the waveform processing device 50 may include:

[0118] The acquisition unit 501 is configured to acquire the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2.

[0119] The adjustment unit 502 is configured to adjust the vibration frequency of at least one vibration waveform among the n vibration waveforms to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition.

[0120] The superposition unit 503 is configured to superimpose the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform.

[0121] In some embodiments, the adjustment unit 502 is specifically configured such that the target vibration frequencies corresponding to the n vibration waveforms have a least common multiple.

[0122] In some embodiments, the adjustment unit 502 is specifically configured such that the target vibration period corresponding to the n vibration waveforms satisfies a second preset condition; wherein, there is a corresponding relationship between the target vibration period and the target vibration frequency.

[0123] In some embodiments, the adjustment unit 502 is specifically configured such that the target vibration periods corresponding to the n vibration waveforms have a least common multiple.

[0124] In some embodiments, the adjustment unit 502 is further configured to determine that the target vibration frequency satisfies a first preset condition when the duration corresponding to the least common multiple of the target vibration period is less than or equal to the vibration duration of the conflict region.

[0125] In some embodiments, the adjustment unit 502 is specifically configured to determine the vibration period corresponding to the n vibration waveforms; and when the duration corresponding to the least common multiple of the vibration period is less than or equal to the vibration duration of the conflict region, directly determine the vibration frequency corresponding to the n vibration waveforms as the target vibration frequency.

[0126] In some embodiments, the adjustment unit 502 is specifically configured to determine a preset function with the vibration frequencies corresponding to the n vibration waveforms as variables; and to adjust the vibration frequency of at least one of the n vibration waveforms based on the preset function until the duration corresponding to the least common multiple of the adjusted target vibration period is less than or equal to the vibration duration of the conflict region.

[0127] In some embodiments, the superposition unit 503 is specifically configured to sum the vibration amounts of the n vibration waveforms at each point according to the target vibration frequency to obtain the target vibration waveform.

[0128] In some embodiments, the superposition unit 503 is specifically configured to determine the target weights corresponding to the n vibration waveforms; and to perform weighted summation of the vibration amounts of the n vibration waveforms at each point based on the target weights and the target vibration frequencies to obtain the target vibration waveform.

[0129] In some embodiments, the superposition unit 503 is specifically configured to acquire the target vibration effect; and based on the target vibration effect, determine the target weights corresponding to the n vibration waveforms.

[0130] Understandably, in this embodiment, a "unit" can be a portion of a circuit, a portion of a processor, a portion of a program or software, etc., and can also be a module or a non-modular component. Furthermore, the components in this embodiment can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional module.

[0131] If the integrated unit is implemented as a software functional module and not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the method described in this embodiment. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0132] Therefore, this embodiment provides a computer storage medium storing a waveform processing program, which, when executed by at least one processor, implements the steps of the method described in any of the foregoing embodiments.

[0133] Based on the composition of the waveform processing device 50 and the computer storage medium described above, see [link to documentation]. Figure 6 This illustrates a schematic diagram of the specific hardware structure of an electronic device provided in an embodiment of this application. For example... Figure 6 As shown, electronic device 60 may include: a communication interface 601, a memory 602, and a processor 603; the various components are coupled together via a bus system 604. It is understood that the bus system 604 is used to implement communication between these components. In addition to a data bus, the bus system 604 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 6The various buses are all labeled as bus system 604. Among them, communication interface 601 is used for receiving and sending signals during the process of sending and receiving information with other external network elements;

[0134] Memory 602 is used to store computer programs that can run on processor 603;

[0135] Processor 603, when running the computer program, performs the following:

[0136] Obtain the vibration frequencies corresponding to the n conflicting vibration waveforms, where n is an integer greater than or equal to 2;

[0137] The vibration frequency of at least one of the n vibration waveforms is adjusted to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies the first preset condition.

[0138] The target vibration waveform is generated by superimposing the n vibration waveforms based on the target vibration frequency.

[0139] It is understood that the memory 602 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 602 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0140] The processor 603 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 603 or by instructions in software form. The processor 603 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 602, and the processor 603 reads the information in memory 602 and, in conjunction with its hardware, completes the steps of the above method.

[0141] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.

[0142] For software implementation, the techniques described herein can be achieved through modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented within the processor or externally.

[0143] Alternatively, as another embodiment, the processor 603 is further configured to perform the steps of the method described in any of the foregoing embodiments when running the computer program.

[0144] In some embodiments, see Figure 7 This illustrates a schematic diagram of the structural composition of an electronic device 60 provided in an embodiment of this application. For example... Figure 7 As shown, the electronic device 60 includes at least the waveform processing device 50 described in any of the foregoing embodiments.

[0145] In this embodiment, for the electronic device 60, the vibration frequencies corresponding to n conflicting vibration waveforms are obtained, where n is an integer greater than or equal to 2; the vibration frequency of at least one of the n vibration waveforms is adjusted to obtain a target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition; the n vibration waveforms are superimposed based on the target vibration frequency to generate a target vibration waveform. In this way, by adjusting the frequency of the vibration waveforms, the vibration waveforms can be better superimposed at the target vibration frequency, which not only improves the vibration superposition effect but also enables rich mixed vibration sensations.

[0146] It should be noted that, in this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0147] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0148] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0149] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0150] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.

[0151] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A waveform processing method characterized by, The method includes: Obtain the vibration frequencies corresponding to the n conflicting vibration waveforms, where n is an integer greater than or equal to 2; The vibration frequency of at least one of the n vibration waveforms is adjusted to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies the first preset condition. The target vibration waveform is generated by superimposing the n vibration waveforms based on the target vibration frequency; The target vibration frequency satisfies a first preset condition, including: the target vibration periods corresponding to the n vibration waveforms have a least common multiple; and there is a corresponding relationship between the target vibration period and the target vibration frequency.

2. The method of claim 1, wherein, The target vibration frequency satisfies a first preset condition, including: the target vibration frequencies corresponding to the n vibration waveforms have a least common multiple.

3. The method according to claim 1, characterized in that, The method further includes: When the duration corresponding to the least common multiple of the target vibration period is less than or equal to the vibration duration of the conflict zone, the target vibration frequency is determined to meet the first preset condition.

4. The method according to claim 1, characterized in that, After obtaining the vibration frequencies corresponding to the n conflicting vibration waveforms, the method further includes: Determine the vibration period corresponding to the n vibration waveforms; If the duration corresponding to the least common multiple of the vibration period is less than or equal to the vibration duration of the conflict zone, the vibration frequency corresponding to the n vibration waveforms is directly determined as the target vibration frequency.

5. The method according to claim 4, characterized in that, When the duration corresponding to the least common multiple of the vibration period is greater than the vibration duration of the conflict region, adjusting the vibration frequency of at least one of the n vibration waveforms includes: A preset function is determined, which uses the vibration frequency of at least one of the n vibration waveforms as a variable; Based on the preset function, the vibration frequency of at least one of the n vibration waveforms is adjusted until the duration corresponding to the least common multiple of the adjusted vibration period is less than or equal to the vibration duration of the conflict region.

6. The method according to claim 1, characterized in that, The step of superimposing the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform further includes: The target vibration waveform is obtained by summing the vibration magnitudes of the n vibration waveforms at each point according to the target vibration frequency.

7. The method according to claim 1, characterized in that, The step of superimposing the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform includes: Determine the target weights corresponding to the n vibration waveforms; The target vibration waveform is obtained by weighting and summing the vibration magnitudes of the n vibration waveforms at each point based on the target weight and the target vibration frequency.

8. The method according to claim 7, characterized in that, Determining the target weights corresponding to the n vibration waveforms includes: Obtain the target vibration effect; Based on the target vibration effect, the target weights corresponding to the n vibration waveforms are determined.

9. A waveform processing device, characterized in that, The waveform processing device includes: The acquisition unit is configured to acquire the vibration frequencies corresponding to n conflicting vibration waveforms, where n is an integer greater than or equal to 2. The adjustment unit is configured to adjust the vibration frequency of at least one of the n vibration waveforms to obtain the target vibration frequency corresponding to the n vibration waveforms, and the target vibration frequency satisfies a first preset condition. The superposition unit is configured to superimpose the n vibration waveforms based on the target vibration frequency to generate the target vibration waveform; The target vibration frequency satisfies a first preset condition, including: the target vibration periods corresponding to the n vibration waveforms have a least common multiple; and there is a corresponding relationship between the target vibration period and the target vibration frequency.

10. An electronic device, characterized in that, The electronic device includes: Memory is used to store computer programs that can run on a processor; A processor, configured to perform the method as described in any one of claims 1 to 8 when running the computer program.

11. A computer storage medium, characterized in that, The computer storage medium stores a computer program that, when executed by at least one processor, implements the method as described in any one of claims 1 to 8.