WO2014067374A1 - 一种文件操作方法和装置 - Google Patents

一种文件操作方法和装置 Download PDF

Info

Publication number
WO2014067374A1
WO2014067374A1 PCT/CN2013/084120 CN2013084120W WO2014067374A1 WO 2014067374 A1 WO2014067374 A1 WO 2014067374A1 CN 2013084120 W CN2013084120 W CN 2013084120W WO 2014067374 A1 WO2014067374 A1 WO 2014067374A1
Authority
WO
WIPO (PCT)
Prior art keywords
valid
tap
preset value
taps
digital signal
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.)
Ceased
Application number
PCT/CN2013/084120
Other languages
English (en)
French (fr)
Inventor
李棽
许瑞军
洪锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Publication of WO2014067374A1 publication Critical patent/WO2014067374A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • the present disclosure relates to the field of mobile communications, and in particular, to a file operating method and apparatus. Background technique
  • the screen of a mobile terminal such as a mobile phone is locked (the cartridge is called “lock screen") in order to avoid friction and collision between the screen of the mobile phone and other objects (for example, underwear, body skin) during the standby process of the mobile phone.
  • Some of the buttons are touched or the touch screen is clicked, and an unexpected event such as calling a mobile number appears.
  • the screen lock on the mobile phone can also be in a black screen or low-brightness state, avoiding the consumption of power due to long-term bright screen, saving the power of the mobile phone and prolonging the mobile phone's battery life.
  • the mobile phone screen lock can also protect mobile phone data from being stolen by others.
  • the opposite operation to the screen lock of the mobile phone is that the screen is unlocked (the cartridge is called "de-screening"), and the unlocked mobile phone is restored to the usable state.
  • a lock screen and an unlocking method provided by the related art are: when performing a lock screen operation, let a user set a set of passwords composed of a combination of numbers, characters or both, and the system enters the lock screen state after receiving the password set by the user.
  • the screen-opening operation is performed, the user is prompted to input the password set during the frequency-locking operation. After the user inputs the correct password, the screen-opening operation is completed, and the mobile phone is restored to the usable state.
  • Another unlocking method provided by the related art is: unlocking by sliding on the screen, that is, sliding a certain distance on the screen by a finger, or sliding a certain path to unlock.
  • the inventor of the present application has found that whether the above method of performing unlocking by inputting a number or performing a method of unlocking by sliding a finger on a screen, the user needs to gaze at the screen when performing the unlocking operation, and click the correct position, the finger needs to be relatively large. The action can be unlocked. Therefore, the above unlocking method is cumbersome. Summary of the invention
  • Embodiments of the present disclosure provide a file operation method and apparatus to implement a solution to an application. Lock.
  • an embodiment of the present disclosure provides a file operation method, where the method includes: sensing a sensing area i or a tap on the terminal;
  • an embodiment of the present disclosure provides a file operating device, where the device includes a sensing module, a conversion module, and a central processing unit, the central processing unit includes a matching module and a command issuing module, and the sensing module is configured to sense a tap on the sensing area of the terminal;
  • the conversion module is configured to convert the tap into a digital signal
  • the matching module is configured to match a digital signal converted by the sensing module with a preset digital signal password
  • the command issuing module is configured to issue a command to perform a corresponding file operation if the matching result of the matching module is that the digital signal converted by the tap is consistent with the digital signal corresponding to the preset password.
  • the result of the matching is that the digital signal is consistent with the preset password.
  • a command is issued to perform the corresponding program operation. Therefore, compared with the related art method of performing unlocking by inputting a number or performing a method of unlocking by sliding a finger on a screen, the interaction area provided by the terminal to the user is relatively large, and the interface content is not required to be paid, and the application is unlocked greatly. . DRAWINGS
  • FIG. 1 is a schematic flowchart of a file operation method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a file operation device according to an embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure.
  • 6-a is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure.
  • 6-b is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a file operating device according to another embodiment of the present disclosure. detailed description
  • FIG. 1 is a schematic flowchart of a file operation method according to an embodiment of the present disclosure.
  • the method includes the following steps: Step S101, Step S102, Step S103, and Step S104, which include, for example:
  • the sensing area of the terminal may be a screen provided by a mobile terminal such as a mobile phone or a specific area on the screen, or may be a shell attached to a mobile terminal such as a mobile phone or a specific area on the outer casing.
  • the tapping on the sensing area of the sensing terminal when the user taps the sensing area of the terminal with a finger or other object (for example, a stylus), the user is induced to perform the sensing area of the terminal at a certain tempo. tap.
  • a finger or other object for example, a stylus
  • the sensing area of the terminal is sensed when the sensing area of the terminal is hit at a certain rhythm. tap.
  • This embodiment is in the case where there is no place for the terminal to be placed around the user or if it is inconvenient to leave the terminal and only objects in the vertical direction, such as doors, windows, walls, etc., and the user can only free one hand operation, Very convenient for users.
  • the so-called tap may be a tap with a rhythm, including by continuous tapping A series of tapping actions that are separated from the pause, for example, two consecutive strokes, a pause, three consecutive strokes, a pause, and a second tap. It should be noted that the so-called “continuous tapping” does not require that there is no time interval between the two tapping actions before and after. If the time interval between the two tapping actions is far less than the pause time, it can also be considered as tapping. It is continuous.
  • converting the tap into a digital signal may be: comparing a sound parameter of the sound generated by the tap with a preset sound parameter, for example, generating a sound by the tap
  • the sound parameters such as volume, timbre, etc. are compared with preset sound parameters such as volume and timbre, and the mechanical physical quantities generated by the tapping, for example, the angle of the terminal and the duration of the acceleration are related to the duration of the sound.
  • Comparison if the comparison indicates that the tap is a valid tap, the rhythmic tap is converted into a sequence of numbers recorded in time interval.
  • the sound parameters such as the volume, the timbre, and the like of the sound generated by the tap are consistent with the sound parameters such as the preset volume and the timbre, and the duration of the mechanical physical quantity generated by the tapping and the duration of the sound generated by the tapping Equal, indicating that the tap is a valid tap, then converting the rhythmic tap into a sequence of numbers.
  • converting a tap to a sequence of numbers can be: Record each valid tap as a number
  • the size of the first preset value Tip can be set in advance according to the configuration of the system, for example, set to 2s (seconds). If the interval ⁇ ⁇ of each valid tap is less than the first preset value, each valid tap is recorded as the number "11". This interval time ⁇ ⁇ is less than the first preset value.
  • Two effective taps of the Tip can be regarded as a continuous tap, that is, there is no pause between the two valid taps.
  • each valid tap is recorded as a number "1" "
  • the interval between each effective tap is less than the first preset value, that is, each valid tap is recorded as a number "1" "
  • the interval ⁇ ⁇ of each two effective taps is less than the first preset value Tip, then each time two effective knocks The record is recorded as the number "11”. If the interval ⁇ ⁇ of each effective tap is greater than the first preset value Tip, the interval of the effective tap is recorded as the number "0" and the interval between the two effective taps and the two effective taps is Record together as the number "101". This interval time ⁇ ⁇ is greater than the two preset taps of the first preset value Tip, and the interval between them is a pause.
  • the tap detected by the sensing area of the terminal is: a tap with two intervals of less than 2 s, and an interval between the third tap and the second tap is greater than 2 s,
  • the interval between the four taps and the third tap is less than 2 s
  • the interval between the fifth tap and the fourth tap is less than 2 s
  • the interval between the sixth tap and the fifth tap is greater than 2 s.
  • the interval between any two effective taps is much longer than the first preset value Tip, for example, the interval between any two valid taps is greater than 5 s (seconds).
  • a second preset value T2p may be set in advance, and the second preset value is greater than the first preset value Tlp of the foregoing embodiment. Compare the interval between any two valid taps with the second preset value ⁇ 2 ⁇ .
  • the first effective tap in the two valid taps greater than the second preset value ⁇ 2 ⁇ is recorded as the end of a sequence of numbers, which will be greater than
  • the second effective tap in the two valid taps of the second preset value ⁇ 2 ⁇ is the beginning of another sequence of numbers, ie such two valid taps belong to two different sequence of numbers, respectively.
  • the time interval between the front and rear taps is ⁇ 1 (dimension is second)
  • it is a valid tap which is converted to the number "11” accordingly
  • the time interval between front and rear taps is [ ⁇ 1 -0.03, ⁇ 1 + 0.03] (dimension is seconds)
  • the corresponding conversion to the number is still "11”
  • the interval between before and after tapping is ⁇ T1 + 0.01 is considered to be valid twice.
  • There is a pause between the taps which converts it into a sequence of numbers "101"; a pause is determined when the duration of the non-tap is ⁇ 2 (dimension is seconds), and the corresponding signal is converted to a digital signal "0".
  • the duration of any non-tap is considered to be a pause in [ ⁇ 2-0.05, ⁇ 2 + 0.05] (dimension is seconds)
  • the corresponding conversion to digital signal is still "0".
  • the sensing area needs to be turned on.
  • the physical button can be unlocked by clicking, and the screen of the mobile terminal such as the mobile phone is lighted, or the mobile terminal such as a mobile phone is provided.
  • the outer casing is opened as a sensing area.
  • the preset password may be a password set by the user by tapping the sensing area of the terminal before unlocking, or may be in a conventional manner, for example, inputting a string of digital settings. Set the password.
  • the password set by tapping the sensing area of the terminal may be the setting password interface of the user to open the terminal.
  • the sensing area screen or casing
  • the microphone sensor of the terminal receives the tapping sound, and the volume and tone are customized. , determining the effective sound of the tapping; at the same time, the acceleration sensor of the terminal determines that the tapping action is performed by calculating the acceleration of the tapping, and comparing the duration of the tapping action with the duration of the sound generated by the tapping, determining that Effective tapping.
  • the rhythmic tap is recorded as a sequence of numbers, for example, assuming that the continuous tap is recorded as a digital signal "1" and the pause is recorded as a digital signal.
  • the sensing area of the terminal is sensed to be tapped twice in succession, paused, and then tapped three times in succession, paused, and then tapped once for rhythm tapping, the sequence of digits converted by the tap is 11011101
  • the digital sequence 11011101 is stored as a preset password in the password storage module.
  • a sequence of digits for example, a sequence of numbers 11011101, or enter other characters, numbers or characters plus numbers, but ultimately It can also be converted into a digital sequence 11011101.
  • the process of matching the digital signal after the conversion of the converted digital signal with the digital signal corresponding to the preset password is actually a process of comparing the digital signals corresponding to the preset password, that is, whether the two are compared. the same.
  • the digital signal after the conversion of the tap is matched with the digital signal corresponding to the password set in advance, a certain matching error is allowed. For example, if the time interval between two taps is not less than 2s, it is regarded as pause. Further, if the digital signal corresponding to the preset password is 101111, the corresponding tapping rhythm is: tap, interval 2s without tapping , Tap, Interval Is not tapping, tapping, interval 0.5s without tapping, tapping, interval 0.5s without tapping, tapping, interval time series: 2 1 0.5 0.5.
  • tapping rhythm when performing unlocking is: tap, interval 1.8s without tapping, tapping, interval Is not tapping, tapping, interval 0.2s without tapping, tapping, interval 0.3s without tapping , Tap, time series: 1.8 1 0.2 0.3.
  • the variance between the time series corresponding to the striking rhythm corresponding to the preset password and the time series corresponding to the tapping rhythm corresponding to the preset password is calculated to be 0.0425.
  • the specified variance is less than 0.05 is an allowable matching error
  • the variance between the time series corresponding to the tapping rhythm when the unlocking is performed and the time series corresponding to the tapping rhythm corresponding to the preset password is less than 0.05.
  • the command can be issued by the central processor of the terminal, and once the command is issued, the corresponding file operation is performed. Since the unwinding is actually performed by an application (also a file) in the system, in the embodiment of the present disclosure, the file operation may be an unlocking operation on the screen of the terminal. Similarly, file operations can also be an unlock operation for SMS applications, contacts applications, and other popular applications, such as unlocking, opening SMS applications, contacts applications, and other popular application interfaces.
  • a digital signal having a rhythm tap on the sensing area of the terminal is converted into a preset signal.
  • the password is consistent and reflected on the user's tap sensing area. As long as the user's tapping rhythm when pre-setting the password is compared with the tapping rhythm when unlocking, the difference between each tap or pause is in conversion. The error is within the allowable range and does not have to be identical.
  • the unlocking method provided by the embodiment of the present disclosure, since the digital signal converted by the tap on the sensing area of the terminal is matched with the preset password, the result of the matching is the digital signal and the preset When the passwords match, a command is issued to perform the corresponding file operation. Therefore, compared with the prior art method of performing unlocking by inputting a number or performing a method of unlocking by sliding a finger on a screen, the interaction area provided by the terminal to the user is relatively large, and the interface content is not required to be paid, and the application is greatly enlarged. Unlock.
  • the file operation device of the example of FIG. 2 includes a sensing module 201, a central processing unit 202, and a conversion module 205.
  • the central processing unit 202 includes a matching module 203 and a command issuing module 204, wherein:
  • the sensing module 201 is configured to sense a tap on the sensing area of the terminal;
  • a conversion module 205 configured to convert the tap into a digital signal
  • the matching module 203 is configured to match the digital signal converted by the sensing module 201 with a digital signal corresponding to a preset password;
  • the command issuing module 204 is configured to issue a command to execute if the matching result of the matching module 203 is that the digital signal converted by the tap is consistent with the digital signal corresponding to the preset password. The corresponding file operation.
  • the sensing module 201 sensing the tapping on the sensing area of the terminal, when the user taps the sensing area of the terminal with a finger or other object (for example, a stylus), the sensing module 201 senses that the user has a certain rhythm The tapping of the sensing area of the terminal.
  • a finger or other object for example, a stylus
  • the sensing module 201 sensing the tapping on the sensing area of the terminal, when the user touches the sensing area of the terminal to other objects, the sensing module 201 senses that the sensing area of the terminal hits other objects at a certain rhythm.
  • the sensing area is subjected to a tap.
  • This embodiment is in the case where there is no place for the terminal to be placed around the user or if it is inconvenient to leave the terminal and only objects in the vertical direction, such as doors, windows, walls, etc., and the user can only free one hand operation, Very convenient for users.
  • each functional module is merely an example, and the actual function may be allocated according to requirements, such as configuration requirements of corresponding hardware or convenience of implementation of software. It is completed by different functional modules, that is, the internal structure of the file operating device is divided into different functional modules to complete all or part of the functions described above.
  • the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be executed by corresponding hardware.
  • the foregoing sensing module may be configured to execute the foregoing sensing terminal.
  • the hardware of the tapping on the sensing area such as a sensor, may also be a general processor or other hardware device capable of executing a corresponding computer program to perform the foregoing functions; and the matching module as described above may have the aforementioned sensing
  • the hardware of the module (or sensor) converted digital signal and the preset password matching function, such as a matcher may also be a general processor or other hardware device capable of executing the corresponding computer program to perform the aforementioned functions (each provided in this specification) The above described principles can be applied to the embodiments).
  • the sensing module 201 illustrated in FIG. 2 may include a microphone sensor 301 and an acceleration sensor 302, and the conversion module 205 includes a digitizing sub-module 303, such as the document operating device provided in another embodiment of the present disclosure, as shown in FIG.
  • a microphone sensor 301 configured to compare a sound parameter of the sound generated by the tap with a preset sound parameter
  • An acceleration sensor 302 configured to compare a duration of a mechanical physical quantity generated by the tap with a duration of the sound
  • the microphone sensor 301 can compare the sound parameters such as the volume, the timbre, and the like of the sound generated by the tap having the tempo on the sensing area of the terminal with the preset sound parameters such as the volume and the timbre, and the acceleration.
  • the sensor 302 can compare the mechanical physical quantity generated by the tap on the sensing area of the terminal, for example, the angle of the terminal and the duration of the acceleration with the duration of the sound; if the comparison result indicates that the tap is an effective tap
  • the digitizing unit 303 converts the tap into a sequence of numbers. For example, if compared, the sound parameters such as the volume and the timbre of the sound generated by the tap are consistent with the preset sound parameters such as the volume and the timbre, and the duration of the mechanical physical quantity generated by the tapping and the sound generated by the tapping The durations of the two are equal, indicating that the tap is a valid tap, and the digitizing sub-module 303 converts the tap into a sequence of numbers.
  • the digitizing sub-module 303 of the example of FIG. 3 may include a first recording unit 401, a first comparing unit 402, and a second recording unit 403, such as the file operating device provided by another embodiment of the present disclosure, as shown in FIG.
  • the digitizing sub-module 303 illustrated in FIG. 3 may include a first recording unit 401, a first comparing unit 402, a second recording unit 403, and a third recording unit 501, as shown in FIG. 5, which provides a file according to another embodiment of the present disclosure.
  • a first recording unit 401 configured to record each of the valid taps as a number "1"; and compare; ', , ⁇ , s, ⁇ a second recording unit 403 for validating every two times If the interval of the tap is less than the preset value, the effective tap is recorded as the number "1 1 " every two times;
  • a third recording unit 501 configured to record the interval of the effective tap as a number "0" and every two times if the interval between the effective taps is greater than the first preset value The effective tap and the interval between the two valid taps are recorded together as the number "101".
  • the digitizing sub-module 303 illustrated in FIG. 4 or FIG. 5 may further include a second comparing unit 601 and The fourth recording unit 602, as shown in FIG. 6-a and FIG. 6-b, provides a file operating device according to another embodiment of the present disclosure, wherein:
  • a second comparison unit 601 configured to compare a time interval between any two of the valid taps with a second preset value, where the second preset value is greater than the first preset value;
  • the fourth recording unit 602 is configured to: if the time interval between any two valid taps is greater than the second preset value, the first two effective taps that are greater than the second preset value
  • the secondary valid tap record is the end of a sequence of numbers, and the second valid tap in the two valid taps greater than the second preset value is recorded as the beginning of another sequence of digits.
  • the digitizing sub-module 303 will When a valid tap is converted into a digital sequence, a certain conversion error is allowed. A tap that is within a certain range of time before and after tapping is regarded as two effective taps, and a non-tapping within a certain range is still regarded as a pause. . For example, if it is determined that the time interval between the front and rear taps is ⁇ 1 (dimension is seconds), it is a valid tap.
  • the digitization sub-module 303 converts it into a number corresponding to "11", as long as the time interval between the front and rear taps is [ ⁇ 1 -0.03, ⁇ 1 +0.03] (dimension is seconds) is considered to be two effective taps, and the digitization sub-module 303 converts it into a digital signal correspondingly still "11", and cannot be tapped before and after.
  • the digitizing unit 303 converts the pause into a digital signal "0" accordingly, and the duration of any non-tapping is regarded as a pause in [ ⁇ 2-0.05, ⁇ 2 + 0.05] (dimension is seconds). The digitizing unit 303 accordingly converts this pause into a digital signal which is still "0".
  • the sensing area needs to be turned on.
  • the physical button can be unlocked by clicking, and the screen of the mobile terminal such as the mobile phone is lighted, or the mobile terminal such as a mobile phone is provided.
  • the outer casing is opened as a sensing area.
  • the command issuing module 204 of the example of Fig. 2 may include a screen unblocking unit 701, as shown in Fig. 7, which discloses a file operating device provided by another embodiment.
  • the result of the matching of the screen module 701 for the matching module 203 is that when the digital signal converted by the tap is consistent with the digital signal corresponding to the preset password, a command is issued to unlock the screen of the terminal.
  • the file operation performed by the command issuing module 204 may be that the screen unlocking unit 701 performs an unlocking operation on the screen of the terminal.
  • the file operation performed by the command issuing module 204 may also be an unlocking operation for the short message application, the address book application, and other commonly used applications, that is, by unlocking, opening the short message application, the address book application, and other commonly used applications. Interface and so on.
  • the program can be stored in a computer readable storage medium.
  • the storage medium can include: Read only memory (ROM, Read Only Memory), random access memory (RAM), disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供一种文件操作方法和装置,以简化对应用程序的解锁。所述方法包括:感应终端的感应区域上的敲击;将所述敲击转化为数字信号;将所述数字信号与预先设置的密码对应的数字信号匹配;若匹配的结果为所述敲击转化的数字信号与所述预先设置的密码对应的数字信号一致,则发出命令以执行对应的文件操作。与相关技术通过输入数字执行解锁的方法或通过在屏幕上滑动手指执行解锁的方法相比,终端提供给用户的交互区域比较大,无需关注界面内容,大大简化了对应用程序的解锁。

Description

一种文件操作方法和装置 本申请基于申请号为 201210425977.9、 申请日为 2012年 10月 30日的中国 专利申请提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内 容在此引入本申请作为参考。 技术领域
本公开涉及移动通信领域, 尤其涉及一种文件操作方法和装置。 背景技术
手机等移动终端的屏幕加锁(筒称 "锁屏" )是为了在手机待机过程中, 避免手机的屏幕与其他物体(例如, 衣裤、 身体皮肤)等之间的摩擦与碰撞 导致手机上的某些按键被碰触或触摸屏被点击, 出现呼叫手机号码等意外事 件。 另一方面, 手机屏幕加锁也能够是屏幕处于黑屏或者低亮度状态, 避免 因长期亮屏而耗费电量, 节约手机电量, 延长手机续航时间。 再者, 手机屏 幕加锁还能够保护手机数据避免他人窃取。 与手机的屏幕加锁相反的操作是 屏幕解锁 (筒称为 "解屏" ) , 解屏后的手机恢复到可使用状态。
相关技术提供的一种锁屏和解锁方法是: 在进行锁屏操作时, 让用户设 置一组由数字、 字符或两者的结合组成的密码, 系统接收用户设置的密码后 即进入锁屏状态;在进行解屏操作时,提示用户输入锁频操作时设置的密码, 用户输入正确的密码后即完成解屏操作, 手机恢复到可使用状态。
相关技术提供的另一种解锁方法是: 通过在屏幕上滑动进行解锁, 即通 过手指在屏幕上滑动一定距离, 或滑动一定路径进行解锁。
本申请的发明人发现, 无论是上述的通过输入数字执行解锁的方法还是 通过在屏幕上滑动手指执行解锁的方法, 用户在执行解锁操作时需要眼睛注 视屏幕, 点击正确位置, 手指需要比较大的动作才能完成解锁。 因此, 上述 这种解锁方法比较繁瑣。 发明内容
本公开实施例提供一种文件操作方法和装置, 以筒化对应用程序的解 锁。
一方面, 本公开实施例提供一种文件操作方法, 所述方法包括: 感应终端的感应区 i或上的敲击;
将所述敲击转化为数字信号;
将所述数字信号与预先设置的密码对应的数字信号匹配;
若匹配的结果为所述敲击转化的数字信号与所述预先设置的密码对应 的数字信号一致, 则发出命令以执行对应的文件操作。
另一方面, 本公开实施例提供一种文件操作装置, 所述装置包括感应模 块、转化模块和中央处理器,所述中央处理器包括匹配模块和命令发布模块; 所述感应模块, 用于感应终端的感应区域上的敲击;
所述转化模块, 用于将所述敲击转化为数字信号;
所述匹配模块, 用于将所述感应模块转化的数字信号与预先设置的对应 的数字信号密码匹配;
所述命令发布模块, 用于若所述匹配模块匹配的结果为所述敲击转化的 数字信号与所述预先设置的密码对应的数字信号一致, 则发出命令以执行对 应的文件操作。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性的, 并不 能限制本公开。
从上述本公开实施例可知, 由于是通过将终端的感应区域上具有节奏的 敲击转化的数字信号与预先设置的密码匹配, 在匹配的结果为所述数字信号 与所述预先设置的密码一致时便发出命令以执行对应的程序操作。 因此, 与 相关技术通过输入数字执行解锁的方法或通过在屏幕上滑动手指执行解锁 的方法相比, 终端提供给用户的交互区域比较大, 无需关注界面内容, 大大 筒化了对应用程序的解锁。 附图说明
为了更清楚地说明本公开实施例的技术方案, 下面将对相关技术或实施 例描述中所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图 仅仅是本公开的一些实施例, 对于本领域技术人员来讲, 还可以如这些附图 获得其他的附图。 图 1是本公开实施例提供的文件操作方法的示例性流程图; 图 2是本公开实施例提供的文件操作装置结构示意图;
图 3是本公开另一实施例提供的文件操作装置结构示意图;
图 4是本公开另一实施例提供的文件操作装置结构示意图;
图 5是本公开另一实施例提供的文件操作装置结构示意图;
图 6-a是本公开另一实施例提供的文件操作装置结构示意图;
图 6-b是本公开另一实施例提供的文件操作装置结构示意图;
图 7是本公开另一实施例提供的文件操作装置结构示意图。 具体实施方式
下面将结合本公开实施例中的附图, 对本公开实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本公开一部分实施例, 而 不是全部的实施例。 基于本公开中的实施例, 本领域技术人员所获得的所有 其他实施例, 都属于本公开保护的范围。
请参阅附图 1 , 是本公开实施例提供的文件操作方法流程示意图, 主要 包括步骤 S101、 步骤 S102、 步骤 S103和步骤 S104, 例如包括:
5101 , 感应终端的感应区域上的敲击。
在本公开实施例中, 终端的感应区域可以是手机等移动终端自带的屏幕 或者所述屏幕上的特定区域, 也可以是手机等移动终端自带的外壳或者所述 外壳上的特定区域。
作为感应终端的感应区域上的敲击一个实施例, 可以是用户使用手指或 其他物体(例如, 手写笔)对终端的感应区域进行敲击时, 感应用户以一定 节奏对终端的感应区域进行的敲击。
作为感应终端的感应区域上的敲击另一实施例, 可以是用户将终端的感 应区敲击其他物体时, 感应所述终端的感应区域以一定节奏敲击其他物体时 所述感应区域受到的敲击。 这一实施例在下述场景中, 即在用户周遭没有搁 置终端的地方或者不方便搁置终端而只有竖直方向的物体, 例如, 门窗、 墙 壁等, 并且用户只能腾出一只手操作时, 对用户十分便利。
5102 , 将所述敲击转化为数字信号。
在本公开实施例中, 所谓敲击可以是具有节奏的敲击, 包括由连续敲击 与停顿相间隔组成的一串敲击动作, 例如, 连续敲击两次, 停顿, 再连续敲 击三次, 停顿, 再敲击一次。 需要说明的是, 所谓 "连续敲击" 并不要求前 后两次敲击动作之间完全没有时间间隔, 若前后两次敲击动作之间的时间间 隔远远小于停顿时间, 也可认为敲击是连续的。
在本公开一个实施例中, 将所述敲击转化为数字信号可以是: 将所述敲 击所产生声音的声音参数与预置的声音参数相比较, 例如, 将所述敲击所产 生声音的音量、 音色等声音参数与预置的音量、 音色等声音参数相比较, 以 及将所述敲击所产生的力学物理量, 例如, 终端的角度和加速度的持续时间 与所述声音的持续时间相比较; 如果比较结果表明所述敲击是有效敲击, 则 将所述具有节奏的敲击转化为以时间间隔的形式记录的数字序列。 例如, 若 所述敲击所产生声音的音量、 音色等声音参数与预置的音量、 音色等声音参 数一致, 并且, 敲击所产生的力学物理量的持续时间与敲击所产生声音的持 续时间相等, 则表明所述敲击是有效敲击, 于是将所述具有节奏的敲击转化 为数字序列。
例如, 将敲击转化为数字序列可以是: 将每一次有效敲击记录为数字
" 1 " , 然后, 将每两次有效敲击的间隔时间 Δ Τ与第一预设值比较。 这里的 第一预设值 Tip的大小可以根据系统的配置事先设置,例如,设置为 2s (秒)。 若每两次有效敲击的间隔时间 Δ Τ小于第一预设值, 则将每两次有效敲击记 录为数字 " 11 " 。 这种间隔时间 Δ Τ小于第一预设值 Tip的两次有效敲击可视 为连续敲击, 即两次有效敲击之间没有停顿。
作为将敲击转化为数字序列另一实施例, 其在每两次有效敲击的间隔时 间小于第一预设值时与前述实施例相同, 即, 将每一次有效敲击记录为数字 " 1 " , 将每两次有效敲击的间隔时间 Δ Τ与第一预设值 Tip比较, 若每两次 有效敲击的间隔时间 Δ Τ小于第一预设值 Tip,则将每两次有效敲击记录为数 字 " 11 " 。 若每两次有效敲击的间隔时间 Δ Τ大于第一预设值 Tip, 则将有 效敲击的间隔记录为数字 "0" 且将这样的两次有效敲击以及两次有效敲击 的间隔一起记录为数字 " 101 " 。 这种间隔时间 Δ Τ大于第一预设值 Tip的两 次有效敲击, 其之间的间隔就是停顿。
按照上述实施例提供的方法, 假设终端的感应区域感应到的敲击是: 两 次间隔时间小于 2s的敲击, 第三次敲击与第二次敲击的间隔时间大于 2s, 第 四次敲击与第三次敲击的间隔时间小于 2s, 第五次敲击与第四次敲击的间隔 时间小于 2s, 第六次敲击与第五次敲击的间隔时间大于 2s, 则上述敲击最终 被转化成的数字序列是 11011101。
在上述将敲击转化为数字序列时, 还有一种场景是任意两次有效敲击的 间隔时间远大于第一预设值 Tip时, 例如, 任意两次有效敲击的间隔时间大 于 5s (秒) 时系统的处理。 在这种场景下, 也可以事先设置一个第二预设值 T2p, 该第二预设值大于前述实施例的第一预设值 Tlp。将任意两次有效敲击 的时间间隔与第二预设值 Τ2ρ比较。 若任意两次有效敲击的时间间隔大于第 二预设值 Τ2ρ,则将大于第二预设值 Τ2ρ的两次有效敲击中第一次有效敲击记 录为一个数字序列的结束, 将大于第二预设值 Τ2ρ的两次有效敲击中第二次 有效敲击记录为另一个数字序列的开始, 即这样的两次有效敲击分别属于两 个不同的数字序列。
考虑到不可能做到每次敲击时前后敲击的时间间隔绝对一致, 也不可能 做到每次停顿的时间绝对相等, 在本公开实施例中, 将有效敲击转化为数字 序列时允许存在一定的转化误差, 即将前后敲击的时间间隔在一定范围内的 敲击视为两次有效敲击, 将在一定范围内的不敲击仍然视为停顿。 例如, 确 定前后敲击的时间间隔为 ΔΤ1 (量纲为秒)时是有效敲击, 此时相应地转化 为数字 "11" , 则只要前后敲击的时间间隔在 [ΔΤ1 -0.03, ΔΤ1 + 0.03] (量 纲为秒) 内均视为是两次有效敲击, 相应地转化为数字仍然是 "11" , 而不 能将前后敲击的时间间隔为 Δ T1 + 0.01时视为两次有效敲击之间有停顿, 从 而将其转化为数字序列 "101" ; 确定不敲击的持续时间为 ΔΤ2 (量纲为秒) 时是停顿, 此时相应地转化为数字信号 "0" , 则只要任何一次不敲击的持 续时间在 [ΔΤ2- 0.05, ΔΤ2 + 0.05] (量纲为秒) 内均视为是停顿, 相应地 转化为数字信号仍然是 "0" 。
需要说明的是, 在感应终端的感应区域上的敲击之前, 需要开启感应区 域, 例如, 可以通过点击解锁物理键, 手机等移动终端自带的屏幕点亮, 或 者手机等移动终端自带的外壳作为感应区域被开启。
S103, 将所述数字信号与预先设置的密码对应的数字信号匹配。
在本公开实施例中, 预先设置的密码可以是用户在解锁之前通过敲击终 端的感应区域而设置的密码, 也可以是以传统方式, 例如, 输入一串数字设 置的密码。
通过敲击终端的感应区域而设置的密码, 可以是用户打开终端的设置密 码界面, 在其感应区域(屏幕或者外壳)被开启时, 终端的麦克风传感器接 收敲击声音, 定制好一定音量和音色, 确定是敲击的有效声音; 同时, 终端 的加速度传感器通过对敲击时加速度的计算确定是敲击动作, 将敲击动作持 续时间与敲击时产生的声音所持续的时间比较, 确定是有效敲击。 当用户再 次以前一次敲击时采用的同样节奏敲击时, 这一具有节奏的敲击被记录成为 一串数字序列, 例如, 假设连续敲击记录为数字信号 " 1 " , 停顿记录为数 字信号 "0" , 则感应到终端的感应区域是以连续敲击两次, 停顿, 再连续 敲击三次, 停顿, 再敲击一次为节奏敲击时, 所述敲击被转化的数字序列是 11011101 ; 数字序列 11011101便作为预置的密码储存在密码存储模块中。
以传统方式, 例如, 输入一串数字设置的密码作为预先设置的密码时, 用户可以直接输入一串数字序列, 例如, 数字序列 11011101 , 或者, 输入其 他的字符、 数字或字符加数字, 但最终被转化为数字序列 11011101也可。
在本公开实施例中, 将敲击转化后的数字信号与预先设置的密码对应的 数字信号匹配的过程, 实际上是一个与预先设置的密码对应的数字信号比较 的过程, 即比较两者是否相同。
需要说明的是, 在将敲击转化后的数字信号与预先设置的密码对应的数 字信号匹配时, 允许存在一定的匹配误差。 例如, 4叚设两次敲击的时间间隔 不小于 2s时视为停顿, 进一步假设预先设置的密码对应的数字信号是 101111 , 则其对应的敲击节奏是: 敲击, 间隔 2s不敲击, 敲击, 间隔 Is不敲 击, 敲击, 间隔 0.5s不敲击, 敲击, 间隔 0.5s不敲击, 敲击, 间隔的时间序列 为: 2 1 0.5 0.5。
假设用户在执行解锁时的敲击节奏为: 敲击, 间隔 1.8s不敲击, 敲击, 间隔 Is不敲击, 敲击, 间隔 0.2s不敲击, 敲击, 间隔 0.3s不敲击, 敲击, 时 间序列为: 1.8 1 0.2 0.3。
计算执行解锁时的敲击节奏所对应的时间序列与预设密码对应的敲击 节奏对应的时间序列之间的方差为 0.0425。
若规定方差小于 0.05是允许的匹配误差, 执行解锁时的敲击节奏所对应 的时间序列与预设密码对应的敲击节奏对应的时间序列之间的方差小于 0.05 时视为匹配, 则显然上述的匹配结果为匹配一致。
S104, 若匹配的结果为所述数字信号与所述预先设置的密码一致, 则执 行对应的文件操作。
命令可由终端的中央处理器发出,命令一旦发出,执行对应的文件操作。 由于解屏实际上是由系统内的应用程序(也是一种文件)完成, 因此, 在本 公开实施例中, 文件操作可以是对终端的屏幕进行解锁操作。 类似地, 文件 操作还可以是对短信应用程序、通讯录应用程序和其他常用应用程序的解锁 操作, 即通过解锁, 打开短信应用程序、 通讯录应用程序和其他常用应用程 序的界面等等。
如前所述, 由于将敲击转化为数字序列时允许存在一定的转化误差, 因 此, 在本公开实施例中, 终端的感应区域上具有节奏的敲击被转化为的数字 信号与预先设置的密码一致, 反映到用户敲击感应区域上, 只要用户在事先 预置密码时的敲击节奏与解锁时的敲击节奏相比较, 两者的每次敲击或停顿 之间的差别是在转化误差所允许的范围内即可, 不必完全等同。
从上述本公开实施例提供的解锁方法可知, 由于是通过将终端的感应区 域上的敲击转化的数字信号与预先设置的密码匹配, 在匹配的结果为所述数 字信号与所述预先设置的密码一致时便发出命令以执行对应的文件操作。 因 此, 与现有技术通过输入数字执行解锁的方法或通过在屏幕上滑动手指执行 解锁的方法相比, 终端提供给用户的交互区域比较大, 无需关注界面内容, 大大筒化了对应用程序的解锁。
请参阅附图 2 , 是本公开实施例提供的文件操作装置结构示意图。 为了 便于说明, 仅仅示出了与本公开实施例相关的部分。 附图 2示例的文件操作 装置包括感应模块 201、 中央处理器 202和转化模块 205 , 中央处理器 202包括 匹配模块 203和命令发布模块 204, 其中:
感应模块 201 , 用于感应终端的感应区域上的敲击;
转化模块 205 , 用于将所述敲击转化为数字信号;
匹配模块 203 , 用于将所述感应模块 201转化的数字信号与预先设置的密 码对应的数字信号匹配;
命令发布模块 204 , 用于若所述匹配模块 203匹配的结果为所述敲击转化 的数字信号与所述预先设置的密码对应的数字信号一致, 则发出命令以执行 对应的文件操作。
作为感应模块 201感应终端的感应区域上的敲击一个实施例, 可以是用 户使用手指或其他物体(例如, 手写笔)对终端的感应区域进行敲击时, 感 应模块 201感应用户以一定节奏对终端的感应区域进行的敲击。
作为感应模块 201感应终端的感应区域上的敲击另一实施例, 可以是用 户将终端的感应区敲击其他物体时, 感应模块 201感应所述终端的感应区域 以一定节奏敲击其他物体时所述感应区域受到的敲击。 这一实施例在下述场 景中, 即在用户周遭没有搁置终端的地方或者不方便搁置终端而只有竖直方 向的物体, 例如, 门窗、 墙壁等, 并且用户只能腾出一只手操作时, 对用户 十分便利。
需要说明的是, 以上文件操作装置的实施方式中, 各功能模块的划分仅 是举例说明, 实际应用中可以根据需要, 例如相应硬件的配置要求或者软件 的实现的便利考虑, 而将上述功能分配由不同的功能模块完成, 即将所述文 件操作装置的内部结构划分成不同的功能模块, 以完成以上描述的全部或者 部分功能。 而且, 实际应用中, 本实施例中的相应的功能模块可以是由相应 的硬件实现, 也可以由相应的硬件执行相应的软件完成, 例如, 前述的感应 模块, 可以是具有执行前述感应终端的感应区域上的敲击的硬件, 例如感应 器, 也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者 其他硬件设备; 再如前述的匹配模块, 可以是具有执行前述将所述感应模块 (或感应器)转化的数字信号与预先设置的密码匹配功能的硬件, 例如匹配 器, 也可以是能够执行相应计算机程序从而完成前述功能的一般处理器或者 其他硬件设备(本说明书提供的各个实施例都可应用上述描述原则 ) 。
附图 2示例的感应模块 201可以包括麦克风传感器 301和加速度传感器 302 , 转化模块 205包括数字化子模块 303 , 如附图 3所示本公开另一实施例提 供的文件操作装置, 其中:
麦克风传感器 301 , 用于将所述敲击所产生声音的声音参数与预置的声 音参数相比较;
加速度传感器 302 , 用于将所述敲击所产生的力学物理量的持续时间与 所述声音的持续时间相比较;
数字化子模块 303 , 用于若所述麦克风传感器 301和所述加速度传感器 302比较结果表明所述敲击是有效敲击, 则将所述敲击转化为数字序列。 在附图 3示例的文件操作装置中, 麦克风传感器 301可以将终端的感应区 域上具有节奏的敲击所产生声音的音量、 音色等声音参数与预置的音量、 音 色等声音参数相比较, 加速度传感器 302可以将终端的感应区域上的敲击所 产生的力学物理量, 例如, 终端的角度和加速度的持续时间与所述声音的持 续时间相比较; 如果比较结果表明所述敲击是有效敲击, 则数字化单元 303 将所述敲击转化为数字序列。 例如, 若经过比较, 所述敲击所产生声音的音 量、 音色等声音参数与预置的音量、 音色等声音参数一致, 并且, 敲击所产 生的力学物理量的持续时间与敲击所产生声音的的持续时间相等, 则表明所 述敲击是有效敲击, 于是数字化子模块 303将所述敲击转化为数字序列。
附图 3示例的数字化子模块 303可以包括第一记录单元 401、 第一比较单 元 402和第二记录单元 403 , 如附图 4所示本公开另一实施例提供的文件操作 装置, 其中:
第一记录单元 401 , 用于将每一次所述有效敲击记录为数字 " 1 " ; 较; ' 、 、 ί 、 s 、 曰 一 第二记录单元 403 , 用于若每两次所述有效敲击的间隔时间小于所述预 设值, 则将每两次所述有效敲击记录为数字 " 1 1 " 。 附图 3示例的数字化子 模块 303可以包括第一记录单元 401、 第一比较单元 402、 第二记录单元 403和 第三记录单元 501 , 如附图 5所示本公开另一实施例提供的文件操作装置, 其 中:
第一记录单元 401 , 用于将每一次所述有效敲击记录为数字 " 1 " ; 以及 较; ' 、 、 ί 、 s 、 曰 一 第二记录单元 403 , 用于若每两次所述有效敲击的间隔时间小于所述预 设值, 则将每两次所述有效敲击记录为数字 " 1 1 " ;
第三记录单元 501 , 用于若每两次所述有效敲击的间隔时间大于所述第 一预设值, 则将所述有效敲击的间隔记录为数字 "0" 且将每两次所述有效 敲击以及所述两次有效敲击的间隔一起记录为数字 " 101 " 。
附图 4或附图 5示例的数字化子模块 303还可以包括第二比较单元 601和 第四记录单元 602,如附图 6-a和附图 6-b所示本公开另一实施例提供的文件操 作装置, 其中:
第二比较单元 601 , 用于将任意两次所述有效敲击之间的时间间隔与第 二预设值比较, 所述第二预设值大于所述第一预设值;
第四记录单元 602, 用于若所述任意两次有效敲击之间的时间间隔大于 所述第二预设值, 则将所述大于第二预设值的两次有效敲击中第一次有效敲 击记录为一个数字序列的结束, 将所述大于第二预设值的两次有效敲击中第 二次有效敲击记录为另一个数字序列的开始。
考虑到不可能做到每次连续敲击时前后敲击的时间间隔绝对一致, 也不 可能做到每次停顿的时间绝对相等, 在上述本公开示例的文件操作装置中, 数字化子模块 303将有效敲击转化为数字序列时允许存在一定的转化误差, 即将前后敲击的时间间隔在一定范围内的敲击视为两次有效敲击, 将在一定 范围内的不敲击仍然视为停顿。 例如, 确定前后敲击的时间间隔为 ΔΤ1 (量 纲为秒) 时是有效敲击, 此时数字化子模块 303相应地将其转化为数字是 "11" , 则只要前后敲击的时间间隔在 [ΔΤ1 -0.03, ΔΤ1 +0.03] (量纲为 秒) 内均视为是两次有效敲击, 数字化子模块 303相应地将其转化为数字信 号仍然是 "11" , 而不能将前后敲击的时间间隔为 ΔΤ1 +0.01时视为两次 有效敲击之间有停顿, 从而将其转化为数字序列 "101" ; 确定不敲击的持 续时间为 ΔΤ2 (量纲为秒) 时是停顿, 此时数字化单元 303相应地将该停顿 转化为数字信号 "0" , 则只要任何一次不敲击的持续时间在 [ΔΤ2- 0.05, ΔΤ2 + 0.05] (量纲为秒) 内均视为是停顿, 数字化单元 303相应地都将这种 停顿转化为数字信号仍然是 "0" 。
需要说明的是, 在感应终端的感应区域上的敲击之前, 需要开启感应区 域, 例如, 可以通过点击解锁物理键, 手机等移动终端自带的屏幕点亮, 或 者手机等移动终端自带的外壳作为感应区域被开启。
附图 2示例的命令发布模块 204可以包括解屏单元 701 , 如附图 7所示本公 开另一实施例提供的文件操作装置。 解屏单元 701用于匹配模块 203匹配的结 果为所述敲击转化的数字信号与所述预先设置的密码对应的数字信号一致 时, 发出命令对所述终端的屏幕进行解锁操作。
由于解屏实际上是由系统内的应用程序 (也是一种文件) 完成, 因此, 在附图 7示例的文件操作装置中, 命令发布模块 204执行的文件操作可以是解 屏单元 701对终端的屏幕进行解锁操作。 类似地, 命令发布模块 204执行的文 件操作还可以是对短信应用程序、通讯录应用程序和其他常用应用程序的解 锁操作, 即通过解锁, 打开短信应用程序、 通讯录应用程序和其他常用应用 程序的界面等等。
需要说明的是,上述装置各模块 /单元之间的信息交互、执行过程等内容, 由于与本公开方法实施例基于同一构思, 其带来的技术效果与本公开方法实 施例相同, 具体内容可参见本公开方法实施例中的叙述, 此处不再赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分 步骤是可以通过程序来指令相关的硬件来完成, 比如以下各种方法的一种或 多种或全部:
感应终端的感应区 i或上的敲击;
将所述敲击转化为数字信号;
将所述数字信号与预先设置的密码对应的数字信号匹配;
若匹配的结果为所述敲击转化的数字信号与所述预先设置的密码对应 的数字信号一致, 则发出命令以执行对应的程序操作。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分 步骤是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机 可读存储介质中, 存储介质可以包括: 只读存储器 (ROM , Read Only Memory ) 、 随机存取存储器 ( RAM, Random Access Memory ) 、 磁盘或光 盘等。
以上对本公开实施例提供的一种文件操作方法和装置进行了详细介绍, 本文中应用了具体个例对本公开的原理及实施方式进行了阐述, 以上实施例 的说明只是用于帮助理解本公开的方法及其核心思想; 同时, 对于本领域的 一般技术人员, 依据本公开的思想, 在具体实施方式及应用范围上均会有改 变之处, 综上所述, 本说明书内容不应理解为对本公开的限制。

Claims

权利要求
1、 一种文件操作方法, 其特征在于, 所述方法包括:
感应终端的感应区 i或上的敲击;
将所述敲击转化为数字信号;
将所述数字信号与预先设置的密码对应的数字信号匹配;
若匹配的结果为所述敲击转化的数字信号与所述预先设置的密码对应 的数字信号一致, 则发出命令以执行对应的文件操作。
2、 如权利要求 1所述的方法, 其特征在于, 所述将所述敲击转化为数字 信号包括:
将所述敲击所产生声音的声音参数与预置的声音参数相比较; 将所述敲击所产生的力学物理量的持续时间与所述声音的持续时间相 比较;
若比较结果表明所述敲击是有效敲击, 则将所述敲击转化为数字序列。
3、 如权利要求 2所述的方法, 其特征在于, 所述将所述敲击转化为数字 序列包括:
将每一次所述有效敲击记录为数字 " 1" ;
将每两次所述有效敲击的间隔时间与第一预设值比较;
若每两次所述有效敲击的间隔时间小于所述第一预设值, 则将每两次所 述有效敲击记录为数字 "11" 。
4、 如权利要求 2所述的方法, 其特征在于, 所述将所述敲击转化为数字 序列包括:
将每一次所述有效敲击记录为数字 " 1" ;
将每两次所述有效敲击的间隔时间与第一预设值比较;
若每两次所述有效敲击的间隔时间小于所述第一预设值, 则将每两次所 述有效敲击记录为数字 "11" ;
若每两次所述有效敲击的间隔时间大于所述第一预设值, 则将所述有效 敲击的间隔记录为数字 "0" 且将每两次所述有效敲击以及所述两次有效敲 击的间隔一起记录为数字 "101" 。
5、 如权利要求 3或 4所述的方法, 其特征在于, 所述将所述敲击转化为 数字序列包括: 将任意两次所述有效敲击的时间间隔与第二预设值比较, 所述第二预设 值大于所述第一预设值;
若所述任意两次有效敲击的时间间隔大于所述第二预设值, 则将所述大 于第二预设值的两次有效敲击中第一次有效敲击记录为一个数字序列的结 束, 将所述大于第二预设值的两次有效敲击中第二次有效敲击记录为另一个 数字序列的开始。
6、 如权利要求 1所述的方法, 其特征在于, 所述发出命令以执行对应的 文件操作包括:
发出命令对所述终端的屏幕进行解锁操作。
7、 一种文件操作装置, 其特征在于, 所述装置包括感应模块、 转化模 块和中央处理器, 所述中央处理器包括匹配模块和命令发布模块;
所述感应模块, 用于感应终端的感应区域上具有节奏的敲击; 所述转化模块, 用于将所述具有节奏的敲击转化为数字信号; 所述匹配模块, 用于将所述感应模块转化的数字信号与预先设置的密码 对应的数字信号匹配;
所述命令发布模块, 用于若所述匹配模块匹配的结果为所述敲击转化的 数字信号与所述预先设置的密码对应的数字信号一致, 则发出命令以执行对 应的文件操作。
8、 如权利要求 7所述的装置, 其特征在于, 所述感应模块包括麦克风传 感器和加速度传感器, 所述转化模块包括数字化子模块;
麦克风传感器, 用于将所述敲击所产生声音的声音参数与预置的声音参 数相比较;
加速度传感器, 用于将所述敲击所产生的力学物理量的持续时间与所述 声音的持续时间相比较;
数字化子模块, 用于若所述麦克风传感器和所述加速度传感器比较结果 表明所述敲击是有效敲击, 则将所述具有节奏的敲击转化为数字序列。
9、 如权利要求 8所述的装置, 其特征在于, 所述数字化子模块包括: 第一记录单元, 用于将每一次所述有效敲击记录为数字 " 1" ; 第二记录单元, 用于若每两次所述有效敲击的间隔时间小于所述预设 值, 则将每两次所述有效敲击记录为数字 " 11 " 。
10、 如权利要求 8所述的装置, 其特征在于, 所述数字化子模块包括: 第一记录单元, 用于将每一次所述有效敲击记录为数字 " 1" ; 以及 第二记录单元, 用于若每两次所述有效敲击的间隔时间小于所述预设 值, 则将每两次所述有效敲击记录为数字 " 11" ;
第三记录单元, 用于若每两次所述有效敲击的间隔时间大于所述第一预 设值, 则将所述有效敲击的间隔记录为数字 "0" 且将每两次所述有效敲击 以及所述两次有效敲击的间隔一起记录为数字 " 101 " 。
11、 如权利要求 9或 10所述的装置, 其特征在于, 所述数字化子模块还 包括:
第二比较单元, 用于将任意两次所述有效敲击之间的时间间隔与第二预 设值比较, 所述第二预设值大于所述第一预设值;
第四记录单元, 用于若所述任意两次有效敲击之间的时间间隔大于所述 第二预设值, 则将所述大于第二预设值的两次有效敲击中第一次有效敲击记 录为一个数字序列的结束, 将所述大于第二预设值的两次有效敲击中第二次 有效敲击记录为另一个数字序列的开始。
12、 如权利要求 7所述的装置, 其特征在于, 所述命令发布模块包括: 解屏单元, 用于所述匹配模块匹配的结果为所述敲击转化的数字信号与 所述预先设置的密码对应的数字信号一致时, 发出命令对所述终端的屏幕进 行解锁操作。
PCT/CN2013/084120 2012-10-30 2013-09-24 一种文件操作方法和装置 Ceased WO2014067374A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210425977.9 2012-10-30
CN201210425977.9A CN102981737B (zh) 2012-10-30 2012-10-30 一种文件操作方法和装置

Publications (1)

Publication Number Publication Date
WO2014067374A1 true WO2014067374A1 (zh) 2014-05-08

Family

ID=47855825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084120 Ceased WO2014067374A1 (zh) 2012-10-30 2013-09-24 一种文件操作方法和装置

Country Status (2)

Country Link
CN (1) CN102981737B (zh)
WO (1) WO2014067374A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981737B (zh) * 2012-10-30 2016-09-07 北京小米科技有限责任公司 一种文件操作方法和装置
CN107861619A (zh) * 2013-10-11 2018-03-30 北京三星通信技术研究有限公司 移动终端及其操控方法
KR102115186B1 (ko) * 2013-11-22 2020-05-27 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
CN103760979A (zh) * 2014-01-20 2014-04-30 联想(北京)有限公司 一种信息处理方法及电子设备
KR20150098115A (ko) * 2014-02-19 2015-08-27 엘지전자 주식회사 이동단말기 및 그 제어방법
CN105278844A (zh) * 2014-07-10 2016-01-27 西安中兴新软件有限责任公司 一种终端、以及终端解密的方法
CN105373717A (zh) * 2014-08-18 2016-03-02 国民技术股份有限公司 一种基于声波的加密、解密方法及系统
CN105094594B (zh) * 2015-06-01 2018-11-30 小米科技有限责任公司 操作项显示方法及装置
CN105072611A (zh) * 2015-07-08 2015-11-18 广东欧珀移动通信有限公司 一种验证的方法及终端
CN105119881A (zh) * 2015-07-08 2015-12-02 广东欧珀移动通信有限公司 一种共享文件的方法及终端
CN105006106B (zh) * 2015-08-13 2017-08-18 张鹤霖 一种人体非清醒状态提醒方法及装置
CN106919815A (zh) * 2015-12-25 2017-07-04 中兴通讯股份有限公司 一种电子设备的操作方法、装置及电子设备
CN105718179B (zh) * 2016-01-20 2019-02-12 Oppo广东移动通信有限公司 信息处理方法及装置
CN105718177B (zh) * 2016-01-20 2017-12-01 广东欧珀移动通信有限公司 一种覆盖区域的操作方法及操作终端
CN105808996A (zh) * 2016-05-12 2016-07-27 北京小米移动软件有限公司 终端解锁屏方法及装置
CN105869255B (zh) * 2016-06-12 2018-01-12 深圳益强信息科技有限公司 一种基于移动终端的智能门禁控制方法及系统
CN107918729A (zh) * 2017-12-25 2018-04-17 仲杏英 防盗指纹解锁系统
CN108664232B (zh) * 2018-04-26 2021-09-07 福建星网智慧软件有限公司 一种敲击麦克风阵列模拟按键操作的方法
CN110335456A (zh) * 2019-05-28 2019-10-15 努比亚技术有限公司 可穿戴设备控制方法、可穿戴设备及计算机可读存储介质
CN114633721B (zh) * 2022-03-21 2023-06-20 中国第一汽车股份有限公司 一种车辆解锁方法、装置、电子设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242434A1 (en) * 2005-04-22 2006-10-26 Tsung-Jen Lee Portable device with motion sensor
CN101882333A (zh) * 2010-02-24 2010-11-10 林剑 一种主动式密码输入法
CN102455842A (zh) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 一种根据用户的敲击操作实现屏幕解锁的方法与设备
CN102981737A (zh) * 2012-10-30 2013-03-20 北京小米科技有限责任公司 一种文件操作方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001249731A (ja) * 2000-03-07 2001-09-14 Hitachi Ltd リズムを用いた入力による認証方法
CN101848276A (zh) * 2010-04-16 2010-09-29 中山大学 手机屏幕的锁屏与解屏方法及系统
CN102314295A (zh) * 2010-07-08 2012-01-11 富泰华工业(深圳)有限公司 屏幕解锁装置及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060242434A1 (en) * 2005-04-22 2006-10-26 Tsung-Jen Lee Portable device with motion sensor
CN101882333A (zh) * 2010-02-24 2010-11-10 林剑 一种主动式密码输入法
CN102455842A (zh) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 一种根据用户的敲击操作实现屏幕解锁的方法与设备
CN102981737A (zh) * 2012-10-30 2013-03-20 北京小米科技有限责任公司 一种文件操作方法和装置

Also Published As

Publication number Publication date
CN102981737A (zh) 2013-03-20
CN102981737B (zh) 2016-09-07

Similar Documents

Publication Publication Date Title
WO2014067374A1 (zh) 一种文件操作方法和装置
TWI474703B (zh) 提供時間比例式密碼/盤問鑑定的方法與電腦裝置
CN104778397B (zh) 信息处理装置及其方法
CN104750254B (zh) 一种信息处理方法及装置、电子设备
WO2014090132A1 (zh) 电子设备及其屏幕解锁方法
US9980131B2 (en) Mobile terminal, device and control method thereof
CN104598783B (zh) 一种智能终端的解锁方法及装置
KR20190099386A (ko) 지문 잠금 해제 방법, 장치, 프로그램 및 기록매체
US9372981B2 (en) Electronic device and method for unlocking screen of electronic device
CN102436345A (zh) 一种移动设备界面操作控制的方法及实现装置
WO2012155428A1 (zh) 一种解除终端屏幕锁的方法及便携式终端设备
WO2014121730A1 (zh) 电子设备及其屏幕解锁方法
CN102203794A (zh) 一种终端认证方法及装置
CN101860622A (zh) 一种手机解锁装置及方法
CN104090708A (zh) 便携智能终端的控制方法和装置
WO2018107396A1 (zh) 一种指纹识别方法及终端设备
JP2019537109A (ja) 指紋収集方法及び端末
CN103076968A (zh) 一种触控终端的操作控制方法及其触控终端
CN110555336A (zh) 指纹采集方法、装置、电子设备和存储介质
JP2003177833A (ja) 携帯用情報機器の機能にアクセスする方法及びシステム
CN107450839A (zh) 基于黑屏手势的控制方法、装置、存储介质及移动终端
WO2013182138A1 (zh) 一种终端锁定状态控制方法、装置及一种终端
CN101894223A (zh) 密码保护方法及系统
WO2014173170A1 (zh) 多媒体文件的播放控制方法及装置
CN105824524A (zh) 一种启动应用程序的方法及移动终端

Legal Events

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

Ref document number: 13850764

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13850764

Country of ref document: EP

Kind code of ref document: A1