Nothing Special   »   [go: up one dir, main page]

CN105160270B - The method and intelligent watch of a kind of file encryption - Google Patents

The method and intelligent watch of a kind of file encryption Download PDF

Info

Publication number
CN105160270B
CN105160270B CN201510532783.2A CN201510532783A CN105160270B CN 105160270 B CN105160270 B CN 105160270B CN 201510532783 A CN201510532783 A CN 201510532783A CN 105160270 B CN105160270 B CN 105160270B
Authority
CN
China
Prior art keywords
operation information
target
input
target operation
smart watch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510532783.2A
Other languages
Chinese (zh)
Other versions
CN105160270A (en
Inventor
万世铭
刘鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510532783.2A priority Critical patent/CN105160270B/en
Publication of CN105160270A publication Critical patent/CN105160270A/en
Application granted granted Critical
Publication of CN105160270B publication Critical patent/CN105160270B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of method of file encryption, including:When intelligent watch need to be encrypted for file, the intelligent watch obtains table hat by the object run information of operation input;The intelligent watch is handled the object run information, and the object run information is converted into target Crypted password;The intelligent watch obtains the file that need to be encrypted, and the file is encrypted according to the target Crypted password, obtains encryption file.The embodiment of the invention also discloses a kind of intelligent watch.Using the present invention, it may be such that user file can be encrypted by table hat, convenient user operation makes intelligent watch more possess intellectuality.

Description

File encryption method and smart watch
Technical Field
The invention relates to the technical field of electronics, in particular to a file encryption method and an intelligent watch.
Background
With the development of science, various wearable devices are also more and more popular, and wearable devices such as smart glasses and smart watches are increasingly popular. Various application software can be built in the wearable devices, and users can download applications, pay for accounts, take pictures, watch videos, listen to music, play games, enjoy pictures or read books and the like through the wearable devices, so that the life of the users is facilitated, and the user experience is improved.
At present, when a file is sent through the smart watch, the file can be encrypted, so that the security of the file is improved. However, when a user inputs a password to encrypt a file through the smart watch, the user needs to operate a display screen of the smart watch to select characters to input an encryption password. Because the display screen of the intelligent watch is narrow, the user can not freely input the encryption password, and the inconvenience is brought to the user.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a file encryption method and an intelligent watch. The file can be encrypted by the user through the crown, and the operation of the user is convenient.
In order to solve the above technical problem, an embodiment of the present invention provides a method for encrypting a file, including:
when the smart watch needs to encrypt a file, the smart watch acquires target operation information input by operating a crown;
the smart watch processes the target operation information and converts the target operation information into a target encryption password;
the smart watch acquires a file to be encrypted, and encrypts the file according to the target encryption password to obtain an encrypted file.
Wherein,
the crown includes: at least one of a joystick, a trackball, and a touchpad;
the target operation information includes: at least one of target operation information that the joystick is operated to input, target operation information that the trackball is operated to input, and target operation information that the touch panel is operated to input.
The smart watch processes the target operation information, and the step of converting the target operation information into a target encryption password comprises the following steps:
and the intelligent watch acquires a target encryption password corresponding to the target operation information according to the preset corresponding relation between the operation information and the encryption password.
Wherein, the smart watch processes the target operation information, and before converting the target operation information into a target encryption password, the smart watch includes:
the smart watch presets the corresponding relation between the target operation information input by the operation of the operation rod and the encryption password, and/or,
the intelligent watch presets the corresponding relation between the target operation information input by the operation of the track ball and the encryption password, and/or,
the smart watch presets the corresponding relation between the target operation information input by the touch pad through operation and the encrypted password.
Wherein the target encryption password comprises: numeric passwords, alphabetic passwords, and symbolic passwords.
Correspondingly, an embodiment of the present invention further provides an intelligent watch, including:
the acquisition unit is used for acquiring target operation information input by the operation of the crown when the file needs to be encrypted;
the processing unit is used for processing the target operation information and converting the target operation information into a target encryption password;
and the encryption unit is used for acquiring a file to be encrypted, encrypting the file according to the target encryption password and acquiring an encrypted file.
Wherein,
the crown includes: at least one of a joystick, a trackball, and a touchpad;
the target operation information includes: at least one of target operation information that the joystick is operated to input, target operation information that the trackball is operated to input, and target operation information that the touch panel is operated to input.
Wherein the processing unit is specifically configured to:
and acquiring a target encryption password corresponding to the target operation information according to the corresponding relation between the preset operation information and the encryption password.
Wherein, the smart watch includes:
the first presetting unit is used for presetting the corresponding relation between target operation information input by the operation of the operation rod and the encrypted password;
the second presetting unit is used for presetting the corresponding relation between the target operation information input by the operation of the track ball and the encrypted password;
and the third presetting unit is used for presetting the corresponding relation between the target operation information operated and input by the touch panel and the encrypted password.
Wherein the target encryption password comprises: numeric passwords, alphabetic passwords, and symbolic passwords.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the smart watch needs to encrypt a file, the target operation information input by operating the crown is acquired, the smart watch processes the target operation information and converts the target operation information into the target encryption password, the smart watch acquires the file needing to be encrypted, and the file is encrypted according to the target encryption password to acquire the encrypted file, so that a user can encrypt the file through the crown, the convenience of user operation is improved, and the smart watch is more intelligent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first embodiment of a method for encrypting a file according to an embodiment of the present invention;
FIG. 2 is a structural diagram of a crown provided in an embodiment of the present invention;
FIG. 2a is a block diagram of another crown provided by an embodiment of the present invention;
FIG. 2b is a block diagram of another crown provided by an embodiment of the present invention;
FIG. 2c is a block diagram of another crown provided by an embodiment of the present invention;
fig. 3 is a structural diagram of a smart watch according to a first embodiment of the present invention;
fig. 4 is a structural diagram of a second embodiment of a smart watch according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a first embodiment of a file encryption method according to an embodiment of the present invention. The file encryption method of the embodiment of the invention comprises the following steps:
s100, when the smart watch needs to encrypt the file, target operation information input by the crown in an operation mode is obtained.
In the embodiment of the invention, when a user needs to encrypt a file, the user can operate the smart watch to input an operation instruction for starting an encryption mode. When the smart watch acquires an operation instruction for starting the encryption mode, the smart watch can enter the encryption mode to encrypt the file selected by the user. Optionally, the operation instruction for the user to operate the smart watch to input the start encryption mode may be an operation instruction for the user to trigger a watch or a screen to generate the start encryption mode. Further, after the smart watch enters the encryption mode, the smart watch can monitor the target operation information of the operated crown, so that the target operation information of the operated crown is obtained when the target operation information of the operated crown is monitored.
In the embodiment of the present invention, the crown of the smart watch may be as shown in a of fig. 2, and the crown is a mechanical key of the smart watch, and the mechanical key is located on one side of the dial of the smart watch and can rotate. Specifically, the crown may be the crown shown in fig. 2a, and the crown may include an operation rod, specifically, the operation rod may be a conical hollow operation rod, and the operation rod may be shifted left, right, up and down; the crown can also be a crown as shown in fig. 2b, and a rotating touch surface (namely, a side surface of the crown) of the crown is provided with a touch pad which can sense the touch sliding up, down, left and right; the crown may also be a crown as shown in fig. 2c, with a trackball mounted laterally, which may be a sensor with a track point function, that senses touch presses left, right, up and down.
In the embodiment of the invention, after the crown is operated, the smart watch can monitor that the crown is operated and acquire the target operation information input by the crown operation. Alternatively, the target operation information may be target operation information input by the operation of the operation lever, such as operation information input by dialing the operation lever to a set direction, where the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user dials the operating lever to the set upper direction, the smart watch acquires the target operation information of the crown operated and input, and the target operation information can be the operation information of the operating lever to dial and input to the set upper direction.
In the embodiment of the present invention, the target operation information may also be target operation information that is operated and input by the touch panel, for example, operation information that is sensed by the touch panel to perform a touch input in a set direction. Wherein the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user touches the touch pad in the upward direction, the target operation information of the crown, which is obtained by the smart watch through operation input, may be operation information of touch input performed by the touch pad in the upward direction.
In the embodiment of the present invention, the target operation information may also be target operation information that the trackball is pressed to input, such as operation information that the trackball senses that the trackball presses to input in a set direction. Wherein the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user presses the trackball in the upward direction, the target operation information of the crown, which is obtained by the smart watch through operation input, may be operation information of the trackball pressing the trackball in the upward direction.
In the embodiment of the present invention, the target operation information may also be combined operation information including at least two kinds of information among operation information in which the operation lever is operated to be input, operation information in which the trackball is operated to be input, and operation information in which the touch panel is operated to be input. In specific applications, for example: when a user touches the touch pad in the upward direction and simultaneously performs short dialing on the operating rod in the upward direction, the intelligent watch acquires the operating information of the crown which is operated and input, and the operating information is combined into combined operating information which is formed by operating information of dialing input performed in the upward direction of the operating rod and operating information of touch input performed in the upward direction of the touch pad.
In the embodiment of the invention, when the operating rod, the track ball and the touch pad of the crown of the intelligent watch are operated for multiple times, the intelligent watch can acquire multiple target operation information.
And S101, the intelligent watch processes the target operation information and converts the target operation information into an encrypted password.
In the embodiment of the invention, the smart watch acquires the target encryption password corresponding to the target operation information according to the preset corresponding relation between the operation information and the encryption password.
In the embodiment of the invention, the smart watch can preset the corresponding relation between the operation information and the encryption password. The encryption password can be an encryption password such as a numeric encryption password, a character encryption password, an alphabetic encryption algorithm, and the like. Optionally, the invention uses the number as an encryption password. Wherein the number may include 0 to 9.
Optionally, the smart watch may preset that the operation information input by the operation of the operation lever corresponds to the encrypted password, such as: the intelligent watch can preset the number 1 corresponding to the operation information which is input by the operating rod in a poking mode towards the set upper direction; the intelligent watch can preset the operation information which is input by the operation rod in a poking way towards the set lower direction and corresponds to the number 2; the intelligent watch can preset the number 3 corresponding to the operation information which is input by the operating rod in a poking mode towards the set left direction; the intelligent watch can preset the operation rod to stir the input operation information corresponding number 4 towards the set right direction. Furthermore, the intelligent watch can also preset the digital combination corresponding to the operation information input by the operation rod. Furthermore, other operation information input by the operation of the operation rod corresponding to other numbers can be preset, and developers can set the operation information by themselves without limitation. Wherein, the developer can call up the preset interface for setting.
Optionally, the smart watch may preset that the operation information input by the operation of the trackball corresponds to the encrypted password, such as: the intelligent watch can preset a number 5 corresponding to operation information which is input by pressing the trackball towards a set upper direction; the intelligent watch can preset the operation information corresponding to the figure 6, which is input by pressing the trackball to the set lower direction; the intelligent watch can preset a number 7 corresponding to the operation information which is input by pressing the trackball towards the set left direction; the intelligent watch can preset the operation information corresponding number 8 which is pressed and input by the trackball towards the set right direction. Furthermore, the intelligent watch can also preset the digital combination corresponding to the operation information input by the operation of the trackball. Furthermore, other operation information input by operating the trackball can be preset to correspond to other numbers, and developers can set the operation information by themselves without limitation. Wherein, the developer can call up the preset interface for setting.
Optionally, the smart watch may preset an encryption password corresponding to the operation information input by the operation of the touch pad, such as: the smart watch can preset a number 9 corresponding to operation information which is input by the touch pad in a set upper direction in a touch mode; the smart watch can preset a number 0 corresponding to operation information which is input by the touch pad in a touch mode in a set lower direction; the smart watch can preset a number 1 corresponding to the operation information which is input by the touch pad in a set left direction; the smart watch may preset a number 2 corresponding to operation information that the touch pad performs touch input in a set right direction. Furthermore, the smart watch can also preset a digital combination corresponding to the operation information input by the operation of the touch pad. Furthermore, other operation information input by the touch pad by operation can be preset to correspond to other numbers, and developers can set the operation information by themselves without limitation. Wherein, the developer can call up the preset interface for setting.
Optionally, the smart watch may preset the encryption password corresponding to the combined operation information, such as: the smart watch can preset the number 1 corresponding to the operation information of touch input of the touch pad to the set upper direction and the operation information of toggle input of the operating rod to the set upper direction. Furthermore, the intelligent watch can also preset a digital combination corresponding to the combination operation information. Furthermore, other combination operation information may correspond to other numbers, and the developer may set the combination operation information by himself or herself without limitation. Wherein, the developer can call up the preset interface for setting.
In the embodiment of the present invention, when the target operation information acquired by the smartwatch is one piece of target operation information, the smartwatch may acquire the encrypted password corresponding to the target operation information according to a preset correspondence between the operation information and the encrypted password, and use the encrypted password corresponding to the target operation information as the target encrypted password.
In the embodiment of the present invention, when the target operation information acquired by the smartwatch is a plurality of target operation information, the smartwatch may acquire the encryption password corresponding to each target operation information one by one according to a preset correspondence between the operation information and the encryption password. The smart watch can combine the obtained encryption passwords according to the sequence relation of the obtained target operation information, and the obtained encryption passwords are combined to be used as target encryption passwords.
In the embodiment of the invention, when the smart watch acquires the target encryption password, the smart watch can display the target encryption password.
The set up direction, the set down direction, the set left direction and the set left direction mentioned in the embodiments of the present invention may be up, down, left and right directions determined by the user on a daily basis.
S102, the smart watch acquires a file to be encrypted, and encrypts the file according to the encryption password to obtain an encrypted file.
In the embodiment of the invention, the smart watch can acquire the file which needs to be encrypted by the user, for example, the file which is selected by the user operating the smart watch is acquired. After the smart watch acquires the file, the smart watch can encrypt the file according to the acquired encryption password, so that the purpose that the user encrypts the file through the crown is achieved.
In the embodiment of the invention, when the smart watch needs to encrypt a file, the target operation information input by operating the crown is acquired, the smart watch processes the target operation information and converts the target operation information into the target encryption password, the smart watch acquires the file needing to be encrypted, and the file is encrypted according to the target encryption password to acquire the encrypted file, so that a user can encrypt the file through the crown, the convenience of user operation is improved, and the smart watch is more intelligent.
Fig. 3 is a structural diagram of a smart watch according to a first embodiment of the present invention. The smart watch described in the embodiments of the present invention includes:
the acquisition unit 100 acquires target operation information, which is operated and input by the crown, when the file needs to be encrypted.
And the processing unit 200 is configured to process the target operation information, and convert the target operation information into a target encryption password.
And the encryption unit 300 is configured to acquire a file to be encrypted, encrypt the file according to the target encryption password, and acquire an encrypted file.
In the embodiment of the invention, when a user needs to encrypt a file, the user can operate the smart watch to input an operation instruction for starting an encryption mode. When the obtaining unit 100 obtains an operation instruction for starting the encryption mode, the smart watch may enter the encryption mode to encrypt the file selected by the user. Optionally, the operation instruction for the user to operate the smart watch to input the start encryption mode may be an operation instruction for the user to trigger a watch or a screen to generate the start encryption mode. Further, after the smart watch enters the encryption mode, the acquiring unit 100 may monitor the target operation information of the crown that is operated, so that the acquiring unit 100 acquires the target operation information of the crown that is operated when the target operation information of the crown that is operated is monitored.
In the embodiment of the present invention, the crown of the smart watch may be as shown in a of fig. 2, and the crown is a mechanical key of the smart watch, and the mechanical key is located on one side of the dial of the smart watch and can rotate. Specifically, the crown may be the crown shown in fig. 2a, and the crown may include an operation rod, specifically, the operation rod may be a conical hollow operation rod, and the operation rod may be shifted left, right, up and down; the crown can also be a crown as shown in fig. 2b, and a rotating touch surface (namely, a side surface of the crown) of the crown is provided with a touch pad which can sense the touch sliding up, down, left and right; the crown may also be a crown as shown in fig. 2c, with a trackball mounted laterally, which may be a sensor with a track point function, that senses touch presses left, right, up and down.
In the embodiment of the present invention, when the crown is operated, the acquisition unit 100 may monitor that the crown is operated and acquire target operation information of the crown operated and input. Alternatively, the target operation information may be target operation information input by the operation of the operation lever, such as operation information input by dialing the operation lever to a set direction, where the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user dials the operation lever in the set upper direction, the target operation information that the crown is operated and input by the obtaining unit 100 may be operation information that the operation lever performs dial input in the set upper direction.
In the embodiment of the present invention, the target operation information may also be target operation information that is operated and input by the touch panel, for example, operation information that is sensed by the touch panel to perform a touch input in a set direction. Wherein the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user touches the touch panel in the upward direction, the target operation information that the acquisition unit 100 acquires that the crown is operated to be input may be operation information that the touch panel performs touch input in the upward direction.
In the embodiment of the present invention, the target operation information may also be target operation information that the trackball is pressed to input, such as operation information that the trackball senses that the trackball presses to input in a set direction. Wherein the set direction may include a set up direction, a set down direction, a set left direction, and a set right direction. In specific applications, for example: when the user presses the trackball in the upward direction, the target operation information that the crown is operated and input by the acquisition unit 100 may be operation information that the trackball is pressed and input in the upward direction.
In the embodiment of the present invention, the target operation information may also be combined operation information including at least two kinds of information among operation information in which the operation lever is operated to be input, operation information in which the trackball is operated to be input, and operation information in which the touch panel is operated to be input. In specific applications, for example: when the user touches the touch pad in the upward direction and simultaneously performs a short-time dial operation on the operating lever in the upward direction, the obtaining unit 100 obtains the operation information of the crown that is operated and input, which is the combined operation information composed of the operation information of the dial input performed in the upward direction by the operating lever and the operation information of the touch input performed in the upward direction by the touch pad.
In the embodiment of the present invention, when the operation lever, the trackball, and the touch panel of the crown of the smart watch are operated a plurality of times, the acquisition unit 100 may acquire a plurality of pieces of target operation information.
In this embodiment of the present invention, the processing unit 200 obtains a target encryption password corresponding to the target operation information according to a preset corresponding relationship between the operation information and the encryption password.
In the embodiment of the invention, the smart watch can preset the corresponding relation between the operation information and the encryption password. The encryption password can be an encryption password such as a numeric encryption password, a character encryption password, an alphabetic encryption algorithm, and the like. Optionally, the invention uses the number as an encryption password. Wherein the number may include 0 to 9.
In this embodiment of the present invention, when the target operation information acquired by the processing unit 200 is one piece of target operation information, the processing unit 200 may acquire an encrypted password corresponding to the target operation information according to a preset correspondence between the operation information and the encrypted password, and use the encrypted password corresponding to the target operation information as the target encrypted password.
In this embodiment of the present invention, when the target operation information acquired by the processing unit 200 is a plurality of target operation information, the processing unit 200 may acquire the encrypted password corresponding to each target operation information one by one according to a preset correspondence between the operation information and the encrypted password. The smart watch can combine the obtained encryption passwords according to the sequence relation of the obtained target operation information, and the obtained encryption passwords are combined to be used as target encryption passwords.
In this embodiment of the present invention, when the processing unit 200 obtains the target encryption password, the smart watch may display the target encryption password.
The set up direction, the set down direction, the set left direction and the set left direction mentioned in the embodiments of the present invention may be up, down, left and right directions determined by the user on a daily basis.
In the embodiment of the present invention, the encryption unit 300 may obtain a file that needs to be encrypted by a user, for example, obtain a file that is selected by the user operating a smart watch. After the encryption unit 300 obtains the file, the encryption unit 300 may encrypt the file according to the obtained encryption password, so as to achieve the purpose that the user encrypts the file through the crown.
In the embodiment of the invention, when the smart watch needs to encrypt a file, the target operation information input by operating the crown is acquired, the smart watch processes the target operation information and converts the target operation information into the target encryption password, the smart watch acquires the file needing to be encrypted, and the file is encrypted according to the target encryption password to acquire the encrypted file, so that a user can encrypt the file through the crown, the convenience of user operation is improved, and the smart watch is more intelligent.
Fig. 4 is a structural diagram of a second embodiment of a smart watch according to an embodiment of the present invention. The smart watch described in the embodiments of the present invention includes:
an acquisition unit 100, a processing unit 200 and an encryption unit 300.
Wherein, the smart watch further includes:
a first presetting unit 400, configured to preset a corresponding relationship between target operation information input by the operation of the operation lever and the encrypted password.
And a second presetting unit 500, configured to preset a corresponding relationship between target operation information that the trackball is operated and input and the encrypted password.
And a third presetting unit 600 configured to preset a correspondence relationship between the target operation information that is operated and input by the touch panel and the encrypted password.
The processing unit 200 is specifically configured to:
and acquiring a target encryption password corresponding to the target operation information according to the corresponding relation between the preset operation information and the encryption password.
In the embodiment of the present invention, the first preset unit 400 may preset the operation information that the operation lever is operated to input, corresponding to the encrypted password, such as: the first preset unit 400 may preset a number 1 corresponding to operation information that the operation lever performs a toggle input in a set upper direction; the first preset unit 400 may preset a number 2 corresponding to operation information that the operation lever performs a toggle input in a set lower direction; the first presetting unit 400 may preset the number 3 corresponding to the operation information which is inputted by the operation lever to be shifted to the set left direction; the first preset unit 400 may preset the number 4 corresponding to the operation information that the operation lever performs the toggle input in the set right direction. Further, the first preset unit 400 may also preset the operation information of the operation lever operated to be input to correspond to the number combination. Further, the first preset unit 400 may preset other operation information inputted by the operation of the operation lever corresponding to other numbers, and the developer may set the operation information by himself or herself, which is not limited herein. Wherein, the developer can call up the preset interface for setting.
Optionally, the second presetting unit 500 may preset an encryption password corresponding to the operation information that the trackball is operated to input, such as: the second preset unit 500 may preset a number 5 corresponding to operation information that the trackball presses and inputs in a set upper direction; the second preset unit 500 may preset a number 6 corresponding to operation information that the trackball presses and inputs in a set downward direction; the second presetting unit 500 may preset a number 7 corresponding to the operation information that the trackball presses and inputs in the set left direction; the second preset unit 500 may preset a number 8 corresponding to the operation information that the trackball presses and inputs in the set right direction. Further, the second presetting unit 500 may also preset a combination of numbers corresponding to operation information that the trackball is operated to input. Further, the second presetting unit 500 may preset other operation information input by the operation of the trackball corresponding to other numbers, and the developer may set the operation information by himself, which is not limited herein. Wherein, the developer can call up the preset interface for setting.
Optionally, the third preset unit 600 may preset an encryption password corresponding to operation information that the touch panel is operated to input, where the encryption password is: the third preset unit 600 may preset a number 9 corresponding to operation information that the touch pad performs touch input in a set upper direction; the third preset unit 600 may preset a number 0 corresponding to operation information that the touch pad performs touch input in a set lower direction; the third presetting unit 600 may preset a number 1 corresponding to operation information that the touch pad performs touch input in the set left direction; the third preset unit 600 may preset the number 2 corresponding to the operation information that the touch pad performs the touch input in the set right direction. Further, the third preset unit 600 may also preset a combination of numbers corresponding to operation information that the touch panel is operated to input. Further, the third preset unit 600 may also preset other numbers corresponding to other operation information input by the touch panel, and the developer may set the operation information by himself, which is not limited herein. Wherein, the developer can call up the preset interface for setting.
In the embodiment of the present invention, the smart watch may preset the encryption password corresponding to the combined operation information, for example: the smart watch can preset the number 1 corresponding to the operation information of touch input of the touch pad to the set upper direction and the operation information of toggle input of the operating rod to the set upper direction. Furthermore, the intelligent watch can also preset a digital combination corresponding to the combination operation information. Furthermore, other combination operation information may correspond to other numbers, and the developer may set the combination operation information by himself or herself without limitation. Wherein, the developer can call up the preset interface for setting.
It is to be understood that the functions of the functional modules in this embodiment may also be described with reference to the foregoing embodiments, and are not described herein again.
In the embodiment of the invention, when the smart watch needs to encrypt a file, the target operation information input by operating the crown is acquired, the smart watch processes the target operation information and converts the target operation information into the target encryption password, the smart watch acquires the file needing to be encrypted, and the file is encrypted according to the target encryption password to acquire the encrypted file, so that a user can encrypt the file through the crown, the convenience of user operation is improved, and the smart watch is more intelligent.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (8)

1. A method for encrypting a file, the method comprising:
when the smart watch needs to encrypt a file, the smart watch acquires target operation information of a crown operated and input, wherein the crown comprises: at least one of a joystick, a trackball, and a touch pad, the target operation information including: at least one of target operation information that the joystick is operated to input, target operation information that the trackball is operated to input, and target operation information that the touch pad is operated to input;
the smart watch processes the target operation information and converts the target operation information into a target encryption password;
the smart watch acquires a file to be encrypted, and encrypts the file according to the target encryption password to obtain an encrypted file.
2. The method of claim 1, wherein the smart watch processing the target operation information, converting the target operation information into a target encryption password comprises:
and the intelligent watch acquires a target encryption password corresponding to the target operation information according to the preset corresponding relation between the operation information and the encryption password.
3. The method of claim 2, wherein the smart watch processing the target operation information and prior to converting the target operation information into a target encryption password comprises:
the smart watch presets the corresponding relation between the target operation information input by the operation of the operation rod and the encryption password, and/or,
the intelligent watch presets the corresponding relation between the target operation information input by the operation of the track ball and the encryption password, and/or,
the smart watch presets the corresponding relation between the target operation information input by the touch pad through operation and the encrypted password.
4. The method of claim 3, wherein the target encryption password comprises: numeric passwords, alphabetic passwords, and symbolic passwords.
5. A smart watch, the smart watch comprising:
the device comprises an acquisition unit and a processing unit, wherein when a file needs to be encrypted, the acquisition unit acquires target operation information which is operated and input by a crown, and the crown comprises: at least one of a joystick, a trackball, and a touch pad, the target operation information including: at least one of target operation information that the joystick is operated to input, target operation information that the trackball is operated to input, and target operation information that the touch pad is operated to input;
the processing unit is used for processing the target operation information and converting the target operation information into a target encryption password;
and the encryption unit is used for acquiring a file to be encrypted, encrypting the file according to the target encryption password and acquiring an encrypted file.
6. The smartwatch of claim 5, wherein the processing unit is specifically configured to:
and acquiring a target encryption password corresponding to the target operation information according to the corresponding relation between the preset operation information and the encryption password.
7. The smart watch of claim 6, wherein the smart watch comprises:
the first presetting unit is used for presetting the corresponding relation between target operation information input by the operation of the operation rod and the encrypted password;
the second presetting unit is used for presetting the corresponding relation between the target operation information input by the operation of the track ball and the encrypted password;
and the third presetting unit is used for presetting the corresponding relation between the target operation information operated and input by the touch panel and the encrypted password.
8. The smart watch of claim 7, wherein the target encryption password comprises: numeric passwords, alphabetic passwords, and symbolic passwords.
CN201510532783.2A 2015-08-26 2015-08-26 The method and intelligent watch of a kind of file encryption Expired - Fee Related CN105160270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510532783.2A CN105160270B (en) 2015-08-26 2015-08-26 The method and intelligent watch of a kind of file encryption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510532783.2A CN105160270B (en) 2015-08-26 2015-08-26 The method and intelligent watch of a kind of file encryption

Publications (2)

Publication Number Publication Date
CN105160270A CN105160270A (en) 2015-12-16
CN105160270B true CN105160270B (en) 2017-10-24

Family

ID=54801122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510532783.2A Expired - Fee Related CN105160270B (en) 2015-08-26 2015-08-26 The method and intelligent watch of a kind of file encryption

Country Status (1)

Country Link
CN (1) CN105160270B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160270B (en) * 2015-08-26 2017-10-24 广东欧珀移动通信有限公司 The method and intelligent watch of a kind of file encryption

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200143A (en) * 2014-09-04 2014-12-10 广东欧珀移动通信有限公司 Method and system for inputting password into intelligent mobile terminal rapidly through wearable device
CN105160270A (en) * 2015-08-26 2015-12-16 广东欧珀移动通信有限公司 File encryption method and smartwatch

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9565181B2 (en) * 2013-03-28 2017-02-07 Wendell D. Brown Method and apparatus for automated password entry

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104200143A (en) * 2014-09-04 2014-12-10 广东欧珀移动通信有限公司 Method and system for inputting password into intelligent mobile terminal rapidly through wearable device
CN105160270A (en) * 2015-08-26 2015-12-16 广东欧珀移动通信有限公司 File encryption method and smartwatch

Also Published As

Publication number Publication date
CN105160270A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN109076072B (en) Web service picture password
KR101142796B1 (en) Password Input Method Based on touch screen
CN105138267B (en) The unlocking method and terminal of a kind of wearable device
CN113792277A (en) Method and device for displaying application and picture and electronic equipment
US20190018444A1 (en) Wearable apparatus and method for controlling vr apparatus
CN103150525B (en) Password input method and password input terminal
CN106407027B (en) Information display method of mobile terminal and mobile terminal
CN103425944A (en) Information safety input method and information safety device
CN107333077A (en) A kind of control method of a button and its television set of application
CN105117013A (en) Intelligent watch unlocking method and intelligent watch
CN104123097A (en) Control application execution method and device
CN105137819B (en) A kind of method and smartwatch of music
CN105006223B (en) A kind of method and intelligent watch for adjusting screen intensity
CN104898880A (en) Control method and electronic equipment
Watanabe et al. Remote touch pointing for smart TV interaction
CN105160270B (en) The method and intelligent watch of a kind of file encryption
CN104360800A (en) Adjustment method of unlocking mode
EP3189642A1 (en) Device and method for authenticating a user
US10192075B2 (en) Method of secret information entering into electronic digital devices
CN106445734B (en) electronic device data transfer system and method
CN105159584B (en) The input method and intelligent watch of a kind of business cipher key
CN105930068A (en) Personal hotspot quick control method and apparatus
WO2022237669A1 (en) Display control method and apparatus
CN105117118B (en) A kind of method and smartwatch controlling video playing
CN105116998B (en) A kind of method and smartwatch of fastopen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171024