CN108377296B - Electronic device vibration control method, device, readable storage medium and electronic device - Google Patents
Electronic device vibration control method, device, readable storage medium and electronic device Download PDFInfo
- Publication number
- CN108377296B CN108377296B CN201810100238.XA CN201810100238A CN108377296B CN 108377296 B CN108377296 B CN 108377296B CN 201810100238 A CN201810100238 A CN 201810100238A CN 108377296 B CN108377296 B CN 108377296B
- Authority
- CN
- China
- Prior art keywords
- vibration
- bone conduction
- mode
- module
- conduction module
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 210000000988 bone and bone Anatomy 0.000 claims abstract description 70
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
- H04M19/047—Vibrating means for incoming calls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及一种电子设备震动控制方法、装置及电子设备。The present invention relates to the technical field of mobile terminals, and in particular, to a vibration control method, device and electronic device for electronic equipment.
背景技术Background technique
随着科技的不断进步,手机的功能也越来越强大。手机中设置高清的显示屏幕和音频解码芯片,为用户提供了良好的视觉和听觉体验。此外,还可以通过手机震动,为用户提供触觉体验,使得用户能够全方位地提升使用手机时的体验。目前,主要通过转子马达来驱动手机震动。但是,转子马达的震动强度是固定的,用户无法改变,缺少灵活性,并且转子马达启动时,会有一定的延迟,不能满足用户的使用需求。With the continuous advancement of technology, the functions of mobile phones are becoming more and more powerful. The high-definition display screen and audio decoding chip are set in the mobile phone, which provides users with a good visual and auditory experience. In addition, the mobile phone can also vibrate to provide the user with a tactile experience, so that the user can improve the experience of using the mobile phone in an all-round way. At present, the vibration of mobile phones is mainly driven by rotor motors. However, the vibration intensity of the rotor motor is fixed, which cannot be changed by the user, lacking flexibility, and there will be a certain delay when the rotor motor is started, which cannot meet the needs of the user.
发明内容SUMMARY OF THE INVENTION
本发明的目的旨在至少在一定程度上解决上述的技术问题之一。The purpose of the present invention is to solve one of the above-mentioned technical problems at least to a certain extent.
为此,本发明的第一个目的在于提出一种电子设备震动控制方法,震动强度方便可控,且成本更低。Therefore, the first objective of the present invention is to provide a vibration control method for electronic equipment, the vibration intensity is convenient and controllable, and the cost is lower.
本发明的第二个目的在于提出一种电子设备震动控制方法装置。The second object of the present invention is to provide a vibration control method and apparatus for electronic equipment.
本发明的第三个目的在于提出一种电子设备。The third object of the present invention is to provide an electronic device.
本发明的第四个目的在于提出一种计算机可读存储介质。A fourth object of the present invention is to provide a computer-readable storage medium.
为达上述目的,本发明第一方面实施例提出了一种电子设备震动控制方法,包括:In order to achieve the above purpose, a first aspect embodiment of the present invention provides a vibration control method for an electronic device, including:
接收触发震动的控制指令;Receive control commands that trigger vibration;
确定所述控制指令的来源信息;determining the source information of the control instruction;
当所述控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动;或者When the source information of the control command comes from the communication APP, the bone conduction module is controlled to vibrate in a micro-vibration mode; or
当所述控制指令的来源信息来自触摸屏时,则根据用户对所述触摸屏的触摸操作,控制所述骨传导模块进行相对应的震动。When the source information of the control instruction comes from the touch screen, the bone conduction module is controlled to vibrate correspondingly according to the user's touch operation on the touch screen.
可选的,在控制骨传导模块以微震模式进行震动之前,还包括:Optionally, before controlling the bone conduction module to vibrate in the micro-vibration mode, the method further includes:
确定电子设备已开启所述微震模式。Make sure that the electronic device has the micro-vibration mode turned on.
可选的,在确定电子设备已开启所述微震模式之前,还包括:Optionally, before it is determined that the electronic device has turned on the micro-vibration mode, the method further includes:
设置所述微震模式。Set the microseismic mode.
可选的,控制骨传导模块以微震模式进行震动,包括:Optionally, control the bone conduction module to vibrate in a micro-vibration mode, including:
通过受话器驱动电路输出所述微震模式对应的预设波形,以驱动所述骨传导模块震动。A preset waveform corresponding to the micro-vibration mode is output through the receiver drive circuit to drive the bone conduction module to vibrate.
可选的,在控制骨传导模块以微震模式进行震动之后,还包括:Optionally, after the bone conduction module is controlled to vibrate in a micro-vibration mode, the method further includes:
接收停止震动指令,根据所述停止震动指令控制所述骨传导模块停止震动。A stop vibration instruction is received, and the bone conduction module is controlled to stop vibration according to the stop vibration instruction.
可选的,在接收停止震动指令之前,还包括:Optionally, before receiving the instruction to stop the vibration, the method further includes:
接收预设操作,根据所述预设操作生成所述停止震动指令;或者receiving a preset operation, and generating the stop vibration instruction according to the preset operation; or
判断是否达到停止震动条件,如果达到所述停止震动条件,则生成所述停止震动指令。It is judged whether the stop vibration condition is reached, and if the stop vibration condition is reached, the stop vibration instruction is generated.
本发明实施例的电子设备震动控制方法,通过接收触发震动的控制指令,并确定所述控制指令的来源信息,当所述控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动,或者当所述控制指令的来源信息来自触摸屏时,则根据用户对所述触摸屏的触摸操作,控制所述骨传导模块进行相对应的震动,在电子设备中增加体积较小的骨传导模块,代替尺寸更大的更昂贵的马达,震动强度方便可控,且成本更低。利用骨传导技术产生震动,避免了传统的马达启动的延迟现象。In the vibration control method of an electronic device according to the embodiment of the present invention, by receiving a control command that triggers vibration and determining the source information of the control command, when the source information of the control command comes from a communication APP, the bone conduction module is controlled to operate in a micro-vibration mode. Vibrate, or when the source information of the control command comes from the touch screen, control the bone conduction module to perform corresponding vibration according to the user's touch operation on the touch screen, and add a small bone conduction in the electronic device. Modules, instead of larger and more expensive motors, are easily controllable in vibration intensity and cost less. The bone conduction technology is used to generate vibration, which avoids the delay of traditional motor startup.
本发明第二方面实施例提出了一种电子设备震动控制装置,包括:The embodiment of the second aspect of the present invention provides a vibration control device for electronic equipment, including:
接收模块,用于接收触发震动的控制指令;The receiving module is used to receive the control command that triggers the vibration;
第一确定模块,用于确定所述控制指令的来源信息;a first determining module, configured to determine the source information of the control instruction;
控制模块,用于当所述控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动;或者当所述控制指令的来源信息来自触摸屏时,则根据用户对所述触摸屏的触摸操作,控制所述骨传导模块进行相对应的震动。The control module is used to control the bone conduction module to vibrate in a micro-vibration mode when the source information of the control instruction comes from the communication APP; or when the source information of the control instruction comes from the touch screen, according to the user's response to the touch screen. Touch operation to control the bone conduction module to vibrate accordingly.
可选的,所述装置还包括:Optionally, the device further includes:
第二确定模块,用于在控制骨传导模块以微震模式进行震动之前,确定电子设备已开启所述微震模式。The second determining module is configured to determine that the electronic device has turned on the micro-vibration mode before controlling the bone conduction module to vibrate in the micro-vibration mode.
可选的,所述装置还包括:Optionally, the device further includes:
设置模块,用于在确定电子设备已开启所述微震模式之前,设置所述微震模式。A setting module, configured to set the microseismic mode before determining that the electronic device has turned on the microseismic mode.
可选的,所述控制模块,具体用于:Optionally, the control module is specifically used for:
通过受话器驱动电路输出所述微震模式对应的预设波形,以驱动所述骨传导模块震动。A preset waveform corresponding to the micro-vibration mode is output through the receiver drive circuit to drive the bone conduction module to vibrate.
可选的,所述装置还包括:Optionally, the device further includes:
停止模块,用于在控制骨传导模块以微震模式进行震动之后,接收停止震动指令,根据所述停止震动指令控制所述骨传导模块停止震动。The stop module is configured to receive a stop vibration instruction after controlling the bone conduction module to vibrate in a micro-vibration mode, and control the bone conduction module to stop vibration according to the stop vibration instruction.
可选的,所述装置还包括:Optionally, the device further includes:
生成模块,用于在接收停止震动指令之前,接收预设操作,根据所述预设操作生成所述停止震动指令;或者判断是否达到停止震动条件,如果达到所述停止震动条件,则生成所述停止震动指令。The generating module is configured to receive a preset operation before receiving the stop vibration instruction, and generate the stop vibration instruction according to the preset operation; or determine whether the stop vibration condition is reached, and if the stop vibration condition is reached, generate the Stop vibration command.
本发明实施例的电子设备震动控制装置,通过接收触发震动的控制指令,并确定所述控制指令的来源信息,当所述控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动,或者当所述控制指令的来源信息来自触摸屏时,则根据用户对所述触摸屏的触摸操作,控制所述骨传导模块进行相对应的震动,在电子设备中增加体积较小的骨传导模块,代替尺寸更大的更昂贵的马达,震动强度方便可控,且成本更低。利用骨传导技术产生震动,避免了传统的马达启动的延迟现象。The vibration control device for electronic equipment according to the embodiment of the present invention receives a control command that triggers vibration and determines the source information of the control command. When the source information of the control command comes from a communication APP, the bone conduction module is controlled to operate in a micro-vibration mode. Vibrate, or when the source information of the control command comes from the touch screen, control the bone conduction module to perform corresponding vibration according to the user's touch operation on the touch screen, and add a small bone conduction in the electronic device. Modules, instead of larger and more expensive motors, are easily controllable in vibration intensity and cost less. The bone conduction technology is used to generate vibration, which avoids the delay of traditional motor startup.
本发明第三方面实施例提出了一种电子设备,包括:The embodiment of the third aspect of the present invention provides an electronic device, including:
处理器;processor;
骨传导模块;以及bone conduction modules; and
存储器,用于存储所述处理器的可执行指令;a memory for storing executable instructions for the processor;
其中,所述处理器配置为经由执行所述可执行指令来执行第一方面实施例所述的电子设备震动控制方法。Wherein, the processor is configured to execute the electronic device vibration control method according to the embodiment of the first aspect by executing the executable instructions.
本发明第四方面实施例提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现第一方面实施例所述的电子设备震动控制方法。Embodiments of the fourth aspect of the present invention provide a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the electronic device vibration control method described in the first aspect of the invention is implemented.
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be set forth, in part, from the following description, and in part will be apparent from the following description, or may be learned by practice of the invention.
附图说明Description of drawings
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:
图1为本发明一实施例提出的电子设备震动控制方法的流程图;FIG. 1 is a flowchart of a vibration control method for an electronic device proposed by an embodiment of the present invention;
图2为本发明另一实施例提出的电子设备震动控制方法的流程图;2 is a flowchart of a vibration control method for an electronic device proposed by another embodiment of the present invention;
图3为本发明又一实施例提出的电子设备震动控制方法的流程图;3 is a flowchart of a method for controlling vibration of an electronic device according to another embodiment of the present invention;
图4为本发明再一实施例提出的电子设备震动控制方法的流程图;FIG. 4 is a flowchart of a vibration control method for an electronic device proposed by yet another embodiment of the present invention;
图5是根据本发明一个实施例的电子设备震动控制装置的结构框图;5 is a structural block diagram of a vibration control apparatus for electronic equipment according to an embodiment of the present invention;
图6是根据本发明另一个实施例的电子设备震动控制装置的结构框图;6 is a structural block diagram of a vibration control device for electronic equipment according to another embodiment of the present invention;
图7是根据本发明又一个实施例的电子设备震动控制装置的结构框图;7 is a structural block diagram of a vibration control apparatus for electronic equipment according to yet another embodiment of the present invention;
图8是根据本发明再一个实施例的电子设备震动控制装置的结构框图;8 is a structural block diagram of a vibration control apparatus for electronic equipment according to still another embodiment of the present invention;
图9是根据本发明一个具体实施例的电子设备震动控制装置的结构框图;9 is a structural block diagram of a vibration control device for electronic equipment according to a specific embodiment of the present invention;
图10为本发明一实施例提出的电子设备的结构框图。FIG. 10 is a structural block diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.
下面参考附图描述本发明实施例的电子设备震动控制方法、装置及电子设备。The following describes the vibration control method, device and electronic device for electronic equipment according to the embodiments of the present invention with reference to the accompanying drawings.
图1为本发明一实施例提出的电子设备震动控制方法的流程图。FIG. 1 is a flowchart of a vibration control method for an electronic device according to an embodiment of the present invention.
如图1所示,电子设备震动控制方法,包括以下步骤:As shown in Figure 1, the vibration control method of electronic equipment includes the following steps:
步骤101,接收触发震动的控制指令。Step 101: Receive a control instruction that triggers vibration.
当前,为了提升用户的使用体验,通常会在电子设备中设置一马达,通过马达带动手机震动,对用户进行提醒或进行触觉反馈。例如手机在震动模式下,收到短信,此时马达开始转动,以使手机能够震动,从而达到对用户进行提醒的目的。但是,转子马达的震动强度是固定的,例如在开会的时候,手机放在桌子上,震动会特别强烈,会对开会的进程产生不良的影响。然而用户却有无法改变震动的强度,缺少灵活性。并且转子马达启动时,会有一定的延迟,不能满足用户的使用需求。为此,本发明提出一种电子设备震动控制方法。Currently, in order to improve the user experience, a motor is usually provided in the electronic device, and the motor is used to drive the mobile phone to vibrate to remind the user or provide haptic feedback. For example, when the mobile phone is in the vibration mode and receives a short message, the motor starts to rotate at this time, so that the mobile phone can vibrate, so as to achieve the purpose of reminding the user. However, the vibration intensity of the rotor motor is fixed. For example, during a meeting, if the mobile phone is placed on the table, the vibration will be particularly strong, which will have an adverse effect on the process of the meeting. However, the user cannot change the intensity of the vibration and lack flexibility. And when the rotor motor starts, there will be a certain delay, which cannot meet the needs of users. To this end, the present invention provides a vibration control method for electronic equipment.
在本发明的一个实施例中,首先可接收触发震动的控制指令。例如,手机在震动模式下,收到一条信息,便可产生一个触发震动的控制指令,来控制手机开始震动。再例如:用户使用手机正在玩一款支持震动体验的游戏,用户在对触摸屏进行操作时,便会产生相应的震动控制指令,从而使得手机能够产生震动,对用户的操作进行反馈。In an embodiment of the present invention, a control command to trigger vibration may be received first. For example, when the mobile phone is in the vibration mode, when a message is received, a control command that triggers the vibration can be generated to control the mobile phone to start vibrating. Another example: a user is playing a game that supports vibration experience on a mobile phone. When the user operates the touch screen, a corresponding vibration control command will be generated, so that the mobile phone can vibrate and give feedback to the user's operation.
步骤102,确定控制指令的来源信息。Step 102: Determine the source information of the control instruction.
其中,控制指令的来源信息可来自多个类别的APP,如通信类的APP,微信、 qq、通话APP、短信APP等,也可以是游戏APP。当然,还可以是来自用户对触摸屏的触摸操作。The source information of the control instruction may come from multiple types of APPs, such as communication APPs, WeChat, qq, calling APPs, SMS APPs, etc., and may also be game APPs. Of course, it can also be a touch operation from the user on the touch screen.
步骤103,当控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动。
在本发明的一个实施例中,可通过受话器驱动电路输出微震模式对应的预设波形,以驱动骨传导模块震动。其中,骨传导模块输出的震动波形为预设波形。波形主要由振幅和频率确定。骨传导模块的震动模型是可以通过设置修改的,如改变振幅、改变频率等。而微震模式则为振幅较小的震动模式,从而可以防止在安静的环境下,突然震动给用户带来的困扰。In an embodiment of the present invention, a preset waveform corresponding to the micro-vibration mode can be outputted through the receiver drive circuit to drive the bone conduction module to vibrate. The vibration waveform output by the bone conduction module is a preset waveform. The waveform is mainly determined by amplitude and frequency. The vibration model of the bone conduction module can be modified by setting, such as changing the amplitude, changing the frequency, etc. The micro-vibration mode is a vibration mode with a smaller amplitude, which can prevent users from being troubled by sudden vibrations in a quiet environment.
步骤104,当控制指令的来源信息来自触摸屏时,则根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动。Step 104 , when the source information of the control instruction comes from the touch screen, control the bone conduction module to vibrate correspondingly according to the user's touch operation on the touch screen.
在本发明的一个实施例中,当控制指令的来源信息来自触摸屏时,可根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动。举例来说,用户在使用手机玩一款游戏时,为了增强游戏体验,可以在游戏的过程中实现震动的效果,从而对用户的操作进行反馈。用户通过触发触摸屏中显示的虚拟按键,或者游戏画面中被操控的车辆等撞到了障碍物等,都会产生震动的效果。In an embodiment of the present invention, when the source information of the control instruction comes from the touch screen, the bone conduction module can be controlled to vibrate correspondingly according to the user's touch operation on the touch screen. For example, when a user uses a mobile phone to play a game, in order to enhance the game experience, a vibration effect can be achieved during the game, so as to provide feedback on the user's operation. When a user triggers a virtual button displayed on the touch screen, or when a controlled vehicle in the game screen hits an obstacle, etc., a vibration effect will be generated.
本发明实施例的电子设备震动控制方法,通过接收触发震动的控制指令,并确定控制指令的来源信息,当控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动,或者当控制指令的来源信息来自触摸屏时,则根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动,在电子设备中增加体积较小的骨传导模块,代替尺寸更大的更昂贵的马达,震动强度方便可控,且成本更低。利用骨传导技术产生震动,避免了传统的马达启动的延迟现象。In the vibration control method for an electronic device according to the embodiment of the present invention, by receiving a control command that triggers vibration and determining the source information of the control command, when the source information of the control command comes from a communication APP, the bone conduction module is controlled to vibrate in a micro-vibration mode, or When the source information of the control command comes from the touch screen, the bone conduction module is controlled to vibrate correspondingly according to the user's touch operation on the touch screen, and a smaller bone conduction module is added to the electronic device to replace the larger and more expensive one. Motor, the vibration intensity is convenient and controllable, and the cost is lower. The bone conduction technology is used to generate vibration, which avoids the delay of traditional motor startup.
在本发明的另一个实施例中,如图2所示,电子设备震动控制方法还包括:In another embodiment of the present invention, as shown in FIG. 2 , the vibration control method for an electronic device further includes:
步骤105,在控制骨传导模块以微震模式进行震动之前,确定电子设备已开启微震模式。Step 105, before controlling the bone conduction module to vibrate in the micro-vibration mode, determine that the electronic device has turned on the micro-vibration mode.
具体地,在控制骨传导模块以微震模式进行震动之前,需要先确定电子设备已开启微震模式。如果未开启微震模式,则需要控制电子设备以当前的其他模式来进行震动或者响铃对用户进行提醒。Specifically, before controlling the bone conduction module to vibrate in the micro-vibration mode, it needs to be determined that the electronic device has turned on the micro-vibration mode. If the micro-vibration mode is not turned on, the electronic device needs to be controlled to vibrate or ring in other current modes to remind the user.
在本发明的又一个实施例中,如图3所示,电子设备震动控制方法还包括:In yet another embodiment of the present invention, as shown in FIG. 3 , the vibration control method for an electronic device further includes:
步骤106,在确定电子设备已开启微震模式之前,设置微震模式。Step 106 , before determining that the electronic device has turned on the microseismic mode, set the microseismic mode.
具体地,在确定电子设备已开启微震模式之前,需要先设置微震模式,即设定一个振幅较小的震动模式。使得用户可以在需要微震模式的时候,能够开启微震模式。Specifically, before it is determined that the electronic device has turned on the micro-vibration mode, the micro-vibration mode needs to be set first, that is, a vibration mode with a smaller amplitude is set. This enables the user to enable the microseismic mode when the microseismic mode is required.
在本发明的再一个实施例中,如图4所示,电子设备震动控制方法还包括:In yet another embodiment of the present invention, as shown in FIG. 4 , the vibration control method for an electronic device further includes:
步骤107,在控制骨传导模块以微震模式进行震动之后,接收停止震动指令,根据停止震动指令控制骨传导模块停止震动。Step 107 , after the bone conduction module is controlled to vibrate in the micro-vibration mode, a stop vibration instruction is received, and the bone conduction module is controlled to stop vibration according to the stop vibration instruction.
在本发明的一个实施例中,在接收停止震动指令之前,可先生成停止震动指令。具体可包括以下方式:In an embodiment of the present invention, before receiving the stop vibration instruction, the stop vibration instruction may be generated first. Specifically, it can include the following methods:
第一种方式:接收预设操作,根据预设操作生成停止震动指令。The first method: receiving a preset operation, and generating a stop vibration instruction according to the preset operation.
第二种方式:判断是否达到停止震动条件,如果达到停止震动条件,则生成停止震动指令。The second way: determine whether the stop vibration condition is reached, and if the stop vibration condition is reached, a stop vibration command is generated.
举例来说,手机当前正处于震动状态,此时用户可通过点击触摸屏上的虚拟按键,手动生成停止震动指令,以此控制手机停止震动;也可以通过计时器进行计时,等到震动时长达到5秒钟时,控制手机自动停止震动。For example, the mobile phone is currently in a vibrating state. At this time, the user can manually generate a stop vibration command by clicking the virtual button on the touch screen, so as to control the mobile phone to stop the vibration; or use a timer to count the time until the vibration duration reaches 5 seconds. When the clock is turned off, control the phone to automatically stop vibrating.
为了实现上述实施例,本发明还提出了一种电子设备震动控制装置,图5是根据本发明一个实施例的电子设备震动控制装置的结构框图,如图5所示,该装置包括接收模块510、第一确定模块520以及控制模块530。In order to realize the above embodiment, the present invention also proposes a vibration control apparatus for electronic equipment. FIG. 5 is a structural block diagram of the vibration control apparatus for electronic equipment according to an embodiment of the present invention. As shown in FIG. 5 , the apparatus includes a receiving module 510 , a first determination module 520 and a control module 530 .
其中,接收模块510,用于接收触发震动的控制指令。Among them, the receiving module 510 is used for receiving the control instruction that triggers the vibration.
第一确定模块520,用于确定控制指令的来源信息。The first determining module 520 is configured to determine source information of the control instruction.
控制模块530,用于当控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动;或者当控制指令的来源信息来自触摸屏时,则根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动。The control module 530 is used to control the bone conduction module to vibrate in a micro-vibration mode when the source information of the control instruction comes from the communication APP; or when the source information of the control instruction comes from the touch screen, control the bone conduction module according to the user's touch operation on the touch screen. The conduction module performs corresponding vibration.
如图6所示,本发明实施例的电子设备震动控制装置还可包括第二确定模块540。As shown in FIG. 6 , the electronic device vibration control apparatus according to the embodiment of the present invention may further include a second determination module 540 .
第二确定模块540,用于在控制骨传导模块以微震模式进行震动之前,确定电子设备已开启微震模式。The second determining module 540 is configured to determine that the electronic device has turned on the micro-vibration mode before controlling the bone conduction module to vibrate in the micro-vibration mode.
如图7所示,本发明实施例的电子设备震动控制装置还可包括设置模块550。As shown in FIG. 7 , the vibration control apparatus for electronic equipment according to the embodiment of the present invention may further include a setting module 550 .
设置模块550,用于在确定电子设备已开启微震模式之前,设置微震模式。The setting module 550 is configured to set the micro-seismic mode before determining that the electronic device has turned on the micro-seismic mode.
如图8所示,本发明实施例的电子设备震动控制装置还可包括停止模块560。As shown in FIG. 8 , the vibration control apparatus for electronic equipment according to the embodiment of the present invention may further include a stop module 560 .
停止模块560,用于在控制骨传导模块以微震模式进行震动之后,接收停止震动指令,根据停止震动指令控制骨传导模块停止震动。The stop module 560 is configured to receive a stop vibration instruction after controlling the bone conduction module to vibrate in a micro-vibration mode, and control the bone conduction module to stop vibration according to the stop vibration instruction.
如图9所示,本发明实施例的电子设备震动控制装置还可包括生成模块570。As shown in FIG. 9 , the electronic device vibration control apparatus according to the embodiment of the present invention may further include a generating module 570 .
生成模块570,用于在接收停止震动指令之前,接收预设操作,根据预设操作生成停止震动指令;或者判断是否达到停止震动条件,如果达到停止震动条件,则生成停止震动指令。The generating module 570 is configured to receive a preset operation before receiving the stop vibration instruction, and generate the stop vibration instruction according to the preset operation; or determine whether the stop vibration condition is reached, and if the stop vibration condition is reached, generate the stop vibration instruction.
需要说明的是,前述对电子设备震动控制方法的解释说明,也适用于本发明实施例的电子设备震动控制装置,本发明实施例中未公布的细节,在此不再赘述。It should be noted that the foregoing explanation of the vibration control method for electronic equipment is also applicable to the vibration control device for electronic equipment in the embodiments of the present invention, and details that are not disclosed in the embodiments of the present invention will not be repeated here.
本发明实施例的电子设备震动控制装置,通过接收触发震动的控制指令,并确定控制指令的来源信息,当控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动,或者当控制指令的来源信息来自触摸屏时,则根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动,在电子设备中增加体积较小的骨传导模块,代替尺寸更大的更昂贵的马达,震动强度方便可控,且成本更低。利用骨传导技术产生震动,避免了传统的马达启动的延迟现象。The vibration control device for electronic equipment according to the embodiment of the present invention receives a control command that triggers vibration and determines the source information of the control command. When the source information of the control command comes from a communication APP, the bone conduction module is controlled to vibrate in a micro-vibration mode, or When the source information of the control command comes from the touch screen, the bone conduction module is controlled to vibrate correspondingly according to the user's touch operation on the touch screen, and a smaller bone conduction module is added to the electronic device to replace the larger and more expensive one. Motor, the vibration intensity is convenient and controllable, and the cost is lower. The bone conduction technology is used to generate vibration, which avoids the delay of traditional motor startup.
为了实现上述实施例,本发明还提出了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现本发明第一方面实施例的电子设备震动控制方法。In order to realize the above-mentioned embodiments, the present invention also provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the electronic device vibration control according to the first aspect of the present invention is realized. method.
为了实现上述实施例,本发明还提出了一种电子设备。In order to realize the above embodiments, the present invention also provides an electronic device.
如图10所示,电子设备900包括处理器910、骨传导模块920、存储器930及存储在存储器上并可在处理器上运行的计算机程序901,处理器用于执行本发明第一方面实施例的电子设备震动控制方法。As shown in FIG. 10 , the
例如,计算机程序可被处理器执行以完成以下步骤的电子设备震动控制方法:For example, a computer program can be executed by a processor to implement a vibration control method for electronic equipment of the following steps:
步骤101’,接收触发震动的控制指令。Step 101', receiving a control command that triggers vibration.
步骤102’,确定控制指令的来源信息。Step 102', determining the source information of the control instruction.
步骤103’,当控制指令的来源信息来自通信APP时,则控制骨传导模块以微震模式进行震动。Step 103', when the source information of the control instruction comes from the communication APP, the bone conduction module is controlled to vibrate in a micro-vibration mode.
步骤104’,当控制指令的来源信息来自触摸屏时,则根据用户对触摸屏的触摸操作,控制骨传导模块进行相对应的震动。Step 104', when the source information of the control instruction comes from the touch screen, control the bone conduction module to vibrate correspondingly according to the user's touch operation on the touch screen.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of the invention includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present invention belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器 (RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as may be done, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary process to obtain the program electronically and then store it in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention may be implemented in hardware, software, firmware or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one of the following techniques known in the art, or a combination thereof: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , including one or a combination of the steps of the method embodiment.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Embodiments are subject to variations, modifications, substitutions and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810100238.XA CN108377296B (en) | 2018-02-01 | 2018-02-01 | Electronic device vibration control method, device, readable storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810100238.XA CN108377296B (en) | 2018-02-01 | 2018-02-01 | Electronic device vibration control method, device, readable storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108377296A CN108377296A (en) | 2018-08-07 |
CN108377296B true CN108377296B (en) | 2020-12-01 |
Family
ID=63017082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810100238.XA Expired - Fee Related CN108377296B (en) | 2018-02-01 | 2018-02-01 | Electronic device vibration control method, device, readable storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108377296B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357361A (en) * | 2014-08-22 | 2016-02-24 | 志丰电子股份有限公司 | Pronunciation or vibration device and method for handheld electronic device |
CN106020483A (en) * | 2016-05-30 | 2016-10-12 | 京东方科技集团股份有限公司 | A head-mounted smart device |
CN106686231A (en) * | 2016-12-27 | 2017-05-17 | 广东小天才科技有限公司 | Message playing method of wearable device and wearable device |
CN206342050U (en) * | 2016-12-01 | 2017-07-21 | 歌尔科技有限公司 | A kind of Intelligent worn device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006059679A1 (en) * | 2004-12-02 | 2006-06-08 | Matsushita Electric Industrial Co., Ltd. | Portable terminal apparatus |
CN107423144A (en) * | 2017-07-05 | 2017-12-01 | 宇龙计算机通信科技(深圳)有限公司 | Information prompting method and electronic equipment |
-
2018
- 2018-02-01 CN CN201810100238.XA patent/CN108377296B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357361A (en) * | 2014-08-22 | 2016-02-24 | 志丰电子股份有限公司 | Pronunciation or vibration device and method for handheld electronic device |
CN106020483A (en) * | 2016-05-30 | 2016-10-12 | 京东方科技集团股份有限公司 | A head-mounted smart device |
CN206342050U (en) * | 2016-12-01 | 2017-07-21 | 歌尔科技有限公司 | A kind of Intelligent worn device |
CN106686231A (en) * | 2016-12-27 | 2017-05-17 | 广东小天才科技有限公司 | Message playing method of wearable device and wearable device |
Also Published As
Publication number | Publication date |
---|---|
CN108377296A (en) | 2018-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3582515A1 (en) | Method and apparatus for dealing with blockage of ventilation holes of loudspeaker, and terminal device | |
US10013859B2 (en) | Integrated circuit with single wire haptic vibration control and selective open loop operation | |
WO2017080506A1 (en) | Terminal vibration control method, device and terminal | |
US9640138B2 (en) | Information processing system, non-transitory storage medium encoded with computer readable information processing program, information processing method, and information processing terminal | |
WO2017215639A1 (en) | Sound effect configuration method and system and related device | |
KR20110063297A (en) | Portable terminal and its control method | |
CN108288937B (en) | Driving method of linear resonance device and driving circuit structure thereof | |
CN108347525A (en) | Electronic equipment vibration control method and device and electronic equipment | |
CN107684787B (en) | Dust removal method and dust removal device for mobile terminal | |
CN107562183A (en) | The tactile platform of cloud connection | |
CN110149428B (en) | Vibration method, terminal and storage medium | |
CN108377296B (en) | Electronic device vibration control method, device, readable storage medium and electronic device | |
CN110121008A (en) | vibration method, terminal and storage medium | |
TWI519122B (en) | Mobile information device and method for controlling mobile information device with voice | |
JP6026744B2 (en) | Information processing program, information processing apparatus, information processing system, and information processing method | |
CN108040181A (en) | Audio playing method and device and electronic equipment | |
TW201416979A (en) | Method for accelerating boot and computer system device | |
JP2024504456A (en) | Notification message notification method, notification message notification device, and electronic equipment | |
CN110458925B (en) | Animation material playing method and device, electronic equipment and storage medium | |
CN113253848A (en) | Method and device for controlling tactile feedback and electronic equipment comprising device | |
CN108108195B (en) | Control method and device of intelligent equipment and computer readable storage medium | |
JP7664390B2 (en) | MOTOR CONTROL METHOD, TERMINAL DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM | |
WO2022257737A1 (en) | Haptic effect control method and apparatus, and electronic device | |
CN106293333B (en) | application reminding method and device | |
CN116000023A (en) | Self-cleaning method and device for electronic equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201201 |
|
CF01 | Termination of patent right due to non-payment of annual fee |