WO2017166618A1 - Vibration level control method, device, mobile phone, and electronic apparatus - Google Patents

Vibration level control method, device, mobile phone, and electronic apparatus Download PDF

Info

Publication number
WO2017166618A1
WO2017166618A1 PCT/CN2016/096626 CN2016096626W WO2017166618A1 WO 2017166618 A1 WO2017166618 A1 WO 2017166618A1 CN 2016096626 W CN2016096626 W CN 2016096626W WO 2017166618 A1 WO2017166618 A1 WO 2017166618A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile phone
external environment
vibration
sound intensity
vibration level
Prior art date
Application number
PCT/CN2016/096626
Other languages
French (fr)
Chinese (zh)
Inventor
于学伟
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017166618A1 publication Critical patent/WO2017166618A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current 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/042Current 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 with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
    • H04M19/044Current 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 with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal according to the level of ambient noise

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a vibration grading control method and apparatus, a mobile phone, and an electronic device.
  • the mobile phone is usually set to the vibration mode.
  • the technical problem to be solved by the present application is to overcome the vibration mode of the mobile phone in the prior art.
  • the single cannot be adapted to the external environment, thereby providing a vibration classification control method, device, mobile phone, and electronic device capable of adjusting the vibration of the mobile phone according to the external environment.
  • the present application provides a vibration grading control method for a mobile phone, comprising the following steps:
  • the vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
  • the method of the present application before the step of acquiring the sound intensity of the external environment, further includes:
  • the method described in the present application further includes:
  • the short message management program is called to send a preset short message to the calling user.
  • the application also provides a vibration grading control device for a mobile phone, comprising:
  • a sound intensity acquiring unit configured to acquire a sound intensity of an external environment
  • a vibration level determining unit configured to determine a current applicable vibration level of the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level
  • the vibration adjusting unit is configured to adjust the vibration intensity of the mobile phone according to the currently applicable vibration level.
  • the device described in the application further includes:
  • the human body detecting unit is configured to detect whether the machine owner is nearby when receiving an incoming call request from the calling user; if the sound intensity acquiring unit is activated, acquiring the sound intensity of the external environment.
  • the device described in the application further includes:
  • a rejecting unit configured to hang up an incoming call request of the calling user when the detected owner is not nearby;
  • the sending unit is configured to call the short message management program after hanging up the incoming call, and send a preset short message to the calling user.
  • the application also provides a mobile phone, comprising the above vibration classification control device and a sound detector;
  • the sound detector is configured to collect sound intensity of an external environment and send the sound intensity to the vibration leveling control device.
  • the sound detector is a sound sensor.
  • the mobile phone described in the application further includes:
  • a human body detector for collecting personnel information of an external environment and transmitting the information to the vibration classifying control device.
  • the human body detector is an infrared sensor.
  • An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: acquire a sound intensity of an external environment; according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level The relationship determines the vibration level currently applicable to the handset; the vibration intensity of the handset is adjusted based on the currently applicable vibration level.
  • the electronic device wherein if not, hang up the incoming call request of the calling user; call the short message management program to send a preset short message to the calling user.
  • the embodiment of the present application further provides a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: acquire an external environment Sound intensity; determining the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level; and adjusting the vibration intensity of the mobile phone according to the currently applicable vibration level.
  • the above non-volatile computer storage medium wherein the sound of the external environment is strong Before the degree, the owner of the probe is in the vicinity when receiving the incoming call request from the calling user; if so, the operation of acquiring the sound intensity of the external environment is performed.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer
  • the computer is caused to perform the method of any of the above.
  • the present application provides a vibration grading control method and device, which first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level.
  • the vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level. The more noisy the external environment, the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment. When the external environment is quiet, the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise.
  • the vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
  • FIG. 1 is a flow chart of a specific example of a vibration classification control method in Embodiment 1 of the present application
  • FIG. 2 is a schematic block diagram of a specific example of a vibration grading control device according to Embodiment 2 of the present application;
  • FIG. 3 is a schematic block diagram of a specific example of a mobile phone according to Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of hardware of an electronic device according to Embodiment 4 of the present application.
  • 0-human body detecting unit 1 - sound intensity acquiring unit; 2 - vibration level determining unit; 3 - vibration adjusting unit; 4 - rejecting unit; 5 - transmitting unit; 11 - vibration classifying control device; 12 - sound detector; 13-body detector; 800-memory; 810-processor; 830-input device; 840-output device.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • connection or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection.
  • This embodiment provides a vibration grading control method for a mobile phone, as shown in FIG. 1 , including the following steps:
  • the sound intensity of the external environment can be collected and transmitted to the MCU of the mobile phone through a sound intensity collecting device, such as a sound sensor, installed on the mobile phone.
  • the foregoing correspondence may be preset by the mobile phone user according to usage habits. After the mobile phone is installed with an APP capable of performing the vibration grading control operation, the user first clicks on the APP, and an input box can be popped up for the user to establish the above correspondence in advance.
  • the sound intensity of the external environment when the sound intensity of the external environment is lower than 20 decibels, it corresponds to the first-order vibration level; when the sound intensity of the external environment is between 20-50 decibels, corresponding to the second-order vibration level; when the sound intensity of the external environment is higher than 50 decibels
  • corresponding to the three-level vibration level, and the vibration intensity corresponding to the first-order vibration level, the second-order vibration level, and the third-level vibration level is sequentially enhanced, that is, the more complicated the external environment, the greater the vibration intensity of the mobile phone.
  • the vibration grading control method in the embodiment first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level, and according to the current The applicable vibration level adjusts the vibration intensity of the phone.
  • the more noisy the external environment the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment.
  • the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise.
  • the vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
  • the method further includes:
  • the steps of human body detection further include:
  • step S01 Determine whether an incoming call request of the calling user is received. If an incoming call request is received, enter In step S02, if the incoming call request is not received, step S01 is repeated.
  • step S2 Is the detector master nearby? If it is nearby, the process proceeds to step S1, and the vibration intensity of the mobile phone is hierarchically controlled according to the sound intensity of the external environment. If it is not nearby, the process proceeds to step S4. Specifically, it is possible to detect whether there is someone near the mobile phone through a human body detecting device such as an infrared sensor. Because mobile phones are generally carried around, you can preset a shorter distance, such as 20cm. If a person is detected within the preset distance, the owner is nearby. If no one is detected within the preset distance, the owner is not nearby.
  • a human body detecting device such as an infrared sensor. Because mobile phones are generally carried around, you can preset a shorter distance, such as 20cm. If a person is detected within the preset distance, the owner is nearby. If no one is detected within the preset distance, the owner is not nearby.
  • S5. Calling the short message management program to send a preset short message to the calling user. Specifically, after the incoming call request is disconnected, the calling party can timely know the current situation of the mobile phone user by sending a preset short message to the calling user, for example, “the owner is absent, later replying” and the like.
  • the vibration grading control method in this embodiment first detects whether the owner is nearby when receiving the incoming call request, and starts the vibration grading control only when the owner is detected nearby, and if the detected owner is not nearby, hangs The incoming call request is broken, and the short message management program is called to send a preset short message to the calling user. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
  • the embodiment provides a vibration grading control device for a mobile phone, as shown in FIG. 2, include:
  • the sound intensity acquiring unit 1 is configured to acquire the sound intensity of the external environment.
  • the vibration level determining unit 2 is configured to determine the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level.
  • the vibration adjusting unit 3 is configured to adjust the vibration intensity of the mobile phone according to the currently applicable vibration level.
  • the vibration grading control device in this embodiment first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level, and according to the current The applicable vibration level adjusts the vibration intensity of the phone.
  • the more noisy the external environment the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment.
  • the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise.
  • the vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
  • the method further comprises:
  • the human body detecting unit 0 is configured to detect whether the machine owner is nearby when the mobile phone receives the incoming call request from the calling user; if yes, the sound intensity acquiring unit 1 is activated to obtain the sound intensity of the external environment.
  • the rejecting unit 4 is configured to hang up the incoming call request of the calling user when detecting that the owner is not nearby.
  • the sending unit 5 is configured to call the short message management program after hanging up the incoming call, and send a preset short message to the calling user.
  • the vibration grading control device in this embodiment first detects whether the owner is nearby when receiving the incoming call request, and starts the vibration grading control only when the owner is detected nearby, and if the detected owner is not nearby, hangs The incoming call request is broken, and the short message management program is called to send a preset short message to the calling user. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
  • the present embodiment provides a mobile phone, as shown in FIG. 3, including the vibration grading control device 11 and the sound detector 12 in the second embodiment.
  • the sound detector 12 is for collecting the sound intensity of the external environment and transmitting it to the vibration classifying control device 11.
  • the sound detector 12 is a sound sensor with low cost and stable performance.
  • the mobile phone in this embodiment collects the sound intensity of the external environment through the sound detector 12 and transmits it to the vibration classifying control device 11, which according to the sound intensity of the external environment acquired from the sound detector 12, and the pre-established
  • the correspondence between the sound intensity and the vibration level determines the current applicable vibration level of the mobile phone, and adjusts the vibration intensity of the mobile phone according to the currently applicable vibration level.
  • the more noisy the external environment the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment.
  • the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise. Realize the hierarchical control of the vibration of the mobile phone according to the sound intensity of the external environment, the user Experience more.
  • the method further includes: a human body detector 13 for collecting personnel information of the external environment and transmitting the information to the vibration classification control device 11.
  • the human body detector 13 is an infrared sensor with low cost and stable performance.
  • the mobile phone in the embodiment When receiving the incoming call request, the mobile phone in the embodiment first activates the human body detector 13 to collect the personnel information of the external environment and sends the information to the vibration classification control device 11, and the vibration classification control device 11 determines the personnel information according to the external environment. Whether the owner is nearby or not, only when the owner is detected nearby, the vibration classification control is started. If the owner is not nearby, the incoming call request is hanged, and the short message management program is called to send the preset to the calling user. Short message. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
  • an embodiment of the present application further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored
  • An instruction executed by the at least one processor 810 the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: acquire a sound intensity of an external environment; sound according to the external environment
  • the intensity and the correspondence between the pre-established sound intensity and the vibration level determine the vibration level currently applicable to the mobile phone; the vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
  • the electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
  • the detecting machine owner is in the vicinity when receiving the incoming call request of the calling user; if yes, performing the operation of acquiring the sound intensity of the external environment .
  • the electronic device of this embodiment preferably, if not, the incoming call request of the calling user is hanged; the short message management program is invoked, and the preset short message is sent to the calling user.
  • the embodiment of the present application further discloses a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: acquire an external environment Sound intensity; determining the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level; and adjusting the vibration intensity of the mobile phone according to the currently applicable vibration level.
  • the probe owner before the acquiring the sound intensity of the external environment, the probe owner is in the vicinity when receiving the incoming call request of the calling user; if yes, acquiring the external environment The operation of the sound intensity.
  • the non-volatile computer storage medium of the embodiment preferably, if not, hangs up the incoming call request of the calling user; invokes the short message management program to send a preset short message to the calling user.
  • the embodiment of the present application further provides a computer program product, the computer program product package A computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method described in the above embodiments.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The application relates to the field of telecommunication technology, and in particular, to a vibration level control method, device, mobile phone, and electronic apparatus. The vibration level control method comprises: acquiring a sound magnitude of an external environment; then determining, according to the sound magnitude of the external environment and pre-established correspondence between the sound magnitude and a vibration level, a vibration level suitable for a mobile phone; and adjusting according to the vibration level suitable for the mobile phone an actual vibration level of the mobile phone. The actual vibration level of the mobile phone is higher in a noisier external environment, ensuring a user to be notified of an incoming call and to timely check the call; and the actual vibration level of the mobile phone reduces correspondingly in a quiet external environment, preventing the vibration from being too large to become a distraction. The embodiment implements vibration level control on a mobile phone on the basis of a sound magnitude of the external environment, enhancing user experience.

Description

一种振动分级控制方法、装置、手机和电子设备Vibration grading control method, device, mobile phone and electronic device
交叉引用cross reference
本申请要求在2016年03月29日提交中国专利局、申请号为201610187608.9、发明名称为“一种振动分级控制方法、装置及手机”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610187608.9, entitled "A Vibration Classification Control Method, Apparatus and Mobile Phone", filed on March 29, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及通讯技术领域,具体涉及一种振动分级控制方法、装置、手机和电子设备。The present application relates to the field of communications technologies, and in particular, to a vibration grading control method and apparatus, a mobile phone, and an electronic device.
背景技术Background technique
手机的出现极大地方便了消费者,使得人与人之间的沟通更加方便快捷。但新兴技术的应用同样也会给消费者带来不利的一面,尤其是对于呼入电话比较多的用户,往往在开会等不方便接电话的场合也会不断的有电话打进来,影响了会议的正常进程。The emergence of mobile phones greatly facilitates consumers, making communication between people more convenient and faster. However, the application of emerging technologies will also bring disadvantages to consumers. Especially for users who have more incoming calls, they often have calls coming in during meetings and other inconvenient calls, which affects the conference. The normal process.
对于这种不希望被呼入电话打扰的场景,如果用户还想要及时获知是否有新的来电,通常会将手机设置成振动模式。但在比较嘈杂的环境,有时难以察觉到手机的振动导致用户无法及时查看到新的来电,而在比较安静的环境中时,手机振动产生的嗡嗡声又显得过于突兀。For such a scenario that does not want to be disturbed by the incoming call, if the user still wants to know in time whether there is a new incoming call, the mobile phone is usually set to the vibration mode. However, in a noisy environment, it is sometimes difficult to detect that the vibration of the mobile phone causes the user to be unable to view the new incoming call in time, and in a relatively quiet environment, the buzzing sound of the mobile phone is too abrupt.
发明内容Summary of the invention
因此,本申请要解决的技术问题在于克服现有技术中手机的振动模式 单一,不能根据外部环境进行适应性调整的缺陷,从而提供一种能够根据外部环境对手机的振动进行调节的振动分级控制方法、装置、手机和电子设备。Therefore, the technical problem to be solved by the present application is to overcome the vibration mode of the mobile phone in the prior art. The single, cannot be adapted to the external environment, thereby providing a vibration classification control method, device, mobile phone, and electronic device capable of adjusting the vibration of the mobile phone according to the external environment.
为此,本申请提供了如下技术方案:To this end, the present application provides the following technical solutions:
本申请提供了一种振动分级控制方法,用于手机,包括如下步骤:The present application provides a vibration grading control method for a mobile phone, comprising the following steps:
获取外部环境的声音强度;Get the sound intensity of the external environment;
根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;Determining a vibration level currently applicable to the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level;
根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
本申请所述的方法,所述获取外部环境的声音强度的步骤之前还包括:The method of the present application, before the step of acquiring the sound intensity of the external environment, further includes:
当接收到主叫用户的呼入请求时探测机主是否在附近;Whether the detector owner is nearby when receiving an incoming call request from the calling user;
若在,进入获取外部环境的声音强度的步骤。If yes, enter the step of obtaining the sound intensity of the external environment.
本申请所述的方法,还包括:The method described in the present application further includes:
若不在,挂断该主叫用户的呼入请求;If not, hang up the incoming call request of the calling user;
调用短消息管理程序,向该主叫用户发送预设的短消息。The short message management program is called to send a preset short message to the calling user.
本申请还提供了一种振动分级控制装置,用于手机,包括:The application also provides a vibration grading control device for a mobile phone, comprising:
声音强度获取单元,用于获取外部环境的声音强度; a sound intensity acquiring unit, configured to acquire a sound intensity of an external environment;
振动等级确定单元,用于根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;a vibration level determining unit, configured to determine a current applicable vibration level of the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level;
振动调节单元,用于根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration adjusting unit is configured to adjust the vibration intensity of the mobile phone according to the currently applicable vibration level.
本申请所述的装置,还包括:The device described in the application further includes:
人体探测单元,用于当接收到主叫用户的呼入请求时探测机主是否在附近;若在,启动所述声音强度获取单元,获取外部环境的声音强度。The human body detecting unit is configured to detect whether the machine owner is nearby when receiving an incoming call request from the calling user; if the sound intensity acquiring unit is activated, acquiring the sound intensity of the external environment.
本申请所述的装置,还包括:The device described in the application further includes:
拒接单元,用于在探测到机主不在附近时挂断该主叫用户的呼入请求;a rejecting unit, configured to hang up an incoming call request of the calling user when the detected owner is not nearby;
发送单元,用于挂断来电后调用短消息管理程序,向该主叫用户发送预设的短消息。The sending unit is configured to call the short message management program after hanging up the incoming call, and send a preset short message to the calling user.
本申请还提供了一种手机,包括上述振动分级控制装置和声音探测器;The application also provides a mobile phone, comprising the above vibration classification control device and a sound detector;
所述声音探测器,用于采集外部环境的声音强度并发送至所述振动分级控制装置。The sound detector is configured to collect sound intensity of an external environment and send the sound intensity to the vibration leveling control device.
本申请所述的手机,所述声音探测器为声音传感器。In the mobile phone described in the present application, the sound detector is a sound sensor.
本申请所述的手机,还包括:The mobile phone described in the application further includes:
人体探测器,用于采集外部环境的人员信息并发送至所述振动分级控制装置。 A human body detector for collecting personnel information of an external environment and transmitting the information to the vibration classifying control device.
本申请所述的手机,所述人体探测器为红外传感器。In the mobile phone described in the present application, the human body detector is an infrared sensor.
本申请实施例还提供一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取外部环境的声音强度;根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;根据所述当前适用的振动等级对手机的振动强度进行调节。An embodiment of the present application further provides an electronic device including at least one processor; and a memory communicably coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: acquire a sound intensity of an external environment; according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level The relationship determines the vibration level currently applicable to the handset; the vibration intensity of the handset is adjusted based on the currently applicable vibration level.
上述的电子设备,其中,所述获取外部环境的声音强度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。In the above electronic device, before the sound intensity of the external environment is acquired, whether the host is in the vicinity when receiving the incoming call request from the calling user; if so, the operation of acquiring the sound intensity of the external environment is performed.
上述的电子设备,其中,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。The electronic device, wherein if not, hang up the incoming call request of the calling user; call the short message management program to send a preset short message to the calling user.
本申请实施例还提供一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:获取外部环境的声音强度;根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;根据所述当前适用的振动等级对手机的振动强度进行调节。The embodiment of the present application further provides a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: acquire an external environment Sound intensity; determining the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level; and adjusting the vibration intensity of the mobile phone according to the currently applicable vibration level.
上述的非易失性计算机存储介质,其中,所述获取外部环境的声音强 度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。The above non-volatile computer storage medium, wherein the sound of the external environment is strong Before the degree, the owner of the probe is in the vicinity when receiving the incoming call request from the calling user; if so, the operation of acquiring the sound intensity of the external environment is performed.
上述的非易失性计算机存储介质,其中,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。The above non-volatile computer storage medium, wherein if not, hang up the incoming call request of the calling user; call the short message management program to send a preset short message to the calling user.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。The embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method of any of the above.
本申请技术方案,具有如下优点:The technical solution of the present application has the following advantages:
本申请提供了一种振动分级控制方法及装置,先获取外部环境的声音强度,再根据外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级,并根据当前适用的振动等级对手机的振动强度进行调节。外部环境越嘈杂,手机的振动强度就越大,确保用户在嘈杂的环境中也能够察觉到来电以及时进行查看;在外部环境较为安静时,手机的振动强度也会相应减小,而不会由于振动噪声过大显得过于突兀。实现了根据外部环境的声音强度对手机的振动进行分级控制,用户体验度更高。The present application provides a vibration grading control method and device, which first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level. The vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level. The more noisy the external environment, the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment. When the external environment is quiet, the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise. The vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
附图说明DRAWINGS
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下 面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, BRIEF DESCRIPTION OF THE DRAWINGS The drawings, which are used in the detailed description or the description of the prior art, will be briefly described. It is obvious that the drawings in the following description are some embodiments of the present application, for those skilled in the art, Other drawings may also be obtained from these drawings without the use of creative labor.
图1为本申请实施例1中振动分级控制方法的一个具体实例的流程图;1 is a flow chart of a specific example of a vibration classification control method in Embodiment 1 of the present application;
图2为本申请实施例2中振动分级控制装置的一个具体实例的原理框图;2 is a schematic block diagram of a specific example of a vibration grading control device according to Embodiment 2 of the present application;
图3为本申请实施例3中手机的一个具体实例的原理框图;3 is a schematic block diagram of a specific example of a mobile phone according to Embodiment 3 of the present application;
图4为本申请实施例4的电子设备的硬件结构示意图。4 is a schematic structural diagram of hardware of an electronic device according to Embodiment 4 of the present application.
附图标记:Reference mark:
0-人体探测单元;1-声音强度获取单元;2-振动等级确定单元;3-振动调节单元;4-拒接单元;5-发送单元;11-振动分级控制装置;12-声音探测器;13-人体探测器;800-存储器;810-处理器;830-输入装置;840-输出装置。0-human body detecting unit; 1 - sound intensity acquiring unit; 2 - vibration level determining unit; 3 - vibration adjusting unit; 4 - rejecting unit; 5 - transmitting unit; 11 - vibration classifying control device; 12 - sound detector; 13-body detector; 800-memory; 810-processor; 830-input device; 840-output device.
具体实施方式detailed description
下面将结合附图对本申请的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。 The technical solutions of the present application are clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在本申请的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship of the indications is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description and the simplified description, and does not indicate or imply that the device or component referred to has a specific orientation, in a specific orientation. Construction and operation are therefore not to be construed as limiting the application. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。In the description of the present application, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connection, or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection. The specific meanings of the above terms in the present application can be understood in the specific circumstances for those skilled in the art.
此外,下面所描述的本申请不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。Further, the technical features involved in the different embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.
实施例1Example 1
本实施例提供了一种振动分级控制方法,用于手机,如图1所示,包括如下步骤:This embodiment provides a vibration grading control method for a mobile phone, as shown in FIG. 1 , including the following steps:
S1.获取外部环境的声音强度。具体地,可以通过安装于手机上的声音强度采集设备,比如声音传感器,来进行外部环境的声音强度的采集并传输至手机的MCU。S1. Obtain the sound intensity of the external environment. Specifically, the sound intensity of the external environment can be collected and transmitted to the MCU of the mobile phone through a sound intensity collecting device, such as a sound sensor, installed on the mobile phone.
S2.根据外部环境的声音强度以及预先建立的声音强度与振动等级之 间的对应关系确定手机当前适用的振动等级。S2. According to the sound intensity of the external environment and the pre-established sound intensity and vibration level The correspondence between the two determines the vibration level currently applicable to the mobile phone.
S3.根据当前适用的振动等级对手机的振动强度进行调节。具体地,上述对应关系可以由手机用户根据使用习惯预先进行设置。手机安装了能够执行振动分级控制操作的APP后,用户初次点击该APP,就可以弹出一个输入框让用户预先建立上述对应关系。比如当外部环境的声音强度低于20分贝时,对应一级振动等级;当外部环境的声音强度处于20-50分贝之间时,对应二级振动等级;当外部环境的声音强度高于50分贝时,对应三级振动等级等,并且一级振动等级、二级振动等级、三级振动等级对应的振动强度是依次增强的,也即外部环境越嘈杂,手机的振动强度就越大。S3. Adjust the vibration intensity of the mobile phone according to the currently applicable vibration level. Specifically, the foregoing correspondence may be preset by the mobile phone user according to usage habits. After the mobile phone is installed with an APP capable of performing the vibration grading control operation, the user first clicks on the APP, and an input box can be popped up for the user to establish the above correspondence in advance. For example, when the sound intensity of the external environment is lower than 20 decibels, it corresponds to the first-order vibration level; when the sound intensity of the external environment is between 20-50 decibels, corresponding to the second-order vibration level; when the sound intensity of the external environment is higher than 50 decibels At the same time, corresponding to the three-level vibration level, and the vibration intensity corresponding to the first-order vibration level, the second-order vibration level, and the third-level vibration level is sequentially enhanced, that is, the more complicated the external environment, the greater the vibration intensity of the mobile phone.
本实施例中的振动分级控制方法,先获取外部环境的声音强度,再根据外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级,并根据当前适用的振动等级对手机的振动强度进行调节。外部环境越嘈杂,手机的振动强度就越大,确保用户在嘈杂的环境中也能够察觉到来电以及时进行查看;在外部环境较为安静时,手机的振动强度也会相应减小,而不会由于振动噪声过大显得过于突兀。实现了根据外部环境的声音强度对手机的振动进行分级控制,用户体验度更高。The vibration grading control method in the embodiment first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level, and according to the current The applicable vibration level adjusts the vibration intensity of the phone. The more noisy the external environment, the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment. When the external environment is quiet, the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise. The vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
优选地,步骤S1之前还包括:Preferably, before step S1, the method further includes:
S0.人体探测的步骤,进一步包括:S0. The steps of human body detection further include:
S01.判断是否接收到主叫用户的呼入请求。若接收到呼入请求,进入 步骤S02,若未接收到呼入请求,重复步骤S01。S01. Determine whether an incoming call request of the calling user is received. If an incoming call request is received, enter In step S02, if the incoming call request is not received, step S01 is repeated.
S02.探测机主是否在附近。若在附近,进入步骤S1,根据外部环境的声音强度对手机的振动强度进行分级控制。若不在附近,进入步骤S4。具体地,可以通过人体探测设备,比如红外传感器,来检测手机附近是否有人。因为手机一般都是随身携带的,可以预设一个较短的距离,比如20cm。若预设距离内探测到有人存在,说明机主就在附近,若预设距离内没有探测到有人存在,说明机主不在附近。S02. Is the detector master nearby? If it is nearby, the process proceeds to step S1, and the vibration intensity of the mobile phone is hierarchically controlled according to the sound intensity of the external environment. If it is not nearby, the process proceeds to step S4. Specifically, it is possible to detect whether there is someone near the mobile phone through a human body detecting device such as an infrared sensor. Because mobile phones are generally carried around, you can preset a shorter distance, such as 20cm. If a person is detected within the preset distance, the owner is nearby. If no one is detected within the preset distance, the owner is not nearby.
S4.挂断该主叫用户的呼入请求。具体地,当机主不在附近时,即使振动机主也无法察觉到,通过在机主不在附近时挂断呼入请求,可以减少无谓的用电消耗,增强电池的续航能力。S4. Hang up the incoming call request of the calling user. Specifically, when the owner is not nearby, even if the vibration machine owner cannot detect it, by hang up the incoming call request when the owner is not nearby, the unnecessary power consumption can be reduced, and the battery life can be enhanced.
S5.调用短消息管理程序,向该主叫用户发送预设的短消息。具体地,在挂断呼入请求后,通过向主叫用户发送预设的短消息,例如“机主不在,稍后回复”等内容,可以使主叫方及时了解手机用户当前的情况。S5. Calling the short message management program to send a preset short message to the calling user. Specifically, after the incoming call request is disconnected, the calling party can timely know the current situation of the mobile phone user by sending a preset short message to the calling user, for example, “the owner is absent, later replying” and the like.
本实施例中的振动分级控制方法,在收到呼入请求时先探测机主是否在附近,只有探测到机主在附近时才会启动振动分级控制,若探测到机主不在附近,则挂断呼入请求,并调用短消息管理程序,向主叫用户发送预设的短消息。在减少用电消耗,增强电池续航能力的同时,也能使主叫方及时了解手机用户当前的情况,用户体验度更高。The vibration grading control method in this embodiment first detects whether the owner is nearby when receiving the incoming call request, and starts the vibration grading control only when the owner is detected nearby, and if the detected owner is not nearby, hangs The incoming call request is broken, and the short message management program is called to send a preset short message to the calling user. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
实施例2Example 2
本实施例提供了一种振动分级控制装置,用于手机,如图2所示,包 括:The embodiment provides a vibration grading control device for a mobile phone, as shown in FIG. 2, include:
声音强度获取单元1,用于获取外部环境的声音强度。The sound intensity acquiring unit 1 is configured to acquire the sound intensity of the external environment.
振动等级确定单元2,用于根据外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级。The vibration level determining unit 2 is configured to determine the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level.
振动调节单元3,用于根据当前适用的振动等级对手机的振动强度进行调节。The vibration adjusting unit 3 is configured to adjust the vibration intensity of the mobile phone according to the currently applicable vibration level.
本实施例中的振动分级控制装置,先获取外部环境的声音强度,再根据外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级,并根据当前适用的振动等级对手机的振动强度进行调节。外部环境越嘈杂,手机的振动强度就越大,确保用户在嘈杂的环境中也能够察觉到来电以及时进行查看;在外部环境较为安静时,手机的振动强度也会相应减小,而不会由于振动噪声过大显得过于突兀。实现了根据外部环境的声音强度对手机的振动进行分级控制,用户体验度更高。The vibration grading control device in this embodiment first acquires the sound intensity of the external environment, and then determines the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the previously established sound intensity and the vibration level, and according to the current The applicable vibration level adjusts the vibration intensity of the phone. The more noisy the external environment, the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment. When the external environment is quiet, the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise. The vibration of the mobile phone is hierarchically controlled according to the sound intensity of the external environment, and the user experience is higher.
优选地,还包括:Preferably, the method further comprises:
人体探测单元0,用于当手机接收到主叫用户的呼入请求时探测机主是否在附近;若在,启动声音强度获取单元1,获取外部环境的声音强度。The human body detecting unit 0 is configured to detect whether the machine owner is nearby when the mobile phone receives the incoming call request from the calling user; if yes, the sound intensity acquiring unit 1 is activated to obtain the sound intensity of the external environment.
拒接单元4,用于在探测到机主不在附近时挂断该主叫用户的呼入请求。 The rejecting unit 4 is configured to hang up the incoming call request of the calling user when detecting that the owner is not nearby.
发送单元5,用于挂断来电后调用短消息管理程序,向该主叫用户发送预设的短消息。The sending unit 5 is configured to call the short message management program after hanging up the incoming call, and send a preset short message to the calling user.
本实施例中的振动分级控制装置,在收到呼入请求时先探测机主是否在附近,只有探测到机主在附近时才会启动振动分级控制,若探测到机主不在附近,则挂断呼入请求,并调用短消息管理程序,向主叫用户发送预设的短消息。在减少用电消耗,增强电池续航能力的同时,也能使主叫方及时了解手机用户当前的情况,用户体验度更高。The vibration grading control device in this embodiment first detects whether the owner is nearby when receiving the incoming call request, and starts the vibration grading control only when the owner is detected nearby, and if the detected owner is not nearby, hangs The incoming call request is broken, and the short message management program is called to send a preset short message to the calling user. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
实施例3Example 3
本实施例提供了一种手机,如图3所示,包括实施例2中的振动分级控制装置11和声音探测器12。The present embodiment provides a mobile phone, as shown in FIG. 3, including the vibration grading control device 11 and the sound detector 12 in the second embodiment.
声音探测器12,用于采集外部环境的声音强度并发送至振动分级控制装置11。优选地,声音探测器12为声音传感器,成本低性能稳定。The sound detector 12 is for collecting the sound intensity of the external environment and transmitting it to the vibration classifying control device 11. Preferably, the sound detector 12 is a sound sensor with low cost and stable performance.
本实施例中的手机,通过声音探测器12采集外部环境的声音强度并发送至振动分级控制装置11,振动分级控制装置11根据从声音探测器12获取的外部环境的声音强度,以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级,并根据当前适用的振动等级对手机的振动强度进行调节。外部环境越嘈杂,手机的振动强度就越大,确保用户在嘈杂的环境中也能够察觉到来电以及时进行查看;在外部环境较为安静时,手机的振动强度也会相应减小,而不会由于振动噪声过大显得过于突兀。实现了根据外部环境的声音强度对手机的振动进行分级控制,用户 体验度更高。The mobile phone in this embodiment collects the sound intensity of the external environment through the sound detector 12 and transmits it to the vibration classifying control device 11, which according to the sound intensity of the external environment acquired from the sound detector 12, and the pre-established The correspondence between the sound intensity and the vibration level determines the current applicable vibration level of the mobile phone, and adjusts the vibration intensity of the mobile phone according to the currently applicable vibration level. The more noisy the external environment, the greater the vibration intensity of the mobile phone, ensuring that the user can detect the incoming call and check it in a noisy environment. When the external environment is quiet, the vibration intensity of the mobile phone will be reduced accordingly. It is too abrupt due to excessive vibration and noise. Realize the hierarchical control of the vibration of the mobile phone according to the sound intensity of the external environment, the user Experience more.
优选地,还包括:人体探测器13,用于采集外部环境的人员信息并发送至振动分级控制装置11。优选地,人体探测器13为红外传感器,成本低性能稳定。Preferably, the method further includes: a human body detector 13 for collecting personnel information of the external environment and transmitting the information to the vibration classification control device 11. Preferably, the human body detector 13 is an infrared sensor with low cost and stable performance.
本实施例中的手机,在收到呼入请求时,先启动人体探测器13采集外部环境的人员信息并发送至振动分级控制装置11,振动分级控制装置11根据所述外部环境的人员信息判断机主是否在附近,只有探测到机主在附近时才会启动振动分级控制,若探测到机主不在附近,则挂断呼入请求,并调用短消息管理程序,向主叫用户发送预设的短消息。在减少用电消耗,增强电池续航能力的同时,也能使主叫方及时了解手机用户当前的情况,用户体验度更高。When receiving the incoming call request, the mobile phone in the embodiment first activates the human body detector 13 to collect the personnel information of the external environment and sends the information to the vibration classification control device 11, and the vibration classification control device 11 determines the personnel information according to the external environment. Whether the owner is nearby or not, only when the owner is detected nearby, the vibration classification control is started. If the owner is not nearby, the incoming call request is hanged, and the short message management program is called to send the preset to the calling user. Short message. While reducing the consumption of electricity and enhancing the battery life, it also enables the calling party to know the current situation of the mobile phone user in a timely manner, and the user experience is higher.
实施例4Example 4
如图4所示,本申请实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:获取外部环境的声音强度;根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;根据所述当前适用的振动等级对手机的振动强度进行调节。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。 As shown in FIG. 4, an embodiment of the present application further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored An instruction executed by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: acquire a sound intensity of an external environment; sound according to the external environment The intensity and the correspondence between the pre-established sound intensity and the vibration level determine the vibration level currently applicable to the mobile phone; the vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level. The electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
本实施例的电子设备,优选地,所述获取外部环境的声音强度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。In the electronic device of this embodiment, preferably, before the acquiring the sound intensity of the external environment, the detecting machine owner is in the vicinity when receiving the incoming call request of the calling user; if yes, performing the operation of acquiring the sound intensity of the external environment .
本实施例的电子设备,优选地,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。In the electronic device of this embodiment, preferably, if not, the incoming call request of the calling user is hanged; the short message management program is invoked, and the preset short message is sent to the calling user.
实施例5Example 5
本申请实施例还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:获取外部环境的声音强度;根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;根据所述当前适用的振动等级对手机的振动强度进行调节。The embodiment of the present application further discloses a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: acquire an external environment Sound intensity; determining the current applicable vibration level of the mobile phone according to the sound intensity of the external environment and the correspondence between the pre-established sound intensity and the vibration level; and adjusting the vibration intensity of the mobile phone according to the currently applicable vibration level.
本实施例的非易失性计算机存储介质,优选地,所述获取外部环境的声音强度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。In the non-volatile computer storage medium of the embodiment, preferably, before the acquiring the sound intensity of the external environment, the probe owner is in the vicinity when receiving the incoming call request of the calling user; if yes, acquiring the external environment The operation of the sound intensity.
本实施例的非易失性计算机存储介质,优选地,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。The non-volatile computer storage medium of the embodiment preferably, if not, hangs up the incoming call request of the calling user; invokes the short message management program to send a preset short message to the calling user.
实施例6Example 6
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包 括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。The embodiment of the present application further provides a computer program product, the computer program product package A computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method described in the above embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个 流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The device is implemented in a flow chart A function specified in a block or blocks of a process or multiple processes and/or block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本申请创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of protection created by this application.

Claims (17)

  1. 一种振动分级控制方法,用于手机,其特征在于,包括如下步骤:A vibration grading control method for a mobile phone, comprising the steps of:
    获取外部环境的声音强度;Get the sound intensity of the external environment;
    根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;Determining a vibration level currently applicable to the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level;
    根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
  2. 根据权利要求1所述的方法,其特征在于,所述获取外部环境的声音强度的步骤之前还包括:The method according to claim 1, wherein the step of acquiring the sound intensity of the external environment further comprises:
    当接收到主叫用户的呼入请求时探测机主是否在附近;Whether the detector owner is nearby when receiving an incoming call request from the calling user;
    若在,进入获取外部环境的声音强度的步骤。If yes, enter the step of obtaining the sound intensity of the external environment.
  3. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    若不在,挂断该主叫用户的呼入请求;If not, hang up the incoming call request of the calling user;
    调用短消息管理程序,向该主叫用户发送预设的短消息。The short message management program is called to send a preset short message to the calling user.
  4. 一种振动分级控制装置,用于手机,其特征在于,包括:A vibration grading control device for a mobile phone, comprising:
    声音强度获取单元(1),用于获取外部环境的声音强度;a sound intensity acquisition unit (1) for acquiring the sound intensity of the external environment;
    振动等级确定单元(2),用于根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等 级;a vibration level determining unit (2) configured to determine a current applicable vibration of the mobile phone according to a sound intensity of the external environment and a correspondence between a previously established sound intensity and a vibration level level;
    振动调节单元(3),用于根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration adjusting unit (3) is configured to adjust the vibration intensity of the mobile phone according to the currently applicable vibration level.
  5. 根据权利要求4所述的装置,其特征在于,还包括:The device according to claim 4, further comprising:
    人体探测单元(0),用于当接收到主叫用户的呼入请求时探测机主是否在附近;若在,启动所述声音强度获取单元(1),获取外部环境的声音强度。The human body detecting unit (0) is configured to detect whether the machine owner is nearby when receiving an incoming call request from the calling user; if the sound intensity acquiring unit (1) is activated, the sound intensity of the external environment is obtained.
  6. 根据权利要求5所述的装置,其特征在于,还包括:The device according to claim 5, further comprising:
    拒接单元(4),用于在探测到机主不在附近时挂断该主叫用户的呼入请求;The rejecting unit (4) is configured to hang up the incoming call request of the calling user when detecting that the owner is not nearby;
    发送单元(5),用于挂断来电后调用短消息管理程序,向该主叫用户发送预设的短消息。The sending unit (5) is configured to call the short message management program after hanging up the incoming call, and send a preset short message to the calling user.
  7. 一种手机,其特征在于,包括权利要求4-6任一项所述的振动分级控制装置(11)和声音探测器(12);A mobile phone, comprising the vibration grading control device (11) and the sound detector (12) according to any one of claims 4-6;
    所述声音探测器(12),用于采集外部环境的声音强度并发送至所述振动分级控制装置(11)。The sound detector (12) is configured to collect the sound intensity of the external environment and send it to the vibration leveling control device (11).
  8. 根据权利要求7所述的手机,其特征在于,所述声音探测器(12)为声音传感器。 The handset of claim 7, wherein said sound detector (12) is a sound sensor.
  9. 根据权利要求7或8所述的手机,其特征在于,还包括:The mobile phone according to claim 7 or 8, further comprising:
    人体探测器(13),用于采集外部环境的人员信息并发送至所述振动分级控制装置(11)。A human body detector (13) for collecting personnel information of the external environment and transmitting it to the vibration classifying control device (11).
  10. 根据权利要求9所述的手机,其特征在于,所述人体探测器(13)为红外传感器。The mobile phone according to claim 9, characterized in that the human body detector (13) is an infrared sensor.
  11. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to:
    获取外部环境的声音强度;Get the sound intensity of the external environment;
    根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;Determining a vibration level currently applicable to the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level;
    根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
  12. 根据权利要求11所述的电子设备,其特征在于,所述获取外部环境的声音强度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。The electronic device according to claim 11, wherein before the acquiring the sound intensity of the external environment, the host is detected in proximity when receiving the incoming call request from the calling user; if so, acquiring the external environment Sound intensity operation.
  13. 根据权利要求12所述的电子设备,其特征在于,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。 The electronic device according to claim 12, wherein if not, the incoming call request of the calling user is hanged; the short message management program is called, and the preset short message is sent to the calling user.
  14. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:A non-volatile computer storage medium, characterized in that the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to:
    获取外部环境的声音强度;Get the sound intensity of the external environment;
    根据所述外部环境的声音强度以及预先建立的声音强度与振动等级之间的对应关系确定手机当前适用的振动等级;Determining a vibration level currently applicable to the mobile phone according to a sound intensity of the external environment and a correspondence between a pre-established sound intensity and a vibration level;
    根据所述当前适用的振动等级对手机的振动强度进行调节。The vibration intensity of the mobile phone is adjusted according to the currently applicable vibration level.
  15. 根据权利要求14所述的非易失性计算机存储介质,其特征在于,所述获取外部环境的声音强度之前,当接收到主叫用户的呼入请求时探测机主是否在附近;若在,进行获取外部环境的声音强度的操作。The non-volatile computer storage medium according to claim 14, wherein before the acquiring the sound intensity of the external environment, the host is detected in the vicinity when receiving the incoming call request from the calling user; if Perform an operation to obtain the sound intensity of the external environment.
  16. 根据权利要求15所述的非易失性计算机存储介质,其特征在于,若不在,挂断该主叫用户的呼入请求;调用短消息管理程序,向该主叫用户发送预设的短消息。The non-volatile computer storage medium according to claim 15, wherein if not, the incoming call request of the calling user is hanged; the short message management program is called, and the preset short message is sent to the calling user. .
  17. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, The computer performs the method of any of the preceding claims.
PCT/CN2016/096626 2016-03-29 2016-08-25 Vibration level control method, device, mobile phone, and electronic apparatus WO2017166618A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610187608.9A CN105827843A (en) 2016-03-29 2016-03-29 Vibration separation control method and device, and mobile phone
CN201610187608.9 2016-03-29

Publications (1)

Publication Number Publication Date
WO2017166618A1 true WO2017166618A1 (en) 2017-10-05

Family

ID=56525046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096626 WO2017166618A1 (en) 2016-03-29 2016-08-25 Vibration level control method, device, mobile phone, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN105827843A (en)
WO (1) WO2017166618A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637208A (en) * 2020-12-23 2021-04-09 美的集团股份有限公司 Method for determining authority of target device, electronic device and computer readable storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827843A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Vibration separation control method and device, and mobile phone
CN106657679A (en) * 2017-03-06 2017-05-10 上海传英信息技术有限公司 Mobile phone vibration adjusting device and method
CN109510907B (en) * 2017-09-14 2021-04-30 中兴通讯股份有限公司 Ring tone setting method and device
CN108347534A (en) * 2018-05-16 2018-07-31 努比亚技术有限公司 A kind of vibration adjusting method, terminal and storage medium
CN113452835B (en) * 2018-06-06 2022-07-01 北京小米移动软件有限公司 Method and device for controlling vibration of terminal
CN111159623B (en) * 2019-12-16 2023-09-01 瑞声科技(新加坡)有限公司 Method, device, terminal and storage medium for calculating motor vibration signal
CN113726957B (en) * 2021-08-30 2022-11-22 联想(北京)有限公司 Vibration control method, electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242597A (en) * 2007-02-05 2008-08-13 联想移动通信科技有限公司 Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone
CN102761654A (en) * 2011-04-25 2012-10-31 英业达股份有限公司 Handheld communication device and communication system and incoming call notification mode control method thereof
CN103227855A (en) * 2013-03-25 2013-07-31 华为终端有限公司 Vibration regulating method for mobile terminal and mobile terminal
CN104104775A (en) * 2013-04-02 2014-10-15 中兴通讯股份有限公司 Method for automatically adjusting mobile phone ringing tone volume and vibration modes and device thereof
CN104980590A (en) * 2015-07-10 2015-10-14 广东欧珀移动通信有限公司 Method and apparatus for controlling terminal prompting mode by determining noisy environment through MIC
CN105827843A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Vibration separation control method and device, and mobile phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195952A1 (en) * 2004-02-25 2005-09-08 Dyer John C. Telephone having ring stopping function
CN102104668B (en) * 2009-12-17 2013-11-06 深圳富泰宏精密工业有限公司 System and method for controlling mobile phone ringing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242597A (en) * 2007-02-05 2008-08-13 联想移动通信科技有限公司 Method and device for automatically selecting scenario mode according to environmental noise method on mobile phone
CN102761654A (en) * 2011-04-25 2012-10-31 英业达股份有限公司 Handheld communication device and communication system and incoming call notification mode control method thereof
CN103227855A (en) * 2013-03-25 2013-07-31 华为终端有限公司 Vibration regulating method for mobile terminal and mobile terminal
CN104104775A (en) * 2013-04-02 2014-10-15 中兴通讯股份有限公司 Method for automatically adjusting mobile phone ringing tone volume and vibration modes and device thereof
CN104980590A (en) * 2015-07-10 2015-10-14 广东欧珀移动通信有限公司 Method and apparatus for controlling terminal prompting mode by determining noisy environment through MIC
CN105827843A (en) * 2016-03-29 2016-08-03 乐视控股(北京)有限公司 Vibration separation control method and device, and mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637208A (en) * 2020-12-23 2021-04-09 美的集团股份有限公司 Method for determining authority of target device, electronic device and computer readable storage medium
CN112637208B (en) * 2020-12-23 2022-04-01 美的集团股份有限公司 Method for determining authority of target device, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN105827843A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
WO2017166618A1 (en) Vibration level control method, device, mobile phone, and electronic apparatus
US11663305B2 (en) Controlling input/output devices
US9930715B2 (en) Method and apparatus for operating an electronic device
WO2021000808A1 (en) Device control method and device
CN104580699B (en) Acoustic control intelligent terminal method and device when a kind of standby
US9553971B2 (en) Portable device-enabled monitoring and security system
WO2016045291A1 (en) Device control method and apparatus
US11538328B2 (en) Mobile device self-identification system
US20150080048A1 (en) Mobile terminal and abnormal call processing method therefor
CN104270533B (en) The method and device that a kind of event is reminded
CN113055530B (en) Mode switching method and device
JP2017516167A (en) Perform actions related to an individual's presence
CN103905956B (en) Audio control method, electronic equipment and audio output apparatus
JP2015104132A (en) Device location monitoring
CN109074443A (en) A kind of unlocking method and device
WO2017096809A1 (en) Method and system for incoming call indication
WO2017161836A1 (en) Method and apparatus for volume prompting using alarm clock, mobile phone, and electronic device
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
US20180234540A1 (en) Presence-based device mode modification
WO2014043876A1 (en) Method for detecting interception behaviour and terminal device
US10506204B2 (en) State detection and voice guided setup for a video doorbell unit
CN111261160B (en) Signal processing method and device
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
WO2018068539A1 (en) Information prompting control method and device
CN108702708A (en) Descending control signaling detection method, device and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896390

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896390

Country of ref document: EP

Kind code of ref document: A1