CN115586829A - Haptic vibration control method, haptic vibration control device, electronic device, and storage medium - Google Patents

Haptic vibration control method, haptic vibration control device, electronic device, and storage medium Download PDF

Info

Publication number
CN115586829A
CN115586829A CN202110756924.4A CN202110756924A CN115586829A CN 115586829 A CN115586829 A CN 115586829A CN 202110756924 A CN202110756924 A CN 202110756924A CN 115586829 A CN115586829 A CN 115586829A
Authority
CN
China
Prior art keywords
vibration
parameter
vibration effect
user
display interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110756924.4A
Other languages
Chinese (zh)
Other versions
CN115586829B (en
Inventor
张其田
洪楷
徐士立
刘专
王昊
张亚军
刘思亮
杨奕青
尤翰昊
吴海洋
陈覃
陈至喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202311558219.9A priority Critical patent/CN117492570A/en
Priority to CN202110756924.4A priority patent/CN115586829B/en
Publication of CN115586829A publication Critical patent/CN115586829A/en
Application granted granted Critical
Publication of CN115586829B publication Critical patent/CN115586829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a touch vibration control method, a touch vibration control device, electronic equipment and a storage medium, and relates to the technical field of scene management in application basic technology, wherein the method is suitable for the electronic equipment with a built-in motor, and comprises the following steps: responding to an operation executed by a user on a display interface, and acquiring a vibration effect parameter, wherein the vibration effect parameter at least comprises a vibration zooming parameter; zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter; and driving the built-in motor through the second vibration parameter so as to control the vibration effect of the electronic equipment. The haptic vibration control method provided by the application not only can realize the control of a user on the specific vibration effect of the built-in motor, but also can reduce the complexity of vibration effect design and improve the practicability of vibration effect design.

Description

Haptic vibration control method, haptic vibration control device, electronic device, and storage medium
Technical Field
The embodiments of the present application relate to the field of scene management technology in application infrastructure, and more particularly, to a haptic vibration control method, apparatus, electronic device, and storage medium.
Background
At present, most electronic equipment has a vibration function, the experience form of a user is the simplest basic switch function, and the user can start vibration in different scenes, such as notification, games and the like. For example, as shown in FIG. 1, a user may turn ring mode vibration and mute mode vibration on or off. As another example, as shown in FIG. 2, the user may turn on or off the targeting effect of the 4D tremoly.
However, the user cannot control the specific vibration strength and effect, in other words, the user still cannot define and adjust the vibration effect of the internal motor according to the experience of the user, which greatly limits the performance of the internal motor and the experience of the user.
In addition, in general, even if a single equipment manufacturer opens a self-defined vibration adjustment function, the design for the built-in motor provided by the equipment manufacturer is also the design for the built-in motor, and the difference of different built-in motors is large, so that the general purpose cannot be realized, and further, the practicability of the equipment manufacturer is too low; on the other hand, the application side is oriented to the whole industry, if a personalized vibration effect scheme is designed for a certain application, the personalized vibration effect scheme brings experience and understanding differences for users aiming at different applications, and even influences direct experiences of partial users.
Therefore, there is a need in the art for a haptic vibration control method that not only enables a user to control a specific vibration effect of a built-in motor, but also reduces the complexity of the vibration effect design and improves the practicability of the vibration effect design.
Disclosure of Invention
The application provides a touch vibration control method and device, an electronic device and a storage medium, which not only can realize the control of a user on the specific vibration effect of a built-in motor, but also can reduce the complexity of the design of the vibration effect and improve the practicability of the design of the vibration effect.
In one aspect, the present application provides a haptic vibration control method applicable to an electronic device provided with a built-in motor, the method including:
responding to an operation executed by a user on a display interface, and acquiring a vibration effect parameter, wherein the vibration effect parameter at least comprises a vibration zooming parameter;
zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter;
and driving the built-in motor through the second vibration parameter so as to control the vibration effect of the electronic equipment.
In another aspect, the present application provides a haptic vibration control device adapted to an electronic apparatus provided with a built-in motor, including:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for responding to the operation executed by a user on a display interface and acquiring vibration effect parameters, and the vibration effect parameters at least comprise vibration zooming parameters;
the processing unit is used for zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter;
and the driving unit is used for driving the built-in motor through the second vibration parameter so as to control the vibration effect of the electronic equipment.
In another aspect, an embodiment of the present application provides an electronic device, including:
a processor adapted to execute a computer program;
a computer-readable storage medium having stored thereon a computer program which, when executed by the processor, implements the haptic vibration control method described above.
In another aspect, embodiments of the present application provide a computer-readable storage medium storing computer instructions, which when read and executed by a processor of a computer device, cause the computer device to execute the haptic vibration control method.
In this application, because this second vibration parameter zooms the first vibration parameter of parameter in to an application through this vibration and zooms and obtain, through this second vibration parameter drive this built-in motor, during with the vibration effect of controlling this electronic equipment, avoided the vibration effect design of built-in motor to the switch function of simplest basis, make the specific vibration effect of user control built-in motor, be favorable to arousing the vibration intention of user's rich expression built-in motor, user experience has been promoted.
In addition, based on the scheme of the application, completely different vibration effects can be brought through different vibration scaling parameters based on the same vibration waveform and the built-in motor, in other words, under the condition that the performance parameters of the built-in motor are not considered, application design development and flexible design of the vibration effects can be realized, and further the vibration effects which can be adjusted or scaled independently by a user can be realized; therefore, the control of the specific vibration effect of the built-in motor by the user can be realized, the vibration effect control method can be applied to various hardware devices and even application programs, and further the complexity of the vibration effect design can be reduced and the practicability of the vibration effect design can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 and 2 are display interfaces of a vibration effect switch in the prior art.
Fig. 3 is an example of an electronic device to which the present application is applicable.
Fig. 4 is a schematic flowchart of a haptic vibration control method provided in an embodiment of the present application.
Fig. 5 is a schematic flowchart of a haptic vibration control method implemented by preset vibration waveform parameters in an application and vibration scaling parameters applicable to a game vibration scene A1 according to an embodiment of the present application.
Fig. 6 is a schematic flowchart of a haptic vibration control method implemented by preset vibration waveform parameters in an application and vibration scaling parameters applicable to a game vibration scene A2 according to an embodiment of the present application.
Fig. 7 is a schematic block diagram of a display interface displaying a plurality of gear identifiers according to an embodiment of the present application.
Fig. 8 is a schematic block diagram of a display interface including a display area on which a parameter is displayed according to an embodiment of the present application.
Fig. 9 is a schematic block diagram of a display interface displaying a progress bar provided in an embodiment of the present application.
Fig. 10 is a schematic block diagram of a display interface with a hidden area displayed according to an embodiment of the present application.
Fig. 11 is a schematic block diagram of a haptic vibration control apparatus provided in an embodiment of the present application.
Fig. 12 is a schematic block diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application relates to the technical field of application foundations in application technologies. For example, the present application relates to the field of cloud gaming technology.
Cloud gaming (Cloud gaming), also known as game on demand (gaming), is an online gaming technology based on Cloud computing technology. Cloud game technology enables light-end devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud game scene, a game is not operated in a player game terminal but in a cloud server, and the cloud server renders the game scene into a video and audio stream which is transmitted to the player game terminal through a network. The game terminal of the player does not need to have strong graphic operation and data processing capacity, and only needs to have basic streaming media playing capacity and capacity of acquiring input instructions of the player and sending the input instructions to the cloud server.
The embodiment of the present application may also relate to a scene management technology, for example, to manage a vibration effect of a built-in motor of an electronic device in a certain scene.
The haptic vibration control method provided by the embodiment of the application can be applied to any electronic equipment with a built-in motor. Illustratively, the electronic device includes any rich man-machine interaction mode with a built-in motor, a terminal device with internet access capability, various operating systems and strong processing capability, and the terminal device includes, but is not limited to, a smart mobile phone, a tablet computer, a vehicle-mounted terminal, a handheld game console, and other small Personal portable devices, such as a Personal Digital Assistant (PDA), an electronic book (E-book), etc.
Fig. 3 is an example of the electronic device 100 provided in the embodiment of the present application. It should be understood that fig. 1 is only an example of the present application and should not be construed as limiting the present application.
As shown in FIG. 3, the electronic device 100 may include an application layer 110 and a system hardware layer 120.
The application layer 110 may include various applications installed on the electronic device 100, such as an application 111. In addition, the application layer 110 may further include a vibration playing interface 112, and the vibration playing interface 112 is configured to convert the vibration waveform and the vibration effect parameter preset in the application program 111 into waveform data and parameter data recognizable by the system hardware layer 120. For example, the vibration playing interface 112 may be further configured to scale a first vibration waveform preset in the application 111 by a vibration scaling parameter in the vibration effect parameter to obtain a second vibration waveform, and then convert the second vibration waveform and the vibration effect parameter into waveform data and parameter data recognizable by the system hardware layer 120. The system hardware layer 120 may include a system interface 121 and an internal motor 122, wherein the system interface 121 may control (or play) vibration data recognizable by the electronic device 100 based on parameter data recognizable by the electronic device 100 to drive the internal motor 120 to vibrate. In other words, the system interface 121 can control the vibration data output by the vibration playing interface 112 based on the parameter data output by the vibration playing interface 112, and the vibration data is used for driving the built-in motor 120 to vibrate.
It should be noted that the vibration waveform may be implemented as a waveform file or a vibration package. Illustratively, the waveform file may be any audio file or video file with audio, which is not specifically limited in this application.
Fig. 4 is a schematic flow chart of a haptic vibration control method 200 provided in an embodiment of the present application. It should be noted that the method 200 may be performed by any electronic device having a built-in motor, and the present application is not limited thereto. Illustratively, the electronic device includes any rich man-machine interaction mode with a built-in motor, a terminal device with internet access capability, various operating systems and strong processing capability, and the terminal device includes, but is not limited to, a smart mobile phone, a tablet computer, a vehicle-mounted terminal, a handheld game console, and other small Personal portable devices, such as a Personal Digital Assistant (PDA), an electronic book (E-book), etc. Such as the electronic device shown in fig. 1.
As shown in fig. 4, the method 200 may include:
s210, responding to an operation executed by a user on a display interface, and acquiring vibration effect parameters, wherein the vibration effect parameters at least comprise vibration zooming parameters;
s220, zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter;
and S230, driving the built-in motor through the second vibration parameter to control the vibration effect of the electronic equipment.
In this application, because this second vibration parameter zooms the first vibration parameter of parameter in to an application through this vibration and zooms and obtain, through this second vibration parameter drive this built-in motor, during with the vibration effect of controlling this electronic equipment, avoided the vibration effect design of built-in motor to the switch function of simplest basis, make the specific vibration effect of user control built-in motor, be favorable to arousing the vibration intention of user's rich expression built-in motor, user experience has been promoted.
In addition, based on the scheme of the application, completely different vibration effects can be brought through different vibration scaling parameters based on the same vibration waveform and the built-in motor, in other words, under the condition that the performance parameters of the built-in motor are not considered, application design development and flexible design of the vibration effects can be realized, and further the vibration effects which can be adjusted or scaled independently by a user can be realized; therefore, the control of the specific vibration effect of the built-in motor by the user can be realized, the vibration effect control method can be applied to various hardware devices and even application programs, and further the complexity of the vibration effect design can be reduced and the practicability of the vibration effect design can be improved.
It should be noted that the vibration effect parameter related to the present application may be set by a user through a User Interface (UI), or may be automatically matched by the electronic device based on an application scenario, which is not specifically limited in this embodiment of the present application.
In some embodiments, the S220 may include:
calling a vibration playing interface of the application, and zooming the first vibration waveform through a vibration zooming parameter in the vibration effect parameters to obtain a second vibration waveform;
converting the second vibration waveform and the vibration effect parameter into waveform data and parameter data which can be identified by the electronic equipment respectively;
the waveform data and the parameter data are transmitted to a system interface of the electronic device to drive the built-in motor to vibrate based on the waveform data controlled by the parameter data.
In other words, after the vibration playing interface acquires the vibration waveform and the vibration effect parameter, on one hand, the first vibration waveform is zoomed through the vibration zooming parameter in the vibration effect parameter to obtain a second vibration waveform; on the other hand, the vibration waveform and the vibration effect parameter are respectively converted into waveform data and parameter data which can be identified by the electronic equipment, and the converted waveform data and parameter data are sent to the system interface; correspondingly, after the system interface receives the waveform data and the parameter data sent by the vibration playing interface, the built-in motor is driven to vibrate based on the waveform data controlled by the parameter data.
In this embodiment, the vibration playing interface is an interface for implementing communication between the application layer and the system hardware layer, in other words, the vibration playing interface is equivalent to a standard interface between the application layer and the system hardware layer. Based on the above, through the designed vibration playing interface, on one hand, the vibration playing interface is in butt joint with the application layer, on the other hand, the vibration playing interface is in butt joint with the system interface of the system hardware layer, so that the communication between the application layer and the system hardware layer is realized, the experience influence caused by the difference of hardware does not need to be worried about, and the zooming of the first vibration waveform based on the vibration zooming parameter can be realized.
In one implementation, the vibration effect parameter includes a vibration scaling parameter, and the vibration scaling parameter is used to scale an amplitude, a phase angle, or a frequency of the first vibration waveform.
In other words, the vibration scaling interface is called to scale the parameters such as amplitude, phase angle or frequency of the first vibration waveform based on the vibration scaling parameter, so as to obtain the second vibration waveform; based on the vibration scaling parameters, scaling can be achieved for the same vibration waveform by using different vibration scaling parameters, and different vibration effects can be obtained when the built-in motor is driven based on the different waveforms after scaling.
In one implementation, the vibration effect parameter may be a parameter set for an interface for controlling a vibration effect switch.
In other words, for past applications supporting the vibration effect switch, the support of the vibration effect parameter can be realized only by aligning the new parameter on the User Interface (UI) switch, and the research and development migration cost is reduced.
In some implementations, the first vibration waveform can be a vibration waveform preset in the application.
In some embodiments, the S210 may include:
determining one or more applicable scenarios; and for the one or more applicable scenes, responding to the operation performed by the user on the display interface, and acquiring the vibration effect parameter.
In other words, a dedicated vibration effect parameter may be designed for each scene. Optionally, the usage scenario may be a scenario for an event, an application scenario, or a system scenario, which is not limited in this application. Exemplary application scenarios for an event include, but are not limited to: a notification scene, a certain scene under application, a ringing mode vibration scene and a mute mode vibration scene; for a scenario of an application, the application includes but is not limited to: various types of applications such as game applications, answering phone applications, and the like; the application scenario for a system including, but not limited to, the electronic device.
In this embodiment, with the parameter design of vibration effect for the parameter to the scene, can enrich the design effect of vibration effect design, be favorable to arousing the vibration intention of user's abundant expression built-in motor, promoted user experience. In addition, the vibration effect parameter is designed as a parameter for a scene, and different vibration effects can be realized based on different parameters for effects under one vibration waveform. For example, for the application side, different vibration experiences brought by the same vibration waveform can be realized by adjusting the vibration effect parameters through the parameters according to the adjustment of the user in different scenes on the designed vibration waveform.
In one implementation, the applicable scene is a game virtual scene, and the first vibration parameter includes a vibration waveform parameter preset in the application. For example, the first vibration parameter may be a first vibration waveform preset in the application.
Fig. 5 is a schematic flowchart of a haptic vibration control method 300 implemented by preset vibration waveform parameters in an application and vibration scaling parameters applicable to a game vibration scene A1 according to an embodiment of the present application. Fig. 6 is a schematic flowchart of a haptic vibration control method 400 implemented by preset vibration waveform parameters in an application and vibration scaling parameters applicable to a game vibration scene A2 according to an embodiment of the present application.
As shown in fig. 5, the method 300 may include:
s310, determining a game vibration scene A1.
And S320, acquiring a vibration waveform B.
S330, responding to the operation triggered by the user and used for indicating to start vibration, and acquiring a vibration effect parameter C1.
S340, calling a vibration playing interface, and zooming the vibration waveform B through the vibration zooming parameter in the vibration effect parameter C1 to obtain a vibration waveform B1; and converting the vibration waveform B1 and the vibration effect parameter C1 into waveform data and parameter data which can be recognized by the electronic equipment respectively.
And S350, calling a system interface, and driving the built-in motor based on the waveform data controlled by the parameter data.
As shown in fig. 5, the method 300 may include:
s310, determining a game vibration scene A1.
And S320, acquiring a vibration waveform B.
S330, responding to the operation triggered by the user and used for indicating to start vibration, and acquiring a vibration effect parameter C1.
S340, calling a vibration playing interface, and zooming the vibration waveform B through the vibration zooming parameter in the vibration effect parameter C2 to obtain a vibration waveform B2; and converting the vibration waveform B2 and the vibration effect parameter C2 into waveform data and parameter data which can be recognized by the electronic equipment respectively.
And S350, calling a system interface, and driving the built-in motor based on the waveform data controlled by the parameter data.
As can be seen from comparing fig. 4 and fig. 5, the vibration effect parameter C1 is a specific parameter of the game vibration scene A1, the vibration effect parameter C2 is a specific parameter of the game vibration scene A2, and for the game vibration scene A1 and the game vibration scene A2, different vibration effect parameters are designed, that is, the vibration effect parameter C1 and the vibration effect parameter C2 can be scaled to obtain the vibration waveform B1 and the vibration waveform B2 by scaling the same vibration waveform B, and thus when the built-in motor is driven based on the vibration parameter after the conversion between the vibration waveform B1 and the vibration waveform B2, different vibration effects can be achieved. In short, in this embodiment, the vibration effect parameters are designed as parameters for a scene, so that different experience effects can be realized based on the same preset vibration waveform in different scenes.
In some implementations, the display interface displays a plurality of gear identifiers; the S210 may include:
responding to the pressing operation performed by the user on the selected gear identification, and acquiring the selected gear identified by the selected gear identification;
and determining the selected gear as the vibration effect parameter.
In other words, the user can input the vibration effect parameter through a pressing operation performed on the selected gear indicator. Or, for a certain application, the user may define the vibration intensity corresponding to different gears as required, and even set and display different gears for the electronic device. Taking an application scene of the vibration effect parameter as an example, for the game application scene, a user can customize vibration intensities corresponding to different gears according to actual needs. Similarly, the user can also customize the vibration intensity corresponding to different gears according to actual needs directly for the electronic device.
Fig. 7 is a schematic block diagram of a display interface 510 displaying a plurality of gear identifiers according to an embodiment of the present application. As shown in fig. 7, the display interface 510 displays a plurality of gear identifiers. The plurality of gear flags may be off, low, medium, high. It should be noted that fig. 7 is only an example of the present application and should not be construed as limiting the present application. For example, in other alternative embodiments, the gear indicator may be set to off, gear 1, gear 2, gear 3, etc., and even the gear indicator may be set in any visible area of the display interface 510.
In some implementations, the display interface includes a display area on which the parameter is displayed; the S210 may include:
in response to a sliding operation performed by the user in the display area, changing a parameter in the display area and acquiring a selected parameter when the sliding operation is stopped;
and determining the selected parameter as the vibration effect parameter.
In other words, the user can input the vibration effect parameter through a slide operation performed on the display area. Or, for a certain application, the user may define the vibration intensity corresponding to different parameters according to the need, and even set and display different parameters for the electronic device. Taking the applicable scene of the vibration effect parameter as a game application scene as an example, aiming at the game application scene, a user can customize vibration intensities corresponding to different gears according to actual needs. Similarly, the user can also customize the vibration intensity corresponding to different gears according to actual needs directly for the electronic device.
Fig. 8 is a schematic block diagram of a display interface 520 including a display area on which a parameter is displayed according to an embodiment of the present application. As shown in fig. 8, a plurality of parameters are displayed in a display area of the display interface 520. The plurality of parameters may be 15, 16%, and 17. For example, 16% may be the selected parameter. It should be noted that fig. 8 is only an example of the present application and should not be construed as limiting the present application. For example, in other alternative embodiments, only 1 or two parameters may be displayed in the display area of the display interface 520, parameters greater than 3 and may also be displayed, and even the parameters in the display area of the display interface 520 may be set in any visible area of the display interface 520.
In some implementations, the display interface displays a progress bar; the S210 may include:
responding to the sliding operation executed by the user in the area where the progress bar is located, changing the progress parameters of the progress bar and acquiring the selected progress parameters when the sliding operation is stopped;
and determining the selected progress parameter as the vibration effect parameter.
In other words, the user may input the vibration effect parameter through a sliding operation performed on the area where the progress bar is located. Or, for a certain application, the user may define the vibration intensity corresponding to different progress parameters according to the need, and even set and display different progress parameters for the electronic device. Taking the applicable scene of the vibration effect parameter as a game application scene as an example, aiming at the game application scene, a user can customize vibration intensities corresponding to different gears according to actual needs. Similarly, the user can also customize the vibration intensity corresponding to different gears according to actual needs directly for the electronic device.
Fig. 9 is a schematic block diagram of a display interface 530 displaying a progress bar provided in an embodiment of the present application. As shown in fig. 9, the display interface 530 displays a progress bar. In response to a sliding operation performed by the user in the area where the progress bar is located, a progress parameter, for example 42%, may be determined. It should be noted that fig. 9 is only an example of the present application and should not be construed as limiting the present application. For example, in other alternative embodiments, the progress bar may be provided in other shapes, such as a cylindrical shape; even further, the progress bar may be disposed within any visible area of the display interface 530.
In some embodiments, the display interface displays a plurality of scene identifiers; wherein, the S210 may include:
determining one or more applicable scenarios;
for each applicable scene in the one or more applicable scenes, in response to an operation triggered by the user on the display interface for indicating scene matching, searching for parameters matched with the applicable scene in a database, wherein the database comprises at least one scene and at least one parameter, the at least one scene is respectively matched with the at least one parameter, and the at least one scene comprises the applicable scene;
and determining the parameter matched with the applicable scene as the vibration effect parameter.
In other words, the vibration effect parameters matching the applicable scene can be automatically matched in the database in response to the operation for indicating scene matching triggered by the user on the display interface based on the determined or selected applicable scene. In this embodiment, only the user needs to trigger the operation for indicating the scene matching on the display interface, so that the setting operation for designing different vibration effects by the user can be simplified, and further, the user experience can be effectively improved.
In some embodiments, the S210 may include:
responding to an operation which is triggered by the user on the display interface and used for requesting the vibration effect parameter, and sending a vibration effect request to a cloud server, wherein the vibration effect request is used for requesting the vibration effect parameter; and receiving the vibration effect parameter fed back by the cloud server. For example, after an applicable scene is determined or selected, for the applicable scene, in response to an operation triggered on the display interface by the user to request a vibration effect parameter for the applicable scene, sending a vibration effect request to a cloud server, where the vibration effect request is used to request a vibration effect parameter applicable to the applicable scene; and receiving the vibration effect parameters of the applicable scene fed back by the cloud server.
In other words, the vibration effect parameter sent by the cloud server may be received in response to an operation for requesting the vibration effect parameter, which is triggered by the user on the display interface, based on the determined applicable scenario. In this embodiment, only the user needs to trigger the operation for requesting the vibration effect parameter on the display interface, so that the setting operation for designing different vibration effects by the user can be simplified, and further, the user experience can be effectively improved.
In some implementations, if the display interface is a system setting interface of the electronic device, determining a scene applicable to the electronic device as the applicable scene; or, if the display interface is a system setting interface of a certain application, determining a scene applicable to the certain application or a certain scene applicable to the certain application as the applicable scene.
In other words, if the applicable scene related to the application is a scene applicable to the electronic device, the display interface is a system setting interface of the electronic device; if the applicable scene related to the application is a scene applicable to the certain application or a certain scene under the certain application, the display interface is a system setting interface of the certain application.
In some implementations, the applicable scenario referred to in the present application may be a combat scenario of a game, that is, a game-specific effect performance triggered by a player, such as a large-scale release, a click, and the like, and the vibration waveform controlled by the vibration effect parameter may be used to characterize the degree of violence of the user in the combat scenario. In addition, the applicable scene can also be used for expressing the characteristics of the game props, for example, when the vehicle is driven and collided, the vibration effect parameters can represent the fierce strength expressed by the props.
Further, as an example, the vibration waveform of the vibration frequency control may also simulate the distance between two fighting parties during a fighting process, wherein the closer the two fighting parties are, the higher the frequency of the vibration waveform of the vibration frequency control is. As another example, the applicable scene is a scene of winning a game, and the vibration waveform controlled by the vibration frequency is used for celebrating winning, wherein the frequency of the vibration waveform controlled by the vibration frequency when the user currently finishes the game and wins the game is smaller than the frequency of the vibration waveform controlled by the vibration frequency when the user currently finishes the game and fails to win the game; or, when the user finishes the current game and wins the game, the vibration waveform of the vibration frequency control drives the built-in motor to vibrate at a certain frequency, and when the user finishes the current game and fails to obtain the game, the built-in motor driven by the vibration waveform of the vibration frequency control does not vibrate.
In some embodiments, the first vibration waveform is a waveform suitable for the electronic device; alternatively, the first vibration waveform is a waveform suitable for setting in advance in an application.
As an example, the vibration waveform may be implemented as a waveform file or a vibration package. In one implementation, the waveform file may be any audio file or video file with audio, but the application is not limited thereto.
For example, the waveform file may be implemented as the following code;
Figure BDA0003148061010000121
Figure BDA0003148061010000131
wherein, the waveform file definition explains:
TABLE 1 Metadata (Metadata)
Figure BDA0003148061010000132
As shown in table 1, the metadata in the waveform file includes basic information such as a version of the haptic effect, a file creation time, a description of the haptic effect, and the like.
TABLE 2 vibration mode (Pattern)
Figure BDA0003148061010000133
Figure BDA0003148061010000141
As shown in Table 2, the particular haptic effect of the waveform file is described by a pattern whose contents are one or more event arrays. Each event describes a vibration effect element and is non-overlapping. For the event vibration effect unit, type describes a vibration effect type. The method comprises two types: continuous vibration type "continuous", short-time vibration type "instantaneous"; "Relativetime" is the relative start time, which takes the value of an integer, and the unit is microsecond; "Duration" is a Duration, which takes the value of an integer, and has units of microseconds; "Parameters" includes the vibration intensity (intensity), vibration frequency (frequency), and "Curve" curves. Wherein, for the "intensity" and "frequency" in the "Parameters", the values are integers, and the gas quality range is [0,100]; for the "Curve in" Parameters ", it can be implemented as array Parameters, which are used to describe the dynamic vibration effect Curve of continuous vibration, and implement smooth transition of dynamic change effect, and it is provided with a starting point and an end point. In a specific implementation, the "Curve may be set with Time (Time)," Intensity "and" Frequency ", which may be used to correct" Intensity "and" Frequency "in" Parameters "; wherein "Time" can be the relative Time of the event, the value range of "Intensity" in "Curve is [0,1], and multiplies with" Intensity "in" Parameters "to obtain the corrected vibration Intensity; the value range of the Frequency in the 'Curve' Curve is [ -Frequency,100-Frequency ], and the Frequency is added with the Frequency in the 'Parameters' to obtain the corrected vibration Frequency; based on this, the corrected "intensity" and "frequency" can be obtained for different times to achieve smooth transition of the dynamically changing effect. Optionally, the corrected vibration frequency value does not exceed [0-100].
In some embodiments, the S230 may include:
if the electronic equipment is in the applicable scene, driving the built-in motor through the vibration waveform controlled by the vibration effect parameter; or, in response to an operation triggered by the user on the display interface for instructing the electronic device to feed back the vibration effect of the built-in motor, driving the built-in motor by the vibration waveform controlled by the vibration effect parameter.
In other words, in the case where the electronic device is in the applicable scene, or in the case where the vibration effect of the vibration effect parameter needs to be fed back to the user, the built-in motor is driven by the vibration waveform controlled by the vibration effect parameter. Equivalently, when the user adjusts or sets the vibration effect parameter, the vibration waveform controlled by the vibration effect parameter set by the user is directly played, that is, the vibration waveform (i.e., waveform file) can be played according to the vibration effect parameter, so that the vibration control effect of the vibration effect parameter is fed back to the user in real time.
In some embodiments, the S210 may include:
responding to an operation triggered by the user on a display interface and used for indicating to acquire the vibration effect parameter, and displaying a hidden area in the display interface;
and acquiring the vibration effect parameter in response to the operation performed by the user in the hidden area.
In other words, in a case where the electronic device receives the information indicating that the vibration effect parameter is acquired, the vibration effect parameter is acquired in response to an operation performed by the user within the hidden area.
Fig. 10 is a schematic block diagram of a display interface 540 with a hidden area displayed according to an embodiment of the present application. As shown in fig. 10, the display interface 540 displays a vibration switch, and when the vibration switch is in an on state, an area for a user to input a vibration effect parameter in the display interface, that is, the hidden area, for example, multiple gear identifiers are displayed in the hidden area, and the multiple gear identifiers may be off, low, medium, and high. At this time, the selected gear identification may be determined in response to a pressing operation performed by the user in the hidden area. It should be noted that fig. 10 is only an example of the present application and should not be construed as limiting the present application. For example, in other alternative embodiments, the hidden area may be provided in other shapes, such as a cylinder; even further, the hidden area may be disposed within any visible area of the display interface 530.
In some embodiments, the vibration scaling parameter at least includes at least one of a vibration intensity and a vibration frequency, the vibration intensity ranges from 1 to 255, and the vibration frequency ranges from 1% to 100%.
In one implementation, the intensity parameter in the second vibration parameter is equal to a product of the intensity parameter in the first vibration parameter and a first ratio, where the first ratio is a ratio of the vibration intensity to 255. In one implementation, a frequency parameter of the second pair of parameters is equal to a product of a frequency parameter of the first vibration parameter and the vibration frequency.
Of course, in other alternative embodiments, the vibration intensity may range from 1/255 to 255/255.
In some embodiments, optionally, the vibration effect parameter further comprises at least one of the following parameters: the cycle number is an integer, and the cycle interval ranges from 0 to 1000ms.
In other words, the vibration effect parameter comprises at least one of the following parameters: cycle number, cycle interval, vibration intensity, and vibration frequency. Optionally, the value of the cycle number is an integer. For example, 1 indicates no cycles, and a value greater than 1 indicates the number of cycles. As another example, the preset value represents an infinite loop, such as-1. Optionally, the cyclic interval may refer to an interval between two adjacent vibration plays; the value of the cycle interval ranges from 0 to 1000ms. Optionally, the value of the vibration intensity ranges from 1 to 255. Optionally, the value range of the vibration intensity is 1/255 to 255/255. In other words, the vibration intensity of the preset vibration waveform is finely adjusted by 1/255 of the particles. Where 1 indicates the minimum vibration intensity and 255 indicates the maximum vibration intensity. Optionally, the value range of the vibration intensity may be a parameter of the built-in motor related to the vibration intensity, and the parameter is used to modify the HE file and perform overall intensity signal adjustment and/or scaling. Optionally, the value range of the vibration frequency is 1% to 100%. Namely, the fine adjustment is performed for the vibration frequency of the vibration waveform with 1/100 of the particles. Where 1 represents the minimum vibration frequency and 100 represents the maximum vibration frequency. Optionally, the value range of the vibration frequency may be a parameter of the built-in motor related to the vibration frequency, and the parameter is used as a percentage for modifying the HE file and performing adjustment and/or scaling on the overall frequency signal.
In other words, the vibration effect parameters may include the following parameters:
cycle number @ param loop: the number of cycles is an integer. For example, 1 indicates no cycles, and a value greater than 1 indicates the number of cycles. As another example, the preset value represents an infinite loop, such as-1.
Cycle interval @ param interval: can refer to the interval between two adjacent vibration plays; the value of the cycle interval ranges from 0 to 1000ms.
Vibration intensity @ param amplitude: optionally, the value of the vibration intensity ranges from 1 to 255. Optionally, the value range of the vibration intensity is 1/255 to 255/255. In other words, the vibration intensity of the preset vibration waveform is finely adjusted by 1/255 of the particles. Where 1 indicates the minimum vibration intensity and 255 indicates the maximum vibration intensity. Optionally, the value range of the vibration intensity may be a parameter of the built-in motor related to the vibration intensity, and the parameter is used to modify the HE file and perform overall intensity signal adjustment and/or scaling.
Vibration frequency @ param freq: the value range of the vibration frequency is 1-100%. Namely, the fine adjustment is performed for the vibration frequency of the vibration waveform with 1/100 of the particles. Where 1 represents the minimum vibration frequency and 100 represents the maximum vibration frequency. Optionally, the value range of the vibration frequency may be a parameter of the built-in motor related to the vibration frequency, and the parameter is used as a percentage for modifying the HE file and performing adjustment and/or scaling on the overall frequency signal.
As a specific example, it is assumed that the vibration scaling parameter includes a vibration intensity and a vibration frequency, the vibration intensity has a value of 10, and the vibration frequency has a value in a range of 5%. It is assumed that the first vibration parameter includes a preset vibration intensity and a preset vibration frequency, that is, the vibration parameter preset in the application includes a preset vibration intensity and a preset vibration frequency, where the preset vibration intensity is M and the preset vibration frequency is N. At this time, the first vibration parameter in the application can be zoomed based on the vibration zooming parameter to obtain a second vibration parameter; for example, the second vibration parameter may include a scaled vibration intensity and a scaled vibration frequency. For example, the scaled vibration intensity may be M × 10/255 and the scaled vibration frequency may be 5% × N. Of course, 10 and 5% are merely examples of vibration intensity and vibration frequency and should not be construed as limiting the present application.
At this time, the vibration playback interface referred to above may be implemented as interface 1, interface 2, or interface 3.
Wherein, interface 1: designed to support settings of cycle, intensity, frequency simultaneously. For example, interface 1 may be implemented as the following code: public void start (int loop, int interval, int amplitude, int freq) { }. Interface 1: designed to support the setting of the vibration intensity alone. For example, interface 2 may be implemented as the following code: public void update amplitude (int amplitude) { }. Interface 1: designed to support the setting of the vibration frequency alone. For example, the interface may be implemented as the following code: public void update frequency (int freq) { }.
In short, by setting at least one of the number of cycles, the cycle interval, the vibration intensity, and the vibration frequency, the flexible design of application design development and the vibration effect can be realized, and then the vibration effect which can be autonomously adjusted by the user can be realized.
Of course, in other alternative embodiments, the vibration effect parameter may also include other types of parameters, and the value ranges of the above parameters are only examples of the present application and should not be construed as limiting the present application.
The preferred embodiments of the present application have been described in detail with reference to the accompanying drawings, however, the present application is not limited to the details of the above embodiments, and various simple modifications can be made to the technical solution of the present application within the technical idea of the present application, and these simple modifications are all within the protection scope of the present application. For example, the various features described in the foregoing detailed description may be combined in any suitable manner without contradiction, and various combinations that may be possible are not described in this application in order to avoid unnecessary repetition. For example, various embodiments of the present application may be arbitrarily combined with each other, and the same should be considered as the disclosure of the present application as long as the concept of the present application is not violated.
It should also be understood that, in the various method embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply any order of execution, and the order of execution of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation processes of the embodiments of the present application.
The method provided by the embodiment of the present application is explained above, and the device provided by the embodiment of the present application is explained below.
Fig. 11 is a schematic block diagram of a haptic vibration control apparatus 600 provided in an embodiment of the present application. The tactile vibration control apparatus 600 is suitable for an electronic device provided with a built-in motor.
As shown in fig. 11, the haptic vibration control apparatus 600 may include:
an obtaining unit 610, configured to obtain a vibration effect parameter in response to an operation performed by a user on a display interface, where the vibration effect parameter includes at least a vibration scaling parameter;
the processing unit 620 is configured to scale a first vibration parameter in an application according to the vibration scaling parameter to obtain a second vibration parameter;
a driving unit 630, configured to drive the built-in motor through the second vibration parameter, so as to control a vibration effect of the electronic device.
In some embodiments, the obtaining unit 610 may be specifically configured to:
determining one or more applicable scenarios;
and for the one or more applicable scenes, responding to the operation performed by the user on the display interface, and acquiring the vibration effect parameter.
In some implementations, the display interface displays a plurality of gear identifiers; the obtaining unit 610 may be specifically configured to:
responding to the pressing operation performed by the user on the selected gear identification, and acquiring the selected gear identified by the selected gear identification;
and determining the selected gear as the vibration effect parameter.
In some implementations, the display interface includes a display area on which the parameter is displayed; the obtaining unit 610 may be specifically configured to:
in response to a sliding operation performed by the user in the display area, changing a parameter in the display area and acquiring a selected parameter when the sliding operation is stopped;
and determining the selected parameter as the vibration effect parameter.
In some implementations, the display interface displays a progress bar; the obtaining unit 610 may be specifically configured to:
responding to the sliding operation executed by the user in the area where the progress bar is located, changing the progress parameters of the progress bar and acquiring the selected progress parameters when the sliding operation is stopped;
and determining the selected progress parameter as the vibration effect parameter.
In some embodiments, the display interface displays a plurality of scene identifiers; the obtaining unit 610 may be specifically configured to:
determining one or more applicable scenarios;
for each applicable scene in the one or more applicable scenes, in response to an operation for indicating scene matching triggered by the user on the display interface, searching parameters matched with the applicable scene in a database, wherein the database comprises at least one scene and at least one parameter, the at least one scene is respectively matched with the at least one parameter, and the at least one scene comprises the applicable scene;
in some embodiments, the obtaining unit 610 may be specifically configured to:
responding to an operation triggered by the user on a display interface and used for indicating to acquire the vibration effect parameter, and displaying a hidden area in the display interface;
and acquiring the vibration effect parameter in response to the operation performed by the user in the hidden area.
In some embodiments, the obtaining unit 610 may be specifically configured to:
responding to an operation which is triggered by the user on the display interface and used for requesting the vibration effect parameter, and sending a vibration effect request to a cloud server, wherein the vibration effect request is used for requesting the vibration effect parameter; and receiving the vibration effect parameter fed back by the cloud server. For example, after an applicable scene is determined, for the applicable scene, in response to an operation triggered on the display interface by the user to request a vibration effect parameter for the applicable scene, sending a vibration effect request to a cloud server, where the vibration effect request is used to request a vibration effect parameter applicable to the applicable scene; and receiving the vibration effect parameters of the applicable scene fed back by the cloud server.
And determining the parameter matched with the applicable scene as the vibration effect parameter.
In some embodiments, the processing unit 620 may be specifically configured to:
obtaining the first vibration waveform from the application;
calling a vibration playing interface of the application, and zooming the first vibration waveform through a vibration zooming parameter in the vibration effect parameter to obtain a second vibration waveform;
converting the second vibration waveform and the vibration effect parameter into waveform data and parameter data which can be identified by the electronic equipment respectively;
the waveform data and the parameter data are transmitted to a system interface of the electronic device to drive the built-in motor to vibrate based on the waveform data controlled by the parameter data.
In some embodiments, the vibration scaling parameter at least includes at least one of a vibration intensity and a vibration frequency, the vibration intensity ranges from 1 to 255, and the vibration frequency ranges from 1% to 100%.
In some embodiments, the vibration effect parameters further comprise at least one of the following parameters: the cycle times and the cycle intervals, wherein the value of the cycle times is an integer, and the value range of the cycle intervals is 0-1000 ms.
It is to be understood that apparatus embodiments and method embodiments may correspond to one another and that similar descriptions may refer to method embodiments. To avoid repetition, further description is omitted here. Specifically, the tactile vibration control apparatus 600 may correspond to a corresponding main body for executing the methods 200 to 400 of the embodiment of the present application, and each unit in the tactile vibration control apparatus 600 is not described herein again for brevity in order to implement the corresponding flow in the methods 200 to 400.
It should also be understood that the respective units in the haptic vibration control apparatus 600 according to the embodiment of the present application may be respectively or entirely combined into one or several additional units, or some unit(s) thereof may be further split into multiple functionally smaller units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the tactile vibration control device 600 may also include other units, and in practical applications, these functions may also be implemented by the assistance of other units, and may be implemented by the cooperation of multiple units. According to another embodiment of the present application, the haptic vibration control apparatus 600 according to the embodiment of the present application may be configured by running a computer program (including program codes) capable of executing the steps involved in the corresponding method on a general-purpose computing device including a general-purpose computer such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read only storage medium (ROM), and the like, and a storage element, and the haptic vibration control method according to the embodiment of the present application may be implemented. The computer program may be loaded on a computer-readable storage medium, for example, and loaded in an electronic device through the computer-readable storage medium, and executed therein, to implement the corresponding methods of the embodiments of the present application.
In other words, the above-mentioned units may be implemented in hardware, may be implemented by instructions in software, and may also be implemented in a combination of hardware and software. Specifically, the steps of the method embodiments in the present application may be implemented by integrated logic circuits of hardware in a processor and/or instructions in the form of software, and the steps of the method disclosed in conjunction with the embodiments in the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software in the decoding processor. Alternatively, the software may reside in random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, registers, and the like, as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps in the above method embodiments in combination with hardware thereof.
Fig. 12 is a schematic structural diagram of an electronic device 700 provided in an embodiment of the present application.
As shown in fig. 12, the electronic device 700 includes at least a processor 710 and a computer-readable storage medium 720. The processor 710 and the computer-readable storage medium 720 may be connected by a bus or other means. The computer-readable storage medium 720 is used to store a computer program 721, the computer program 721 comprising computer instructions, the processor 710 being used to execute the computer instructions stored by the computer-readable storage medium 720. The processor 710 is the computational core and control core of the electronic device 700 and is adapted to implement one or more computer instructions, in particular to load and execute the one or more computer instructions to implement a corresponding method flow or a corresponding function.
By way of example, processor 710 may also be referred to as a Central Processing Unit (CPU). Processor 710 may include, but is not limited to: general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like.
By way of example, computer-readable storage medium 720 may be a high-speed RAM memory, or may be a Non-volatile memory (Non-volatile memory), such as at least one disk memory; optionally, at least one computer-readable storage medium may be located remotely from the processor 710. In particular, computer-readable storage media 720 includes, but is not limited to: volatile memory and/or non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
As shown in fig. 12, the electronic device 700 may also include a transceiver 730.
The processor 710 may control the transceiver 730 to communicate with other devices, and in particular, may transmit information or data to the other devices or receive information or data transmitted by the other devices. The transceiver 730 may include a transmitter and a receiver. The transceiver 730 may further include antennas, which may be one or more in number.
It should be understood that the various components in the communication device 700 are connected by a bus system that includes a power bus, a control bus, and a status signal bus in addition to a data bus.
In one implementation, the electronic device 700 may be any electronic device with a built-in motor; the computer readable storage medium 720 has first computer instructions stored therein; the first computer instructions stored in the computer readable storage medium 720 are loaded and executed by the processor 710 to implement the corresponding steps in the method embodiments shown in fig. 4-6; in a specific implementation, the first computer instruction in the computer-readable storage medium 720 is loaded by the processor 710 and performs the corresponding steps, which are not described herein again to avoid repetition.
According to another aspect of the present application, a computer-readable storage medium (Memory) is provided, which is a Memory device in the electronic device 700 and is used for storing programs and data. Such as computer-readable storage medium 720. It is understood that the computer readable storage medium 720 herein may comprise both built-in storage media in the electronic device 700 and, of course, extended storage media supported by the electronic device 700. The computer readable storage medium provides a storage space that stores an operating system of the electronic device 700. Also stored in the memory space are one or more computer instructions, which may be one or more computer programs 721 (including program code), suitable for loading and execution by the processor 710.
According to another aspect of the present application, the embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions, which are stored in a computer-readable storage medium. Such as computer program 721. At this time, the data processing apparatus 700 may be a computer, the processor 710 reads the computer instructions from the computer-readable storage medium 720, and the processor 710 executes the computer instructions, so that the computer performs the haptic vibration control method provided in the various alternatives described above.
In other words, when implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes of the embodiments of the present application are executed in whole or in part or the functions of the embodiments of the present application are implemented. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.).
Those of ordinary skill in the art will appreciate that the various illustrative elements and process steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Finally, it should be noted that the above mentioned embodiments are only specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A haptic vibration control method applicable to an electronic device provided with a built-in motor, the method comprising:
responding to an operation executed by a user on a display interface, and acquiring a vibration effect parameter, wherein the vibration effect parameter at least comprises a vibration zooming parameter;
zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter;
and driving the built-in motor through the second vibration parameter so as to control the vibration effect of the electronic equipment.
2. The method of claim 1, wherein obtaining the vibration effect parameter in response to an operation performed by a user on a display interface comprises:
determining one or more applicable scenarios;
and for the one or more applicable scenes, responding to the operation executed by the user on the display interface to acquire the vibration effect parameters.
3. The method according to claim 2, wherein the applicable scene is a game virtual scene, and the first vibration parameter comprises a vibration waveform parameter preset in the application.
4. The method according to claim 1, wherein the display interface displays a plurality of gear identifiers;
the obtaining of the vibration effect parameter in response to an operation performed by a user on the display interface includes:
responding to the pressing operation performed by the user on the selected gear identification, and acquiring the selected gear identified by the selected gear identification;
and determining the selected gear as the vibration effect parameter.
5. The method of claim 1, wherein the display interface comprises a display area on which parameters are displayed;
the obtaining of the vibration effect parameter in response to an operation performed by a user on the display interface includes: the method comprises the following steps:
in response to a sliding operation performed by the user in the display area, changing a parameter within the display area and acquiring a selected parameter when the sliding operation is stopped;
and determining the selected parameter as the vibration effect parameter.
6. The method of claim 1, wherein the display interface displays a progress bar;
the obtaining of the vibration effect parameter in response to an operation performed by a user on the display interface includes: responding to the sliding operation executed by the user in the area where the progress bar is located, changing the progress parameters of the progress bar and acquiring the selected progress parameters when the sliding operation is stopped;
and determining the selected progress parameter as the vibration effect parameter.
7. The method of claim 1, wherein the display interface displays a plurality of scene identifiers;
wherein, the obtaining of the vibration effect parameter in response to the operation executed by the user on the display interface includes:
determining one or more applicable scenarios;
for each applicable scene in the one or more applicable scenes, in response to an operation triggered by the user on the display interface for indicating scene matching, searching parameters matched with the applicable scene in a database, wherein the database comprises at least one scene and at least one parameter, the at least one scene is respectively matched with the at least one parameter, and the at least one scene comprises the applicable scene;
and determining the parameters matched with the applicable scene as the vibration effect parameters.
8. The method of claim 1, wherein obtaining the vibration effect parameter in response to an operation performed by a user on a display interface comprises:
responding to an operation triggered by the user on a display interface and used for indicating to acquire the vibration effect parameters, and displaying a hidden area in the display interface;
and responding to the operation performed by the user in the hidden area, and acquiring the vibration effect parameter.
9. The method of claim 1, wherein obtaining the vibration effect parameter in response to an operation performed by a user on a display interface comprises:
responding to an operation triggered on the display interface by the user and used for requesting the vibration effect parameters, and sending a vibration effect request to a cloud server, wherein the vibration effect request is used for requesting the vibration effect parameters;
and receiving the vibration effect parameters fed back by the cloud server.
10. The method according to any one of claims 1 to 9, wherein scaling the first vibration waveform parameter in an application by the vibration scaling parameter to obtain a second vibration waveform comprises:
obtaining the first vibration waveform from the application;
calling a vibration playing interface of the application, and zooming the first vibration waveform through a vibration zooming parameter in the vibration effect parameters to obtain a second vibration waveform;
converting the second vibration waveform and the vibration effect parameter into waveform data and parameter data which can be identified by the electronic equipment respectively;
transmitting the waveform data and parameter data to a system interface of the electronic device to drive the built-in motor to vibrate based on the waveform data controlled by the parameter data.
11. The method according to any one of claims 1 to 9, wherein the vibration scaling parameter at least includes at least one of vibration intensity and vibration frequency, the vibration intensity is in a range of 1 to 255, and the vibration frequency is in a range of 1% to 100%.
12. The method of claim 11, wherein the vibration effect parameters further comprise at least one of: the circulation time and the circulation interval, wherein the value of the circulation time is an integer, and the value range of the circulation interval is 0-1000 ms.
13. A tactile vibration control apparatus adapted to an electronic device provided with a built-in motor, comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for responding to the operation executed by a user on a display interface and acquiring vibration effect parameters, and the vibration effect parameters at least comprise vibration zooming parameters;
the processing unit is used for zooming the first vibration parameter in an application through the vibration zooming parameter to obtain a second vibration parameter;
and the driving unit is used for driving the built-in motor through the second vibration parameter so as to control the vibration effect of the electronic equipment.
14. An electronic device, comprising:
a processor adapted to execute a computer program;
a computer-readable storage medium, in which a computer program is stored which, when executed by the processor, implements the haptic vibration control method according to any one of claims 1 to 12.
15. A computer-readable storage medium characterized by storing a computer program for causing a computer to execute the haptic vibration control method according to any one of claims 1 to 12.
CN202110756924.4A 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium Active CN115586829B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202311558219.9A CN117492570A (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium
CN202110756924.4A CN115586829B (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110756924.4A CN115586829B (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202311558219.9A Division CN117492570A (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium

Publications (2)

Publication Number Publication Date
CN115586829A true CN115586829A (en) 2023-01-10
CN115586829B CN115586829B (en) 2023-10-20

Family

ID=84772605

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311558219.9A Pending CN117492570A (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium
CN202110756924.4A Active CN115586829B (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202311558219.9A Pending CN117492570A (en) 2021-07-05 2021-07-05 Haptic vibration control method, haptic vibration control device, electronic apparatus, and storage medium

Country Status (1)

Country Link
CN (2) CN117492570A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160310844A1 (en) * 2015-04-21 2016-10-27 Nintendo Co., Ltd. Storage medium having stored therein vibration signal generation program, vibration signal generation system, vibration signal generation apparatus, vibration signal generation method, and storage medium having stored therein data output program
US20180028911A1 (en) * 2016-07-26 2018-02-01 Nintendo Co., Ltd. Vibration control system, vibration control method, and non-transitory computer-readable storage medium with executable vibration control program stored thereon
JP2018020088A (en) * 2016-07-26 2018-02-08 任天堂株式会社 Vibration control system, vibration control method and vibration control program
CN109213319A (en) * 2018-08-04 2019-01-15 瑞声科技(新加坡)有限公司 Vibrational feedback method and mobile terminal based on scene
CN111552377A (en) * 2020-03-30 2020-08-18 瑞声科技(新加坡)有限公司 Method, device and equipment for generating vibration signal and storage medium
CN111580647A (en) * 2020-04-23 2020-08-25 瑞声科技(新加坡)有限公司 Vibration driving signal generation method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160310844A1 (en) * 2015-04-21 2016-10-27 Nintendo Co., Ltd. Storage medium having stored therein vibration signal generation program, vibration signal generation system, vibration signal generation apparatus, vibration signal generation method, and storage medium having stored therein data output program
US20180028911A1 (en) * 2016-07-26 2018-02-01 Nintendo Co., Ltd. Vibration control system, vibration control method, and non-transitory computer-readable storage medium with executable vibration control program stored thereon
JP2018020088A (en) * 2016-07-26 2018-02-08 任天堂株式会社 Vibration control system, vibration control method and vibration control program
CN109213319A (en) * 2018-08-04 2019-01-15 瑞声科技(新加坡)有限公司 Vibrational feedback method and mobile terminal based on scene
CN111552377A (en) * 2020-03-30 2020-08-18 瑞声科技(新加坡)有限公司 Method, device and equipment for generating vibration signal and storage medium
CN111580647A (en) * 2020-04-23 2020-08-25 瑞声科技(新加坡)有限公司 Vibration driving signal generation method and device and electronic equipment

Also Published As

Publication number Publication date
CN115586829B (en) 2023-10-20
CN117492570A (en) 2024-02-02

Similar Documents

Publication Publication Date Title
US20200401286A1 (en) Method, apparatus and medium for switching application interfaces
CN103812761B (en) For using augmented reality to provide the device and method of social networking service
US20230319341A1 (en) Video processing method and device
CN111431734A (en) Network distribution method of intelligent equipment and related device
EP2706734A1 (en) Method and apparatus for executing application in device
CN111541945B (en) Video playing progress control method and device, storage medium and electronic equipment
CN111063353B (en) Client processing method allowing user-defined voice interactive content and user terminal
JP7311707B2 (en) Human-machine interaction processing method
CN108632140A (en) A kind of sound processing system, method and server based on small routine
JP5524398B1 (en) Server device and game application program for providing online game
CN115543756A (en) Lamp effect display method, device and storage medium
CN115586829A (en) Haptic vibration control method, haptic vibration control device, electronic device, and storage medium
CN110442698B (en) Dialog content generation method and system
JP6434222B2 (en) Server device and game application program for providing online game
CN114363866B (en) Method and device for configuring scene mode of Bluetooth mesh network equipment and electronic device
CN107395493B (en) Method and device for sharing message based on intention
CN112820302B (en) Voiceprint recognition method, voiceprint recognition device, electronic equipment and readable storage medium
KR20060129892A (en) Apparatus and its method of controlling network game
CN112750435B (en) Smart home equipment synchronization method and device
CN112988552B (en) Application program testing method, device, equipment and storage medium
US9849373B2 (en) Game system, information processing device, and storage medium
CN112399259B (en) Progress bar control method of player
EP3674849A1 (en) Haptic effect signal processing
CN104902413A (en) Method, device and system for receiving bonus point through intelligent wireless microphone
EP4339766A1 (en) Harmony processing method and apparatus, device, and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40078752

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant