Method, apparatus, terminal device, and storage medium for determining vibration quantity
By obtaining the vibration data and perception coefficient of the terminal equipment housing, and calculating the vibration amount of the housing, the problem of inaccurate vibration amount detection in the prior art is solved, and a more accurate vibration amount evaluation is achieved.
Patent Information
- Application Number
- CN202110667844.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-16
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-06-16
AI Technical Summary
In the prior art, the accuracy of the vibration amount of the rear shell of the terminal equipment is insufficient, manual perception methods cannot be quantitatively detected, single-point vibration test cannot fully reflect the overall vibration amount, and different materials and user habits lead to inconsistent detection results.
By obtaining the current vibration data of the terminal equipment housing, including the vibration frequency and the amplitude of the multiple test areas, the perceived coefficient corresponding to the current vibration frequency is determined, and the vibration amount of the housing is calculated in combination with the vibration data and the perception coefficient.
The accurate evaluation of the global vibration of the terminal equipment housing is achieved, and the perception of vibration by the human hand is taken into account, and more accurate and multi-dimensional vibration quantity characterization is obtained.
Smart Images

Figure CN115479662B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminals, and in particular, to a method, apparatus, terminal device, and storage medium for determining a vibration amount. Background Art
[0002] With the development of technology, the structure and functions of terminal devices such as mobile phones are updated faster and faster. For example, the structure of the speaker has gradually evolved from a closed - cavity form to an open - rear - cavity form. The open - rear - cavity - form speaker has a simple design and good sound perception, but when the speaker emits sound, it will cause the rear shell of the terminal device to vibrate.
[0003] In related technologies, the method of obtaining the vibration amount of the rear shell of the terminal device is not accurate enough. For example, quantitative detection results cannot be obtained by manually perceiving the vibration amount, and the detection results are often inaccurate due to personal experience and perception. Summary of the Invention
[0004] To overcome the problems in related technologies, the present disclosure provides a method, apparatus, terminal device, and storage medium for determining a vibration amount.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining a vibration amount is provided. The method includes:
[0006] Obtain current vibration data of the housing of the terminal device; wherein, the current vibration data includes: a current vibration frequency and a current amplitude of each of a plurality of test regions, the current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the plurality of test regions are evenly distributed on the housing of the terminal device;
[0007] Determine a perception coefficient corresponding to the current vibration frequency, the perception coefficient being used to characterize the degree of human hand perception of vibration;
[0008] Determine the vibration amount of the housing according to the current vibration data and the perception coefficient.
[0009] In some embodiments, the method further includes:
[0010] Obtain the area of each of the plurality of test regions and the elastic coefficient of the housing;
[0011] In some embodiments, the vibration amount of the housing includes: a sub - vibration amount of each of the test regions and a total vibration amount of the housing; the determining the vibration amount of the housing according to the current vibration data and the perception coefficient includes:
[0012] Determine the sub - vibration amount of each of the test regions according to the current vibration data and the perception coefficient;
[0013] Determine the total vibration amount of the housing according to the current vibration data, the perception coefficient, the area of each test area, and the elastic coefficient.
[0014] In some embodiments, obtaining the area of each test area among the multiple test areas and the elastic coefficient of the housing includes:
[0015] According to a first operation instruction in a third display area within the application interface of a preset application, obtain the area of each test area represented by the first operation instruction and the elastic coefficient of the housing;
[0016] The method further includes:
[0017] Control the first display area of the application interface to display the sub-vibration amount of each test area and the total vibration amount of the housing, and control the second display area of the application interface to display the perception coefficient.
[0018] In some embodiments, obtaining the current vibration data of the housing of the terminal device includes:
[0019] Obtain the current vibration frequency;
[0020] According to a second operation instruction, obtain pre-stored reference vibration data; the reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each test area among the multiple test areas;
[0021] According to the current vibration frequency, respectively determine the current amplitude corresponding to each test area in the reference vibration data at the current vibration frequency.
[0022] In some embodiments, obtaining the pre-stored reference vibration data according to the second operation instruction includes:
[0023] According to a second operation instruction in a third display area within the application interface of a preset application, obtain the storage address of the reference vibration data;
[0024] Obtain the reference vibration data according to the storage address.
[0025] In some embodiments, the method further includes: determining the reference vibration data:
[0026] Control the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range;
[0027] For each test area among the multiple test areas, respectively obtain a plurality of amplitudes corresponding one-to-one to a plurality of frequencies within the preset frequency range;
[0028] Store the mapping relationship between the frequencies and amplitudes of the obtained multiple test areas in a preset format.
[0029] In some embodiments, determining the perception coefficient corresponding to the current vibration frequency includes:
[0030] Obtaining a first function model and a second function model; wherein, the first function model is used to characterize the correspondence between the vibration frequency and the perception threshold, and the second function model is used to characterize the correspondence between the perception coefficient and the perception threshold;
[0031] According to the current vibration frequency and the first function model, determining the current perception threshold corresponding to the current vibration frequency;
[0032] According to the current perception threshold and the second function model, determining the perception coefficient corresponding to the current vibration frequency.
[0033] According to the second aspect of the embodiments of the present disclosure, a device for determining the vibration amount is provided. The device includes:
[0034] An acquisition module, configured to acquire the current vibration data of the housing of the terminal device; wherein, the current vibration data includes: the current vibration frequency and the current amplitude of each test area among a plurality of test areas, the current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the plurality of test areas are evenly distributed on the housing of the terminal device;
[0035] A first determination module, configured to determine the perception coefficient corresponding to the current vibration frequency, and the perception coefficient is used to characterize the perception degree of the human hand to the vibration;
[0036] A second determination module, configured to determine the vibration amount of the housing according to the current vibration data and the perception coefficient.
[0037] In some embodiments, the acquisition module is further configured to:
[0038] Acquire the area of each test area among the plurality of test areas, and the elastic coefficient of the housing.
[0039] In some embodiments, the vibration amount of the housing includes: the sub-vibration amount of each test area and the total vibration amount of the housing; the second determination module is configured to:
[0040] According to the current vibration data and the perception coefficient, respectively determine the sub-vibration amount of each test area;
[0041] According to the current vibration data, the perception coefficient, and the area and the elastic coefficient of each test area, determine the total vibration amount of the housing.
[0042] In some embodiments, the device further includes: a control module;
[0043] The control module is configured to control the first display area to display the sub-vibration amounts of each of the test areas and the total vibration amount of the housing within the application interface of a preset application; and control the second display area to display the perception coefficient.
[0044] In some embodiments, the acquisition module is configured to:
[0045] Acquire the current vibration frequency;
[0046] According to a second operation instruction, acquire pre-stored reference vibration data; the reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each of the multiple test areas;
[0047] According to the current vibration frequency, respectively determine the current amplitude corresponding to each of the test areas in the reference vibration data at the current vibration frequency.
[0048] In some embodiments, the acquisition module is further configured to:
[0049] According to a second operation instruction in a third display area within the application interface of a preset application, acquire the storage address of the reference vibration data;
[0050] Acquire the reference vibration data according to the storage address.
[0051] In some embodiments, the device further includes: a third determination module, the third determination module is configured to determine the reference vibration data, and the third determination module is further configured to:
[0052] Control the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range;
[0053] For each of the multiple test areas, respectively acquire a plurality of amplitudes corresponding to a plurality of frequencies in the preset frequency range;
[0054] Store the mapping relationship between the frequencies and amplitudes of the obtained multiple test areas in a preset format.
[0055] In some embodiments, the first determination module is configured to:
[0056] Acquire a first function model and a second function model; wherein, the first function model is used to represent: the correspondence between the vibration frequency and the perception threshold, and the second function model is used to represent: the correspondence between the perception coefficient and the perception threshold;
[0057] According to the current vibration frequency and the first function model, determine the current perception threshold corresponding to the current vibration frequency;
[0058] Determine a perception coefficient corresponding to the current vibration frequency according to the current perception threshold and the second function model.
[0059] According to a third aspect of the embodiments of the present disclosure, a terminal device is provided, including:
[0060] A processor;
[0061] A memory for storing executable instructions of the processor;
[0062] Wherein, the processor is configured to execute the vibration amount determination method described in any one of the above.
[0063] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a terminal device, the terminal device can execute the vibration amount determination method described in any one of the above.
[0064] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: By using the method of the present disclosure, the vibration conditions of all regions of the housing can be fully investigated, and the human hand's perception of vibration can be investigated. Based on multi-dimensional factors, a more accurate vibration amount can be obtained, and the obtained vibration amount can more accurately represent the vibration amount of the housing.
[0065] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.
[0067] Figure 1 Is a flowchart of a method shown according to an exemplary embodiment.
[0068] Figure 2 Is a flowchart of a method shown according to an exemplary embodiment.
[0069] Figure 3 Is a flowchart of a method shown according to an exemplary embodiment.
[0070] Figure 4 Is a flowchart of a method shown according to an exemplary embodiment.
[0071] Figure 5 Is a schematic diagram of the distribution of test regions shown according to an exemplary embodiment.
[0072] Figure 6 Is the amplitude change of a flexible material before and after being subjected to the pressure of a human hand shown according to an exemplary embodiment.
[0073] Figure 7 It shows the amplitude change of the hard material before and after being subjected to the pressure of a human hand according to an exemplary embodiment.
[0074] Figure 8 It is a schematic diagram of the interface shown according to an exemplary embodiment.
[0075] Figure 9 It is an interface diagram of an audio analyzer shown according to an exemplary embodiment.
[0076] Figure 10 The frequency and amplitude curves of a single test area shown according to an exemplary embodiment.
[0077] Figure 11 It is a schematic table of reference vibration data shown according to an exemplary embodiment.
[0078] Figure 12 It is a fitting curve of the first function model shown according to an exemplary embodiment.
[0079] Figure 13 It is a block diagram of a device shown according to an exemplary embodiment.
[0080] Figure 14 It is a block diagram of a terminal device shown according to an exemplary embodiment. Detailed implementation manners
[0081] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0082] In the related art, the ways to obtain the vibration amount of the rear shell of a terminal device include:
[0083] First, the subjective feeling of the tester. Second, detecting the amplitude of a single point on the rear shell of the terminal device through an instrument.
[0084] In the ways in the related art, the following technical problems exist:
[0085] In the first method, the subjective human perception cannot quantitatively give a quantitative detection result, and the vibration amount still cannot be intuitively obtained. In the second method, the measurement of the vibration data at a single point cannot accurately and comprehensively reflect the vibration amount of the entire rear shell. Moreover, the resonance frequencies of the mobile phone back covers made of different materials are different, and the frequencies at which the maximum amplitudes occur are also different. The vibration perception coefficients of the human hand for different frequencies are also different. Coupled with the different usage habits and ways of holding the mobile phone of different users, the single-point vibration test results often show inconsistent phenomena with the subjective perception.
[0086] Therefore, in the related art, there is still a lack of a method for accurately obtaining the vibration amount.
[0087] In the embodiments of the present disclosure, a method for determining the vibration amount is proposed. The method includes: obtaining the current vibration data of the housing of the terminal device; wherein, the current vibration data includes: the current vibration frequency and the current amplitude of each of a plurality of test areas. The current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the plurality of test areas are evenly distributed on the housing of the terminal device. Determine the perception coefficient corresponding to the current vibration frequency, and the perception coefficient is used to characterize the degree of human hand perception of vibration. Determine the vibration amount of the housing according to the current vibration data and the perception coefficient. Using the method of the present disclosure, the vibration conditions of all areas of the housing can be fully investigated, and the human hand's perception of vibration can be investigated. Based on multi-dimensional factors, a more accurate vibration amount can be obtained, and the obtained vibration amount can more accurately characterize the vibration amount of the housing.
[0088] In an exemplary embodiment, the method for determining the vibration amount in this embodiment can be applied to a terminal device, such as a preset application of the terminal device. The terminal device can be an electronic device such as a mobile phone, a tablet computer, or a laptop computer.
[0089] As Figure 1 shown, the method of this embodiment may include the following steps:
[0090] S110. Obtain the current vibration data of the housing of the terminal device.
[0091] S120. Determine the perception coefficient corresponding to the current vibration frequency.
[0092] S130. Determine the vibration amount of the housing according to the current vibration data and the perception coefficient.
[0093] Among them, in step S110, the current vibration data includes: the current vibration frequency and the current amplitude of each of a plurality of test areas.
[0094] In this step, the vibration of the housing of the terminal device is related to the audio or sound source played by the speaker of the terminal device, and the current vibration frequency of the housing is the frequency of the audio currently played by the speaker of the terminal device. The current vibration frequency can be detected by an audio analyzer and sent to a preset application. Alternatively, the preset application obtains the audio or sound source information played by the current speaker and obtains the current vibration frequency.
[0095] Combined with Figure 5 As shown, in this step, a plurality of test areas 40 are evenly distributed on the housing of the terminal device. On the housing, there are a plurality of test areas 40 arranged at intervals along the length direction of the housing, and a plurality of test areas 40 arranged at intervals along the width direction of the housing. The size and shape of each test area 40 can be the same or within an error range.
[0096] The preset application can obtain the current amplitude of each test area according to the current vibration frequency. The current vibration frequency and the current amplitude are in one-to-one correspondence.
[0097] In one example, if the current vibration frequency is a fixed value, each test area 40 can determine a corresponding current amplitude.
[0098] In another example, if the current vibration frequency is a frequency range, each test area 40 can determine: the current amplitude of each current vibration frequency within this frequency range.
[0099] In step S120, the perception coefficient is used to characterize the degree of human hand perception of vibration.
[0100] For different degrees of vibration, or for vibrations at different frequencies, the user's perception is different. For example, the greater the vibration frequency, the more obvious the user's perception. In this step, according to the different frequencies, the corresponding perception coefficients can be obtained.
[0101] In step S130, according to the current vibration frequency, the current amplitude of each test area, and the perception coefficient, a more accurate housing vibration amount can be determined.
[0102] In this embodiment, the influencing factors of the speaker sound on the housing vibration amount mainly include: vibration frequency, the amplitude of each test area, and the human hand perception coefficient. Determining the vibration amount from multiple dimensions is more accurate. Moreover, the amplitudes of each test area on the housing are comprehensively considered, and the obtained value is more conducive to characterizing the vibration amount of the entire housing.
[0103] In an exemplary embodiment, the method of this embodiment further includes:
[0104] S112. Obtain the area of each test area among the multiple test areas, and the elastic coefficient of the housing.
[0105] In this step, the area of each test region and the elastic coefficient of the housing can be pre - stored in the memory of the terminal device, and the preset application calls the pre - stored area of the test region and the elastic coefficient. Alternatively, the preset application determines the area of each test region and the elastic coefficient of the housing according to the parameters input by the user in the application interface.
[0106] In this step, the areas of the test regions can be the same. After setting the test regions, the area of the test regions is stored. The elastic coefficient of the housing is related to the material of the housing. After determining the material of the housing, its elastic coefficient can be determined. The elastic coefficient can characterize the rigidity of the material. Hard materials have a higher elastic coefficient, and the elastic coefficient k 1 of the flexible material is less than the elastic coefficient k 2 of the hard material, that is: k 1 <k 2 .
[0107] In this embodiment, the vibration amount of the housing includes: the sub - vibration amount of each test region and the total vibration amount of the housing. Step S130 may include the following steps:
[0108] S131: According to the current vibration frequency, the current amplitude of each test region, and the sensing coefficient, the sub - vibration amount of each test region can be determined.
[0109] S132: According to the current vibration data, the sensing coefficient, and the area and the elastic coefficient of each test region, determine the total vibration amount of the housing.
[0110] Among them, in step S131, the determination method of the sub - vibration amount E 1 of each test region can all refer to the following method:
[0111]
[0112] Among them, f represents the vibration frequency, A f represents the amplitude corresponding to the vibration frequency f, and g(f) represents the sensing coefficient corresponding to the vibration frequency f. f1 and f2 represent the minimum value and the maximum value of the vibration frequency range.
[0113] In an example, if the current vibration frequency is a fixed value, then f1 = f2 = f = the current vibration frequency (that is, no summation is required). Obtain the induction coefficient corresponding to the current vibration frequency, and the amplitude corresponding to the current vibration frequency of each test region, and substitute them into the above formula to obtain the sub - vibration amount of each test region.
[0114] In another example, if the current vibration frequency is within a frequency range, f1 represents the minimum value in the frequency range, and f2 represents the maximum value in the frequency range. f takes on each frequency value within the frequency range in turn, and the corresponding induction coefficient at each frequency value, as well as the amplitude of each test area corresponding to that frequency value, are obtained. The product of the three at that frequency value is calculated, and finally, the products corresponding to each frequency value within the frequency range are summed to obtain the sub-vibration amount corresponding to each test area.
[0115] In step S132, the total vibration amount of the housing can characterize the vibration amount actually perceived by the user. The total vibration amount E of the housing feel can be determined in the following manner:
[0116]
[0117] where f represents the vibration frequency, A f represents the amplitude corresponding to the vibration frequency f, and g(f) represents the perception coefficient corresponding to the vibration frequency f. f1 and f2 represent the range of the vibration frequency. S represents the area of each test area, k represents the elastic coefficient of the housing. M represents the number of test areas set as M.
[0118] In this step, during the process of determining the total vibration amount, the sub-vibration amounts of each test area are not simply summed. Instead, on the basis of considering the vibration frequency, the amplitude of each test area, and the perception coefficient of the human hand, the influence of the material of the housing is also considered, so that the vibration amount can be obtained more comprehensively and accurately.
[0119] It can be understood that before determining the formulas for the above sub-vibration amount and total vibration amount, the relationship between the influencing factors and the vibration amount can be obtained, such as: the total vibration amount is related to the sum of the sub-vibration amounts; due to the relationship between displacement and potential energy, the vibration amount is related to the square of the amplitude; there is a linear relationship between the vibration amount and the frequency.
[0120] For flexible materials and rigid materials, assuming that in the free vibration state with the same driving force, the total vibration energy E' of the flexible material and the rigid material is the same. At the maximum amplitude, the kinetic energy is 0 and the potential energy is the largest. Combining Figure 6 the amplitude of the flexible material and Figure 7 the amplitude of the rigid material shown (the solid line in the figure represents the state of the housing when not pressed, and the dotted line represents the state when pressed), the amplitude X of the flexible material 1 is greater than the amplitude X of the rigid material 2 . When the hand presses on the housing of the flexible material and the housing of the rigid material, due to the restriction of the hand, the amplitudes of the flexible material and the rigid material housing both become X 3 (X 3 is the gap between the hand and the vibration plane of the housing).
[0121] Combined with the foregoing embodiments, it is known that: k 1 <k 2 , then the remaining kinetic energy E 2 ’ of the rigid material and the remaining kinetic energy E 1 ’ of the flexible material satisfy:
[0122] Then the remaining kinetic energy E 2 ’ < E 1 ’.
[0123] The remaining kinetic energy is the main source of the vibration perceived by humans. The remaining kinetic energy and the elastic coefficient k are negatively correlated. Therefore, the vibration amount perceived by the human hand is also negatively correlated with the elastic coefficient. Therefore, the coefficient term of k in calculating the total vibration amount is
[0124] In an exemplary embodiment, step S112 may include the following steps:
[0125] S1121. According to the first operation instruction in the third display area of the application interface of the preset application, obtain the area of each test area represented by the first operation instruction, and the elastic coefficient of the housing.
[0126] The method of this embodiment further includes the following steps:
[0127] S140. Control the first display area of the application interface to display the sub-vibration amounts of each test area and the total vibration amount of the housing, and control the second display area of the application interface to display the perception coefficient.
[0128] In step S1121, the application interface of the preset application is as Figure 8 shown, including three display areas: a first display area 10, a second display area 20, and a third display area 30.
[0129] Among them, the third display area 30 is the main area for interacting with the user, used to receive the operation instruction of the user, and determine the parameters input by the user according to the operation instruction. For example, according to the first operation instruction of the user, obtain the area of each test area input by the user (the areas of each test area may be the same), the distribution of the test areas (the distribution quantity of the test areas in the horizontal and vertical directions), and the elastic coefficient of the housing. Combined Figure 8 it can be known that the input positions of the test area area and the elastic coefficient are at different positions in the third display area. In addition, according to the second operation instruction of the user, the storage location of the reference vibration data can be obtained, which can be seen in the following Figure 2 corresponding embodiment.
[0130] In step S140, in the first display area 10, the sub-vibration amounts corresponding to multiple test areas and the total vibration amount can be displayed. Combined Figure 5As shown, the test areas 40 are distributed at intervals in the horizontal and vertical directions during the setting process. Therefore, when displaying the sub-vibration amounts of each test area 40, the sub-vibration amounts of multiple test areas 40 can be displayed on the same coordinate axis, which is convenient for clearly observing the distribution of the sub-vibration amounts. The total vibration amount can be displayed below the coordinate axis. When the total vibration amount is too large, it can be adaptively adjusted in combination with the vibration conditions of different test areas 40.
[0131] In the second display area 20, the perception coefficient corresponding to the current vibration frequency can be displayed. The method for determining the induction coefficient can be referred to the following Figure 4 corresponding embodiments, which will not be elaborated here.
[0132] In other embodiments of the present disclosure, the application interface of the preset application can also display the vibration amount of another terminal device, which is convenient for comparing the vibration amounts of two terminal devices. For example, comparing the vibration amounts of different products, or comparing the vibration amount results before and after optimizing the product vibration amount.
[0133] In an exemplary embodiment, as Figure 2 shown, step S110 in this embodiment may include the following steps:
[0134] S1101. Obtain the current vibration frequency.
[0135] S1102. According to the second operation instruction, obtain the pre-stored reference vibration data.
[0136] S1103. According to the current vibration frequency, respectively determine the current amplitude corresponding to each test area in the reference vibration data at the current vibration frequency.
[0137] Among them, in step S1101, the current vibration frequency can be detected by an audio analyzer and sent to the preset application. Or, the preset application obtains the current vibration frequency according to the audio or sound source information played by the current speaker.
[0138] In step S1102, the reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each test area in multiple test areas.
[0139] In this step, the second operation instruction can be, for example, a touch instruction or a voice instruction for obtaining the pre-stored reference vibration data.
[0140] In an example, step S1102 includes the following steps:
[0141] S1102-1. According to the second operation instruction in the third display area in the application interface of the preset application, obtain the storage address of the reference vibration data.
[0142] In this step, in combination with Figure 8As shown, on the application interface of the preset application, in addition to the first display area 10 for displaying the vibration amount, there is also a third display area 30 serving as a parameter input area. According to different operation instructions of the user in the third display area, the preset application can obtain input parameters corresponding to the operation instructions. For example, the parameters input by the user include: the storage location of the reference vibration data, the number and coordinates of the divided test areas, the area of the test area, and the elastic coefficient of the housing material of the terminal device, etc.
[0143] In this step, the input position of the second operation instruction can be, for example, the position of "mobile phone case vibration data" on the left side in the third display area. The second operation instruction is used to indicate the storage location of the reference vibration data. For example, when the preset application receives a touch instruction for the user to click and select the storage address in the parameter input area, it can obtain the specific storage address corresponding to the end position of the user's click.
[0144] S1102-2. Obtain the reference vibration data according to the storage address.
[0145] In this step, according to the storage address, the preset application can link to the storage address to obtain or call the reference vibration data.
[0146] In step S1103, according to the obtained reference vibration data and the current vibration data, the current amplitude corresponding to the current vibration data of each test area can be obtained by looking up the table in a traversal query manner in the reference vibration data.
[0147] In an exemplary embodiment, the method of this embodiment further includes: S200. Determine the reference vibration data. This step can be performed during the factory process of the terminal device, and the determined reference vibration data is stored in the terminal device for standby.
[0148] As Figure 3 shown, step S200 in this embodiment can include the following steps:
[0149] S201. Control the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range.
[0150] S202. For each of the multiple test areas, obtain multiple amplitudes corresponding to multiple frequencies in the preset frequency range one by one.
[0151] S203. Store the mapping relationship between the frequencies and amplitudes of the obtained multiple test areas in a preset format.
[0152] Among them, in step S201, the preset frequency range is, for example, 150 hz to 1500 hz, and the preset sound source is, for example, a test sound source within this frequency range. During the test, the preset application can control the speaker of the terminal device to play the test sound source at the maximum volume.
[0153] It is understandable that the preset frequency range includes most of the frequencies that can cause the housing to vibrate and can be perceived by the user. For vibrations at 1500 hz and below, the user can clearly perceive them; for vibrations above 1500 hz, the user is less likely to perceive them. Due to the limitations of the sound emission of the terminal device's speaker, it is difficult to emit sounds below 150 hz, and the vibration of the housing can be ignored. Therefore, the preset frequency range is set at 150 hz to 1500 hz.
[0154] In step S202, for each test area, the preset frequency range is swept to obtain multiple amplitudes corresponding to multiple frequencies one by one.
[0155] In this step, the frequency step can be customized to set an equally spaced frequency sequence within the preset frequency range. For example, if the frequency step is 50 hz, the frequency sequence includes multiple frequencies such as 150 hz, 200 hz, 250 hz... 1450 hz, 1500 hz. At each frequency in the frequency sequence (the selected frequency can be within the error range of the corresponding frequency in the frequency sequence), the amplitude of each test area is measured respectively.
[0156] In this step, the amplitude can be measured in the following way: at a frequency, the amplitude of the center point of each test area is measured separately with a laser rangefinder as the amplitude of the test area. And so on, at each frequency, the amplitudes of each test area are obtained.
[0157] The amplitude data detected by the laser rangefinder can be converted into voltage values through an audio analyzer (APX500), and the voltage values are used to represent the test amplitude results. Among them, the audio analyzer (APX500) can convert the time-domain data (time - amplitude) measured by the laser rangefinder into frequency-domain data (frequency - amplitude). The conversion interface of the audio analyzer can be referred to Figure 9 As shown, the conversion relationship between the voltage value and the displacement amount of the amplitude is 5 mv = 1 um. Figure 9 What is shown is the time-domain data interface during the detection process. The horizontal axis is time, and the vertical axis is voltage (which can represent the corresponding amplitude).
[0158] In step S203, the preset format includes the stored file type and the storage order. For example, the stored file types are Excel, TXT, etc., and the storage order follows the numbering order of the test areas.
[0159] In one example, this step can store the relationship between the frequency and amplitude of each test area obtained in step S202. For example, store the Figure 10 frequency and amplitude curves of each test area as shown, with the horizontal axis being frequency and the vertical axis being amplitude. Figure 10The frequency and amplitude under each test area are non-linearly related. Alternatively, a corresponding table of frequency and amplitude for each test area is stored.
[0160] In another example, in combination with Figure 11 As shown, this step can store the relationships between frequency and amplitude under each test area in the same table.
[0161] In this example, the preset format can be stored as an Excel table. In the table, the order of data storage is consistent with the order in which the preset application reads the data. For example, as Figure 11 shown, in the order of data storage: the first column is a sequence of equally spaced frequencies within the preset frequency range (150 hz to 1500 hz), where the frequency step is 50 hz; starting from the second column to the last column in sequence are: starting from the first test area on the housing, along the width direction from left to right, then to the first test area in the next row, until after traversing all test areas from left to right and top to bottom, the amplitude corresponding to each test area at the corresponding frequency.
[0162] In an exemplary embodiment, as Figure 4 shown, step S120 in this embodiment may include the following steps:
[0163] S1201. Obtain a first function model and a second function model.
[0164] S1202. Determine a current perception threshold corresponding to the current vibration frequency according to the current vibration frequency and the first function model.
[0165] S1203. Determine a perception coefficient corresponding to the current vibration frequency according to the current perception threshold and the second function model.
[0166] Among them, in step S1201, the first function model is used to characterize the corresponding relationship between vibration frequency and perception threshold, and the second function model is used to characterize the corresponding relationship between perception coefficient and perception threshold.
[0167] The first function model and the second function model can be determined, for example, after obtaining reference vibration data and can be pre-stored in the terminal device. The preset application can call the first function model and the second function model.
[0168] In step S1202, according to the first function model, when any frequency is known, the perception threshold corresponding to that frequency can be known. Therefore, when the current vibration frequency is known, its corresponding current perception threshold is determined according to the first function model.
[0169] In step S1203, according to the second function model, when any perception threshold is known, the corresponding perception coefficient can be obtained. Therefore, in combination with the current perception threshold obtained in step S1202, the corresponding current perception coefficient can be determined according to the second function model, and the current perception coefficient corresponds to the current vibration frequency as well.
[0170] In an exemplary embodiment, the method of this embodiment further includes: S300, a method for determining the first function model and the second function model. This step can be performed after determining the reference vibration data in step S200, and the determined first function model and second function model are stored in the terminal device for standby.
[0171] In this embodiment, step S300 may include the following steps:
[0172] S301, determine the first function model.
[0173] In this step, the form of the first function model can be determined first as follows:
[0174] T f =l 1 f 6 +l 2 f 5 +l 3 f 4 +l 4 f 3 +l 5 f 2 +l 6 f 1 +l 7 f 0
[0175] Wherein, T f is the vibration perception threshold at frequency f, f is the frequency, and l 1 to l 7 are coefficients. The coefficients in the first function model can be determined by fitting through MATLAB (Matrix Laboratory). The fitting process can include the following steps, for example:
[0176] (1) Obtain multiple groups (such as 11 groups) of test data pairs, and each group of data includes the frequency and the amplitude that can be perceived by the user at the corresponding frequency. The more data pairs, the more accurate the fitted coefficients.
[0177] (2) Input the multiple groups of data into MATLAB, and set the form of the above sixth-order polynomial in MATLAB.
[0178] (3) According to the multiple groups of test data pairs, input them into the polynomial, and sequentially obtain the coefficients of each item of l 1 to l 7
[0179] After obtaining the coefficients, when any frequency value f is known, the corresponding perception threshold T can be determined according to the first function model f , where f is within the preset frequency range of 150 hz to 1500 hz. The fitting curve of the first function model is as Figure 12 shown, where the abscissa is the vibration frequency and the ordinate is the human hand perception threshold (amplitude data). As the vibration frequency increases, the human hand perception threshold also increases.
[0180] S302. Determine the second function model.
[0181] In this step, the form of the second function model is determined according to the first function model as follows:
[0182]
[0183] where Tf represents the perception threshold corresponding to the frequency f, and Tfmin represents the minimum value of the perception threshold obtained in the first function model. The second function model can be determined using the perception threshold obtained by the first function model.
[0184] In an exemplary embodiment, the present disclosure also proposes a device for determining the vibration amount, as Figure 13 shown. The device includes: an acquisition module 110, a first determination module 120, and a second determination module 130. The device of this embodiment is used to implement the method as Figure 1 shown. Among them, the acquisition module 110 is used to acquire the current vibration data of the housing of the terminal device; where the current vibration data includes: the current vibration frequency and the current amplitude of each test area among multiple test areas, the current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the multiple test areas are evenly distributed on the housing of the terminal device. The first determination module 120 is used to determine the perception coefficient corresponding to the current vibration frequency, and the perception coefficient is used to characterize the degree of human hand perception of vibration. The second determination module 130 is used to determine the vibration amount of the housing according to the current vibration data and the perception coefficient.
[0185] In this embodiment, still referring to Figure 13 , the acquisition module 110 is further used to: acquire the area of each test area among the multiple test areas, and the elastic coefficient of the housing. In this embodiment, the vibration amount of the housing includes: the sub-vibration amount of each test area and the total vibration amount of the housing. The second determination module 130 is used to: determine the sub-vibration amount of each test area according to the current vibration data and the perception coefficient; determine the total vibration amount of the housing according to the current vibration data, the perception coefficient, and the area and elastic coefficient of each test area.
[0186] In an exemplary embodiment, still referring to Figure 13, the acquisition module 110 is further configured to: according to a first operation instruction in a third display area within the application interface of a preset application, acquire the area of each test area represented by the first operation instruction, and the elastic coefficient of the housing. The device in this embodiment further includes: a control module. The control module is configured to control the first display area of the application interface to display the sub-vibration amount of each test area and the total vibration amount of the housing; and control the second display area of the application interface to display the perception coefficient.
[0187] In an exemplary embodiment, still referring to Figure 13 , the device in this embodiment is used to implement the method as Figure 2 shown. Among them, the acquisition module 110 is configured to: acquire the current vibration frequency; according to a second operation instruction, acquire pre-stored reference vibration data; the reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each test area among multiple test areas; according to the current vibration frequency, respectively determine the current amplitude corresponding to each test area in the reference vibration data at the current vibration frequency. In this embodiment, the acquisition module 110 is further configured to: according to a second operation instruction in a third display area within the application interface of a preset application, acquire the storage address of the reference vibration data; and acquire the reference vibration data according to the storage address.
[0188] In an exemplary embodiment, the device in this embodiment further includes: a third determination module. The device in this embodiment is used to implement the method as Figure 3 shown. Among them, the third determination module is configured to determine the reference vibration data, and the third determination module is further configured to: control the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range; for each test area among multiple test areas, respectively acquire a plurality of amplitudes corresponding one by one to a plurality of frequencies within the preset frequency range; and store the mapping relationship between the frequencies and amplitudes of the obtained multiple test areas in a preset format.
[0189] In an exemplary embodiment, still referring to Figure 13 , the device in this embodiment is used to implement the method as Figure 4 shown. Among them, the first determination module 120 is configured to: acquire a first function model and a second function model; wherein, the first function model is used to represent: the correspondence relationship between the vibration frequency and the perception threshold, and the second function model is used to represent: the correspondence relationship between the perception coefficient and the perception threshold; according to the current vibration frequency and the first function model, determine the current perception threshold corresponding to the current vibration frequency; according to the current perception threshold and the second function model, determine the perception coefficient corresponding to the current vibration frequency.
[0190] As Figure 14The following is a block diagram of a terminal device. The present disclosure also provides a terminal device. For example, device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0191] Device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.
[0192] The processing component 502 generally controls the overall operation of device 500, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above methods. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0193] The memory 504 is configured to store various types of data to support the operation of device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0194] The power component 506 provides power to the various components of device 500. The power component 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 500.
[0195] The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0196] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is configured to receive external audio signals when the device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 further includes a speaker for outputting audio signals.
[0197] The I / O interface 512 provides an interface between the processing component 502 and a peripheral interface module, which can be a keyboard, a click wheel, buttons, etc. These buttons can include but are not limited to: a home button, a volume button, a power button, and a lock button.
[0198] The sensor component 514 includes one or more sensors for providing an assessment of the various aspects of the state of the device 500. For example, the sensor component 514 can detect the on / off state of the device 500, the relative positioning of components, such as the display and the keypad of the device 500. The sensor component 514 can also detect a change in the position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration / deceleration of the device 500, and the temperature change of the device 500. The sensor component 514 can include a proximity sensor that is configured to detect the presence of nearby objects without any physical contact. The sensor component 514 can also include a light sensor, such as a CMOS or a CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 514 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0199] The communication component 516 is configured to facilitate communication between the device 500 and other devices in a wired or wireless manner. The device 500 can access a communication standard-based wireless network, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0200] In an exemplary embodiment, the device 500 can be implemented by 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), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described method.
[0201] A non-transitory computer-readable storage medium provided in another exemplary embodiment of the present disclosure, such as a memory 504 including instructions, can be executed by a processor 520 of the device 500 to complete the above-described method. For example, the computer-readable storage medium can be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the instructions in the storage medium are executed by a processor of the terminal device, the terminal device can execute the above-described method.
[0202] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only to be considered exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0203] It should be understood that the present invention is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A method for determining a vibration quantity, characterized in that, the method includes: Obtaining the current vibration data of the terminal device housing; wherein, the current vibration data includes: the current vibration frequency and the current amplitude of each of a plurality of test areas, the current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the plurality of test areas are evenly distributed on the housing of the terminal device; Determining a perception coefficient corresponding to the current vibration frequency, the perception coefficient being used to characterize the degree of human hand perception of vibration; Determining the vibration quantity of the housing according to the current vibration data and the perception coefficient.
2. The method for determining a vibration quantity according to claim 1, characterized in that, the method further includes: Obtaining the area of each of the plurality of test areas and the elastic coefficient of the housing.
3. The method for determining a vibration quantity according to claim 2, characterized in that, the vibration quantity of the housing includes: the sub-vibration quantity of each of the test areas and the total vibration quantity of the housing; the determining the vibration quantity of the housing according to the current vibration data and the perception coefficient includes: Determining the sub-vibration quantity of each of the test areas according to the current vibration data and the perception coefficient; Determining the total vibration quantity of the housing according to the current vibration data, the perception coefficient, and the area and the elastic coefficient of each test area.
4. The method for determining a vibration quantity according to claim 3, characterized in that, the obtaining the area of each of the plurality of test areas and the elastic coefficient of the housing includes: Obtaining the area of each test area represented by the first operation instruction and the elastic coefficient of the housing according to the first operation instruction in the third display area within the application interface of the preset application; the method further includes: Controlling the first display area of the application interface to display the sub-vibration quantity of each of the test areas and the total vibration quantity of the housing, and controlling the second display area of the application interface to display the perception coefficient.
5. The method for determining a vibration quantity according to claim 1, characterized in that, the obtaining the current vibration data of the terminal device housing includes: Obtaining the current vibration frequency; Obtaining pre-stored reference vibration data according to a second operation instruction; the reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each of a plurality of test areas; Determining the current amplitude corresponding to each of the test areas in the reference vibration data at the current vibration frequency according to the current vibration frequency.
6. The method for determining a vibration quantity according to claim 5, characterized in that, the obtaining the pre-stored reference vibration data according to the second operation instruction includes: Obtaining the storage address of the reference vibration data according to the second operation instruction in the third display area within the application interface of the preset application; Obtaining the reference vibration data according to the storage address.
7. The method for determining a vibration quantity according to claim 5, characterized in that, the method further includes: determining the reference vibration data: Controlling the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range; For each of the multiple test regions, respectively obtain multiple amplitudes corresponding one by one to multiple frequencies in the preset frequency range; Store the mapping relationship between the frequencies and amplitudes of the multiple test regions obtained in a preset format.
8. The method for determining the vibration amount according to claim 1, characterized in that, the determining the perception coefficient corresponding to the current vibration frequency includes: Obtain a first function model and a second function model; wherein, the first function model is used to characterize the correspondence between the vibration frequency and the perception threshold, and the second function model is used to characterize the correspondence between the perception coefficient and the perception threshold; According to the current vibration frequency and the first function model, determine the current perception threshold corresponding to the current vibration frequency; According to the current perception threshold and the second function model, determine the perception coefficient corresponding to the current vibration frequency.
9. A device for determining the vibration amount, characterized in that, the device includes: An acquisition module, configured to acquire the current vibration data of the housing of the terminal device; wherein, the current vibration data includes: the current vibration frequency and the current amplitude of each of the multiple test regions, the current vibration frequency is the frequency of the currently played audio in the terminal device speaker, and the multiple test regions are evenly distributed on the housing of the terminal device; A first determination module, configured to determine the perception coefficient corresponding to the current vibration frequency, and the perception coefficient is used to characterize the degree of human hand perception of vibration; A second determination module, configured to determine the vibration amount of the housing according to the current vibration data and the perception coefficient.
10. The device for determining the vibration amount according to claim 9, characterized in that, the acquisition module is further configured to: Obtain the area of each of the multiple test regions, and the elastic coefficient of the housing.
11. The device for determining the vibration amount according to claim 10, characterized in that, the vibration amount of the housing includes: the sub-vibration amount of each test region and the total vibration amount of the housing; the second determination module is configured to: Determine the sub-vibration amount of each test region according to the current vibration data and the perception coefficient; Determine the total vibration amount of the housing according to the current vibration data, the perception coefficient, and the area and the elastic coefficient of each test region.
12. The device for determining the vibration amount according to claim 11, characterized in that, the acquisition module is further configured to: according to a first operation instruction in a third display area within the application interface of a preset application, obtain the area of each test region represented by the first operation instruction, and the elastic coefficient of the housing; the device further includes: a control module; The control module is configured to control the first display area of the application interface to display the sub-vibration amount of each test region and the total vibration amount of the housing; control the second display area of the application interface to display the perception coefficient.
13. The device for determining the vibration amount according to claim 9, characterized in that, the acquisition module is configured to: Obtain the current vibration frequency; According to a second operation instruction, obtain the pre-stored reference vibration data; The reference vibration data includes: the mapping relationship between the vibration frequency and the amplitude of each of the multiple test regions; According to the current vibration frequency, respectively determine the current amplitude corresponding to each of the test regions in the reference vibration data at the current vibration frequency.
14. The device for determining the vibration amount according to claim 13, wherein, The obtaining module is further configured to: Obtain the storage address of the reference vibration data according to the second operation instruction in the third display area within the application interface of the preset application; Obtain the reference vibration data according to the storage address.
15. The device for determining the vibration amount according to claim 13, wherein, The device further includes: a third determination module, the third determination module is configured to determine the reference vibration data, and the third determination module is further configured to: Control the speaker to play a preset sound source, and the preset sound source corresponds to a preset frequency range; For each of the multiple test regions, respectively obtain a plurality of amplitudes corresponding to a plurality of frequencies in the preset frequency range one by one; Store the mapping relationship between the frequencies and amplitudes of the obtained multiple test regions in a preset format.
16. The device for determining the vibration amount according to claim 9, wherein, The first determination module is configured to: Obtain a first function model and a second function model; wherein, the first function model is used to characterize the correspondence between the vibration frequency and the perception threshold, and the second function model is used to characterize the correspondence between the perception coefficient and the perception threshold; According to the current vibration frequency and the first function model, determine the current perception threshold corresponding to the current vibration frequency; According to the current perception threshold and the second function model, determine the perception coefficient corresponding to the current vibration frequency.
17. A terminal device, wherein, includes: a processor; a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the method for determining the vibration amount according to any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium, wherein, When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device can execute the method for determining the vibration amount according to any one of claims 1 to 8.
Citation Information
Patent Citations
Vibration optimization method and mobile terminal
CN107749306A
Vibration processing method and terminal
CN109451146A