Vibration adjustment method and device, storage medium and electronic equipment
By determining the contact area between a user and an electronic device, the vibration intensity is adjusted to enhance accuracy and user experience, addressing the imprecision in existing methods.
Patent Information
- Application Number
- CN202310803686.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
Existing methods for adjusting vibration intensity in electronic devices, such as mobile phones, lack accuracy due to the human body's differential perception of sound and vibration, leading to an imprecise regulation of vibration intensity.
A vibration adjustment method that determines the contact area between a target sensing object, such as a user's palm, and the electronic device, and adjusts the vibration intensity based on this contact area to enhance accuracy.
Improves the accuracy of determining vibration intensity, thereby enhancing the user's tactile experience by tailoring the vibration intensity to the specific contact area and holding posture.
Smart Images

Figure CN119232825A_ABST
Abstract
Description
Background Art
[0002] Electronic devices such as mobile phones are equipped with vibrators, which can provide information prompts or feedback through the vibrations generated by the vibrators. When a user holds an electronic device, the part of the human body that contacts the electronic device can feel the vibration tactile experience.
[0003] In the related art, the vibration intensity of the mobile phone can be adjusted according to the external environment, such as using a sensor to obtain the external sound intensity and selecting a vibration mode according to the external sound intensity.
[0004] However, since the human body's perception of sound and vibration comes from different receptors, the accuracy of regulating vibration intensity in this way is low.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of the present disclosure is to provide a vibration adjustment method for an electronic device, a vibration adjustment device for an electronic device, a computer-readable storage medium and an electronic device, thereby improving the accuracy of determining the vibration intensity of the electronic device at least to a certain extent.
[0007] According to a first aspect of the present disclosure, a vibration adjustment method for an electronic device is provided, wherein the electronic device includes a vibrator, and the method includes: in response to a vibration triggering event occurring in the electronic device, determining a contact area between a target vibration sensing object and the electronic device; and adjusting the vibration intensity of the vibrator according to the contact area to determine a current vibration intensity of the vibrator.
[0008] According to a second aspect of the present disclosure, a vibration adjustment device for an electronic device is provided, wherein the electronic device includes a vibrator, and the device includes: a contact area determination module, configured to determine a contact area between a target vibration sensing object and the electronic device in response to a vibration triggering event occurring in the electronic device; and a vibration intensity adjustment module, configured to adjust the vibration intensity of the vibrator according to the contact area to determine a current vibration intensity of the vibrator.
[0009] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vibration adjustment method of the electronic device described in the first aspect is implemented.
[0010] According to a fourth aspect of the present disclosure, an electronic device is provided, characterized in that it includes: one or more processors; and a memory for storing one or more programs, which, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the above-mentioned vibration adjustment method of the electronic device.
[0011] According to a fifth aspect of the present disclosure, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the steps of the vibration adjustment method for an electronic device as described in the first aspect.
[0012] The technical solution disclosed in this disclosure has the following beneficial effects:
[0013] In the present disclosure, when a vibration trigger event occurs in an electronic device, the vibration intensity of the electronic device can be adjusted according to the contact area between the target sensing object currently holding the electronic device, such as the user's palm, and the electronic device, thereby improving the accuracy of determining the vibration intensity and further enhancing the user's vibration tactile experience.
[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0016] Figure 1 A schematic diagram showing a system architecture to which exemplary embodiments of the present disclosure may be applied;
[0017] Figure 2 A schematic diagram showing a vibration adjustment method of an electronic device in an exemplary embodiment of the present disclosure;
[0018] Figure 3 A schematic flow chart showing a method for determining a contact area in an exemplary embodiment of the present disclosure;
[0019] Figure 4 A schematic diagram showing a configuration of a pressure sensing unit in an exemplary embodiment of the present disclosure;
[0020] Figure 5A A schematic diagram showing a holding posture in an exemplary embodiment of the present disclosure;
[0021] Figure 5BA schematic diagram showing another holding posture in an exemplary embodiment of the present disclosure;
[0022] Figure 5C A schematic diagram showing another holding posture in an exemplary embodiment of the present disclosure;
[0023] Figure 5D A schematic diagram showing another holding posture in an exemplary embodiment of the present disclosure;
[0024] Figure 6 A schematic flow chart showing a method for determining a current holding posture in an exemplary embodiment of the present disclosure;
[0025] Figure 7 A schematic flow chart showing another method for determining a current holding posture in an exemplary embodiment of the present disclosure;
[0026] Figure 8 A schematic flow chart showing a method for determining a contact area according to a current holding posture in an exemplary embodiment of the present disclosure;
[0027] Fig.9A A schematic diagram showing a contact area corresponding to a holding posture in an exemplary embodiment of the present disclosure;
[0028] Fig. 9B A schematic diagram showing a contact area corresponding to another holding posture in an exemplary embodiment of the present disclosure;
[0029] Fig.10 A schematic flow chart showing a method for adjusting vibration intensity according to a contact area in an exemplary embodiment of the present disclosure;
[0030] Fig.11 A schematic flow chart showing a method for adjusting vibration intensity of a wearable electronic device in an exemplary embodiment of the present disclosure;
[0031] Fig.12 A schematic flow chart showing another method for adjusting the vibration intensity of an electronic device in an exemplary embodiment of the present disclosure;
[0032] Fig.13 A schematic diagram showing the composition of a vibration adjustment device of an electronic device in an exemplary embodiment of the present disclosure;
[0033] Fig.14 A schematic diagram showing an electronic device to which the exemplary embodiments of the present disclosure can be applied. DETAILED DESCRIPTION
[0034] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0035] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0036] When using electronic devices, such as mobile phones and watches, vibration can be used to provide information prompts or feedback.
[0037] In the related art, the vibration intensity can be adjusted according to the external sound volume, for example, a sensor can be used to obtain the external sound intensity, and the vibration mode can be selected according to the sound intensity. For another example, based on the sound sensor, motion sensor, mobile phone processor and scene mode conversion module, the scene mode of the mobile phone can be automatically converted to weekly short ringtone plus vibration, vibration, or ringtone plus vibration according to whether the mobile phone is in motion and the intensity of the surrounding sound.
[0038] However, since the human body's perception of sound and vibration comes from different receptors, the method of adjusting the vibration intensity according to the intensity of external sound lacks scientificity, resulting in low accuracy in adjusting the vibration intensity.
[0039] In view of the above problems, an exemplary embodiment of the present disclosure provides a vibration adjustment method of an electronic device.
[0040] Next, combine Figure 1 The system architecture of the operating environment of this exemplary embodiment is exemplarily described.
[0041] Figure 1A schematic diagram of a system architecture is shown, and the system architecture 200 may include a terminal 110 and a server 120. The terminal 110 may be a terminal device such as a smart phone, a tablet computer, an intelligent wearable electronic device (such as a smart watch), and a vibrator is configured in the terminal 110, and a vibration prompt may be provided for a vibration triggering event in the terminal by the vibrator. The server 120 generally refers to a background system that provides related services of the vibration adjustment method of the electronic device in this exemplary embodiment. The server 120 may be a cloud server. The terminal 110 and the server 120 may be connected via a wired or wireless communication link to perform data interaction.
[0042] Taking the electronic device as an example, which is a smart phone terminal, in an exemplary implementation, when a vibration triggering event occurs in the smart phone, such as an incoming call vibration reminder event, the smart phone terminal can determine the target vibration sensing object, such as the contact area between the user's palm and the smart phone, and then adjust the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator, thereby providing a vibration prompt for the vibration triggering event based on the current vibration intensity.
[0043] Continuing with the example that the electronic device is a smart phone terminal, in another exemplary implementation, when a vibration trigger event occurs in the smart phone, the server can determine the contact area between the target sensing object and the electronic device based on the contact data generated by the smart phone, and then adjust the vibration intensity of the vibrator based on the contact area to determine the current vibration intensity of the vibrator, so that the vibrator can vibrate to prompt the vibration trigger event according to the current vibration intensity.
[0044] As can be seen from the above, the execution subject of the vibration adjustment method of the electronic device in this exemplary embodiment can be the terminal 110 mentioned above, or can be the server 120 mentioned above, and the present disclosure does not limit this.
[0045] Combine the following Figure 2 A vibration adjustment method of an electronic device in this exemplary embodiment is described, wherein the electronic device includes a vibrator, Figure 2 An exemplary process of the vibration adjustment method of the electronic device is shown, which may include:
[0046] Step S210, in response to a vibration triggering event occurring in the electronic device, determining a contact area between the target vibration sensing object and the electronic device;
[0047] Step S220: adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator.
[0048] Based on the above method, when a vibration trigger event occurs in an electronic device, the vibration intensity of the electronic device can be adjusted according to the target sensing object currently holding the electronic device, such as the contact area between the user's palm and the electronic device, thereby improving the accuracy of determining the vibration intensity and further enhancing the user's vibration tactile experience.
[0049] Below Figure 2 The steps shown are explained in detail.
[0050] In step S210, in response to a vibration triggering event occurring in the electronic device, a contact area between the target vibration sensing object and the electronic device is determined.
[0051] In an exemplary embodiment, the vibration trigger event may include an incoming call or text message, and may also include receiving various notification messages, such as alarms, to-do reminders, application notification messages, and other reminder events. The vibration trigger condition may be pre-configured, and when a vibration trigger event that meets the vibration trigger condition occurs in the electronic device, the vibrator in the electronic device will vibrate, and the user will be notified or reminded of the event through vibration.
[0052] In another exemplary embodiment, the vibrator can also be used to provide touch vibration feedback when the user operates the electronic device. In other words, the vibration trigger event can also include a touch vibration feedback event, such as a user's gesture operation such as pressing, sliding, clicking, etc. on the touch screen of the electronic device, taking pictures, playing music, and operating games, etc., which can all be provided with touch vibration feedback through the vibrator.
[0053] In an exemplary implementation, the target vibration sensing object is used to sense the vibration prompt generated by the vibrator in response to the vibration triggering event.
[0054] For example, the electronic device in the present disclosure may include a tablet computer, a smart phone, a wearable electronic device (such as a smart watch), etc. In the case where the electronic device is a tablet computer or a smart phone, the target vibration sensing object may include the palm of the user holding the electronic device, that is, when the user holds the tablet computer or the smart phone, the vibration of the electronic device can be sensed by the palm of the user. In the case where the electronic device is a smart watch, the target vibration sensing object may include the arm of the user wearing the smart watch, such as the wrist, etc.
[0055] As mentioned above, the electronic device includes a vibrator, that is, the electronic device is equipped with a vibrator. The vibrator is a vibration motor, also known as a tactile feedback motor, and its main function is to provide an interactive experience between the user and the electronic device through vibration or vibration feedback.
[0056] In an exemplary embodiment, the vibrator is disposed at an edge of a housing of the electronic device, and the contact area includes a contact area between the target vibration sensing object and the edge of the housing of the electronic device.
[0057] For example, the vibrator can be configured to correspond to a portion of the edge of the housing, and the area occupied by the setting position of the vibrator is less than or equal to the edge area of the housing of the electronic device. For example, taking the electronic device as a smart phone, the commonly used vibrator in the smart phone is a linear motor, which allows users to feel tactile feedback from the phone, providing a more immersive or interactive user experience. Linear motors can be divided into X-axis linear motors and Z-axis linear motors. The X-axis linear motor is usually installed in the horizontal direction of the phone, that is, the left and right sides of the phone (long side), while the Z-axis linear motor is usually installed in the longitudinal direction of the phone, that is, the upper and lower sides (short sides) of the phone. The X-axis linear motor can be used to provide vibration feedback in the horizontal direction. The Z-axis linear motor can be used to provide vibration feedback in the vertical direction. The size of the linear motor is less than or equal to the size of the phone frame.
[0058] In an exemplary embodiment, when the electronic device has a surround screen or an external screen, the contact area between the target vibration sensing object and the electronic device can be determined by the area of the pixels at the edge of the screen of the electronic device covered by the target vibration sensing object.
[0059] In another exemplary embodiment, when the electronic device has a physical frame, at least one pressure sensing unit may be configured in the electronic device, such as setting a pressure sensing unit at the frame position of the electronic device, and then determining the holding posture of the target vibration sensing object relative to the electronic device through the pressure sensed by the pressure sensing unit, thereby determining the contact area between the target vibration sensing object and the electronic device through the holding posture of the target vibration sensing object relative to the electronic device.
[0060] Based on this, for example, Figure 3 A schematic diagram showing a method for determining a contact area in an exemplary embodiment of the present disclosure is shown. Figure 3 , the method may include steps S310 to S330. Wherein:
[0061] In step S310, in response to a vibration triggering event occurring in the electronic device, a pressure value of each pressure sensing unit is determined.
[0062] As mentioned above, at least one pressure sensing unit is configured in the electronic device, wherein the pressure sensing unit can be pre-set at any position of the edge of the housing of the electronic device. The size of the pressure unit can also be determined according to demand, and this exemplary embodiment does not specifically limit this.
[0063] Take the mobile phone as an example, Figure 4 FIG. 1 is a schematic diagram showing a pressure sensing unit provided in a mobile phone in an exemplary embodiment of the present disclosure. Figure 4 As shown, four pressure sensing units can be set on the edge of the mobile phone housing, namely Figure 4 Pressure sensing unit A, pressure sensing unit B, pressure sensing unit C, and pressure sensing unit D. Figure 4 The pressure sensing unit setting method shown in the figure allows the pressure sensing unit to exist on all four sides of the edge of the mobile phone shell, so that more holding postures can be determined in subsequent steps based on the pressure sensing unit. Of course, two pressure sensing units can also be set on the left and right sides of the edge of the mobile phone shell, or two pressure sensing units can be set on the upper and lower sides of the edge of the mobile phone shell, respectively. Three pressure sensing units can also be set on any three sides of the edge of the mobile phone shell. In the case where the size of the pressure sensing unit is small, six pressure sensing units can also be set on the edge of the mobile phone shell, such as setting one pressure sensing unit on the upper and lower sides respectively, and then setting two pressure sensing units on the left edge of the mobile phone shell, and setting two pressure sensing units on the right edge of the mobile phone shell. This exemplary embodiment does not make any special limitation to this.
[0064] Exemplarily, in a case where a pressure sensing unit is pre-configured in the electronic device, when a vibration triggering event occurs in the electronic device, the pressure value sensed by each pressure sensing unit can be obtained.
[0065] In step S320, the current holding posture of the target vibration sensing object with respect to the electronic device is determined according to the pressure value of each of the pressure sensing units.
[0066] Exemplarily, a specific implementation of step S320 may include: according to the pressure value of each of the pressure sensing units, searching in a first mapping relationship table for the holding posture corresponding to the pressure value of each of the pressure sensing units, so as to determine the current holding posture of the target vibration sensing object for the electronic device; wherein, the method for determining the first mapping relationship table includes: pre-collecting the pressure value of each of the pressure sensing units when different vibration sensing objects take different holding postures for the electronic device; and establishing a first mapping relationship table between the pressure value of each pressure sensing unit and the holding posture according to the collected pressure values.
[0067] Taking the electronic device as an example, a smart phone may be held by a user in different holding postures, such as one-handed or two-handed. The contact area between the user's palm and the phone is different in each holding posture. When the user uses different holding postures, the pressure value sensed by each pressure sensing unit is different. Therefore, the current holding posture can be determined by the pressure value sensed by the pressure sensing unit.
[0068] For example, various possible holding postures of different users when using mobile phones can be determined in advance through extensive research. Figure 5A , Figure 5B , Figure 5C and Figure 5D Four typical holding postures are shown respectively. Then, for each holding posture, the pressure values sensed by each pressure sensing unit configured in the mobile phone when different users hold the mobile phone using the holding posture are collected in advance. Since different users have different holding strengths when using the same holding posture, such as some hold it tighter and some hold it looser, and the palm sizes of different users are also different, the pressure values detected by each pressure detection unit for the same holding posture may be different. Therefore, for the same holding posture, the corresponding relationship between the pressure value range of each pressure sensing unit and the holding posture can be established based on the pressure values of each pressure sensing unit collected when different users use the holding posture. Based on the corresponding relationship between the pressure value range of each pressure sensing unit and the holding posture established under different holding postures, the first mapping relationship table between the pressure value of each pressure sensing unit and the holding posture can be determined.
[0069] Among them, for the mapping relationship in the first mapping relationship table, for the same holding posture, it is determined by the pressure value range of each pressure sensing unit. Figure 4 Taking the figure as an example, a mapping relationship in the first mapping relationship table can be expressed as follows: when the pressure value range of pressure sensing unit A is greater than a and less than b, and the pressure value range of pressure sensing unit B is greater than c, and the pressure value range of pressure sensing unit C is greater than d and less than e, and the pressure value range of pressure sensing unit D is greater than f and less than g, the holding posture B1 is adopted. That is, each mapping relationship in the first mapping relationship table is a corresponding relationship between the combination result of the pressure value range of the pressure sensing unit and the holding posture, and the current pressure value of each pressure sensing unit needs to satisfy its corresponding pressure value range at the same time to determine the current holding posture.
[0070] For example, another specific implementation of step S320 can be as follows: Figure 6 shown. Figure 6 A flowchart of a method for determining a current holding posture in an exemplary embodiment of the present disclosure is shown. Figure 6 , the method may include steps S610 to S630. Wherein:
[0071] In step S610, the target pressure generating position of the target vibration sensing object on the electronic device is determined according to the pressure value of each pressure sensing unit and the setting position of each pressure sensing unit.
[0072] For example, the target pressure position of the target vibration sensing object on the electronic device can be determined based on the pressure sensing unit that detects pressure and its corresponding setting position and the pressure sensing unit that does not detect pressure and its corresponding setting position. Figure 5A When the holding posture is set as Figure 4 Taking the example shown, pressure sensing unit A and pressure sensing unit B can output pressure values, while pressure sensing unit C and pressure sensing unit D have no pressure output values. The target pressure generating position is the set position corresponding to pressure sensing unit A and pressure sensing unit B.
[0073] In step S620, the target size of the target vibration sensing object is obtained.
[0074] Taking the target vibration sensing object as the user's palm as an example, when the user turns on the real-time vibration intensity adjustment function in the electronic device, the user can be guided to enter the palm size data such as the palm area, and the entered palm area and other size data can be saved in the non-volatile memory of the electronic device. The user's ID (Identity Document) and the user's palm area and other size data can also be associated, and the association relationship can be sent to the server to store the user's palm area and other size data in the server. Correspondingly, the target size of the target vibration sensing object stored in the electronic device can be obtained, and the target size of the target vibration sensing object stored in the server can also be obtained from the server.
[0075] For example, the user can be guided to measure the user's palm size data in advance through the TOF (Time-of-Flight) camera in the camera module of the electronic device, and then calculate the user's palm area based on the palm area calculation formula according to the measured palm size data. For example, the TOF camera in the camera module can capture the user's palm image, and at the same time determine the distance from the camera module lens to the user's palm based on the TOF technology, that is, the shooting distance. By measuring the size of the palm in the user's palm image, such as measuring the size data such as the palm width, and then based on the palm area calculation formula, the palm area in the captured user's palm image can be calculated according to the measured size, and the scaling ratio of the user's palm image relative to the user's actual palm can be determined by the shooting distance. Finally, the user's palm area can be determined according to the product of the calculated palm area in the user's palm image and the scaling ratio. In other words, the user's palm area is also a calculated value, and there may be a small deviation between it and the user's actual palm area. However, the larger the actual palm area of the user, the larger the calculated palm area, and the smaller the actual palm area, the smaller the calculated palm area. Therefore, the calculated palm area can still reflect the actual palm area of the user to a large extent.
[0076] In step S630, based on the target size and the target pressure generation position, the holding posture corresponding to the target size and the target pressure generation position is searched in the second mapping relationship table between the vibration sensing object size and pressure generation position and the holding posture to determine the current holding posture of the target vibration sensing object for the electronic device.
[0077] In an exemplary embodiment, the method for determining the second mapping relationship table includes: pre-collecting the pressure value of each pressure sensing unit when vibration sensing objects of different sizes adopt different holding postures for the electronic device; for each size of the vibration sensing object, determining the pressure generating position of each size of the vibration sensing object in different holding postures according to the collected pressure values of the pressure sensing units at different positions; and determining the second mapping relationship table between the size and pressure generating position of the vibration sensing object and the holding posture according to the pressure generating position of each size of the vibration sensing object in different holding postures.
[0078] For example, the electronic device is a smart phone, and the vibration sensing object is the user's palm. For each holding posture for the mobile phone obtained in advance, the pressure values of each pressure sensing unit when multiple palms of different sizes use the holding posture can be collected in advance, so as to obtain the pressure generation position when multiple palms of different sizes use the holding posture in advance. For the same holding posture, the pressure generation position is different due to different palm sizes. For example, if the setting method of the pressure sensing unit is as follows: Figure 4As an example, for Figure 5A For the holding posture in the example, for people with smaller palms, only pressure sensing unit A senses the pressure value, that is, the pressure generating position is the setting position of pressure sensing unit A. For people with larger palms, both pressure sensing unit A and pressure sensing unit B can sense the pressure value, that is, the pressure generating position is the setting position of pressure sensing unit A and pressure sensing unit B. Therefore, for the same holding posture, there may be multiple second mapping relationships. For example, for Figure 5A In the holding posture in the embodiment, the minimum palm area S1 when the pressure sensing unit B senses the pressure can be collected. In this way, two mapping relationships can be established: the palm area is less than S1 and the pressure sensing unit A senses the pressure value corresponding to the holding posture 5A, and the palm area is greater than or equal to S1 and the pressure sensing unit A and the pressure sensing unit B sense the pressure value corresponding to the holding posture 5A. In the second mapping relationship table, the vibration sensing object size and the pressure generation position jointly determine the holding posture.
[0079] After the second mapping relationship table is determined in advance, the current holding posture can be determined according to the holding posture in a second mapping relationship when the target vibration sensing object size and the target pressure generation position jointly satisfy the vibration sensing object size range and the pressure generation position in a second mapping relationship.
[0080] Exemplarily, another specific implementation of step S320 may include: detecting a current posture of the electronic device according to a gyroscope in the electronic device, the current posture including a horizontal screen or a vertical screen; determining the current holding posture of the electronic device by the target vibration sensing object according to a third mapping relationship table based on the current posture of the electronic device and the pressure value of each of the pressure sensing units; wherein the third mapping relationship table is determined in a manner including: pre-collecting the pressure value of each of the pressure sensing units when different vibration sensing objects take different holding postures for the electronic device when the electronic device is in different postures; and establishing a third mapping relationship table between the posture of the electronic device and the pressure value of each pressure sensing unit and the holding posture according to the collection result.
[0081] Continuing with the example that the electronic device is a smart phone and the vibration sensing object is the user's palm, for each holding posture in the horizontal screen posture and each holding posture in the vertical screen state, the pressure value of each pressure sensing unit is collected when different users' palms use the holding posture in the posture. Similarly, because different users use different holding strengths when using the same holding posture in the same posture, such as some hold tighter and some hold looser, and the palm sizes of different users are also different, the pressure values detected by each pressure detection unit for the same holding posture in the same posture may be different. Therefore, for the same holding posture in the same posture, the pressure value range of each pressure sensing unit and the corresponding relationship between the electronic device posture and the holding posture can be established based on the pressure values of each pressure sensing unit when different users use the holding posture in the posture. Based on the pressure value range of each pressure sensing unit and the corresponding relationship between the electronic device posture and the holding posture established under different holding postures, the third mapping relationship table between the pressure value of each pressure sensing unit and the electronic device posture and the holding posture can be determined.
[0082] After determining the third mapping relationship table, the electronic device posture and the pressure value range of the corresponding pressure sensing unit in each mapping relationship in the third mapping relationship table can be matched according to the current posture of the electronic device and the current pressure value sensed by each pressure sensing unit. When the electronic device posture included in a certain mapping relationship and the current posture of the electronic device, as well as the pressure value range of each pressure sensing unit and the current pressure value of the corresponding pressure sensing unit are all matched successfully, the holding posture in the mapping relationship is determined as the current holding posture.
[0083] Of course, in an exemplary embodiment, data can also be collected in advance to establish a mapping relationship between the electronic device posture, the pressure value of each pressure sensing unit, the pressure generation position, the size of the vibration sensing object and the holding posture. That is, when the electronic device posture, the pressure value of each pressure sensing unit, the pressure generation position and the size of the vibration sensing object simultaneously meet the conditions of a certain mapping relationship, the current holding posture is determined according to the holding posture in the mapping relationship; the current holding posture can also be determined only when the pressure generation position meets the conditions in a certain mapping relationship, and this exemplary embodiment does not make special restrictions on this.
[0084] For example, Figure 7 A flowchart showing another method for determining the current holding posture in an exemplary embodiment of the present disclosure is shown. Figure 7, the method may include steps S710 to S740. Wherein: in step S710, the current posture of the electronic device detected by the gyroscope in the electronic device is obtained; in step S720, the current pressure value of each pressure sensing unit is obtained; in step S730, the pressure weight of each pressure sensing unit is determined according to the current pressure value of each pressure sensing unit; in step S740, the current holding posture is determined according to the current posture of the electronic device and the pressure weight of each pressure sensing unit.
[0085] For example, the pressure values sensed by each pressure sensing unit of the electronic device under different holding postures can be collected in advance, the pressure values sensed by each pressure sensing unit can be sorted, and the pressure weight of each pressure sensing unit can be determined according to the sorting result, that is, the pressure weight of the pressure sensing unit in the front order is greater than the pressure weight of the pressure sensing unit in the back order. For example, the pressure sensing unit is set in a manner such as Figure 4 Taking the shown example, it can be determined that the pressure weight of the first pressure sensing unit in the sorting result is 0.4, the pressure weight of the second pressure sensing unit is 0.3, the pressure weight of the third pressure sensing unit is 0.2, and the pressure weight of the third pressure sensing unit is 0.1, thereby establishing a mapping relationship table between the electronic device posture and the pressure weights of the pressure sensing units and the holding posture, and then matching the current posture of the electronic device with the electronic device posture in the mapping relationship table, matching the pressure weights of each pressure sensing unit with the pressure weights of each pressure sensing unit in the mapping relationship table, and determining the current holding posture based on the holding postures in all successfully matched mapping relationships.
[0086] In step S330, the contact area between the target vibration sensing object and the electronic device is determined according to the current holding posture.
[0087] For example, Figure 8 A flow chart of a method for determining a contact area according to a current holding posture in an exemplary embodiment of the present disclosure is shown. Figure 8 , the method may include steps S810 to S820.
[0088] in:
[0089] In step S810, according to the current holding posture, the target contact area ratio corresponding to the current holding posture is searched in the fourth mapping relationship table.
[0090] In an exemplary embodiment, the target contact area ratio is used to indicate the ratio of the contact area between the target vibration sensing object and the electronic device to the total area of the current vibration sensing object in the current holding posture.
[0091] In an exemplary embodiment, the method for determining the fourth mapping relationship table includes: when vibration sensing objects of different sizes adopt different holding postures for the electronic device, pre-collecting the ratio of the contact area between the vibration sensing object and the electronic device to the total area of the vibration sensing object to obtain the contact area ratio; based on the collected contact area ratios under different holding postures, establishing a fourth mapping relationship table between the contact area ratio and the holding posture.
[0092] Taking the electronic device as a smart phone and the vibration sensing object as the user's palm as an example, for each holding posture obtained in advance, the contact area between the palm and the edge of the mobile phone shell, that is, the frame, when different users hold the mobile phone using the holding posture can be collected in advance, and then the area of the contact area is measured. According to the ratio of the area of the contact area to the total area of the user's palm, the contact area ratio of the user is determined, and the mean, median or mode of the contact area ratio of the middle 85% of users is selected to determine the contact area ratio under the holding posture. According to the contact area ratios under different holding postures collected in advance, a fourth mapping relationship table between the contact area ratio and the holding posture is established.
[0093] For example, Fig.9A and Fig. 9B Shown separately Figure 5A The contact area and Figure 5B The contact area corresponding to the holding posture in Fig.9A and Fig. 9B The black area in the middle palm is the contact area between the palm and the mobile phone frame in the left holding posture, and the area of the black area is the contact area between the palm and the mobile phone frame in this holding posture.
[0094] After the fourth mapping relationship table is determined in advance, in actual use, the contact area ratio corresponding to the current holding posture can be searched in the fourth mapping relationship table according to the determined current holding posture, and it can be determined as the target contact area ratio.
[0095] In step S820, the contact area between the target vibration sensing object and the electronic device is determined based on the total area of the target vibration sensing object and the target contact area ratio.
[0096] In an exemplary implementation, the method for determining the total area of the target vibration sensing object may refer to the method for determining the target size of the target vibration sensing object described above, which will not be described in detail herein.
[0097] For example, after determining the target contact area ratio in the fourth mapping relationship table, the total area of the target vibration sensing object collected and stored in advance can be obtained, and the contact area between the target vibration sensing object and the electronic device can be determined based on the product of the total area of the target vibration sensing object and the target contact area ratio.
[0098] For an electronic device with a vibrator set at the edge of the shell, the vibration sensing at the edge of the shell is the most sensitive, so the vibration intensity can be adjusted by the contact area between the vibration sensing medium and the edge of the shell of the electronic device. Through the above steps S310 to S330, the contact area between the target vibration sensing object and the edge of the shell of the electronic device can be quickly determined based on the holding posture, thereby avoiding the problem of directly detecting the contact area requiring more hardware equipment support and improving the efficiency of contact area determination.
[0099] It should be noted that the contact area in the present disclosure is not measured, but calculated through the above-mentioned steps S310 to S320. In other words, the contact area in the present disclosure can be understood as a calculated contact area value, which has a certain difference with the actual contact area between the target vibration sensing object and the electronic device, but this difference is calculated with reference to the actual contact area of many vibration sensing objects and electronic devices. For example, when determining the contact area ratio under different holding postures, the actual contact area of different vibration sensing objects with electronic devices under different holding postures is measured, thereby determining the mapping relationship, so this difference is relatively small. And the calculated contact area and the actual contact area are in a positive proportional relationship, that is, the larger the actual contact area, the larger the calculated contact area must be, and the smaller the actual contact area, the smaller the calculated contact must be. Therefore, the contact area calculated in the present disclosure can also reflect the actual contact area size of different target vibration sensing objects and electronic devices to a large extent, and can also reflect the actual contact area size of the same target vibration sensing object with the electronic device under different holding postures. In other words, adjusting the vibration intensity according to the calculated contact area can also improve the accuracy of vibration intensity determination.
[0100] Continue to refer Figure 2 In step S220, the vibration intensity of the vibrator is adjusted according to the contact area to determine the current vibration intensity of the vibrator.
[0101] Exemplarily, a specific implementation of step S220 may include: determining a vibration intensity scaling ratio based on a first ratio between the contact area and a reference contact area corresponding to the target vibration sensing object in the reference holding posture; based on the vibration intensity scaling ratio, adjusting a preset vibration intensity of the vibrator to determine a current vibration intensity of the vibrator, wherein the preset vibration intensity is determined based on a vibration intensity comfort value of the target vibration sensing object in the reference holding posture.
[0102] In an exemplary embodiment, a method for determining a reference contact area corresponding to the target vibration sensing object in a reference holding posture includes: establishing a fifth mapping relationship between the size of the vibration sensing object and the reference contact area under the reference holding posture based on pre-collected contact areas of vibration sensing objects of different sizes with the electronic device under the reference holding posture; and determining the reference contact area corresponding to the target vibration sensing object in the reference holding posture based on the size of the target vibration sensing object and according to the fifth mapping relationship.
[0103] The reference holding posture may include the holding posture most used by users in a preliminary survey. Of course, the reference holding posture may also be determined according to user needs, and this exemplary embodiment does not specifically limit this.
[0104] For example, the contact areas between vibration sensing objects of different sizes and the electronic device when the electronic device is held using a reference holding posture can be collected in advance, thereby establishing a fifth mapping relationship between the size of the vibration sensing object and the reference contact area based on the collected contact areas between the vibration sensing objects of different sizes and the electronic device in the reference holding posture.
[0105] The fifth mapping relationship may be a fifth mapping relationship table between the size range of the vibration sensing object and the reference contact area, such as the mapping relationship table may include: when the palm area is greater than S0 and less than or equal to S1, the reference contact area is A1; when the palm area is greater than S1 and less than or equal to S2, the reference contact area is B; when the palm area is greater than S2 and less than or equal to S3, the reference contact area is C, etc. The fifth mapping relationship may also be a functional relationship between the size of the vibration sensing object and the reference contact area, such as fitting a relationship curve between the size of the vibration sensing object and the reference contact area based on the collected data, thereby determining the fifth mapping relationship based on the functional relationship corresponding to the relationship curve, such as the functional relationship corresponding to the fitted relationship curve is f=6x+5, where x is the size of the vibration sensing object and f is the reference contact area.
[0106] After the fifth mapping relationship is determined in advance, the size of the target vibration sensing object is matched with the size in the fifth mapping relationship table according to the acquired size of the target vibration sensing object, and the reference contact area of the target vibration sensing object in the reference holding posture is determined according to the reference contact area corresponding to the successfully matched size; the size of the target vibration sensing object can also be substituted into the functional relationship corresponding to the fifth mapping relationship, and the reference contact area of the target vibration sensing object in the reference holding posture is determined according to the output value of the function.
[0107] In an exemplary embodiment, the method for determining the preset vibration intensity includes: obtaining a target size of the target vibration sensing object; and determining, according to the target size, a preset vibration intensity corresponding to the target vibration sensing object based on a sixth mapping relationship between the vibration sensing object size and the preset vibration intensity.
[0108] Among them, the method for determining the sixth mapping relationship includes: pre-collecting the vibration intensity comfort values of vibration sensing objects of different sizes for the electronic device in a reference holding posture; for each size of vibration sensing objects, sorting the collected vibration intensity comfort values, and determining the vibration intensity comfort values whose sorting order is within a preset sequence range; for each size of vibration sensing objects, determining the preset vibration intensity value corresponding to each size of vibration sensing objects according to the vibration intensity comfort values whose sorting order is within the preset sequence range; and establishing the sixth mapping relationship between the size of the vibration sensing object and the preset vibration intensity according to the preset vibration intensity value corresponding to the vibration sensing object of each size.
[0109] Taking the example that the electronic device is a smart phone and the vibration sensing object is the user's palm, ergonomic data of the entire population can be collected in advance, and the vibration intensity comfort values of a certain number of users with different hand areas under a reference holding posture can be measured. The collected population can be stratified according to the hand area to obtain stratification results for different hand area ranges. For the hand area of each stratification, a representative part is selected, such as the vibration intensity comfort value of the middle 85% of the population, to determine the preset vibration intensity comfort value of the stratified population.
[0110] For example, for the vibration intensity comfort values collected for each layer of hand area, the vibration intensity comfort values can be sorted, and the vibration intensity comfort values corresponding to the hand areas in the middle 85% of the sorting order are selected, that is, 85% is the preset order range. For example, for the hand area of the first layer, the vibration intensity comfort values of 100 people are collected, and the 100 vibration intensity comfort values are sorted, and a total of 85 vibration intensity comfort values with a sorting order range from the 7th to the 92nd are selected. According to any statistical data such as the mean, median, mode, etc. of these 85 vibration intensity comfort values, the preset vibration intensity value corresponding to the hand area of the first layer is determined. Thus, according to the preset vibration intensity values corresponding to different hand area layers, a sixth mapping relationship between the hand area range and the preset vibration intensity is established. For example, the sixth mapping relationship may include: when the hand area is greater than S0 and less than or equal to S1, the preset vibration intensity is 67; when the hand area is greater than S1 and less than or equal to S2, the preset vibration intensity is 68; when the hand area is greater than S2 and less than or equal to S3, the preset vibration intensity is 69, etc.
[0111] In this way, the target size of the target vibration sensing object is matched with the size range in the sixth mapping relationship to determine the size range to which the target size belongs. According to the preset vibration intensity corresponding to the size range to which the target size belongs, the preset vibration intensity corresponding to the target vibration sensing object can be obtained.
[0112] For example, after determining the contact area S corresponding to the current holding posture 当 , and the reference contact area S of the target vibration sensing object in the reference holding posture 参 In the case of 参 Contact area S 当 The vibration intensity scaling ratio can be determined by the following formula (1):
[0113]
[0114] After the vibration intensity scaling ratio is determined, the current vibration intensity of the vibrator can be determined according to the product of the vibration intensity scaling ratio and the preset vibration intensity corresponding to the target vibration sensing object, so as to adjust the vibration intensity of the vibrator according to the current vibration intensity.
[0115] In an exemplary embodiment, the electronic device is configured with four pressure sensing units, and the four pressure sensing units are respectively arranged at four sides of the edge of the housing of the electronic device. Figure 4 The pressure sensing unit is set as shown. Based on this, Fig.10A flow chart showing another method for adjusting vibration intensity according to contact area in an exemplary embodiment of the present disclosure is shown. Fig.10 , the method may include steps S1010 to S1030. Wherein:
[0116] In step S1010 , a preset vibration intensity of the vibrator is adjusted according to the contact area to determine a candidate vibration intensity of the vibrator.
[0117] For example, the vibration intensity scaling ratio can be determined based on the ratio between the contact area in the current holding posture and the reference contact area, and then the candidate vibration intensity is determined based on the product of the vibration intensity scaling ratio and the preset vibration intensity corresponding to the target vibration sensing object.
[0118] In step S1020, the pressure value of each of the pressure sensing units is obtained, the pressure values of the pressure sensing units are sorted, and the target positions of the pressure sensing units corresponding to the pressure values in the first N positions are determined according to the sorting result, where N is an integer greater than 0 and less than 4.
[0119] The pressure sensing unit is set as Figure 4 Taking the method shown as an example, where N is 2, the pressure values of each pressure sensing unit can be sorted to determine the target position, which can be understood as the main location where pressure occurs.
[0120] In step S1030, a first preset adjustment coefficient corresponding to the target position is obtained, and the candidate vibration intensity is adjusted according to the first preset adjustment coefficient to determine the current vibration intensity of the vibrator.
[0121] For example, for different settings of the vibrator, when the user adopts different holding postures, if the main location of pressure is consistent with the setting location of the vibrator, such as the main location of pressure is on the left and right sides of the phone, and the vibrator is also set on the left and right sides of the phone, the user is more sensitive to the vibrator. At this time, the candidate vibration intensity can be multiplied by a coefficient less than 1, and the candidate vibration intensity can be appropriately reduced to obtain the current vibration intensity; if the main location of pressure is inconsistent with the setting location of the vibrator, such as the main location of pressure is on the upper and lower sides of the phone, and the vibrator is set on the left and right sides of the phone, the user is less sensitive to the vibrator. At this time, the candidate vibration intensity can be appropriately increased to obtain the current vibration intensity. In this way, users can have the best vibration intensity experience under different holding conditions.
[0122] Therefore, the first preset adjustment coefficient corresponding to the target position can be determined based on the target position and the setting position of the vibrator. For example, if the target position and the setting position of the vibrator are consistent, the first preset adjustment coefficient is less than 1; if the target position and the setting position of the vibrator are inconsistent, the first preset adjustment coefficient is greater than 1.
[0123] In an exemplary embodiment, adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator may also include: adjusting a preset vibration intensity of the vibrator according to the contact area to determine a candidate vibration intensity of the vibrator; obtaining a pressure value of each of the pressure sensing units, and when the pressure value of the pressure sensing unit meets a preset condition, obtaining a second preset adjustment coefficient corresponding to the preset condition; and adjusting the candidate vibration intensity according to the second preset adjustment coefficient to determine the current vibration intensity of the vibrator.
[0124] For example, as mentioned above, different users hold the electronic device with different strengths. Users who hold the device tightly are more sensitive to vibrations, while users who hold the device loosely are less sensitive to vibrations. Therefore, the tightness of the grip can be determined based on the pressure value of each pressure sensing unit, and the candidate vibration intensities can be adjusted based on the different tightness to obtain the current vibration intensity. For example, the preset conditions include that the maximum pressure value or the average pressure value of each pressure sensing unit is greater than the first preset value. At this time, it can be considered that the user's grip force is large, and the corresponding second preset adjustment coefficient can be less than 1, that is, because it is more sensitive, the candidate vibration intensity can be multiplied by a value less than 1, and the candidate vibration intensity can be appropriately reduced to obtain the best vibration intensity experience value. The preset conditions may also include that the maximum pressure value or the average pressure value of each pressure sensing unit is less than the second preset value. At this time, it can be considered that the user's grip force is small and he is not sensitive to vibration sensing. Then the corresponding second preset adjustment coefficient can be greater than 1, that is, the candidate vibration intensity is multiplied by a value greater than 1, and the candidate vibration intensity is appropriately increased to obtain the current vibration intensity, so as to obtain the best vibration intensity experience value.
[0125] In an exemplary embodiment, as mentioned above, the electronic device in the present disclosure includes a wearable electronic device. In the case where the electronic device is a wearable electronic device, the target vibration sensing object includes the arm of the wearable electronic device user. Based on this, Fig.11 A schematic diagram showing a flow chart of a method for adjusting vibration intensity of a wearable electronic device in an exemplary embodiment of the present disclosure, with reference to Fig.11 , the method may include steps S1110 to S1140. Wherein:
[0126] In step S1110 , a preset vibration intensity of the vibrator is adjusted according to the contact area to determine a candidate vibration intensity of the vibrator.
[0127] The specific implementation of step S1110 may refer to the above-mentioned step S1010, which will not be described in detail here.
[0128] In step S1120, a target wearing mode selected for the wearable electronic device is obtained.
[0129] In an exemplary embodiment, the target wearing mode includes wearing on the outside of the arm or wearing on the inside of the arm. For example, when using the wearable electronic device, the user can choose to wear it on the inside of the arm or on the outside of the arm in the wearing mode setting, so as to wear the wearable electronic device according to the selected wearing mode. Therefore, the target wearing mode selected by the user can be obtained from the wearing mode setting.
[0130] In step S1130, a third preset adjustment coefficient corresponding to the target wearing style is obtained.
[0131] For example, the mapping relationship between different target wearing modes and the third preset adjustment coefficient can be predetermined. For example, when worn on the inside of the arm, it is more sensitive to vibration sensing, and the corresponding third preset adjustment coefficient can be less than 1; when worn on the outside of the arm, it is more sensitive to vibration sensing, and the corresponding third preset adjustment coefficient can be greater than 1.
[0132] In step S1140 , the candidate vibration intensity is adjusted according to a third preset adjustment coefficient to determine the current vibration intensity of the vibrator.
[0133] For example, the current vibration intensity of the vibrator may be determined based on the product of the third preset adjustment coefficient and the candidate vibration intensity, so that the vibrator outputs the current vibration intensity, thereby providing a vibration prompt or feedback for the vibration triggering event based on the current vibration intensity.
[0134] In an exemplary embodiment, when the electronic device is a wearable electronic device, such as a smart watch, a tension force sensing device can be configured on the strap of the smart watch. The tighter the strap is, the tighter it is worn, and the watch body should be in closer contact with the skin. Then, the contact area between the arm and the dial of the smart watch under different tensions is collected in advance, so as to establish the seventh mapping relationship between the tension and the contact area of the dial. Then, according to the tension currently collected by the tension force sensing device, the contact area between the arm and the dial of the smart watch is determined based on the seventh mapping relationship.
[0135] For example, the electronic device is a smart phone and the vibration sensing object is the user's palm. Fig.12A flow chart showing a method for adjusting the vibration intensity of another electronic device in an exemplary embodiment of the present disclosure is shown. Fig.12 , the method may include the steps.
[0136] In step S1210, the real-time vibration intensity automatic adjustment function is turned on; in step S1220, it is determined whether the user's hand area data has been recorded, if not, go to step S1230, if yes, go to step S1250; in step S1230, guide the user to measure the hand area data and store the measurement results; in step S1240, according to the mapping relationship between the hand area and the preset vibration intensity, determine the preset vibration intensity A corresponding to the hand area entered by the user; in step S1250, detect the pressure value of the pressure sensing unit in real time to determine the current holding posture according to the detected pressure value; in step S1260, determine the current contact area ratio B according to the current holding posture; in step S1270, determine the current contact area according to the contact area ratio B, and determine the vibration intensity scaling ratio C based on the current contact area; in step S1280, adjust the preset vibration intensity according to the vibration intensity scaling ratio C to obtain the current vibration intensity.
[0137] For example, when the user enters the system vibration setting, it is first determined whether the user has recorded the hand data. When the user has not recorded the hand data, the system enters step S1230 and step S1240 to perform initial settings. In step S120, the ToF camera in the mobile phone camera module is used to measure the user's palm size and calculate the palm area. In step S1240, the vibration intensity A corresponding to the currently measured palm area is determined based on the predetermined mapping relationship between the palm areas of different sizes and the preset vibration intensity. When it is determined that the user has recorded the hand data, the system enters step S1250 to step S1280 to adjust the vibration intensity in real time. When using a mobile phone, the user may hold the phone in different postures, such as one hand, two hands, etc. The contact area between the hand and the mobile phone is different in each holding posture, and the contact area is highly correlated with the vibration intensity, so the contact area of different holding postures can be monitored in real time.
[0138] The detection of the contact area can be achieved using the pressure sensing unit of the mobile phone frame. When using different holding postures, as long as you know which pressure sensing units in the frames detect the pressure, you can use the mobile phone gyroscope to determine the horizontal and vertical screen conditions to deduce the user's holding posture. Based on the mapping relationship between the holding posture and the contact area ratio, the target contact area ratio corresponding to the current holding posture can be determined. The contact area corresponding to the current holding posture can be obtained based on the target contact area ratio and the entered user palm area. Divide the contact area corresponding to the current holding posture by the reference contact area corresponding to the reference holding posture to obtain the vibration intensity scaling ratio. The current vibration intensity under the current holding posture is obtained by multiplying the preset vibration intensity and the vibration intensity scaling ratio.
[0139] Different users have different degrees of vibration intensity. The human body's external vibration stimulation is mainly received by Pacinian corpuscles under the skin. The total number of Pacinian corpuscles distributed on the palm skin of adults is generally similar. When using electronic devices, the contact area between the electronic device and the palm affects the effect of the vibration stimulation transmission of the electronic device. Therefore, the palm size and real-time contact area are two key factors that determine the vibration intensity.
[0140] In the present disclosure, the contact area ratio can be determined according to the posture of holding the mobile phone, the contact area can be determined according to the contact area ratio and the palm size, and then the vibration intensity can be adjusted based on the contact area. This can better provide a vibration experience of appropriate strength according to different usage scenarios and improve the accuracy of vibration intensity determination.
[0141] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0142] For further reference, Fig.13 As shown, in the embodiment of this example, a vibration adjustment device 1300 of an electronic device is also provided, and the vibration adjustment device 1300 of the electronic device may include: a contact area determination module 1310 and a vibration intensity adjustment module 1320. Among them:
[0143] The contact area determination module 1310 is configured to determine the contact area between a target vibration sensing object and the electronic device in response to a vibration triggering event occurring in the electronic device, wherein the target vibration sensing object is used to sense a vibration prompt generated by the vibrator in response to the vibration triggering event;
[0144] The vibration intensity adjustment module 1320 is configured to adjust the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator.
[0145] In an exemplary embodiment, based on the aforementioned embodiment, at least one pressure sensing unit is configured in the electronic device, and the contact area determination module 1310 can be specifically configured to: determine the pressure value of each of the pressure sensing units in response to a vibration trigger event occurring in the electronic device; determine the current holding posture of the target vibration sensing object with respect to the electronic device based on the pressure value of each of the pressure sensing units; and determine the contact area between the target vibration sensing object and the electronic device based on the current holding posture.
[0146] In an exemplary embodiment, based on the aforementioned embodiment, determining the current holding posture of the target vibration sensing object with respect to the electronic device according to the pressure value of each of the pressure sensing units includes: searching a first mapping relationship table for the holding posture corresponding to the pressure value of each of the pressure sensing units according to the pressure value of each of the pressure sensing units, so as to determine the current holding posture of the target vibration sensing object with respect to the electronic device; wherein, the method for determining the first mapping relationship table includes: pre-collecting the pressure value of each of the pressure sensing units when different vibration sensing objects take different holding postures with respect to the electronic device; and establishing a first mapping relationship table between the pressure value of each pressure sensing unit and the holding posture according to the collected pressure values.
[0147] In an exemplary embodiment, based on the foregoing embodiment, determining the current holding posture of the target vibration sensing object on the electronic device according to the pressure value of each of the pressure sensing units includes: determining the target pressure generating position of the target vibration sensing object on the electronic device according to the pressure value of each of the pressure sensing units and the setting position of each of the pressure sensing units; obtaining the target size of the target vibration sensing object; and searching, based on the target size and the target pressure generating position, for the holding posture corresponding to the target size and the target pressure generating position in a second mapping relationship table between the vibration sensing object size and the pressure generating position and the holding posture. holding posture to determine the current holding posture of the target vibration sensing object towards the electronic device, wherein the method for determining the second mapping relationship table includes: pre-collecting the pressure value of each pressure sensing unit when vibration sensing objects of different sizes take different holding postures towards the electronic device; for each size of vibration sensing object, determining the pressure generating position of each size of vibration sensing object under different holding postures according to the collected pressure values of the pressure sensing units at different positions; and determining the second mapping relationship table between the size and pressure generating position of the vibration sensing object and the holding posture according to the pressure generating position of each size of the vibration sensing object under different holding postures.
[0148] In an exemplary embodiment, based on the aforementioned embodiment, determining the current holding posture of the target vibration sensing object for the electronic device according to the pressure value of each of the pressure sensing units includes: detecting the current posture of the electronic device according to a gyroscope in the electronic device, the current posture including horizontal screen or vertical screen; based on the current posture of the electronic device and the pressure value of each of the pressure sensing units, determining the current holding posture of the electronic device by the target vibration sensing object according to a third mapping relationship table; wherein the method for determining the third mapping relationship table includes: pre-collecting the pressure value of each of the pressure sensing units when different vibration sensing objects take different holding postures for the electronic device in different postures; and establishing a third mapping relationship table between the posture of the electronic device and the pressure value of each pressure sensing unit and the holding posture according to the collection results.
[0149] In an exemplary embodiment, based on the aforementioned embodiment, determining the contact area between the target vibration sensing object and the electronic device according to the current holding posture includes: searching a fourth mapping relationship table for a target contact area ratio corresponding to the current holding posture according to the current holding posture, the target contact area ratio being used to indicate the ratio of the contact area between the target vibration sensing object and the electronic device to the total area of the current vibration sensing object under the current holding posture; determining the contact area between the target vibration sensing object and the electronic device based on the total area of the target vibration sensing object and the target contact area ratio; wherein the fourth mapping relationship table is determined in a manner including: in the case where vibration sensing objects of different sizes take different holding postures for the electronic device, pre-collecting the ratio of the contact area between the vibration sensing object and the electronic device to the total area of the vibration sensing object to obtain the contact area ratio; and establishing a fourth mapping relationship table between the contact area ratio and the holding posture according to the collected contact area ratios under different holding postures.
[0150] In an exemplary embodiment, based on the aforementioned embodiment, the vibration intensity adjustment module 1320 may be specifically configured as follows: determining a vibration intensity scaling ratio according to a first ratio between the contact area and a reference contact area corresponding to the target vibration sensing object in a reference holding posture; adjusting a preset vibration intensity of the vibrator based on the vibration intensity scaling ratio to determine a current vibration intensity of the vibrator, wherein the preset vibration intensity is determined based on a vibration intensity comfort value of the target vibration sensing object in the reference holding posture; wherein a method for determining the reference contact area corresponding to the target vibration sensing object in the reference holding posture comprises: establishing a fifth mapping relationship between the size of the vibration sensing object and the reference contact area in the reference holding posture according to the contact areas of vibration sensing objects of different sizes collected in advance with the electronic device in the reference holding posture; and determining the reference contact area corresponding to the target vibration sensing object in the reference holding posture according to the fifth mapping relationship based on the size of the target vibration sensing object.
[0151] In an exemplary embodiment, based on the aforementioned embodiment, the method for determining the preset vibration intensity includes: acquiring a target size of the target vibration sensing object; according to the target size, based on a sixth mapping relationship between the size of the vibration sensing object and the preset vibration intensity, determining the preset vibration intensity corresponding to the target vibration sensing object; wherein, the method for determining the sixth mapping relationship includes: pre-collecting vibration intensity comfort values of vibration sensing objects of different sizes for the electronic device under a reference holding posture; for each size of vibration sensing objects, sorting the collected vibration intensity comfort values, and determining vibration intensity comfort values whose sorting order is within a preset sequence range; for each size of vibration sensing objects, determining the preset vibration intensity value corresponding to each size of the vibration sensing object according to the vibration intensity comfort values whose sorting order is within the preset sequence range; and establishing the sixth mapping relationship between the size of the vibration sensing object and the preset vibration intensity according to the preset vibration intensity value corresponding to each size of the vibration sensing object.
[0152] In an exemplary embodiment, based on the aforementioned embodiment, it is characterized in that the electronic device is configured with 4 pressure sensing units, and the 4 pressure sensing units are respectively arranged in the 4 sides of the edge of the shell of the electronic device; based on this, the vibration intensity adjustment module 1320 can be specifically configured as: according to the contact area, adjusting the preset vibration intensity of the vibrator to determine the candidate vibration intensity of the vibrator; obtaining the pressure value of each of the pressure sensing units, sorting the pressure values of the pressure sensing units, and determining the target position of the pressure sensing unit corresponding to the pressure values ranked in the first N positions according to the sorting result, N is an integer greater than 0 and less than 4; obtaining the first preset adjustment coefficient corresponding to the target position, and adjusting the candidate vibration intensity according to the first preset adjustment coefficient to determine the current vibration intensity of the vibrator.
[0153] In an exemplary embodiment, based on the aforementioned embodiment, the vibration intensity adjustment module 1320 can be specifically configured as follows: according to the contact area, adjusting the preset vibration intensity of the vibrator to determine the candidate vibration intensity of the vibrator; obtaining the pressure value of each of the pressure sensing units, and when the pressure value of the pressure sensing unit meets the preset condition, obtaining a second preset adjustment coefficient corresponding to the preset condition; adjusting the candidate vibration intensity according to the second preset adjustment coefficient to determine the current vibration intensity of the vibrator.
[0154] In an exemplary implementation, based on the above-mentioned embodiment, the vibrator is disposed at an edge of a housing of the electronic device, and the contact area includes a contact area between the target vibration sensing object and the edge of the housing of the electronic device.
[0155] In an exemplary embodiment, based on the aforementioned embodiment, the electronic device includes a wearable electronic device, and the target vibration sensing object includes an arm; based on this, the vibration intensity adjustment module 1320 can be specifically configured as follows: according to the contact area, adjusting the preset vibration intensity of the vibrator to determine the candidate vibration intensity of the vibrator; obtaining the target wearing method selected for the wearable electronic device, the target wearing method including wearing it on the outside of the arm or wearing it on the inside of the arm; obtaining a third preset adjustment coefficient corresponding to the target wearing method; according to the third preset adjustment coefficient, adjusting the candidate vibration intensity to determine the current vibration intensity of the vibrator.
[0156] The specific details of each module in the above device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.
[0157] The exemplary embodiments of the present disclosure also provide an electronic device for executing the vibration adjustment method of the electronic device, and the electronic device may be the terminal 110. Generally, the electronic device may include a processor and a memory, the memory is used to store executable instructions of the processor, and the processor is configured to execute the vibration adjustment method of the electronic device by executing the executable instructions.
[0158] Below Fig.14 The mobile terminal 1400 in FIG. 1 is taken as an example to exemplify the structure of the electronic device. It should be understood by those skilled in the art that, in addition to the components specifically used for mobile purposes, Fig.14 The construction in can also be applied to fixed type equipment.
[0159] like Fig.14 As shown, the mobile terminal 1400 may specifically include: a processor 1401, a memory 1402, a bus 1403, a mobile communication module 1404, an antenna 1, a wireless communication module 1405, an antenna 2, a display screen 1406, a camera module 1407, an audio module 1408, a power module 1409 and a sensor module 1410.
[0160] Processor 1401 may include one or more processing units, for example: processor 1401 may include AP (Application Processor), modem processor, GPU (Graphics Processing Unit), ISP (Image Signal Processor), controller, encoder, decoder, DSP (Digital Signal Processor), baseband processor and / or NPU (Neural-Network Processing Unit), etc.
[0161] The processor 1401 may be connected to the memory 1402 or other components via a bus 1403 .
[0162] The memory 1402 may be used to store computer executable program codes, which include instructions. The processor 1401 executes various functional applications and data processing of the mobile terminal 1400 by running the instructions stored in the memory 1402. The memory 1402 may also store application data, such as images, videos and other files, and the memory 1402 may also store various mapping relationship tables or mapping relationships in the present disclosure.
[0163] The communication function of the mobile terminal 1400 can be implemented by the mobile communication module 1404, antenna 1, wireless communication module 1405, antenna 2, modulation and demodulation processor and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 1404 can provide 2G, 3G, 4G, 5G and other mobile communication solutions applied to the mobile terminal 1400. The wireless communication module 1405 can provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. applied to the mobile terminal 1400.
[0164] The display screen 1406 is used to implement display functions, such as displaying a user interface. The camera module 1407 is used to implement shooting functions, such as shooting images and videos. The audio module 1408 is used to implement audio functions, such as playing audio and collecting voice. The power module 1409 is used to implement power management functions, such as charging the battery, powering the device, monitoring the battery status, etc. The sensor module 1410 may include a depth sensor 14101, a speed sensor 14102, a gyroscope sensor 14103, an air pressure sensor 14104, etc., to implement corresponding sensing detection functions.
[0165] In addition, the mobile terminal 1400 is also configured with a vibrator, which is used to generate vibration.
[0166] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0167] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network, and / or installed based on a removable medium. When the computer program is executed by a central processing unit (CPU), various functions defined in the method and apparatus of the present application are executed.
[0168] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method of the present specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section of the present specification, for example, it can execute Figure 3 Any one or more steps in .
[0169] The computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0170] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0171] In addition, program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0172] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0173] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A vibration adjustment method for an electronic device, the electronic device comprising a vibrator, characterized in that: The method comprises: In response to a vibration triggering event occurring in the electronic device, determining a contact area between a target vibration sensing object and the electronic device; The vibration intensity of the vibrator is adjusted according to the contact area to determine a current vibration intensity of the vibrator.
2. The vibration adjustment method of an electronic device according to claim 1, characterized in that: The electronic device is provided with at least one pressure sensing unit, and the step of responding to a vibration triggering event occurring in the electronic device and determining a contact area between a target vibration sensing object and the electronic device includes: In response to a vibration triggering event occurring in the electronic device, determining a pressure value of each of the pressure sensing units; Determining the current holding posture of the target vibration sensing object with respect to the electronic device according to the pressure value of each of the pressure sensing units; According to the current holding posture, a contact area between the target vibration sensing object and the electronic device is determined.
3. The vibration adjustment method of an electronic device according to claim 2, characterized in that: The step of determining the current holding posture of the target vibration sensing object relative to the electronic device according to the pressure value of each of the pressure sensing units includes: According to the pressure value of each pressure sensing unit, searching the first mapping table for the holding posture corresponding to the pressure value of each pressure sensing unit to determine the current holding posture of the target vibration sensing object to the electronic device; The method for determining the first mapping relationship table includes: Pre-collecting the pressure value of each pressure sensing unit when different vibration sensing objects take different holding postures on the electronic device; According to the collected pressure values, a first mapping relationship table between the pressure values of each pressure sensing unit and the holding posture is established.
4. The vibration adjustment method of an electronic device according to claim 2, characterized in that: The step of determining the current holding posture of the target vibration sensing object relative to the electronic device according to the pressure value of each of the pressure sensing units includes: Determining a target pressure generating position of the target vibration sensing object on the electronic device according to the pressure value of each of the pressure sensing units and the setting position of each of the pressure sensing units; Acquire a target size of the target vibration sensing object; Based on the target size and the target pressure generating position, searching for the holding posture corresponding to the target size and the target pressure generating position in a second mapping relationship table between the vibration sensing object size and the pressure generating position and the holding posture, so as to determine the current holding posture of the target vibration sensing object on the electronic device; The second mapping relationship table is determined in the following manner: Pre-collecting the pressure value of each pressure sensing unit when vibration sensing objects of different sizes take different holding postures on the electronic device; For each size of the vibration sensing object, the pressure generating position of each size of the vibration sensing object under different holding postures is determined according to the pressure values of the pressure sensing units at different positions collected; According to the pressure generation position of the vibration sensing object of each size under different holding postures, a second mapping relationship table between the vibration sensing object size and the pressure generation position and the holding posture is determined.
5. The vibration adjustment method of an electronic device according to claim 2, characterized in that: The step of determining the current holding posture of the target vibration sensing object relative to the electronic device according to the pressure value of each of the pressure sensing units includes: Detecting a current posture of the electronic device according to a gyroscope in the electronic device, wherein the current posture includes a horizontal screen or a vertical screen; Based on the current posture of the electronic device and the pressure value of each of the pressure sensing units, determining the current holding posture of the target vibration sensing object with respect to the electronic device according to a third mapping relationship table; The third mapping relationship table is determined in the following manner: When different vibration sensing objects are in different postures and hold the electronic device in different postures, pre-collecting the pressure value of each pressure sensing unit; According to the collection results, a third mapping relationship table between the posture of the electronic device and the pressure value of each pressure sensing unit and the holding posture is established.
6. The vibration adjustment method of an electronic device according to claim 2, characterized in that: The step of determining the contact area between the target vibration sensing object and the electronic device according to the current holding posture includes: According to the current holding posture, searching a fourth mapping relationship table for a target contact area ratio corresponding to the current holding posture, the target contact area ratio being used to indicate a ratio of a contact area between the target vibration sensing object and the electronic device to a total area of the current vibration sensing object under the current holding posture; determining a contact area between the target vibration sensing object and the electronic device based on a total area of the target vibration sensing object and the target contact area ratio; The fourth mapping relationship table is determined in the following manner: In the case where vibration sensing objects of different sizes take different holding postures for the electronic device, a ratio of the contact area between the vibration sensing object and the electronic device to the total area of the vibration sensing object is collected in advance to obtain a contact area ratio; According to the collected contact area ratios under different holding postures, a fourth mapping relationship table between the contact area ratios and the holding postures is established.
7. The vibration adjustment method of an electronic device according to claim 2, characterized in that: The step of adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator includes: determining a vibration intensity scaling ratio according to a first ratio between the contact area and a reference contact area corresponding to the target vibration sensing object in a reference holding posture; Based on the vibration intensity scaling ratio, adjusting a preset vibration intensity of the vibrator to determine a current vibration intensity of the vibrator, wherein the preset vibration intensity is determined according to a vibration intensity comfort value of the target vibration sensing object in the reference holding posture; Wherein, the method for determining the reference contact area corresponding to the target vibration sensing object in the reference holding posture includes: establishing a fifth mapping relationship between the size of the vibration sensing object and the reference contact area under the reference holding posture according to the pre-collected contact areas between the vibration sensing objects of different sizes and the electronic device under the reference holding posture; Based on the size of the target vibration sensing object and according to the fifth mapping relationship, a reference contact area corresponding to the target vibration sensing object in a reference holding posture is determined.
8. The vibration adjustment method of an electronic device according to claim 7, characterized in that: The method for determining the preset vibration intensity includes: Acquire a target size of the target vibration sensing object; According to the target size, based on a sixth mapping relationship between the size of the vibration sensing object and the preset vibration intensity, determining a preset vibration intensity corresponding to the target vibration sensing object; The sixth mapping relationship is determined in the following manner: Pre-collecting vibration intensity comfort values of vibration sensing objects of different sizes for the electronic device in a reference holding posture; For each size of vibration sensing object, the collected vibration intensity comfort values are sorted to determine the vibration intensity comfort values whose sorting order is within a preset order range; For each size of the vibration sensing object, according to the vibration intensity comfort value of the sorting sequence within the preset sequence range, determine the preset vibration intensity value corresponding to the vibration sensing object of each size; According to the preset vibration intensity value corresponding to each size of the vibration sensing object, a sixth mapping relationship between the size of the vibration sensing object and the preset vibration intensity is established.
9. The vibration adjustment method of an electronic device according to any one of claims 1 to 8, characterized in that: The electronic device is equipped with four pressure sensing units, and the four pressure sensing units are respectively arranged at four sides of the edge of the housing of the electronic device; The step of adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator includes: adjusting a preset vibration intensity of the vibrator according to the contact area to determine a candidate vibration intensity of the vibrator; Obtaining the pressure value of each of the pressure sensing units, sorting the pressure values of the pressure sensing units, and determining the target positions of the pressure sensing units corresponding to the pressure values in the first N positions according to the sorting result, where N is an integer greater than 0 and less than 4; A first preset adjustment coefficient corresponding to the target position is obtained, and the candidate vibration intensity is adjusted according to the first preset adjustment coefficient to determine a current vibration intensity of the vibrator.
10. The vibration adjustment method of an electronic device according to any one of claims 2 to 8, characterized in that: The step of adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator includes: adjusting a preset vibration intensity of the vibrator according to the contact area to determine a candidate vibration intensity of the vibrator; Acquire the pressure value of each of the pressure sensing units, and when the pressure value of the pressure sensing unit meets a preset condition, acquire a second preset adjustment coefficient corresponding to the preset condition; The candidate vibration intensity is adjusted according to the second preset adjustment coefficient to determine the current vibration intensity of the vibrator.
11. The vibration adjustment method of an electronic device according to claim 1, characterized in that: The vibrator is disposed at an edge of a housing of the electronic device, and the contact area includes a contact area between the target vibration sensing object and the edge of the housing of the electronic device.
12. The vibration adjustment method of an electronic device according to claim 1, characterized in that: The electronic device includes a wearable electronic device, and the target vibration sensing object includes an arm; and adjusting the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator includes: adjusting a preset vibration intensity of the vibrator according to the contact area to determine a candidate vibration intensity of the vibrator; Acquire a target wearing mode selected for the wearable electronic device, wherein the target wearing mode includes wearing on the outside of an arm or wearing on the inside of an arm; Obtaining a third preset adjustment coefficient corresponding to the target wearing mode; The candidate vibration intensity is adjusted according to the third preset adjustment coefficient to determine the current vibration intensity of the vibrator.
13. A vibration regulating device for an electronic device, the electronic device comprising a vibrator, characterized in that: The device comprises: a contact area determination module, configured to determine a contact area between a target vibration sensing object and the electronic device in response to a vibration triggering event occurring in the electronic device; The vibration intensity adjustment module is configured to adjust the vibration intensity of the vibrator according to the contact area to determine the current vibration intensity of the vibrator.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
15. An electronic device, characterized in that: include: a vibrator for generating vibrations; one or more processors; as well as A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the method according to any one of claims 1 to 12.
