Vibration control method and electronic equipment
By responding to the target operation data, the vibration module of the electronic device is controlled to vibrate with the target working parameters, which solves the problems of different vibration effects of touch button feedback and cumbersome manual adjustments, and realizes automatic vibration feedback and improves user experience.
Patent Information
- Application Number
- CN202411546762.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-18
AI Technical Summary
Due to different touch operations and different positions of touchable areas, the vibration effects of the touch buttons perceived by the user are different, and manually adjusting the vibration intensity will be more cumbersome, which reduces the user's experience effect.
By in response to the obtained target operation data, the vibration module of the electronic device vibrates with the target operating parameters, and the target operating parameters are determined at least based on the attribute information of the operating body.
It realizes automatic adjustment of vibration feedback based on different operating bodies and operating behaviors, improves user experience effect, and simplifies the process of users adjusting vibration intensity.
Smart Images

Figure CN119473004A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and more specifically to a vibration control method and electronic equipment. Background Art
[0002] With the development of electronic devices, more and more electronic devices use touch components to replace the original physical components, such as configuring touch keyboards in electronic devices to replace the original physical keyboards. Compared with traditional physical key operations, it can sense whether the key has been pressed through the user's hand. However, due to different touch operations and different locations of touchable areas, the vibration effect of touch key feedback perceived by the user is different. Manually adjusting the vibration intensity will be cumbersome, which reduces the user experience. Summary of the invention
[0003] In view of this, this application provides the following technical solutions:
[0004] A vibration control method, comprising:
[0005] In response to obtaining a target operation acting on an interactive operation area of an electronic device, obtaining operation data of the target operation, the operation data at least including attribute information of an operation body performing the target operation;
[0006] Based on the operation data, a vibration module of the electronic device is controlled to vibrate with a target operating parameter, where the target operating parameter is determined at least according to the attribute information.
[0007] Optionally, obtaining the target operation acting on the interactive operation area of the electronic device includes at least one of the following:
[0008] Obtaining a touch operation acting on a touch operation area of an electronic device;
[0009] Obtaining touch operation acting on a pressure-sensitive area of an electronic device;
[0010] Obtaining a touch operation acting on a pressure-sensitive touch area of an electronic device;
[0011] Obtaining spatial gesture operations acting on a sensing detection area of an electronic device;
[0012] A control operation acting on a display area of an electronic device is obtained.
[0013] Optionally, obtaining the operation data of the target operation includes at least one of the following:
[0014] Obtaining the type of the interactive operation area, and obtaining operation data corresponding to the type of the interactive operation area;
[0015] Obtaining usage mode information of the electronic device, and obtaining operation data corresponding to the usage mode information;
[0016] Attribute information of an operating body that performs the target operation and operation behavior data of the target operation are obtained.
[0017] Optionally, obtaining the operation data of the target operation includes one of the following:
[0018] In response to obtaining a touch operation acting on a touch operation area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch position data of the touch operation;
[0019] In response to obtaining a touch operation acting on a pressure sensing area of the electronic device, obtaining attribute information of an operating body performing the touch operation and a touch pressure of the touch operation;
[0020] In response to obtaining a touch operation acting on a pressure-sensitive touch area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch pressure and position data of the touch operation;
[0021] In response to obtaining a spatial gesture operation acting on a sensing detection area of the electronic device, obtaining attribute information of an operating body performing the spatial gesture operation and spatial coordinate data of the spatial gesture operation;
[0022] In response to obtaining a control operation acting on a display area of an electronic device, operation object data and operation behavior data of the control operation are obtained.
[0023] Optionally, obtaining the attribute information of the operating body that performs the target operation includes at least one of the following:
[0024] Determining attribute information of the operating bodies based on the number of operating bodies acting on the interactive operation area;
[0025] determining attribute information of the operating body based on a contact area between the operating body and the interactive operation area;
[0026] determining attribute information of the operating body based on operation position information of the operating body acting on the interactive operation area;
[0027] The attribute information of the operating body is determined based on the number and contact area of the operating body acting on the interactive operation area.
[0028] Optionally, controlling the vibration module of the electronic device to vibrate with target operating parameters based on the operation data includes:
[0029] Obtaining attribute information of an operating body that performs the target operation and operation behavior data of the target operation;
[0030] Determining target operating parameters of the vibration module based on the attribute information and the operation behavior data;
[0031] The vibration module is controlled to vibrate with the target operating parameter to provide vibration feedback and / or sound feedback matching the target operation.
[0032] Optionally, determining the target operating parameter of the vibration module based on the attribute information and the operation behavior data includes at least one of the following:
[0033] In a case where the attribute information indicates that the operating body is a finger acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data of the finger;
[0034] In a case where the attribute information indicates that the operating body is a finger acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data and the touch pressure of the finger;
[0035] When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch area of the palm and the touch pressure of the finger;
[0036] When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number of the palms and the touch pressure of the fingers;
[0037] In a case where the attribute information indicates that the operating body is a palm acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number and position data of the palm;
[0038] When the attribute information indicates that the operating body is a palm acting on a sensing detection area of the electronic device, vibration parameters of at least one vibration unit of the vibration module are determined based on the posture data and / or motion data of the palm.
[0039] Optionally, the determining the target operating parameter of the vibration module based on the attribute information and the operation behavior data further includes at least one of the following:
[0040] Obtaining user portrait information of a target operator, and determining target operating parameters of the vibration module based on the user portrait information, the attribute information, and the operation behavior data;
[0041] Obtaining usage mode information of the electronic device, and determining target operating parameters of the vibration module based on the usage mode information, the attribute information and the operation behavior data;
[0042] The configuration information of the vibration module is obtained, and the target operating parameters of the vibration module are determined based on the configuration information, the attribute information and the operation behavior data.
[0043] Optionally, controlling the vibration module to vibrate at the target working parameter further includes at least one of the following:
[0044] Controlling a display module associated with the vibration module to output target display content matching the target operation or the target working parameter;
[0045] Controlling a lighting effect module associated with the vibration module to output a target lighting effect matching the target operating parameter.
[0046] A vibration control device, comprising:
[0047] an acquisition unit, configured to obtain operation data of the target operation in response to obtaining a target operation acting on the interactive operation area of the electronic device, wherein the operation data at least includes attribute information of an operation body performing the target operation;
[0048] A control unit is used to control the vibration module of the electronic device to vibrate with target operating parameters based on the operation data, and the target operating parameters are determined at least according to the attribute information.
[0049] An electronic device comprises a touch display module, a vibration module and a controller, wherein the controller is signal-connected to the touch display module and the vibration module, wherein:
[0050] The touch display module is capable of displaying a touch operation area and sensing operation data of a target operation acting on the touch operation area;
[0051] The controller can control the vibration module to vibrate at a target working parameter based on the operation data;
[0052] The controller is capable of identifying attribute information of an operating body performing the target operation based on the operation data, so as to determine an operating parameter of the vibration module based on the attribute information. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0054] Figure 1 A schematic diagram of a flow chart of a vibration control method provided in an embodiment of the present application;
[0055] Figure 2 A schematic diagram of inputting a full-size virtual keyboard provided in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of input of a virtual touch panel provided in an embodiment of the present application;
[0057] Figure 4 A schematic diagram of different user input scenarios provided in an embodiment of the present application;
[0058] Figure 5 A control flow chart of a vibration motor in a virtual touchpad input scenario provided by an embodiment of the present application;
[0059] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] The terms "first" and "second" and the like in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but includes steps or units that are not listed.
[0062] The embodiment of the present application provides a vibration control method, which is applied to an electronic device, which may be a mobile phone, a tablet computer, a vehicle-mounted terminal, a wearable device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the electronic device.
[0063] See also Figure 1 , is a flow chart of a vibration control method provided in an embodiment of the present application, the method may include the following steps:
[0064] S101: In response to obtaining a target operation acting on an interactive operation area of an electronic device, obtaining operation data of the target operation.
[0065] S102, controlling a vibration module of the electronic device to vibrate at target operating parameters based on the operation data.
[0066] The embodiment of the present application provides a vibration control method, which can be applied to the control scenario of the vibration module of the electronic device, so that the vibration module can be controlled to vibrate based on the obtained operation data, which can meet the actual application needs and improve the user experience effect. First, the target operation acting on the interactive operation area of the electronic device can be collected and obtained, and the operation data of the target operation can be obtained, and the operation data at least includes the attribute information of the operation body that performs the target operation. Among them, the form and function of the electronic device are different, and the type and interaction mode of the interactive operation area corresponding to the electronic device can also be different. Taking the electronic device as a laptop as an example, the interactive operation area can be a touch operation area, and the touch operation area can be an area that can identify touch operations, such as a touch screen in an electronic device. Correspondingly, the interactive operation area can also be a pressure sensing area, which can identify pressure changes to determine the area of the target operation, such as the key input area corresponding to the keyboard in the electronic device or the pressure plate (force pad) area of the electronic device. The interactive operation area can also be a pressure-sensitive touch area, which determines the corresponding operation by sensing the pressure size and touch position / touch trajectory. The interactive operation area can also be a sensing detection area, for example, the corresponding operation can be determined by sensing the user's temperature, gesture or other biometric information. If the electronic device is a vehicle-mounted terminal or a desktop computing terminal, etc., the interactive operation area may also be an image area that can be captured by an image acquisition device (such as a camera), or a detection area that can be sensed by a radar, etc. The target operation acting on the interactive operation area of the electronic device is an operation that matches the type of the interactive operation area. For example, when the interactive operation area is a touch area, the target operation may be a touch operation; for another example, when the interactive operation area is a pressure sensing area, the target operation may be a pressing operation; for another example, when the interactive operation area is a sensing detection area, the target operation may also be a spatial gesture operation, etc. Specifically, the target operation acting on the interactive operation area may be determined by the type or characteristics of the interactive operation area to eliminate problems such as false triggering, thereby improving the accuracy of determining the target operation. After the target operation for the interactive operation area is detected, the target operation is parsed to obtain the operation data corresponding to the target operation, which at least includes the attribute information of the operating body that performs the target operation, wherein the operating body is the executing body that generates the target operation, such as the user's finger, palm, or the stylus pen, gesture pen, sensor stick, operating handle, etc., so that the type of the operating body, the operation range, the operation habit, the user attribute corresponding to the operating body, etc. can be determined as the attribute information of the operating body. Specifically, the attribute information of the operating body can be the attribute information of the palm, finger, stylus, etc. that directly characterizes the type of the operating body, and can also be the feature data that characterizes the non-operating body (such as a mobile phone, book, mouse, keyboard, etc.). In other embodiments, the attribute information of the operating body can also include the type and quantity information of the operating body that is currently performing a specific operation. .The operation data may also include characteristic information of non-operating bodies, such as the characteristics of the electronic device where the interactive operation area is located, which may specifically be the area ratio of the interactive operation area in the electronic device; or when the interactive operation area is a keyboard area, the characteristics of the keyboard or other input devices such as a mouse and other operation characteristics, etc., and may also include information such as the user's environment. The operation data may also include operation behavior data. If the operating body is a hand, the behavior data may include single-finger operation behavior, double-finger operation behavior, palm-fitting operation behavior, finger-palm combined operation behavior, etc., and may also include operation force data, such as pressing size or operation trajectory data, etc. Further, the operation data may also include characteristics corresponding to the interactive operation area, such as operable area data in the interactive operation area, which is mainly reflected in information such as operation position, operation area area, and number of touch points. By acquiring and further analyzing the operation data of the target operation acting on the interactive operation area, the characteristics of the current user operation and the user's operation habits and other data can be obtained, so that when the vibration module is subsequently controlled based on the operation data, the control accuracy is higher, which is more in line with the user's application needs, and the user experience effect is improved.
[0067] After obtaining the operation data corresponding to the target operation acting on the interactive operation area of the electronic device, the target working parameters of the vibration module of the electronic device can be determined according to the operation data. Among them, the vibration module of the electronic device can be a module that provides a vibration function alone in the electronic device, or it can be a vibration module in other functional modules in the electronic device. For example, the vibration module can be a linear vibration motor in the electronic device, or the vibration module can be a vibration module of the audio output module in the electronic device. For example, in the process of the audio output module outputting audio, the vibration module can be used to match the output of the audio, or the sound can be output by the vibration of the vibration module in a non-touch or pressure scene to obtain feedback information matching the target operation. For example, when the target operation is a gesture operation, the vibration of the vibration module can be used to respond to the gesture operation, or feedback to the user whether the gesture operation is successfully recognized, etc. The vibration module can also be a personalized configuration vibration module in the interactive operation area, such as a vibration module that can cooperate with the keyboard light. When the keyboard keys in the corresponding area are touched, the corresponding keys are lit and vibration effects are generated at the same time. The target operating parameters of the vibration module refer to the characteristic parameters when the vibration module generates vibration. For example, the target operating parameters may include vibration amplitude, vibration frequency, vibration intensity, and vibration amount. When the vibration module has multiple vibration units, the target operating parameters may characterize the number of vibration units, the layout of multiple vibration units, the vibration period, the vibration intensity, etc.
[0068] In the embodiment of the present application, the target operating parameters of the vibration module are at least determined based on the attribute information of the operating body. For example, when the interactive operation area is the keyboard operation area and the operating body is the user's hand, the corresponding attribute information may include the number of palms of the user that touch the keyboard input area to perform input operations, or the contact area between the palm and the input area, etc. Specifically, the vibration module may include vibration modules arranged on both sides of the keyboard operation area. When it is detected through the user's operation data that the user touches the keyboard input area with a single palm, only the vibration module that is closer to the palm can be controlled to vibrate. If both palms are in contact, the vibration of the vibration modules on both sides can be controlled, and the vibration amplitude and other parameters of the corresponding vibration module can be controlled according to the contact area between the palm and the keyboard. In this way, the working parameters of the vibration module can be adjusted according to the user's operation, so that the user can feel the vibration of the vibration module while saving the power consumption of the system.
[0069] Further, in addition to determining the working parameters of the vibration module based on the attribute information of the corresponding operating body in the operation data, the target working parameters of the vibration module can also be determined based on the reference force size and the relevant data of the action area in the operation behavior data. For example, if the key force on the keyboard area is large when the user inputs, in order to match the vibration with the user, the vibration intensity can also be large. It can also be that if the interactive operation area is large, in order to enable the user to perceive the vibration of the vibration module, the vibration intensity can also be large. Correspondingly, the target working parameters of the vibration module can also be determined based on the current working mode, application scenario and other information of the electronic device combined with the attribute information of the operating body. For example, when it is detected that the user is operating in the keyboard operation area with a single finger, and the current electronic device is in a low power consumption state, it can be determined that the user will not use the keyboard for a long time. At this time, the vibration module can be controlled to vibrate with a smaller vibration frequency and intensity to meet the needs of the current usage scenario.
[0070] The vibration control method of the embodiment of the present application is described below in conjunction with specific application scenarios.
[0071] In one implementation of the embodiment of the present application, obtaining a target operation acting on an interactive operation area of an electronic device includes at least one of the following:
[0072] In the first aspect, a touch operation acting on a touch operation area of an electronic device is obtained. The touch operation area may be a display area or a touch pad area with only a touch function, such as a display screen with a touch function of a tablet computer, or a handwriting pad with a function of receiving a touch operation. Correspondingly, the touch operation acting on the touch operation area may include a touch input operation determined based on a touch track, a virtual key selection operation determined based on a touch point, etc. Thus, the operation behavior, operation purpose, operation data, etc. of the current operation body may be determined according to the touch operation.
[0073] Secondly, a touch operation acting on a pressure sensing area of an electronic device is obtained. The pressure sensing area may be a display area or a pressure plate area having a pressure sensing sensor, and the corresponding touch operation may be a pressing operation, a sliding operation, a clicking operation, etc. By analyzing the operation data of the touch operation in the pressure sensing area, information such as the pressure action range, the pressure magnitude, and the trajectory of the pressure touch point may be obtained, so that the target working parameters of the vibration module may be determined based on these data. For example, if the click pressure is high when the user performs a touch operation, the vibration module may be controlled to vibrate with a stronger vibration parameter.
[0074] In a third aspect, a touch operation acting on a pressure-sensitive touch area of an electronic device is obtained, wherein the pressure-sensitive touch area may be a display area or a touchpad area including a pressure sensor and a touch sensor, and correspondingly, the touch operation may include a sliding operation, a clicking operation, a dragging operation, and the like.
[0075] In the fourth aspect, a spatial gesture operation acting on a sensing detection area of an electronic device is obtained. Among them, the sensing detection area includes the acquisition area of an electronic device image acquisition device (such as a camera), or the detection area of a TOF (Time offlight, time of flight) sensor, or the detection area of a radar. Correspondingly, the spatial gesture operation may include static gesture operations and dynamic gesture operations. Specifically, the static gesture operation may include an operation indicating a switch to a corresponding mode, such as switching the display brightness of an electronic device through a fist gesture. Dynamic gestures may include spatial operation trajectories, etc., such as when a finger moves from a first position in space to a second position, the corresponding spatial movement operation when the music player of the electronic device can be started.
[0076] In a fifth aspect, a control operation acting on a display area of an electronic device is obtained, wherein the control operation may be an operation of presenting an operation mark in the display area, such as a mouse operation, and when the operation is performed by the mouse, the cursor pointer of the mouse may be presented in the display area. At this time, the control operation may be responded to by a vibration component, for example, by vibrating or vibrating the vibration component to prompt the input or selection of the mouse.
[0077] In each of the above aspects, after obtaining the target operation corresponding to the handover operation area, the target operation can be analyzed to determine the operation data, and the target working parameters of the vibration component can be determined based on the operation data, so that the vibration component can vibrate based on the target working parameters and further respond to the target operation, such as providing feedback or prompts on the target operation, thereby improving the user experience.
[0078] In one implementation of the embodiment of the present application, obtaining operation data of the target operation includes at least one of the following:
[0079] (1) Obtaining the type of the interactive operation area, and obtaining operation data corresponding to the type of the interactive area. The type of the interactive operation area can be determined according to the characteristics of the interactive operation area, such as the type of the interactive operation area can include a touch-only type, a pressure-only type, a pressure-sensitive type, a sensing detection area type, or a display area type. According to the type of the interactive operation area, the operation data corresponding to the target operation can be obtained more accurately. The types of different interactive operation areas may have different operation data. For example, for a touch-only type, the operation data of the target operation obtained may include a touch area. Furthermore, if the touch area is large, the touch module can be controlled to vibrate with a stronger vibration amplitude. If the type is a pressure-only type, the operation data obtained may include the magnitude of the force, so that the greater the force, the stronger the vibration of the vibration module. If the type is a pressure-sensitive touch type, the granularity and touch position of the pressure acting on the pressure-sensitive touch area can be obtained. When it is detected that the touch pressure is large and the touch position is far from the vibration module, the vibration module can be controlled to vibrate with a larger vibration amplitude, so that the user can more easily perceive the vibration of the vibration module. If the type is the sensing detection area type, the operation data corresponding to the spatial gesture operation may include the gesture operation posture, gesture operation acceleration, gesture position, the distance between the current gesture and the vibration component, etc. If the gesture operation is fast, the frequency of the vibration module can be controlled to be larger. If the type is the display area type, the operation data corresponding to the control operation is mainly to obtain the operation object of the control operation, and the control trajectory to perform edge prompts or specific object vibration prompts, etc.
[0080] (2) Obtaining the usage mode information of the electronic device, and obtaining the operation data corresponding to the usage mode information. The usage mode information of the electronic device may include the operation mode of the electronic device, the power state of the electronic device, the power consumption mode of the electronic device, the application currently running on the electronic device, etc. Specifically, the operation mode of the electronic device may be determined based on the functional components currently running on the electronic device, such as the data transmission mode and data processing mode of the electronic device; the power state of the electronic device may be determined based on the power management and energy consumption of the electronic device, such as the normal working state of the electronic device (represented by S0), that is, the operating system and application programs are both running; the sleep mode of the electronic device (represented by S1), in which the central processing unit stops executing instructions, but the power of the central processing unit and the memory is always maintained; the S2 mode of the electronic device, that is, a deeper sleep state than the above S1; the S3 mode of the electronic device, that is, the main memory of the electronic device is powered on, and other threads can be suspended to the memory; the S4 mode of the electronic device, that is, the mode in which the electronic device is suspended to the hard disk; the S5 mode of the electronic device, when the electronic device consumes the least power. No user mode or system mode code is running. The power consumption mode of the electronic device may include performance mode, balanced mode, silent mode, etc. The applications running on the electronic device may include games, audio and video, document processing, entertainment, etc. Correspondingly, the use mode information of the electronic device may also include a display mode, and further, the display mode may also include a single-screen display mode, a dual-screen display mode, an integrated display mode, a split-screen mode, an expansion mode, a spatial projection display mode, etc. By determining the operation data through the use mode information of the electronic device, the target operating parameters of the vibration module determined according to the operation data can be matched with the current use state of the electronic device, which can better meet the actual needs of the user. For example, when the use mode of the electronic device is the above-mentioned S5 mode, the operation data can only obtain the touch force size or the touch track, and the vibration frequency and intensity of the vibration module can be determined based on this information, so that the vibration of the vibration module can be used to prompt the user that the electronic device has been turned on or awakened in the process of turning on or waking up the electronic device. For another example, the use mode of the current electronic device is a silent mode, and the operation data may include only obtaining the size of the touch area, and the vibration feedback is realized by the size of the touch area. If the touch area is small, it indicates that the user has not made a large-scale input, and the vibration of the vibration module can be controlled by a small vibration intensity. For another example, when the current application of the electronic device is a game application, the operation data may include the touch track and force, so as to determine the working parameters of the vibration module according to the touch track and granularity, so that the vibration of the vibration module can match the display of the corresponding game skills and enhance the user experience. In the display mode of the all-in-one machine, the operation track can be obtained to control the vibration of the vibration module, thereby performing vibration feedback.
[0081] (3) Obtaining the attribute information of the operating body that performs the target operation and the operation behavior data of the target operation. Among them, the attribute information of the operating body may include the type or number of the operating body, and the type of the operating body may include a stylus, a hand or other performing bodies. For example, when the operating body is a hand, the attribute information may be the number of fingers that touch the interactive operation area. The target operation can be obtained based on sensors and other devices in the interactive operation area, such as obtaining the operation behavior data of the target operation based on a touch sensor, a pressure sensor or other camera, radar, etc. on a touch screen. Alternatively, when the operating body is a stylus, etc., the operation behavior data can also be obtained through the stylus or an external device that performs the interactive operation. Specifically, when the operating body is a hand, the operation behavior can be a single-finger operation behavior, a two-finger operation behavior, a palm-fitting operation behavior, an operation behavior of a combination of fingers and palms, and can also include an operation force (such as the size of the pressing force) or an operation trajectory, etc. It can also include operation area data, which can mainly be an operation position, an operation area area, etc. The user's operation intention can be better determined through the operation behavior data, thereby making the control of the vibration module more accurate.
[0082] For different interactive operation areas, the operation data of the target operation obtained is different. Specifically, the operation data of the target operation obtained includes one of the following:
[0083] In response to obtaining a touch operation acting on a touch operation area of an electronic device, attribute information of an operating body performing the touch operation and touch position data of the touch operation are obtained. When the touch operation area is a display area or a touchpad area with only a touch function, the attribute information of the operating body may include the type and quantity of the operating body. Then, based on the position of the touch point of the operating body in the touch operation area, the touch position data is determined, and the touch area or touch trajectory, etc. can be further determined based on the touch position data, so that the corresponding vibration module can be controlled to provide feedback with corresponding working parameters, thereby improving the user experience effect.
[0084] In response to obtaining a touch operation acting on a pressure sensing area of an electronic device, the attribute information of an operating body performing the touch operation and the touch pressure of the touch operation are obtained. The pressure sensing area includes a display area or a pressure plate area having only a pressure sensing sensor, and the touch operation may include a pressing operation, a sliding operation, etc. If the operating body is a hand, the attribute information of the operating body may include the number of fingers performing the pressing operation, etc. Correspondingly, the touch pressure of the touch operation may be the magnitude of the force of the finger pressing, so that the vibration intensity of the vibration module corresponding to the finger pressing touch pressure can be determined according to the execution operation data, so that the user can more easily perceive the vibration feedback of the vibration component.
[0085] In response to obtaining a touch operation acting on a pressure-sensitive touch area of an electronic device, the attribute information of an operating body performing the touch operation and the touch pressure and position data of the touch operation are obtained. The pressure-sensitive touch area includes the display area or the touchpad area of the pressure-sensitive sensor and the touch sensor, and the touch operation includes sliding, clicking, dragging, etc. Correspondingly, the attribute information of the operating body includes the type and number of the operating body, etc. The touch pressure and position data of the touch operation can characterize the characteristics of the touch operation of the operating body, so that the vibration module can be controlled to vibrate with vibration parameters that match it, thereby improving the user's tactile experience.
[0086] In response to obtaining a spatial gesture operation acting on a sensing detection area of an electronic device, the attribute information of an operating body performing the spatial gesture operation and the spatial coordinate data of the spatial gesture operation are obtained. Among them, the sensing detection area includes a camera's framing area or a Tof detection area or a radar detection area, the spatial gesture operation includes a static gesture operation and a dynamic gesture operation, and the operating body of the spatial gesture operation can be a user's hand or an operating pen, etc. Through the attribute information (such as type or quantity) of the operating body and the spatial coordinate data of the spatial gesture operation, the operation trajectory can also be identified, so that the vibration of the vibration module matches the operation trajectory for feedback, such as controlling the vibration period of the vibration module to match the trajectory period of the operation trajectory.
[0087] In response to obtaining a control operation acting on the display area of an electronic device, operation object data and operation behavior data of the control operation are obtained. Among them, the display area can be a display screen of an electronic device, or a spatial display area, such as a projection area, etc. The control operation can be a mouse operation, and the switching of the display information in the display area is controlled by operating the mouse. Taking the control operation as a mouse operation as an example, the operation object data may include the object where the mouse cursor is located, such as a character, an application, that is, the characters in the display area can be deleted by operating the mouse, and the corresponding application can be turned on or off. The operation behavior data may include specific operation content, etc., so that the vibration module can be controlled to provide feedback with corresponding working parameters according to the actual operation of the user. For example, if it is recognized that the user closes the corresponding application in the display area by mouse operation, the vibration of the vibration module can be used to prompt the user whether the closure is successful. Mouse operations can also be fed back based on vibration sounds, thereby improving the user's experience.
[0088] In the embodiment of the present application, obtaining the attribute information of the operating body that performs the target operation includes at least one of the following:
[0089] (1) Based on the number of operators acting on the interactive operation area, the attribute information of the operator is determined. The type of the operator can be determined based on the number of operators and the corresponding number threshold, and the attribute information of the operator can be determined based on the type of the operator. For example, when the number of operators is greater than 2, the operator can be a finger, and when the number of operators is equal to 2, the operator can be a palm, or a combination of a finger and a palm. When the number of operators is less than 2, the operator can be a gesture or a stylus, etc. Furthermore, in order to more accurately determine the number of operators, the operation data within the target time range can also be analyzed to determine the position of the touch point, thereby analyzing the number of operators, and then obtaining the type of the operator, and further obtaining the corresponding attribute information, such as the category of the operator, execution characteristics, etc.
[0090] (2) Determine the attribute information of the operating body based on the contact area between the operating body and the interactive operation area. Among them, different contact area thresholds can be set and compared with the current contact area between the operating body and the interactive operation area. Based on the comparison result, the type of the operating body is determined, and then the attribute information of the operating body is determined. For example, when the contact area between the operating body and the interactive operation area is less than the first contact area threshold, the operating body can be identified as a stylus; when the contact area is less than the second contact area threshold, the operating body can be identified as a finger; when the contact area is greater than the second contact area threshold and less than the third contact area threshold, the operating body can be identified as a palm. Correspondingly, if the contact area is greater than the third contact area threshold, the operating body can be identified as a book, keyboard, mouse, etc. Therefore, the working parameters of the vibration module can be determined according to the identified type of operating body. For example, when the operating body is a stylus, the vibration intensity of the vibration module can be less than the vibration intensity corresponding to the operating body being a palm.
[0091] (3) Determine the attribute information of the operating body based on the operating position information of the operating body acting on the interactive operation area. Among them, it is possible to determine in which sub-area of the interactive operation area the current position is based on the operating position information, so as to obtain the operating position distribution information of the operating body. For example, the operating position distribution information characterizes that the operating body is concentrated on the left side of the interactive operation area and has a large range, so it can be identified that the operating body is the user's left palm. Correspondingly, it is also possible to determine whether the operating body is a finger or a palm, multiple fingers or a single finger, and the left palm or the right palm based on the operating position distribution information. For example, if it is identified as the left palm, the vibration intensity of the vibration module on the left side can be controlled to be greater than the vibration intensity of the vibration module on the right side, so that the user can more easily perceive the vibration feedback.
[0092] (4) Determine the attribute information of the operating body based on the number and contact area of the operating body acting on the interactive operation area. Based on the above-described implementation, if the type of the operating body cannot be accurately obtained based on the number of operating bodies or the contact area between the operating body and the interactive operation area, the type of the operating body can be determined in combination with the number and contact area of the operating body, thereby improving the accuracy of determining the type of the operating body and more accurately controlling the vibration of the vibration module.
[0093] After obtaining the operation data corresponding to the target operation acting on the interactive operation area of the electronic device, the vibration module of the electronic device can be controlled to vibrate with the target working parameters according to the operation data. Specifically, in an embodiment of the present application, the vibration module of the electronic device is controlled to vibrate with the target working parameters based on the operation data, including: obtaining the attribute information of the operating body performing the target operation and the operation behavior data of the target operation; determining the target working parameters of the vibration module based on the attribute information and the operation behavior data; controlling the vibration module to vibrate with the target working parameters to provide vibration feedback and / or sound feedback matching the target operation. Specifically, different vibration feedback can be provided by the vibration module based on different scenarios. For example, when the target operation is a touch operation or a pressure operation, vibration feedback can be provided by the vibration module. In the scenario of spatial gesture operation, sound feedback, or vibration and sound feedback, etc. can be selected.
[0094] Among them, the attribute information of the operating body may include the number and type of the operating body. The specific processing process of obtaining the attribute information of the operating body has been described in the previous embodiment and will not be described in detail here. The operation behavior data of the target operation may include data such as the operation mode, operation force or operation trajectory. In one implementation of the embodiment of the present application, the target operating parameters of the vibration module are determined based on the attribute information and the operation behavior data, including at least one of the following:
[0095] In the case where the attribute information characterizes that the operating body is a finger acting on the touch operation area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the touch position data of the finger. The relative position of the current operation area corresponding to the finger and the vibration module can be determined according to the touch position data of the finger. Correspondingly, if the vibration module includes at least one vibration unit, the relative position of the finger and each vibration unit can be determined based on the touch position data, and then the corresponding vibration unit is controlled to vibrate based on the relative position, and the vibration parameters corresponding to each vibration unit can be further determined. For example, the vibration intensity of the vibration unit closer to the finger can be controlled to be greater than the vibration intensity of the vibration unit farther from the finger. Specifically, the vibration module can be a single motor module, a dual motor module, or a multi-motor module, etc., and its structure and form can be determined according to the configuration requirements of the electronic device. Among them, when determining the target working parameters of the vibration module, it can be determined by looking up a table, that is, the corresponding relationship between the attribute information, the operation behavior data and the working parameters of the vibration module is stored in a data table in advance, and then the corresponding working parameters are obtained by looking up the table based on the current data (such as the finger strength). The working parameters may include vibration amplitude, vibration intensity, vibration frequency and vibration amount. Alternatively, a processing model may be generated in advance, that is, the processing model may learn the relevant data set, so as to determine the working parameters of the vibration module based on the input behavior data and attribute information. The data set may include the vibration parameters of the vibration module corresponding to the user behavior data and attribute information, etc., so as to be input into the action model, and the action model is used to determine the working parameters of the vibration module and drive the vibration model to achieve vibration.
[0096] In the case where the attribute information characterizes that the operating body is a finger acting on the pressure-sensitive touch area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the touch position data and touch pressure of the finger. Specifically, if the operating body is only a finger, and the vibration module includes two motors arranged on both sides of the electronic device, the position of the finger can be determined according to the touch position data of the finger, and the distance between the finger and the motors on both sides can be calculated according to the position, and then the vibrating motor can be determined according to the distance. If the distance between the finger and each motor is close, the dual motors can be controlled to vibrate simultaneously, and the vibration value is maximized.
[0097] In the case where the attribute information characterizes that the operating body is a palm acting on the pressure-sensing processing area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the touch area of the palm and the touch pressure of the fingers. For example, when it is determined that the current operating body includes palms and fingers based on the data of the touch position, then it can be identified whether it is a single palm or double palms based on the touch area of the palm. If it is a single palm, the vibration module (such as a motor) on the side closer to it can be controlled to vibrate. The vibration amplitude can be matched with the contact area of the palm. When the number of palm information is bilateral, the palm area is judged, the bilateral motors vibrate simultaneously, and the amplitude is adjusted according to the area. Furthermore, if fingers are also included, the vibration intensity of the vibration module can also be determined according to the touch pressure of the fingers.
[0098] In the case where the attribute information characterizes that the operating body is a palm acting on the pressure-sensitive touch area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the number of palms and the touch pressure of the fingers. For example, it can be determined whether it is a single palm or two palms based on the number of palms. Assuming that there is only a single palm, the motor on one side of the single palm vibrates, for example, the vibration amplitude is inversely proportional to the palm area. When the number of palm information is bilateral, the palm area is determined, the bilateral motors vibrate simultaneously, and the amplitude is adjusted according to the area. The vibration frequency of the motor can also be adjusted according to the touch pressure of the finger.
[0099] In the case where the attribute information characterizes that the operating body is a palm acting on the touch operation area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the number and position data of the palms. In this way, the information of the vibration unit that performs the vibration operation can be determined according to the number of palms, such as determining the number of vibration units that perform the operation, such as two palms can control the vibration of three vibration units, and one palm can control the vibration of one vibration unit. Further, the distribution of the vibration units and the vibration parameters of the vibration units can be determined according to the position data of the palms.
[0100] In the case where the attribute information characterizes that the operating body is a palm acting on the sensing detection area of the electronic device, the vibration parameters of at least one vibration unit of the vibration module are determined based on the palm posture data and / or motion data. The posture of the palm can be determined based on the touch data of the palm, and the motion data can be determined based on the coordinate data of the touch point and its change data, so that the current gesture information can be determined based on the palm posture or motion data, such as whether it is a dynamic gesture or a static gesture. The static gesture can be only one gesture, and the dynamic gesture can be a gesture trajectory with gesture changes. Further, the state of the gesture can be determined more accurately in combination with the palm posture and motion data, so as to determine the vibration parameters of the vibration module matching the gesture, such as static gestures, the vibration frequency can be larger; in the case of dynamic gestures, the vibration period of the vibration module can match the duration of the gesture trajectory, and further feedback can be provided through sound so that the user can obtain the corresponding feedback information.
[0101] In addition to determining the target operating parameters of the vibration module based on attribute information and operation behavior data, the target operating parameters of the vibration module can also be determined more accurately by combining the characteristics of the electronic device, the relevant characteristics of the user, the characteristics of the application scenario, and the relevant configuration of the vibration module to enhance the vibration effect and user experience.
[0102] In one implementation of the embodiment of the present application, determining the target operating parameters of the vibration module based on the attribute information and the operation behavior data also includes at least one of the following:
[0103] The user portrait information of the target operator is obtained, and the target working parameters of the vibration module are determined based on the user portrait information, attribute information and operation behavior data. The user portrait information can be determined based on the user's historical operation data, the user's configuration information for the electronic device, and the user's basic feature information. For example, the user portrait information can be used to determine that the user often selects the silent mode, so the vibration feedback can be selected according to the user's habits, and the vibration intensity of the vibration module can be made relatively weak.
[0104] The use mode information of the electronic device is obtained, and the target operating parameters of the vibration module are determined based on the use mode information, attribute information and operation behavior data. Wherein, the use mode information of the electronic device includes the operation mode of the electronic device, such as the power state (the relevant states of S0-S5 of the power supply are illustrated in the above embodiment), the power consumption mode, the display mode and the running application, etc. The power consumption mode may include a performance mode, a balanced mode, a silent mode, etc. The running application may be divided into game applications, audio and video applications, text editing applications and entertainment applications, etc. according to different types. The display mode may include a single-screen display mode, a dual-screen display mode, a display mode of an all-in-one machine, a split-screen mode, and an extended mode. Thus, the target operating parameters of the vibration module determined based on the attribute information and the operation behavior data can be adjusted or optimized according to the use mode of the electronic device. For example, the vibration period of the vibration module determined by the attribute information and the behavior data can be set to 2 seconds to 5 seconds. When it is further detected that the power supply of the electronic device is low, the vibration period of the vibration module can be controlled to be 2 seconds. For another example, if the current electronic device is an all-in-one device, it is in display mode, that is, the host of the electronic device itself is not working, but the display is connected to an external device, and the display signal output by the external device is displayed on the display. At this time, the vibration unit set on the display in the vibration module can vibrate to achieve feedback on the relevant operation signal.
[0105] The configuration information of the vibration module is obtained, and the target operating parameters of the vibration module are determined based on the configuration information, attribute information and operation behavior data. Among them, the configuration information of the vibration module may include the number of vibration units. If the vibration unit is a motor, the configuration of the vibration module may include the number of motors, the position of each motor on the electronic device, the effective vibration parameter range of the motor, etc., and may also include the hardware configuration information of the motor, such as the model and manufacturer of the motor. After the operating parameters of the vibration module are determined according to the attribute information and the operation behavior data, the operating parameters can also be optimized based on the configuration information of the vibration module to obtain the target operating parameters. For example, after determining the vibration intensity range of the vibration module, the target vibration intensity of the vibration module can be determined according to the model of the vibration module, which can improve the service life of the vibration module while meeting the vibration requirements.
[0106] In order to improve the user experience, it is also possible to control the associated modules to execute the corresponding output mode while the vibration module is vibrating at the target working parameter. Specifically, controlling the vibration module to vibrate at the target working parameter also includes at least one of the following:
[0107] Control the display module associated with the vibration module to output target display content matching the target operation or target working parameter.
[0108] Control the lighting effect module associated with the vibration module to output a target lighting effect that matches the target working parameters.
[0109] Among them, the display module can be a physical display screen of an electronic device, or it can be a spatial projection area of an electronic device. For example, the display module can output animation content or prompt content that matches the vibration feedback or target operation in sync with the vibration feedback of the vibration module. Specifically, when the vibration module vibrates with a strong vibration intensity, the display module can output a fast-changing animation to match the vibration of the vibration module. It can also be that when the user is prompted by vibration that the input is successful, correspondingly, the prompt character "input successful" can also be output in the relevant area of the electronic device display screen, so that the user can obtain visual feedback while obtaining auditory feedback, thereby improving the user experience.
[0110] The lighting effect module associated with the vibration module can be a separately set indicator light, light bar or lamp bead that is connected to the vibration module for signal connection. That is, when the vibration module vibrates, the lighting effect module will be lit up along with the vibration. Correspondingly, the lighting effect module can also be a lighting effect component that has been configured on the electronic device, such as a lighting effect module that can be an equivalent component in a display screen, or a keyboard light, a host light, etc., so that it can output the corresponding lighting effect synchronously with the vibration feedback, such as determining the lighting cycle of the relevant lighting effect module according to the vibration cycle. It is also possible to determine the brightness change of the light in the lighting effect module according to the vibration amplitude, thereby enhancing the user experience.
[0111] The vibration control method in the embodiment of the present application is described below in conjunction with an actual application scenario. In this application scenario, the electronic device includes a virtual keyboard, which serves as an interactive operation area of the electronic device. The user can input corresponding characters or switch corresponding display information, applications, and window contents by operating the virtual keyboard. Figure 2 , which is a schematic diagram of a full-size virtual keyboard in an embodiment of the present application, when a user uses the full-size virtual keyboard, there are two states: the palm is placed on the virtual keyboard and the palm is suspended. Figure 3 , is a schematic diagram of an input of a virtual touch panel provided in an embodiment of the present application, Figure 3 The vibration control method of the present application can make the vibration module perform vibration feedback with corresponding working parameters regardless of the operation mode of the user, thereby improving the user experience.
[0112] See also Figure 4 , is a schematic diagram of different user input scenarios provided by an embodiment of the present application. Figure 4, which shows the classification of scenarios in which users use the virtual keyboard and virtual touchpad, including the usage mode of tapping the virtual keyboard with fingers, the input scenario of one hand touching the virtual touchpad, and the input scenario of both hands touching the virtual touchpad. Figure 5 , is a control flow chart of a vibration motor in a virtual touchpad input scenario provided by an embodiment of the present application. The vibration module can be a dual-motor structure, and the user inputs in the virtual touchpad by hand.
[0113] First, the touch coordinates of the user input on the virtual touchpad are obtained, and then the user is judged according to the touch coordinates whether the input is through the palm or the finger, that is, the palm or finger information is obtained. If it is recognized as a single finger information. Continue to judge the strength of the finger (that is, the pressure of the finger on the virtual touchpad), and the vibration amplitude of the motor can be determined according to the strength of the finger. Determine whether the finger is far away from the motor according to the touch position of the finger. If the finger is far away from the motor, the dual motors can be controlled to vibrate at the same time, and the vibration amplitude of the motor is adjusted to increase according to the strength of the finger, that is, when the strength of the finger is large, the vibration amplitude of the motor is also large, and when the strength of the finger is small, the vibration amplitude of the motor is also small. When it is detected that the finger is close to a motor, the corresponding unilateral motor can be controlled to vibrate, and the vibration amplitude can also be adjusted according to the strength of the finger. When it is determined that there is palm information through the touch coordinates, it can be further determined whether it is a single palm or a double palm according to the palm information. If it is a single palm, the contact area between the single palm and the touch area and the strength of the finger can be further determined to determine the corresponding unilateral motor vibration, and the vibration amplitude is determined according to the contact area and the finger strength. If the information of both palms is detected, the motors on both sides and the corresponding vibration amplitude can be controlled to vibrate according to the contact area of both palms and the strength of the fingers. For example, the vibration amplitude A of the motor can be calculated according to the following formula:
[0114] A=M / p;
[0115] Among them, A represents the vibration amplitude of the motor, M is a fixed constant, and p is the contact area of the palm.
[0116] The size of the motor can also be adaptively adjusted according to the user's behavior, the usage pattern of the electronic device, etc., so that the user can feel the consistency of the vibration. The vibration module can be prevented from vibrating when the user has no interactive operation, or the vibration amplitude can be reduced when the pressure is light, allowing the user to feel the vibration while saving system power consumption.
[0117] In the embodiment of the present application, an electronic device is also provided. Figure 6 , the electronic device comprises:
[0118] Touch display module 601 , vibration module 602 and controller 603 .
[0119] The touch display module 601 can display a touch operation area and can sense operation data of a target operation acting on the touch operation area;
[0120] The controller 603 can control the vibration module 602 to vibrate at target working parameters based on the operation data;
[0121] The controller 603 can identify attribute information of the operating body performing the target operation based on the operation data, so as to determine the working parameters of the vibration module based on the attribute information.
[0122] In one implementation of the embodiments of the present application, the electronic device may further include a first body and a second body, the first body and the second body are connected by a connector, wherein the connector includes a rotating connector; a touch display module and a vibration module are arranged in the second body, and a plurality of vibration modules are arranged below the touch display module. Furthermore, the vibration module may include a plurality of vibration units, and the setting of the vibration units may match each sub-area in the touch operation area displayed by the touch display module. For example, when the touch operation area is a virtual keyboard, the vibration unit may match the virtual keys corresponding to the virtual keyboard, such as the plurality of vibration units may be respectively arranged in the corresponding areas of the digital virtual keys, the letter virtual keys and other virtual keys.
[0123] Specifically, a touch area, such as a touch keyboard area, can be displayed in the touch display module. When a user clicks a virtual key presented in the touch keyboard area, the vibration module under the touch display module can vibrate with corresponding working parameters according to the contact area of the virtual key clicked by the user, the size of the operating body or the touch pressure, etc., so that the user can feel the vibration of the vibration module and experience a response effect similar to that of a physical button, thereby improving the user experience.
[0124] Optionally, a display screen is configured in the first body of the electronic device, and a corresponding display screen can be displayed on the display screen. When input information is generated through the touch display module in the second body, response information corresponding to the input information can be presented on the display screen of the first body. Correspondingly, the response information can also be used to switch the display interface of the display screen, etc.
[0125] Optionally, the controller is further configured to execute the following method:
[0126] Wherein, obtaining the target operation acting on the interactive operation area of the electronic device includes at least one of the following:
[0127] Obtaining a touch operation acting on a touch operation area of an electronic device;
[0128] Obtaining touch operation acting on a pressure-sensitive area of an electronic device;
[0129] Obtaining a touch operation acting on a pressure-sensitive touch area of an electronic device;
[0130] Obtaining spatial gesture operations acting on a sensing detection area of an electronic device;
[0131] A control operation acting on a display area of an electronic device is obtained.
[0132] Optionally, obtaining the operation data of the target operation includes at least one of the following:
[0133] Obtaining the type of the interactive operation area, and obtaining operation data corresponding to the type of the interactive operation area;
[0134] Obtaining usage mode information of the electronic device, and obtaining operation data corresponding to the usage mode information;
[0135] Attribute information of an operating body that performs the target operation and operation behavior data of the target operation are obtained.
[0136] Optionally, obtaining the operation data of the target operation includes one of the following:
[0137] In response to obtaining a touch operation acting on a touch operation area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch position data of the touch operation;
[0138] In response to obtaining a touch operation acting on a pressure sensing area of the electronic device, obtaining attribute information of an operating body performing the touch operation and a touch pressure of the touch operation;
[0139] In response to obtaining a touch operation acting on a pressure-sensitive touch area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch pressure and position data of the touch operation;
[0140] In response to obtaining a spatial gesture operation acting on a sensing detection area of the electronic device, obtaining attribute information of an operating body performing the spatial gesture operation and spatial coordinate data of the spatial gesture operation;
[0141] In response to obtaining a control operation acting on a display area of an electronic device, operation object data and operation behavior data of the control operation are obtained.
[0142] Optionally, obtaining the attribute information of the operation body that performs the target operation includes at least one of the following:
[0143] Determining attribute information of the operating bodies based on the number of operating bodies acting on the interactive operation area;
[0144] determining attribute information of the operating body based on a contact area between the operating body and the interactive operation area;
[0145] determining attribute information of the operating body based on operation position information of the operating body acting on the interactive operation area;
[0146] The attribute information of the operating body is determined based on the number and contact area of the operating body acting on the interactive operation area.
[0147] Optionally, controlling the vibration module of the electronic device to vibrate with target operating parameters based on the operation data includes:
[0148] Obtaining attribute information of an operating body that performs the target operation and operation behavior data of the target operation;
[0149] Determining target operating parameters of the vibration module based on the attribute information and the operation behavior data;
[0150] The vibration module is controlled to vibrate with the target operating parameter to provide vibration feedback and / or sound feedback matching the target operation.
[0151] Optionally, determining the target operating parameter of the vibration module based on the attribute information and the operation behavior data includes at least one of the following:
[0152] In a case where the attribute information indicates that the operating body is a finger acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data of the finger;
[0153] In a case where the attribute information indicates that the operating body is a finger acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data and the touch pressure of the finger;
[0154] When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch area of the palm and the touch pressure of the finger;
[0155] When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number of the palms and the touch pressure of the fingers;
[0156] In a case where the attribute information indicates that the operating body is a palm acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number and position data of the palm;
[0157] When the attribute information indicates that the operating body is a palm acting on a sensing detection area of the electronic device, vibration parameters of at least one vibration unit of the vibration module are determined based on the posture data and / or motion data of the palm.
[0158] Optionally, the determining the target operating parameter of the vibration module based on the attribute information and the operation behavior data further includes at least one of the following:
[0159] Obtaining user portrait information of a target operator, and determining target operating parameters of the vibration module based on the user portrait information, the attribute information, and the operation behavior data;
[0160] Obtaining usage mode information of the electronic device, and determining target operating parameters of the vibration module based on the usage mode information, the attribute information and the operation behavior data;
[0161] The configuration information of the vibration module is obtained, and the target operating parameters of the vibration module are determined based on the configuration information, the attribute information and the operation behavior data.
[0162] Optionally, the electronic device further includes a display module associated with the vibration module and / or a lighting effect module associated with the vibration module;
[0163] The display module is used to output target display content matching the target operation or the target working parameter;
[0164] The lighting effect module is used to output a target lighting effect that matches the target working parameters.
[0165] It should be noted that the specific implementation of each module in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0166] In another embodiment of the present application, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the vibration control method as described in any one of the above items is implemented.
[0167] It should be noted that the specific implementation of the processor in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.
[0168] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0169] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0170] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0171] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vibration control method, comprising: In response to obtaining a target operation acting on an interactive operation area of an electronic device, obtaining operation data of the target operation, the operation data at least including attribute information of an operation body performing the target operation; Based on the operation data, a vibration module of the electronic device is controlled to vibrate with a target operating parameter, where the target operating parameter is determined at least according to the attribute information.
2. The method according to claim 1, wherein: The obtaining of the target operation acting on the interactive operation area of the electronic device includes at least one of the following: Obtaining a touch operation acting on a touch operation area of an electronic device; Obtaining touch operation acting on a pressure-sensitive area of an electronic device; Obtaining a touch operation acting on a pressure-sensitive touch area of an electronic device; Obtaining spatial gesture operations acting on a sensing detection area of an electronic device; A control operation acting on a display area of an electronic device is obtained.
3. The method according to claim 1 or 2, wherein obtaining the operation data of the target operation comprises at least one of the following: Obtaining the type of the interactive operation area, and obtaining operation data corresponding to the type of the interactive operation area; Obtaining usage mode information of the electronic device, and obtaining operation data corresponding to the usage mode information; Attribute information of an operating body that performs the target operation and operation behavior data of the target operation are obtained.
4. The method according to claim 2, wherein obtaining the operation data of the target operation comprises one of the following: In response to obtaining a touch operation acting on a touch operation area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch position data of the touch operation; In response to obtaining a touch operation acting on a pressure sensing area of the electronic device, obtaining attribute information of an operating body performing the touch operation and a touch pressure of the touch operation; In response to obtaining a touch operation acting on a pressure-sensitive touch area of the electronic device, obtaining attribute information of an operating body performing the touch operation and touch pressure and position data of the touch operation; In response to obtaining a spatial gesture operation acting on a sensing detection area of the electronic device, obtaining attribute information of an operating body performing the spatial gesture operation and spatial coordinate data of the spatial gesture operation; In response to obtaining a control operation acting on a display area of an electronic device, operation object data and operation behavior data of the control operation are obtained.
5. The method according to claim 3, wherein: Obtaining attribute information of an operation body that performs the target operation includes at least one of the following: Determining attribute information of the operating bodies based on the number of operating bodies acting on the interactive operation area; determining attribute information of the operating body based on a contact area between the operating body and the interactive operation area; determining attribute information of the operating body based on operation position information of the operating body acting on the interactive operation area; The attribute information of the operating body is determined based on the number and contact area of the operating body acting on the interactive operation area.
6. The method according to claim 1, wherein the step of controlling the vibration module of the electronic device to vibrate at a target operating parameter based on the operation data comprises: Obtaining attribute information of an operating body that performs the target operation and operation behavior data of the target operation; Determining target operating parameters of the vibration module based on the attribute information and the operation behavior data; The vibration module is controlled to vibrate with the target operating parameter to provide vibration feedback and / or sound feedback matching the target operation.
7. The method according to claim 6, wherein determining the target operating parameters of the vibration module based on the attribute information and the operation behavior data comprises at least one of the following: In a case where the attribute information indicates that the operating body is a finger acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data of the finger; In a case where the attribute information indicates that the operating body is a finger acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch position data and the touch pressure of the finger; When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the touch area of the palm and the touch pressure of the finger; When the attribute information indicates that the operating body is a palm acting on a pressure-sensitive touch area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number of the palms and the touch pressure of the fingers; In a case where the attribute information indicates that the operating body is a palm acting on a touch operation area of the electronic device, determining a vibration parameter of at least one vibration unit of the vibration module based on the number and position data of the palm; When the attribute information indicates that the operating body is a palm acting on a sensing detection area of the electronic device, vibration parameters of at least one vibration unit of the vibration module are determined based on the posture data and / or motion data of the palm.
8. The method according to any one of claims 6 or 7, wherein the determining the target operating parameters of the vibration module based on the attribute information and the operation behavior data further comprises at least one of the following: Obtaining user portrait information of a target operator, and determining target operating parameters of the vibration module based on the user portrait information, the attribute information, and the operation behavior data; Obtaining usage mode information of the electronic device, and determining target operating parameters of the vibration module based on the usage mode information, the attribute information and the operation behavior data; The configuration information of the vibration module is obtained, and the target operating parameters of the vibration module are determined based on the configuration information, the attribute information and the operation behavior data.
9. The method according to claim 6, wherein: Controlling the vibration module to vibrate at the target working parameter further includes at least one of the following: Controlling a display module associated with the vibration module to output target display content matching the target operation or the target working parameter; Controlling a lighting effect module associated with the vibration module to output a target lighting effect matching the target operating parameter.
10. An electronic device, comprising a touch display module, a vibration module and a controller, wherein the controller is signal-connected to the touch display module and the vibration module, wherein: The touch display module can display a touch operation area and can sense operation data of a target operation acting on the touch operation area; The controller can control the vibration module to vibrate at a target working parameter based on the operation data; The controller is capable of identifying attribute information of an operating body performing the target operation based on the operation data, so as to determine an operating parameter of the vibration module based on the attribute information.
Citation Information
Cited By
Display control method and electronic equipment
CN120491849A