CN107450810A - operation processing method and device - Google Patents
operation processing method and device Download PDFInfo
- Publication number
- CN107450810A CN107450810A CN201610379572.4A CN201610379572A CN107450810A CN 107450810 A CN107450810 A CN 107450810A CN 201610379572 A CN201610379572 A CN 201610379572A CN 107450810 A CN107450810 A CN 107450810A
- Authority
- CN
- China
- Prior art keywords
- action type
- function
- terminal
- current
- objective function
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种操作处理方法及装置。所述方法包括:检测由扬声器的线圈振动产生的电流,所述扬声器的线圈振动是由所述扬声器的传声器部件的振动带动产生;根据对所述电流的检测结果确定用户对终端的操作类型;根据所述操作类型确定目标功能,所述目标功能为与所述操作类型对应的功能,不同操作类型对应于不同功能;启动所述目标功能。本发明使得当用户想要使用终端的设定功能时,无需对该终端执行解锁以启动该功能,而只需要对终端机身任一部位执行敲击操作即可开启对应功能,简化操作终端的步骤,提高操作终端的便捷性。
The invention discloses an operation processing method and device. The method includes: detecting the current generated by the coil vibration of the loudspeaker, and the coil vibration of the loudspeaker is driven by the vibration of the microphone part of the loudspeaker; determining the user's operation type on the terminal according to the detection result of the current; Determine a target function according to the operation type, the target function is a function corresponding to the operation type, and different operation types correspond to different functions; start the target function. The present invention makes it unnecessary for the user to unlock the terminal to activate the function when the user wants to use the setting function of the terminal, but only needs to perform a tapping operation on any part of the terminal body to activate the corresponding function, which simplifies the operation of the terminal. Steps to improve the convenience of operating the terminal.
Description
技术领域technical field
本公开涉及终端技术领域,特别涉及一种操作处理方法及装置。The present disclosure relates to the technical field of terminals, and in particular to an operation processing method and device.
背景技术Background technique
随着终端技术的不断发展,终端所提供的功能日益丰富和完善,给用户带来很大的便利,终端通过检测用户对该终端的不同操作执行相应功能,以满足用户使用需求。With the continuous development of terminal technology, the functions provided by the terminal are increasingly rich and perfect, which brings great convenience to users. The terminal performs corresponding functions by detecting different operations of the terminal by the user to meet the user's needs.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开实施例提供了一种操作处理方法及装置。所述技术方案如下:In order to overcome the problems existing in related technologies, embodiments of the present disclosure provide an operation processing method and device. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供了一种操作处理方法,包括:According to a first aspect of an embodiment of the present disclosure, an operation processing method is provided, including:
检测由扬声器的线圈振动产生的电流,所述扬声器的线圈振动是由所述扬声器的传声器部件的振动带动产生;detecting a current generated by a coil vibration of a loudspeaker caused by vibration of a microphone part of the loudspeaker;
根据对所述电流的检测结果,确定用户对终端的操作类型;Determine the user's operation type on the terminal according to the detection result of the current;
根据所述操作类型,确定目标功能,所述目标功能为与所述操作类型对应的功能,不同操作类型对应于不同功能;Determine a target function according to the operation type, the target function is a function corresponding to the operation type, and different operation types correspond to different functions;
启动所述目标功能。Start the target function.
在一实施例中,所述根据对所述电流的检测结果确定用户对终端的操作类型,可包括:In an embodiment, the determining the user's operation type on the terminal according to the detection result of the current may include:
根据所述电流大小确定所述操作类型;或,determining the type of operation based on the magnitude of the current; or,
根据所述电流大小和所述电流产生的频率确定所述操作类型。The operation type is determined according to the magnitude of the current and the frequency at which the current is generated.
在一实施例中,所述根据所述电流大小确定所述操作类型,可包括:In an embodiment, the determining the operation type according to the magnitude of the current may include:
当所述电流大小在预设范围内时,确定所述操作类型为对所述终端的敲击操作。When the magnitude of the current is within a preset range, it is determined that the operation type is a tapping operation on the terminal.
在一实施例中,所述根据所述电流大小和所述电流产生的频率确定所述操作类型,可包括:In an embodiment, the determining the operation type according to the magnitude of the current and the frequency generated by the current may include:
当所述频率为预设频率,且每次产生的电流大小均在预设范围内时,确定所述操作类型为对所述终端的符合预设规律的连续敲击操作。When the frequency is a preset frequency and the magnitude of the current generated each time is within a preset range, it is determined that the operation type is a continuous tapping operation on the terminal conforming to a preset rule.
在一实施例中,所述根据所述操作类型确定目标功能,可包括:In an embodiment, the determining the target function according to the operation type may include:
当所述操作类型为第一操作时,确定所述目标功能为拍照功能;或,When the operation type is the first operation, determine that the target function is a camera function; or,
当所述操作类型为第二操作时,确定所述目标功能为音乐播放功能;或,When the operation type is the second operation, determine that the target function is a music playing function; or,
当所述操作类型为第三操作时,确定所述目标功能为对指定应用程序的加密功能;或,When the operation type is the third operation, determine that the target function is an encryption function for a specified application; or,
当所述操作类型为第四操作时,确定所述目标功能为屏幕解锁功能。When the operation type is the fourth operation, it is determined that the target function is a screen unlocking function.
根据本公开实施例的第二方面,提供了一种操作处理装置,包括:According to a second aspect of an embodiment of the present disclosure, an operation processing device is provided, including:
检测模块,被配置为检测由扬声器的线圈振动产生的电流,所述扬声器的线圈振动是由所述扬声器的传声器部件的振动带动产生;a detection module configured to detect a current generated by a coil vibration of a loudspeaker driven by vibration of a microphone part of the loudspeaker;
操作类型确定模块,被配置为根据所述检测模块对所述电流的检测结果确定用户对终端的操作类型;An operation type determination module configured to determine the user's operation type on the terminal according to the detection result of the current by the detection module;
目标功能确定模块,被配置为根据所述操作类型确定模块确定的所述操作类型确定目标功能,所述目标功能为与所述操作类型对应的功能,不同操作类型对应于不同功能;A target function determination module configured to determine a target function according to the operation type determined by the operation type determination module, the target function is a function corresponding to the operation type, and different operation types correspond to different functions;
启动模块,被配置为启动所述目标功能确定模块确定的所述目标功能。An activation module configured to activate the target function determined by the target function determination module.
在一实施例中,所述操作类型确定模块被配置为:In an embodiment, the operation type determination module is configured to:
根据所述电流大小,确定所述操作类型;或,determining the type of operation according to the magnitude of the current; or,
根据所述电流大小和所述电流产生的频率,确定所述操作类型。The operation type is determined according to the magnitude of the current and the frequency at which the current is generated.
在一实施例中,所述操作类型确定模块被配置为:In an embodiment, the operation type determination module is configured to:
当所述电流大小在预设范围内时,确定所述操作类型为对所述终端的敲击操作。When the magnitude of the current is within a preset range, it is determined that the operation type is a tapping operation on the terminal.
在一实施例中,所述操作类型确定模块被配置为:In an embodiment, the operation type determination module is configured to:
当所述频率为预设频率,且每次产生的电流大小均在预设范围内时,确定所述操作类型为对所述终端的符合预设规律的连续敲击操作。When the frequency is a preset frequency and the magnitude of the current generated each time is within a preset range, it is determined that the operation type is a continuous tapping operation on the terminal conforming to a preset rule.
在一实施例中,所述目标功能确定模块被配置为:In one embodiment, the target function determination module is configured to:
当所述操作类型为第一操作时,确定所述目标功能为拍照功能;或,When the operation type is the first operation, determine that the target function is a camera function; or,
当所述操作类型为第二操作时,确定所述目标功能为音乐播放功能;或,When the operation type is the second operation, determine that the target function is a music playing function; or,
当所述操作类型为第三操作时,确定所述目标功能为对指定应用程序的加密功能;或,When the operation type is the third operation, determine that the target function is an encryption function for a specified application; or,
当所述操作类型为第四操作时,确定所述目标功能为屏幕解锁功能。When the operation type is the fourth operation, it is determined that the target function is a screen unlocking function.
根据本公开实施例的第三方面,提供了一种操作处理装置,包括:According to a third aspect of the embodiments of the present disclosure, an operation processing device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
检测由扬声器的线圈振动产生的电流,所述扬声器的线圈振动是由所述扬声器的传声器部件的振动带动产生;detecting a current generated by a coil vibration of a loudspeaker caused by vibration of a microphone part of the loudspeaker;
根据对所述电流的检测结果确定用户对终端的操作类型;determining the user's operation type on the terminal according to the detection result of the current;
根据所述操作类型确定目标功能,所述目标功能为与所述操作类型对应的功能,不同操作类型对应于不同功能;determining a target function according to the operation type, the target function is a function corresponding to the operation type, and different operation types correspond to different functions;
启动所述目标功能。Start the target function.
本公开实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure are:
通过检测由扬声器的线圈振动产生的电流,并根据对该电流的检测结果,确定用户对终端的操作类型,根据该操作类型确定并启动目标功能,以使得当用户想要使用终端的设定功能时,无需对终端执行解锁操作,并找到该功能对应的应用图标,再对该应用图标执行触发操作以启动该功能,而只需要对终端机身任一位置执行敲击操作即可开启对应功能,简化了操作终端的步骤,提高了操作终端的便捷性。By detecting the current generated by the coil vibration of the speaker, and according to the detection result of the current, determine the user's operation type on the terminal, determine and start the target function according to the operation type, so that when the user wants to use the set function of the terminal , there is no need to unlock the terminal, find the application icon corresponding to the function, and then perform a trigger operation on the application icon to start the function, but only need to perform a tapping operation on any position of the terminal body to open the corresponding function , which simplifies the steps of operating the terminal and improves the convenience of operating the terminal.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的操作处理方法的流程图。Fig. 1 is a flowchart showing an operation processing method according to an exemplary embodiment.
图2A是本公开实施例提供的一种扬声器的结构剖面图。Fig. 2A is a structural sectional view of a loudspeaker provided by an embodiment of the present disclosure.
图2B是根据又一示例性实施例示出的操作处理方法的流程图。Fig. 2B is a flowchart showing an operation processing method according to yet another exemplary embodiment.
图3是根据又一示例性实施例示出的操作处理装置的框图。Fig. 3 is a block diagram of an operation processing device according to yet another exemplary embodiment.
图4是根据一示例性实施例示出的一种适用于操作处理装置的框图。Fig. 4 is a block diagram showing an operation processing device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是根据一示例性实施例示出的操作处理方法的流程图;该操作处理方法可以应用在终端设备(例如:智能手机、平板电脑)上,如图1所示,该操作处理方法包括以下步骤S101-S104:Fig. 1 is a flow chart of an operation processing method shown according to an exemplary embodiment; the operation processing method can be applied on a terminal device (for example: a smart phone, a tablet computer), as shown in Fig. 1 , the operation processing method includes the following Steps S101-S104:
在步骤S101中,检测由扬声器的线圈振动产生的电流,扬声器的线圈振动是由扬声器的传声器部件的振动带动产生。In step S101, the current generated by the coil vibration of the speaker is detected, and the coil vibration of the speaker is generated by the vibration of the microphone part of the speaker.
在步骤S102中,根据对电流的检测结果确定用户对终端的操作类型。In step S102, the user's operation type on the terminal is determined according to the detection result of the current.
在步骤S103中,根据操作类型确定目标功能,目标功能为与操作类型对应的功能,不同操作类型对应于不同功能。In step S103, the target function is determined according to the operation type, the target function is a function corresponding to the operation type, and different operation types correspond to different functions.
在步骤S104中,启动目标功能。In step S104, start the target function.
本公开实施例提供的方法,通过检测由扬声器的线圈振动产生的电流,并根据对该电流的检测结果,确定用户对终端的操作类型,根据该操作类型确定并启动目标功能,以使得当用户想要使用终端的设定功能时,无需对终端执行解锁操作,并找到该功能对应的应用图标,再对该应用图标执行触发操作以启动该功能,而只需要对终端机身任一部位执行敲击操作即可开启对应功能,简化操作终端的步骤,提高操作终端的便捷性。The method provided by the embodiments of the present disclosure detects the current generated by the coil vibration of the speaker, and according to the detection result of the current, determines the user's operation type on the terminal, determines and starts the target function according to the operation type, so that when the user When you want to use the setting function of the terminal, you don’t need to unlock the terminal, find the application icon corresponding to the function, and then execute the trigger operation on the application icon to start the function, but only need to perform the operation on any part of the terminal body. The corresponding function can be opened by tapping the operation, which simplifies the steps of operating the terminal and improves the convenience of operating the terminal.
在一实施例中,根据对电流的检测结果确定用户对终端的操作类型,可包括:In an embodiment, determining the user's operation type on the terminal according to the detection result of the current may include:
根据电流大小确定操作类型;或,Determine the type of operation based on the magnitude of the current; or,
根据电流大小和电流产生的频率确定操作类型。The type of operation is determined by the magnitude of the current and the frequency at which the current is generated.
在一实施例中,根据电流大小确定操作类型,可包括:In an embodiment, determining the operation type according to the magnitude of the current may include:
当电流大小在预设范围内时,确定操作类型为对终端的敲击操作。When the magnitude of the current is within the preset range, it is determined that the operation type is a tapping operation on the terminal.
在一实施例中,根据电流大小和电流产生的频率确定操作类型,可包括:In one embodiment, determining the operation type according to the magnitude of the current and the frequency of current generation may include:
当频率为预设频率,且每次产生的电流大小均在预设范围内时,确定操作类型为对终端的符合预设规律的连续敲击操作。When the frequency is the preset frequency and the magnitude of the current generated each time is within the preset range, it is determined that the operation type is a continuous tapping operation on the terminal conforming to a preset rule.
在一实施例中,根据操作类型确定目标功能,可包括:In an embodiment, determining the target function according to the operation type may include:
当操作类型为第一操作时,确定目标功能为拍照功能;或,When the operation type is the first operation, determine that the target function is a camera function; or,
当操作类型为第二操作时,确定目标功能为音乐播放功能;或,When the operation type is the second operation, determine that the target function is a music playing function; or,
当操作类型为第三操作时,确定目标功能为对指定应用程序的加密功能;或,When the operation type is the third operation, determine that the target function is an encryption function for a specified application; or,
当操作类型为第四操作时,确定目标功能为屏幕解锁功能。When the operation type is the fourth operation, it is determined that the target function is a screen unlocking function.
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be repeated here.
图2A是本公开实施例提供的一种扬声器的结构剖面图,该扬声器的传声器部件为喇叭振膜21,该喇叭振膜21和线圈22通过胶水粘合在一起,线圈22包围在磁铁23上,以在喇叭振膜21振动时带动该线圈22振动,由振动线圈22切割磁铁23产生的磁场从而产生电流。2A is a structural sectional view of a loudspeaker provided by an embodiment of the present disclosure. The microphone part of the loudspeaker is a horn diaphragm 21. The horn diaphragm 21 and a coil 22 are bonded together by glue, and the coil 22 is surrounded by a magnet 23. , to drive the coil 22 to vibrate when the speaker diaphragm 21 vibrates, and the vibrating coil 22 cuts the magnetic field generated by the magnet 23 to generate current.
图2B是根据又一示例性实施例示出的操作处理方法的流程图;本实施例利用本公开实施例提供的上述方法,以根据电流大小确定操作类型为例进行示例性说明,该实施例的执行主体为终端,参见图2B,该方法包括:Fig. 2B is a flow chart of an operation processing method according to yet another exemplary embodiment; this embodiment utilizes the above-mentioned method provided by the embodiment of the present disclosure, and uses the determination of the operation type according to the magnitude of the current as an example for exemplary description. The execution subject is a terminal, see Figure 2B, the method includes:
在步骤S201中,检测由扬声器的线圈振动产生的电流,该扬声器的线圈振动是由该扬声器的传声器部件的振动带动产生。In step S201, the current generated by the vibration of the coil of the loudspeaker is detected, and the coil vibration of the loudspeaker is driven by the vibration of the microphone part of the loudspeaker.
终端中的扬声器通常包括扬声器的传声器部件、线圈和PA(Power Amplifier,功率放大器)芯片,该扬声器为喇叭时,该扬声器的传声器部件即为喇叭振膜,而该喇叭振膜可以作为低感度的传声器,以感知用户对该终端的操作。具体方法可以为:该喇叭振膜在感受到用户的操作时产生振动,并带动线圈的振动,由该线圈的振动产生电流,并由PA芯片检测由该线圈产生的电流。The speaker in the terminal usually includes a microphone part of the speaker, a coil and a PA (Power Amplifier, power amplifier) chip. When the speaker is a speaker, the microphone part of the speaker is the speaker diaphragm, and the speaker diaphragm can be used as a The microphone is used to sense the user's operation on the terminal. The specific method may be as follows: the speaker diaphragm vibrates when it feels the user's operation, and drives the coil to vibrate, the vibration of the coil generates a current, and the PA chip detects the current generated by the coil.
在步骤S202中,根据电流大小确定操作类型。In step S202, the operation type is determined according to the magnitude of the current.
在一实施例中,当该电流大小在预设范围内时,确定该操作类型为对该终端的敲击操作。需要说明的是,该敲击操作可以是对该终端的屏幕的敲击操作,也可以是对该终端的机壳等其他机身部位的敲击操作,本公开实施例对此不作具体限定。In an embodiment, when the magnitude of the current is within a preset range, it is determined that the operation type is a tap operation on the terminal. It should be noted that the tapping operation may be a tapping operation on the screen of the terminal, or a tapping operation on other body parts such as the casing of the terminal, which is not specifically limited in this embodiment of the present disclosure.
其中,该预设范围可以由开发人员根据实验进行确定,具体方法可以为:对任一终端的机身的不同部位执行多次敲击操作,并记录每次敲击操作带动线圈振动所产生电流的大小,将该多次敲击操作所检测到的最小电流作为该预设范围的下限,最大电流作为该预设范围的上限。当然,也可以通过其他方法确定该预设范围,本公开实施例对此不作具体限定。Among them, the preset range can be determined by the developer according to the experiment. The specific method can be: perform multiple tapping operations on different parts of the fuselage of any terminal, and record the current generated by the vibration of the coil driven by each tapping operation The minimum current detected by the multiple tapping operations is taken as the lower limit of the preset range, and the maximum current is taken as the upper limit of the preset range. Of course, other methods may also be used to determine the preset range, which is not specifically limited in this embodiment of the present disclosure.
由于喇叭振膜的灵敏度较低,使得该喇叭振膜不会感知周围的低声压级的振动,例如,由说话声引起的微小振动等,而只能感知到用户敲击终端产生的大声压级的冲击,从而达到滤除低声压级的振动,以避免造成误操作的目的。在本公开实施例中,通过检测由线圈振动产生电流的大小,确定用户对终端执行的操作是否为敲击操作,如果该电流大小在该预设范围内,确定该操作为敲击操作,如果该电流大小不在该预设范围内,确定该操作不是敲击操作,例如,当该操作为触摸操作时,根据该触摸操作的触摸位置,对该触摸操作进行相应处理。Due to the low sensitivity of the speaker diaphragm, the speaker diaphragm will not sense the surrounding low sound pressure level vibrations, such as small vibrations caused by speaking, but can only perceive the loud pressure generated by the user tapping the terminal Level impact, so as to achieve the purpose of filtering out low sound pressure level vibration to avoid misoperation. In the embodiment of the present disclosure, by detecting the magnitude of the current generated by the vibration of the coil, it is determined whether the operation performed by the user on the terminal is a tapping operation. If the magnitude of the current is within the preset range, it is determined that the operation is a tapping operation. If If the magnitude of the current is not within the preset range, it is determined that the operation is not a tap operation. For example, when the operation is a touch operation, corresponding processing is performed on the touch operation according to the touch position of the touch operation.
可替换地,步骤S202中还可以根据该电流大小和该电流产生的频率确定该操作类型。具体方法可以为:当该频率为预设频率,且每次产生的电流大小均在预设范围内时,确定该操作类型为对该终端的符合预设规律的连续敲击操作。需要说明的是,预设频率、预设规律和操作类型为一一对应关系,即每个预设频率对应一个预设规律,对应一种操作类型。该预设范围的设置方法与上述根据电流大小确定操作类型所描述的预设范围的设置方法同理,此处不作赘述。Alternatively, in step S202, the operation type may also be determined according to the magnitude of the current and the frequency at which the current is generated. The specific method may be as follows: when the frequency is a preset frequency and the magnitude of the current generated each time is within a preset range, determine that the operation type is a continuous tapping operation on the terminal conforming to a preset rule. It should be noted that the preset frequency, the preset rule and the operation type have a one-to-one correspondence relationship, that is, each preset frequency corresponds to a preset rule and corresponds to an operation type. The method for setting the preset range is the same as the method for setting the preset range described above for determining the operation type according to the magnitude of the current, and will not be repeated here.
其中,该预设频率和对应操作类型的设置方法可以为:终端在检测到用户对快捷操作设置选项的触发操作时,显示快捷操作设置界面,该快捷操作设置界面至少包括输入操作选项和目标功能选项,当检测到用户对输入操作选项的触发操作时,终端检测并记录用户通过敲击终端使得终端产生的电流的频率,并对应存储该电流频率和当前用户所输入操作的操作类型。Wherein, the setting method of the preset frequency and the corresponding operation type may be: when the terminal detects that the user triggers an operation on the shortcut operation setting option, it displays the shortcut operation setting interface, and the shortcut operation setting interface includes at least the input operation option and the target function option, when the user’s trigger operation on the input operation option is detected, the terminal detects and records the frequency of the current generated by the terminal by the user tapping the terminal, and correspondingly stores the current frequency and the operation type of the current user’s input operation.
相应地,根据该电流大小和该电流产生的频率,确定该操作类型的方法可以为:当终端检测到的电流产生的频率为在前1秒内产生三次大小在该预设范围内的电流,在后2秒内每秒分别产生一次大小在该预设范围内的电流,则确定该用户对该终端的操作为符合“三短两长”规律的连续操作。Correspondingly, according to the magnitude of the current and the frequency of the current generation, the method for determining the operation type may be: when the frequency of the current generation detected by the terminal is three currents within the preset range within the first 1 second, In the next 2 seconds, a current within the preset range is generated once per second, and it is determined that the user's operation on the terminal is a continuous operation that conforms to the rule of "three shorts and two longs".
通过根据电流大小和电流产生的频率确定操作类型,能够实现通过以不同频率敲击终端,实现多种不同的快捷操作,从而能够进一步提高用户对终端操作的便利性。By determining the operation type according to the magnitude of the current and the frequency generated by the current, various shortcut operations can be realized by tapping the terminal at different frequencies, thereby further improving the convenience for the user to operate the terminal.
在步骤S203中,根据该操作类型确定目标功能,该目标功能为与该操作类型对应的功能,不同操作类型对应于不同功能。In step S203, a target function is determined according to the operation type, the target function is a function corresponding to the operation type, and different operation types correspond to different functions.
在一实施例中,可根据终端存储的操作类型和目标功能的对应关系,当终端所检测到的电流大小在预设范围内,或者,电流频率为预设频率时,根据该预设范围和该预设频率确定操作类型,并根据该操作类型确定目标功能。需要说明的是,操作类型和目标功能的对应关系可以采用系统设置的默认值,也可以由用户根据需要进行修改或设置,本公开实施例对此不作具体限定。In an embodiment, according to the corresponding relationship between the operation type and the target function stored in the terminal, when the magnitude of the current detected by the terminal is within a preset range, or when the current frequency is a preset frequency, according to the preset range and The preset frequency determines the type of operation, and the target function is determined according to the type of operation. It should be noted that the corresponding relationship between the operation type and the target function may adopt a default value set by the system, or may be modified or set by the user as required, which is not specifically limited in this embodiment of the present disclosure.
其中,由用户在终端中确定操作类型和目标功能对应关系的方法可以为:在快捷操作设置界面中,当检测到用户对任一操作类型对应目标功能选项的触发操作时,显示多个候选功能,当检测到用户对该多个候选功能中任一候选功能的触发操作时,将该候选功能确定为该操作类型的目标功能,并将该操作类型和该目标功能对应存储至该终端的指定存储空间中。Wherein, the method for the user to determine the corresponding relationship between the operation type and the target function in the terminal may be as follows: in the shortcut operation setting interface, when a user trigger operation on any operation type corresponding to the target function option is detected, multiple candidate functions are displayed , when a trigger operation of any one of the multiple candidate functions by the user is detected, the candidate function is determined as the target function of the operation type, and the operation type and the target function are correspondingly stored in the designated terminal of the terminal in storage space.
需要说明的是,在用户确定操作类型和目标功能的对应关系时,在该快捷操作设置界面显示安全提示消息,该安全提示消息用于提醒用户在确定任一操作类型的目标功能时,不要将涉及用户隐私或用户信息安全的功能设置为与该操作类型对应的目标功能。It should be noted that when the user determines the corresponding relationship between the operation type and the target function, a security prompt message is displayed on the shortcut operation setting interface. The security prompt message is used to remind the user not to set the target function of any operation type Functions involving user privacy or user information security are set as target functions corresponding to the operation type.
根据该操作类型,确定目标功能的方法包括:当该操作类型为第一操作时,确定该目标功能为拍照功能;或,当该操作类型为第二操作时,确定该目标功能为音乐播放功能;或,当该操作类型为第三操作时,确定该目标功能为对指定应用程序的加密功能;或,当该操作类型为第四操作时,确定该目标功能为屏幕解锁功能。According to the operation type, the method for determining the target function includes: when the operation type is the first operation, determining that the target function is a camera function; or, when the operation type is the second operation, determining that the target function is a music playing function or, when the operation type is the third operation, determine that the target function is an encryption function for a specified application; or, when the operation type is the fourth operation, determine that the target function is a screen unlocking function.
其中,该第一操作可以为双敲击操作,该双敲击操作为可以为1秒内的两次敲击操作,也可以是连续2秒内每秒一次的连续两次敲击操作,本公开实施例对此不作限定;该第二操作、第三操作和第四操作可以分别为符合相应预设规律的连续敲击操作,具体可以根据用户设置确定,本公开实施例对此也不作具体限定。Wherein, the first operation may be a double-tap operation, and the double-tap operation may be two tap operations within 1 second, or two consecutive tap operations once per second within 2 consecutive seconds. The disclosed embodiment does not limit this; the second operation, the third operation, and the fourth operation may be continuous tapping operations conforming to corresponding preset rules, which may be determined according to user settings, and the embodiments of the present disclosure do not make specific details on this. limited.
在步骤S204中,启动该目标功能。In step S204, start the target function.
根据步骤S203确定了目标功能之后,由终端启动相应的目标功能。例如,当用户2需要借用用户1的终端,且用户1只希望该用户2对该终端进行有限访问时,该用户1可以通过对该终端执行第三操作,以启动终端对指定应用程序的加密功能,以使得在用户2使用该终端时,如果启动该指定应用程序,显示该指定应用程序的解锁界面;由于该第三操作为敲击操作,因此用户无需从该终端的界面中找到该指定应用程序的图标再执行锁定操作,也即是在将终端交给用户1之前,通过敲击终端即可实现对该指定应用程序的加密操作,能够简化操作步骤,而且由于该敲击操作隐蔽性较强,还能够避免该用户1在将终端给该用户2时对该指定应用程序进行加密造成尴尬。After the target function is determined according to step S203, the terminal activates the corresponding target function. For example, when User 2 needs to borrow User 1's terminal, and User 1 only wants User 2 to have limited access to the terminal, User 1 can perform a third operation on the terminal to enable the terminal to encrypt the specified application function, so that when user 2 uses the terminal, if the specified application is started, the unlock interface of the specified application is displayed; since the third operation is a tapping operation, the user does not need to find the specified application from the interface of the terminal. The icon of the application program performs a locking operation, that is, before the terminal is handed over to the user 1, the encryption operation of the specified application program can be realized by tapping the terminal, which can simplify the operation steps, and because the tapping operation is concealed Stronger, it can also avoid embarrassment caused by encrypting the specified application program when the user 1 gives the terminal to the user 2.
当检测到用户对终端的操作为第一操作时,启动拍照功能,即终端开启摄像头功能,并在终端界面显示该摄像头所采集的图像;需要说明的是,在用户使用完该拍照功能以后,在检测到对HOME(主)键的触发操作时,返回锁屏界面,也即,在检测到该第一操作时,只能使用终端拍照功能,而无法使用终端所提供的其他功能,以达到保护用户隐私的目的。When it is detected that the user's operation on the terminal is the first operation, start the camera function, that is, the terminal turns on the camera function, and displays the image captured by the camera on the terminal interface; it should be noted that after the user finishes using the camera function, When the trigger operation of the HOME (main) key is detected, return to the lock screen interface, that is, when the first operation is detected, only the terminal camera function can be used, and other functions provided by the terminal cannot be used, so as to achieve The purpose of protecting user privacy.
当检测到用户对终端的操作为第二操作时,启动音乐播放功能,显示音乐播放界面并播放预先选择的歌曲;在简化操作步骤的同时,达到快速启动音乐播放功能的目的。When it is detected that the user's operation on the terminal is the second operation, start the music playing function, display the music playing interface and play the pre-selected song; while simplifying the operation steps, the purpose of quickly starting the music playing function is achieved.
当检测到用户对终端的操作为第四操作时,对终端屏幕执行解锁操作,也即是,该第四操作可以作为解锁密码,当终端检测到用户对终端的操作符合预设规律时,即确定用户输入了终端的解锁密码,对终端执行解锁操作,并显示系统界面。When it is detected that the user’s operation on the terminal is the fourth operation, perform an unlocking operation on the terminal screen, that is, the fourth operation can be used as an unlock password. When the terminal detects that the user’s operation on the terminal conforms to the preset rule, that is Make sure that the user has entered the unlock password of the terminal, execute the unlock operation on the terminal, and display the system interface.
本实施例中在具有上述实施例的有益技术效果的基础上,可通过根据电流大小和电流产生的频率确定操作类型,能够实现通过以不同频率敲击终端,实现多种不同的快捷操作,从而能够进一步提高用户对终端操作的便利性。In this embodiment, on the basis of the beneficial technical effects of the above embodiments, the operation type can be determined according to the magnitude of the current and the frequency generated by the current, and various shortcut operations can be realized by tapping the terminal at different frequencies, thereby The convenience for the user to operate the terminal can be further improved.
图3是本公开实施例提供的一种操作处理装置框图,如图3所示,该操作处理装置可包括:检测模块31,操作类型确定模块32,目标功能确定模块33和启动模块34。FIG. 3 is a block diagram of an operation processing device provided by an embodiment of the present disclosure. As shown in FIG. 3 , the operation processing device may include: a detection module 31 , an operation type determination module 32 , a target function determination module 33 and an activation module 34 .
检测模块31,被配置为检测由扬声器的线圈振动产生的电流,扬声器的线圈振动是由扬声器的传声器部件的振动带动产生;The detection module 31 is configured to detect the current generated by the coil vibration of the speaker, and the coil vibration of the speaker is generated by the vibration of the microphone part of the speaker;
操作类型确定模块32,被配置为根据检测模块31对电流的检测结果确定用户对终端的操作类型;The operation type determination module 32 is configured to determine the user's operation type on the terminal according to the detection result of the current by the detection module 31;
目标功能确定模块33,被配置为根据操作类型确定模块32确定的操作类型确定目标功能,目标功能为与操作类型对应的功能,不同操作类型对应于不同功能;The target function determining module 33 is configured to determine the target function according to the operation type determined by the operation type determining module 32, the target function is a function corresponding to the operation type, and different operation types correspond to different functions;
启动模块34,被配置为启动目标功能确定模块33确定的目标功能。The starting module 34 is configured to start the target function determined by the target function determining module 33 .
在一实施例中,操作类型确定模块被配置为:In one embodiment, the operation type determination module is configured to:
根据电流大小,确定操作类型;或,Depending on the magnitude of the current, determine the type of operation; or,
根据电流大小和电流产生的频率,确定操作类型。Depending on the magnitude of the current and the frequency at which the current is generated, the type of operation is determined.
在一实施例中,操作类型确定模块被配置为:In one embodiment, the operation type determination module is configured to:
当电流大小在预设范围内时,确定操作类型为对终端的敲击操作。When the magnitude of the current is within the preset range, it is determined that the operation type is a tapping operation on the terminal.
在一实施例中,操作类型确定模块被配置为:In one embodiment, the operation type determination module is configured to:
当频率为预设频率,且每次产生的电流大小均在预设范围内时,确定操作类型为对终端的符合预设规律的连续敲击操作。When the frequency is the preset frequency and the magnitude of the current generated each time is within the preset range, it is determined that the operation type is a continuous tapping operation on the terminal conforming to a preset rule.
在一实施例中,目标功能确定模块被配置为:In one embodiment, the target function determination module is configured to:
当操作类型为第一操作时,确定目标功能为拍照功能;或,When the operation type is the first operation, determine that the target function is a camera function; or,
当操作类型为第二操作时,确定目标功能为音乐播放功能;或,When the operation type is the second operation, determine that the target function is a music playing function; or,
当操作类型为第三操作时,确定目标功能为对指定应用程序的加密功能;或,When the operation type is the third operation, determine that the target function is an encryption function for a specified application; or,
当操作类型为第四操作时,确定目标功能为屏幕解锁功能。When the operation type is the fourth operation, it is determined that the target function is a screen unlocking function.
需要说明的是:上述实施例提供的操作处理装置在处理用户操作时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的操作处理装置与操作处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the operation processing device provided in the above embodiment processes user operations, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. That is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the operation processing device and the operation processing method embodiments provided in the above embodiments belong to the same idea, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
本实施例提供了一种终端,该终端可以用于执行上述各个实施例中提供的操作处理方法。参见图4,终端400可以包括射频(Radio Frequency,RF)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、无线保真(Wireless Fidelity,WiFi)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图4中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:This embodiment provides a terminal, which can be used to execute the operation processing methods provided in the foregoing embodiments. 4, the terminal 400 may include a radio frequency (Radio Frequency, RF) circuit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless security A wireless (Wireless Fidelity, WiFi) module 170 includes a processor 180 with one or more processing cores, a power supply 190 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 4 does not constitute a limitation on the terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. in:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 110 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 180 for processing; in addition, the data related to the uplink is sent to the base station . Generally, the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA) , duplexer, etc. In addition, the RF circuit 110 can also communicate with networks and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobilecommunication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端400的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120 . The memory 120 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created using the terminal 400 (such as audio data, phone book, etc.) and the like. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 120 may further include a memory controller to provide access to the memory 120 by the processor 180 and the input unit 130 .
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132 . The touch-sensitive surface 131, also referred to as a touch screen or a touchpad, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch-sensitive surface 131 or on the operation near the touch-sensitive surface 131), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131 , the input unit 130 may also include other input devices 132 . Specifically, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端400的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图4中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by or provided to the user and various graphical user interfaces of the terminal 400. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display, Liquid Crystal Display), OLED (Organic Light-Emitting Diode, Organic Light-Emitting Diode), and the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation on or near it, the touch operation is sent to the processor 180 to determine the type of the touch event, and then the processor 180 determines the type of the touch event according to the type of the touch event. The type provides a corresponding visual output on the display panel 141 . Although in FIG. 4, the touch-sensitive surface 131 and the display panel 141 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize input. and output functions.
终端400还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端400移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端400还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal 400 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and the display panel 141 when the terminal 400 moves to the ear. / or backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone attitude (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Let me repeat.
音频电路160、扬声器161,传声器162可提供用户与终端400之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端400的通信。The audio circuit 160 , the speaker 161 and the microphone 162 can provide an audio interface between the user and the terminal 400 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external earphone and the terminal 400 .
WiFi属于短距离无线传输技术,终端400通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图4示出了WiFi模块170,但是可以理解的是,其并不属于终端400的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The terminal 400 can help users send and receive e-mails, browse web pages, and access streaming media through the WiFi module 170. It provides users with wireless broadband Internet access. Although FIG. 4 shows the WiFi module 170, it can be understood that it is not an essential component of the terminal 400, and can be completely omitted as required without changing the essence of the invention.
处理器180是终端400的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端400的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the terminal 400, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120, Execute various functions and process data of the terminal 400, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .
终端400还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 400 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system. The power supply 190 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
尽管未示出,终端400还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。所述一个或者一个以上程序包含用于执行以下操作的指令:Although not shown, the terminal 400 may also include a camera, a Bluetooth module, etc., which will not be repeated here. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, and the terminal also includes a memory and one or more programs, wherein one or more programs are stored in the memory and are configured to be processed by one or more device execution. The one or more programs include instructions for:
检测由扬声器的线圈振动产生的电流,所述扬声器的线圈振动是由所述扬声器的传声器部件的振动带动产生;根据对所述电流的检测结果,确定用户对终端的操作类型;根据所述操作类型,确定目标功能,所述目标功能为与所述操作类型对应的功能,不同操作类型对应于不同功能,启动所述目标功能。Detecting the current generated by the coil vibration of the speaker, the coil vibration of the speaker is generated by the vibration of the microphone part of the speaker; according to the detection result of the current, determine the user's operation type on the terminal; according to the operation Type, determine the target function, the target function is a function corresponding to the operation type, different operation types correspond to different functions, and start the target function.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610379572.4A CN107450810A (en) | 2016-05-31 | 2016-05-31 | operation processing method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610379572.4A CN107450810A (en) | 2016-05-31 | 2016-05-31 | operation processing method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107450810A true CN107450810A (en) | 2017-12-08 |
Family
ID=60485970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610379572.4A Pending CN107450810A (en) | 2016-05-31 | 2016-05-31 | operation processing method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107450810A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111464929A (en) * | 2020-03-30 | 2020-07-28 | 深圳市科奈信科技有限公司 | Earphone and earphone touch detection method |
| CN112306352A (en) * | 2020-02-24 | 2021-02-02 | 北京字节跳动网络技术有限公司 | System, method and apparatus for processing information |
| CN112995372A (en) * | 2019-12-16 | 2021-06-18 | 北京小米移动软件有限公司 | Casing and terminal equipment |
| CN114690932A (en) * | 2021-04-22 | 2022-07-01 | 广州创知科技有限公司 | Screen interactive display method and device based on elastic waves |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
| CN103152481A (en) * | 2013-02-27 | 2013-06-12 | 上海斐讯数据通信技术有限公司 | Mobile terminal voice time-indicating system and mobile terminal voice time-indicating method |
| CN104035805A (en) * | 2014-06-27 | 2014-09-10 | 深圳市中兴移动通信有限公司 | Method and device for fast starting application program |
| CN104657072A (en) * | 2015-01-15 | 2015-05-27 | 小米科技有限责任公司 | Method and device for triggering and executing operation instruction |
| CN105302287A (en) * | 2014-07-09 | 2016-02-03 | 宏达国际电子股份有限公司 | Electronic device and method for activating specific functions |
-
2016
- 2016-05-31 CN CN201610379572.4A patent/CN107450810A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
| CN103152481A (en) * | 2013-02-27 | 2013-06-12 | 上海斐讯数据通信技术有限公司 | Mobile terminal voice time-indicating system and mobile terminal voice time-indicating method |
| CN104035805A (en) * | 2014-06-27 | 2014-09-10 | 深圳市中兴移动通信有限公司 | Method and device for fast starting application program |
| CN105302287A (en) * | 2014-07-09 | 2016-02-03 | 宏达国际电子股份有限公司 | Electronic device and method for activating specific functions |
| CN104657072A (en) * | 2015-01-15 | 2015-05-27 | 小米科技有限责任公司 | Method and device for triggering and executing operation instruction |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112995372A (en) * | 2019-12-16 | 2021-06-18 | 北京小米移动软件有限公司 | Casing and terminal equipment |
| CN112995372B (en) * | 2019-12-16 | 2023-08-15 | 北京小米移动软件有限公司 | A housing and a terminal device |
| CN112306352A (en) * | 2020-02-24 | 2021-02-02 | 北京字节跳动网络技术有限公司 | System, method and apparatus for processing information |
| CN111464929A (en) * | 2020-03-30 | 2020-07-28 | 深圳市科奈信科技有限公司 | Earphone and earphone touch detection method |
| CN111464929B (en) * | 2020-03-30 | 2021-01-22 | 深圳市科奈信科技有限公司 | Earphone and earphone touch detection method |
| CN114690932A (en) * | 2021-04-22 | 2022-07-01 | 广州创知科技有限公司 | Screen interactive display method and device based on elastic waves |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10069818B2 (en) | Method, system, device, and terminal for network initialization of multimedia playback device | |
| CN103389863B (en) | A kind of display control method and device | |
| CN106778175B (en) | Interface locking method and device and terminal equipment | |
| WO2016150270A1 (en) | Method and apparatus for processing group session message | |
| WO2018120905A1 (en) | Message reminding method for terminal, and terminal | |
| CN106341809B (en) | Data transmission method and equipment | |
| CN105389259B (en) | A kind of method, apparatus and system for carrying out Application testing | |
| CN106599641A (en) | A method, device and terminal for restricting terminal locking | |
| CN106550361B (en) | Data transmission method, equipment and computer readable storage medium | |
| CN106658354A (en) | Data transmission method and equipment | |
| CN103455751B (en) | Password hint generation method, device and terminal equipment | |
| CN107450810A (en) | operation processing method and device | |
| CN107066090A (en) | The method and mobile terminal of a kind of control fingerprint recognition module | |
| CN103824003B (en) | application program protecting method, device and terminal | |
| CN106874045A (en) | A kind of startup method of application program, device and mobile terminal | |
| CN106528231B (en) | A kind of method and apparatus starting application program | |
| WO2019109987A1 (en) | Mobile terminal, processing method for using fingerprint to perform recording operation, and storage medium | |
| CN104683555B (en) | Message management method and device | |
| CN107665083A (en) | Operation processing method and device | |
| WO2013152656A1 (en) | Method and mobile terminal for drawing sliding track | |
| CN106658360A (en) | A data transmission method and device | |
| CN106850957A (en) | Method, device and mobile terminal that applicative notifications are managed | |
| CN107148011B (en) | Method, device and system for executing target service | |
| CN106658615B (en) | Method and device for switching communication network | |
| CN106954196A (en) | Method, device and mobile terminal for obtaining a telephone number |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171208 |
|
| RJ01 | Rejection of invention patent application after publication |