CN106778166A - A kind of edit methods of data, device and terminal - Google Patents

A kind of edit methods of data, device and terminal Download PDF

Info

Publication number
CN106778166A
CN106778166A CN201611089010.2A CN201611089010A CN106778166A CN 106778166 A CN106778166 A CN 106778166A CN 201611089010 A CN201611089010 A CN 201611089010A CN 106778166 A CN106778166 A CN 106778166A
Authority
CN
China
Prior art keywords
data
operational order
user
percussion
instruction
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.)
Granted
Application number
CN201611089010.2A
Other languages
Chinese (zh)
Other versions
CN106778166B (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 CN201611089010.2A priority Critical patent/CN106778166B/en
Publication of CN106778166A publication Critical patent/CN106778166A/en
Application granted granted Critical
Publication of CN106778166B publication Critical patent/CN106778166B/en
Active 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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention provides a kind of edit methods of data, including:Receive data edition instruction;When it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtain user and tap operational order;When judging that user percussion operational order meets pre-conditioned, edit operation is carried out to the data that data edition instruction is indicated.When the present invention is by judging the data of data edit instruction instruction as predetermined encryption data, obtain user and tap operational order, meet pre-conditioned when operational order is tapped, allow to enter edlin to predetermined encryption data, the situation that user data is easily misused and steals is solved, the security of user data is greatly improved.The invention further relates to a kind of data transmission device and terminal.

Description

A kind of edit methods of data, device and terminal
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of edit methods of data, device and terminal.
Background technology
With terminal develop rapidly with popularization, the purposes of such as smart mobile phone smart machine is more and more extensive.People can Surfed the Net with using smart mobile phone, taken pictures, being played, on-line payment etc., smart mobile phone has become indispensable in life Instrument, therefore, save the substantial amounts of data of user unavoidably in smart mobile phone, how to ensure that the safety of user data seems particularly It is important.
In the prior art, the safety of user data can be typically protected by the way of encryption, such as, using character string Cipher mode.User can just operate, it is necessary to input default character string password when to data manipulation to data, so Although encryption method data are served with certain protective effect, be input into password when, easily by smart mobile phone side People see or illegally cracked, influence user data security.
The content of the invention
The embodiment of the present invention provides a kind of edit methods of data, device and terminal, can lift the safety of user data Property.
The embodiment of the present invention provides following technical scheme:
A kind of edit methods of data, including:
Receive data edition instruction;
When it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtain user's percussion operation and refer to Order;
When judging that user's percussion operational order meets pre-conditioned, the number indicated data edition instruction According to carrying out edit operation.
The embodiment of the present invention also provides following technical scheme:
A kind of editing device of data, including:
Receiver module, for receiving data edition instruction;
Acquisition module, for when it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtaining and using Family taps operational order;
Editor module, for when judging that user's percussion operational order meets pre-conditioned, being compiled to the data The data for collecting instruction instruction carry out edit operation.
The embodiment of the present invention also provides following technical scheme:
A kind of terminal, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs provided in an embodiment of the present invention A kind of edit methods of data.
A kind of edit methods of data, device and terminal that the present embodiment is provided, by judging that data edit instruction is indicated Data be predetermined encryption data when, obtain user tap operational order, when tap operational order meet pre-conditioned, it is allowed to it is right Predetermined encryption data enter edlin, the situation that user data is easily misused and steals are solved, so as to lift number of users According to security.
Brief description of the drawings
Below in conjunction with the accompanying drawings, described in detail by specific embodiment of the invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the edit methods of data provided in an embodiment of the present invention.
Fig. 2 is another schematic flow sheet of the edit methods of data provided in an embodiment of the present invention.
Fig. 3 is operation interface schematic diagram provided in an embodiment of the present invention.
Fig. 4 is editing interface schematic diagram provided in an embodiment of the present invention.
Fig. 5 is the module diagram of the editing device of data provided in an embodiment of the present invention.
Fig. 6 is another module diagram of the editing device of data provided in an embodiment of the present invention.
Fig. 7 is terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Schema is refer to, wherein identical element numbers represent identical component, and principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
It is the software object performed in the arithmetic system that term as used herein " module " can be regarded as.It is somebody's turn to do herein not It is the objective for implementation in the arithmetic system that same component, module, engine and service can be regarded as.And the device and method that is somebody's turn to do herein is excellent Being implemented in the way of software for choosing, can also be implemented, within the scope of the present invention on hardware certainly.
Hereinafter carry out concrete analysis explanation.
In the present embodiment, the angle of the editing device from data is described, the editing device of the data specifically may be used To be integrated in terminal, such as mobile phone, panel computer, palm PC (PDA, Personal Digital Assistant) etc..
Fig. 1 is referred to, Fig. 1 is the schematic flow sheet of the edit methods of data provided in an embodiment of the present invention.Specifically, The method includes:
In step S101, data edition instruction is received.
It should be noted that the data refer to the file being stored in terminal, can be photo, document, audio, address list Deng.
Wherein, data edition instruction is generation when data are carried out with edit operation.The edit operation can be logarithm evidence Duplication, delete, shear and check, such as user the address list in terminal is replicated, is deleted, sheared and checked as Receive data edition instruction.
In step s 102, when it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtain user and strike Hit operational order.
It should be noted that the data in terminal are easy to be deleted by mistake or stolen, such as, in user by terminal to family In children use, in the process that children are operated, it is easy to produce to the mistake deletion action of data, if the number deleted by mistake According to being significant data, then greatly inconvenience and loss are brought to user.
In order to solve the above problems, S101 and S102 the step of the embodiment of the present invention is carried out by as user to data (data edition instruction is received during edit operation), when the data for judging editor are significant data (when it is determined that data edition refers to When making the data for indicating for predetermined encryption data), it is impossible to edit operation authority corresponding to data is obtained immediately, need to be entered to be tested The data, when being input into preset password (obtain user and tap operational order) and being verified, can just be compiled by card state Collect operation.
Wherein, the data can be divided into general data and significant data.The general data be to user's severity level not Data high, can allow it is non-operated in person, the significant data is the data higher to user's severity level, in general feelings Other people are not allowed to be operated under condition, such as picture data, address book data.
Based on this, the predetermined encryption data can independently be set according to practical application by user, can be on user terminal Address list, photo, short message etc., be not especially limited herein.
Specifically, the data that determination data edition instruction is indicated are predetermined encryption data, including:
(1) data that data edition instruction is indicated are obtained.
(2) when there is encryption identification in judging the data that data edition instruction is indicated, it is judged to that the data edition refers to It is predetermined encryption data to make the data for indicating.
Wherein, user's data higher for severity level can carry out predetermined encryption.After data carry out predetermined encryption, The data can add an encryption identification, when user is carried out to carrying out the data (i.e. predetermined encryption data) with encryption identification , it is necessary to be input into corresponding clear crytpographic key during operation, otherwise refusal operation.
In step s 103, when judging that user's percussion operational order meets pre-conditioned, data edit instruction is referred to The data shown carry out edit operation.
In certain possible implementation method, before data edition instruction is received, also pre-conditioned including setting, this is pre- If condition is to judge that user taps the decision condition whether operational order passes through to verify.
In a kind of possible implementation method, user can be sensed by the pressure sensitive screen being set in advance in terminal The hammer action of user.The corresponding dynamics value of hammer action each time of user can be obtained by pressure sensitive screen, by power Degree is divided into 0 (light), 1 (weight) dynamics rank (solution code), when the corresponding dynamics value of hammer action for obtaining is middle less than default During dynamics value, dynamics is divided into 0 grade, middle dynamics value preset when the corresponding dynamics value of hammer action for obtaining is more than, by dynamics It is divided into 1 grade, all of hammer action dynamics value is generated into corresponding dynamics rank and is combined by hammer action sequencing, generation Solution code.As user has carried out four hammer actions, a respectively three light weights are compiled according to the corresponding decryption of preset rules generation Code is 0001, by solution code contrast corresponding with the code of default solution, if unanimously, being judged to that user taps operational order and expires Foot is pre-conditioned;If inconsistent, it is judged to that user's percussion operational order is unsatisfactory for pre-conditioned.In alternatively possible implementation In mode, user can sense the hammer action of user by the loudspeaker of terminal or gravity sensor.When using loudspeaker When being sensed, obtaining the vibrations that terminal is produced when user taps has carried out beat action judging user, and is using When gravity sensor senses, obtaining the acceleration change that terminal is produced when user taps has carried out a beat judging user, Statistics number of taps, if number of taps is consistent with default number of taps, is judged to that user taps operational order and meets default bar Part;If number of taps is inconsistent with default number of taps, it is judged to that user's percussion operational order is unsatisfactory for pre-conditioned.Herein It is not especially limited.
From the foregoing, a kind of edit methods of data that the present embodiment is provided, by judging that data edit instruction is indicated Data be predetermined encryption data when, obtain user tap operational order, when tap operational order meet pre-conditioned, it is allowed to it is right Predetermined encryption data enter edlin, the situation that user data is easily misused and steals are solved, so as to lift number of users According to security.
, be described in further detail for citing below by the method according to described by above-described embodiment.
Fig. 2 is referred to, Fig. 2 is another schematic flow sheet of the edit methods of data provided in an embodiment of the present invention.
Specifically, the method includes:
In step s 201, data edition instruction is received.
It should be noted that the data refer to the file being stored in terminal, can be photo, document, audio, address list Deng.
Wherein, data edition instruction is to carry out edit operation generation to data.The edit operation can be logarithm evidence Replicate, delete, shear and check, such as user is replicated, deleted, sheared and checked to terminal contact as receiving Data edition is instructed.
Such as, by taking mobile phone as an example, data refer to address list, photo, document, video, voice document on mobile phone etc., are such as existed When being checked to this document content, deleted, sheared, replicated, data edition instruction is as received.As shown in figure 3, Fig. 3 is behaviour Make interface schematic diagram, the icon on interface is user data, including calendar, contact person, e-book and music, when user's point Hit during to contact icon, be that contact person is carried out to check operation, that is, be judged to receive data edition instruction.
In step S202, when it is determined that the data that data edition instruction is indicated are predetermined encryption data, by setting in advance The pressure sensitive screen put senses the hammer action of user.
Wherein, the data can be divided into general data and significant data.The general data be to user's severity level not Data high, can allow it is non-operated in person, the significant data is the data higher to user's severity level, in general feelings Do not allowed under condition it is non-operated in person, such as picture data, address book data.
Further, user can carry out a default encrypting step to significant data.When user is to certain significant data After encryption, the data can add an encryption identification, and the data are carried out with default locking processing, after the completion of, the significant data Predetermined encryption data are generated as, terminal can in advance gather a clear crytpographic key, be used to unlock predetermined encryption data, exist in user , it is necessary to be input into corresponding clear crytpographic key when operating predetermined encryption data, otherwise, do not allow to carry out predetermined encryption data Operation.
Based on this, the data that data edition instruction is indicated are obtained, when there is encryption identification in the data for detecting instruction, It is judged to that the data that data edition instruction is indicated are predetermined encryption data, into Validation Mode, the percussion for gathering user input is moved Make, verify whether carrying out data manipulation for user with the hammer action of the collection.
In certain possible implementation method, a display mark can be increased for predetermined encryption data, be used to distinguish general Logical data and predetermined encryption data, as shown in figure 3, there is a default display mark in the lower right corner of contact icon, illustrate contact Artificial predetermined encryption data, other calendars, e-book and music data are then general data.
Reference picture 3, when user checks to contact icon, detects that there is encryption in the contact data marks Know, be judged to that the contact data, for predetermined encryption data, carries out Validation Mode, eject corresponding A message box, it is desirable to user input Correspondence checking encrypted message, and start to gather the hammer action of user input.
It should be noted that the pressure when pressure sensitive screen can be touched with identifying user, you can to obtain use every time Pressure size value when family touches.
In step S203, the corresponding percussion power degrees of data of hammer action is obtained.
Wherein, the percussion power degrees of data is the corresponding dynamics value of current hammer action, when the slight terminal screen of user, when Preceding percussion power angle value correspondence is smaller;When user's severe taps terminal screen, the corresponding value ratio of current percussion power angle value It is larger.
In step S204, classified to tapping dynamics data based on slight hammer action and severe hammer action, obtained To corresponding solution code.It should be noted that the percussion operational order represents a succession of continuous hammer action, i.e., each time Time interval between hammer action is no more than Preset Time.Such as, when user's input hammer action for the first time, it is necessary to pre- If second hammer action of input in the time (such as 10 seconds), otherwise, it is input into after hammer action in Preset Time (such as 10 seconds) Without input hammer action, terminate the acquisition of hammer action, generation taps operational order.
Wherein it is possible to be classified to percussion dynamics in advance, be such as divided into 0 grade, 1 grade (solution code), 0 grade of expression slightly strikes Hit action, 1 grade of expression severe hammer action.By default one middle percussion power angle value, when the corresponding percussion power of hammer action When degrees of data is less than middle percussion power angle value, it is judged to slight 0 grade of percussion;When the corresponding percussion power degrees of data of hammer action is more than During middle percussion power angle value, it is judged to that severe taps 1 grade.
In step S205, solution code is combined according to the sequencing of hammer action, generation taps operation and refers to Order.
Wherein, the percussion power degrees of data of each hammer action is converted into corresponding solution code, according to hammer action Sequencing is combined, and such as user carries out continuous 5 hammer actions, and respectively slight 0 grade of percussion, severe tap 1 grade, slightly tap 0 grade, slightly 0 grade of percussion, 1 grade of severe percussion, the sequencing combination according to hammer action, generation percussion operational order, this strikes Hitting operational order includes 01001 solution code of combination.
In step S206, judge to tap the solution of the solution code and record in default percussion operational order in operational order Whether code is consistent.
In certain possible implementation method, before data edition instruction is received, the company of user is also gathered including presetting Continuous hammer action, is classified according to the percussion power degrees of data in hammer action, corresponding solution code is generated, according to percussion Be combined for the solution code by the sequencing combination of action, and generation is default to tap operational order.
It should be noted that tapping the accuracy of operational order in order to ensure presetting.Default percussion is collected in first time During operational order, terminal can point out user to be input into default percussion operational order again, if the default percussion operation being input into twice Instruction is consistent, then record the default percussion operational order;If the default percussion operational order being input into twice is inconsistent, need again Collection is default to tap operational order.Such as user is input into continuous 4 times and taps dynamic when first time default percussion operational order is gathered Make, respectively slight 0 grade of percussion, severe tap 1 grade, slightly tap 0 grade, slight 0 grade of percussion, and the priority according to hammer action is suitable Sequence is combined, and generation is default to tap operational order, and the default operational order that taps includes 0100 solution code of combination producing, this When terminal user can be pointed out to determine default to tap operational order, the decryption in the default percussion operational order that user is input into again When encoding consistent with the solution code of first time collection, the default percussion operational order is determined and recorded.
Wherein, if the solution code for judging to tap in operational order is compiled with the decryption of record in default percussion operational order Code is consistent, then perform step S207;If judging to tap the percussion power degrees of data and default percussion operational order in operational order The percussion power degrees of data of middle record is inconsistent, then perform step S208.
Such as, when the decryption recorded in default percussion operational order is encoded to 01001, with the percussion operational order for obtaining In 01001 solution code it is consistent, then represent and be verified, when the decryption recorded in default hammer action is encoded to 110011 When, it is inconsistent with the 01001 solution code tapped in operational order for obtaining, then represent checking and do not pass through.
In step S207, edit operation is carried out to the data that data edit instruction is indicated.
Wherein, when the decryption recorded in the solution code in judging to tap operational order with default percussion operational order is compiled When code is consistent, the correct percussion operational order of user input is illustrated, verified by tapping operational order.Data are now obtained to compile The corresponding predetermined encryption data indicated in instruction, and response data edit instruction are collected, is indicated in complete paired data edit instruction Data carry out edit operation, as shown in figure 3, carrying out Validation Mode, after ejection corresponding A message box, user input is correctly struck Operational order is hit, is then responded and operation is checked to the contact person.
In step S208, the edit operation of the data that refusal respond is indicated data edit instruction.
Wherein, when the decryption recorded in the solution code in judging to tap operational order with default percussion operational order is compiled When code is inconsistent, illustrate that user is not input into correct percussion operational order, authentication failed is the information security for protecting terminal, eventually The edit operation of the data that end refusal respond is indicated data edit instruction.
In certain possible implementation method, when getting the data that terminal refusal respond is indicated data edit instruction When the secondary numerical value of edit operation exceedes certain frequency threshold value, i.e., in the case where repeatedly operational order authentication failed is tapped.For The data safety of terminal is protected, prevents other people from attempting to crack percussion operational order, terminal refusal respond receives data edition instruction, And perform screen locking operation.
In order to preferably describe the embodiment of the present invention, with the editor shown in the operation interface schematic diagram and Fig. 4 shown in Fig. 3 Interface schematic diagram is described in detail:As shown in figure 3, the calendar, e-book and music in figure are general data, contact is artificial Predetermined encryption data.When user checks to contact data, because the contact data is predetermined encryption data, Prompting frame A can be ejected, points out user to need to input corresponding checking password, be i.e. prompting input taps operational order, now, currently User can be by carrying out hammer action on the pressure sensitive screen for pre-setting, mobile phone induction pressure sensing screen strikes Action is hit, the corresponding dynamics value of hammer action is obtained, a translucent dynamics value show bar can be shown on screen, work as power When angle value is bigger, show bar shows fuller.User can be according to the percussion power angle value size of show bar control input, when user's hand It is a beat release when finger leaves the pressure sensitive screen, the mid-scale value of show bar is middle percussion power angle value, 0 grade (solution code) is slightly tapped when the dynamics value that show bar shows is divided into less than mid-scale value (middle percussion power angle value), 1 grade (solution code) is tapped when the dynamics value that show bar shows is divided into severe more than mid-scale value (middle percussion power angle value). When beat release, the corresponding solution code of this hammer action is recorded, and start timing, when user is when default Between threshold value (in such as 10 seconds) new hammer action is input on pressure sensitive screen, be judged to continuous hammer action, obtain new The corresponding percussion power degrees of data of hammer action, and recorded, when Preset Time after hammer action terminates (in such as 10 seconds) New hammer action without input, then terminate to tap operational order, and what will be recorded solves generation elder generation of the code according to hammer action Sequentially it is combined afterwards, generates encrypted message, such as user is continuously input into 3 hammer actions, respectively slight to tap, slightly strike Hit and severe is tapped, then it is 001 to generate corresponding clear crytpographic key (percussion operational order).If the clear crytpographic key (taps operation Instruction) it is consistent with default clear crytpographic key (default tap operational order) when, by checking, respond and operation checked to contact person, Into in the editing interface shown in Fig. 4, now user can be checked to the contact data that stores, the operation such as be replicated.But It is when user deletes contact data, in order to protect the data safety of user, it is necessary to input validation password again, to prevent User forgets to exit current interface, the situation that other users are deleted data using mobile phone by mistake, the preset password of this deletion data Can be inconsistent with the preset password for checking data, it is not especially limited herein.Verify the process of password collection, detection To the continuous input error of user checking password more than 5 times when, terminate receiving checking password within a certain period of time, and carry out screen locking Operation.
From the foregoing, a kind of edit methods of data that the present embodiment is provided, by judging that data edit instruction is indicated Data when being predetermined encryption data, the hammer action of user is sensed by the pressure sensitive screen that pre-sets, obtain and tap Corresponding percussion power degrees of data is acted, and the percussion power degrees of data is classified, generation solution code will continuously tap dynamic Make corresponding decryption coded combination, generation taps operational order, the solution code in operational order is tapped taps dynamic with default When the solution code recorded in work is consistent, response enters edlin to predetermined encryption data, solves user data and is easily grasped by mistake The situation made and steal, so as to lift the security of user data.
For ease of preferably implementing the edit methods of data provided in an embodiment of the present invention, the embodiment of the present invention also provides one Plant the device of the edit methods based on above-mentioned data.Wherein the implication of noun is identical with the edit methods of above-mentioned data, specifically Realize details may be referred to embodiment of the method in explanation.
Fig. 5 is referred to, Fig. 5 is the module diagram of the editing device of data provided in an embodiment of the present invention.Specifically, The editing device 300 of the data, including:Command reception module 31, acquisition module 32 and editor module 33.
The receiver module 31, for receiving data edition instruction.
It should be noted that data edition instruction is to carry out edit operation generation to data.The data refer to and are stored in end File in end, can be photo, document, audio, address list etc..
Wherein, the data edition instruction in the receiver module 31 is to carry out edit operation to data.The edit operation can be with It is to the duplication of data, deletes, shears and check.
The acquisition module 32, for when it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtaining User taps operational order.
Specifically, determine that the data that data edition instruction is indicated are predetermined encryption data in the acquisition module 32, can To pass through:
Obtain the data that data edition instruction is indicated.Exist in the data that data edition instruction is indicated are judged and add When secret mark is known, it is judged to that the data that data edition instruction is indicated are predetermined encryption data.
The editor module 33, for when judging that user percussion operational order meets pre-conditioned, being compiled to the data The data for collecting instruction instruction carry out edit operation.
In a kind of possible implementation method, user can be sensed by the pressure sensitive screen being set in advance in terminal The hammer action of user.The corresponding dynamics value of hammer action each time of user can be obtained by pressure sensitive screen, by power Degree is divided into 0 (light) level, 1 (weight) level dynamics rank (solution code), when the corresponding dynamics value of hammer action for obtaining is less than default During middle dynamics value, dynamics is divided into 0 grade, presets middle dynamics value when the corresponding dynamics value of hammer action for obtaining is more than, will Dynamics is divided into 1 grade, all of hammer action dynamics value is generated into corresponding dynamics rank and hammer action is successively combined in order, Generation solution code.Solution code contrast corresponding with the code of default solution when consistent, is judged to use by the determining module 33 Family taps operational order and meets pre-conditioned.In alternatively possible implementation method, user can be by the loudspeaker of terminal Or gravity sensor senses the hammer action of user.When being sensed using loudspeaker, obtain when user taps terminal and produce Raw vibrations have carried out beat action judging user, and when being sensed using gravity sensor, obtain user and tap eventually The acceleration change produced during end has carried out a beat judging user, counts number of taps, and the determining module 33 can be with By judging when number of taps is consistent with default number of taps, it is judged to that user taps operational order and meets pre-conditioned.Herein It is not especially limited.
Fig. 6 can be in the lump referred to, Fig. 6 is another module diagram of the editing device of data provided in an embodiment of the present invention, The editing device 300 of the data can also include:
Wherein, the acquisition module 32 can also include sensing submodule 321, acquisition submodule 322 and generation submodule 323。
Specifically, sensing submodule 321, for being predetermined encryption when the data for determining data edition instruction instruction During data, the hammer action of user is sensed by the pressure sensitive screen for pre-setting.The acquisition submodule 322, for obtaining The corresponding percussion power degrees of data of the hammer action.The generation submodule 323, for by the percussion power degrees of data according to hammer action Sequencing be combined, generation tap operational order.
Based on this, the percussion power degrees of data is carried out into group according to the sequencing of hammer action in the generation submodule 323 Close, can pass through:
The percussion power degrees of data is classified based on slight hammer action and severe hammer action, obtains corresponding decryption Coding.Solution code is combined according to the sequencing of hammer action, generation taps operational order.
It should be noted that the percussion operational order represents a succession of continuous hammer action, i.e. hammer action each time Between time interval no more than Preset Time.Such as, when user's input hammer action for the first time, it is necessary in Preset Time Second hammer action of input in (such as 10 seconds), otherwise, Preset Time (such as 10 seconds) is not interior defeated such as after hammer action is input into Enter hammer action, then terminate the acquisition of hammer action, generation taps operational order.
Judge module 35, for judging that the user taps whether operational order meets pre-conditioned.
Wherein, judge that the user taps whether operational order meets pre-conditioned, can pass through in the judge module 35:
Judge tap operational order in solution code with it is default percussion operational order in record solution code whether one Cause;When the solution code in judging to tap operational order is consistent with the solution code recorded in default percussion operational order, It is judged to that the user taps operational order and meets pre-conditioned;Solution code in judging to tap operational order is struck with default Hit in operational order record solution code it is inconsistent when, be judged to the user tap operational order be unsatisfactory for it is pre-conditioned.
From the foregoing, a kind of editing device of data that the present embodiment is provided, by judging that data edit instruction is indicated Data when being predetermined encryption data, the hammer action of user is sensed by the pressure sensitive screen that pre-sets, obtain and tap Corresponding percussion power degrees of data is acted, and the percussion power degrees of data is classified, generation solution code will continuously tap dynamic Make corresponding decryption coded combination, generation taps operational order, the solution code in operational order is tapped taps dynamic with default When the solution code recorded in work is consistent, response enters edlin to predetermined encryption data, solves user data and is easily grasped by mistake The situation made and steal, so as to lift the security of user data.
The embodiment of the present invention also provides a kind of terminal, as shown in fig. 7, the terminal 400 can include one or one with The memory 401 of upper computer-readable recording medium, sensor 402, input block 403, display unit 404, pressure sensitive mould Block 405, include the part such as or the processor 406 of more than one processing core.It will be understood by those skilled in the art that The restriction of the terminal structure shown in Fig. 7 not structure paired terminal, can be included than illustrating more or less part, or group Close some parts, or different part arrangements.
Memory 401 can be used to store application program and data.Include and can hold in the application program of the storage of memory 401 Line code.Application program can constitute various functions module.Processor 406 is by running application journey of the storage in memory 401 Sequence, so as to perform various function application and data processing.Additionally, memory 401 can include high-speed random access memory, Nonvolatile memory can also be included, for example, at least one disk memory, flush memory device or other volatile solid-states are deposited Memory device.Correspondingly, memory 401 can also include Memory Controller, to provide processor 406 and input block 403 pairs The access of memory 401.
Terminal may also include at least one sensor 402, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of Gravity accelerometer Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Be can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Input block 403 can be used to receive numeral, character information or the user's characteristic information (such as fingerprint) of input, and Produce the keyboard relevant with user's setting and function control, mouse, action bars, optics or trace ball signal input.Specifically Ground, in a specific embodiment, input block 403 may include Touch sensitive surface and other input equipments.Touch sensitive surface, Referred to as touch display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses finger, touches The operations of any suitable object or annex on Touch sensitive surface or near Touch sensitive surface such as pen), and according to set in advance Formula drives corresponding attachment means.Optionally, Touch sensitive surface may include two parts of touch detecting apparatus and touch controller. Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, and transmit a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives treatment Device 406, and the order sent of receiving processor 406 and can be performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray And the polytype such as surface acoustic wave realizes Touch sensitive surface.Except Touch sensitive surface, input block 403 can also be including other inputs Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), fingerprint recognition module, trace ball, mouse, one or more in action bars etc..
Display unit 404 can be used for show by user input information or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display Unit 404 may include display panel.Optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , Touch sensitive surface can cover display panel, when Touch sensitive surface is detected thereon or after neighbouring touch operation, send treatment to Device 406 is provided accordingly on a display panel with preprocessor 406 with determining the type of touch event according to the type of touch event Visual output.Although in the figure 7, Touch sensitive surface with display panel is realized being input into and is input into as two independent parts Function, but in some embodiments it is possible to by Touch sensitive surface and display panel it is integrated and realize input and output function.
Pressure sensitive unit 405 can realize obtaining the specific pressure data of touch-control on terminal input unit 403, send to Processor 406 is determining the specific touch-control pressure value of touch event.
Processor 406 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to Cross operation or perform application program of the storage in memory 401, and call data of the storage in memory 401, perform The various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 406 may include one or Multiple processing cores;Preferably, processor 406 can integrated application processor and modem processor, wherein, application processor Main treatment operating system, user interface and application program etc..
Although not shown in Fig. 7, terminal can also will not be repeated here including camera, bluetooth module, power supply etc..
Specifically in the present embodiment, the processor 406 in terminal can be according to following instruction, will be one or more The corresponding executable code of process of application program is loaded into memory 401, and storage is run by processor 406 in storage Application program in device 401, so as to realize various functions:
Data edition is received by input block 403 to instruct.
When determining that the data edition instructs the data for indicating for predetermined encryption data by processor 406, by display Unit 403 obtains user and taps operational order.
When processor 406 judges that user percussion operational order meets pre-conditioned, the data edition is referred to The data shown carry out edit operation.
Processor 406 can include when the step of obtaining user's percussion operational order is performed:By the pressure for pre-setting Power sensing screen senses the hammer action of user.The corresponding percussion dynamics of the hammer action is obtained by pressure sensitive unit 405 Data.The percussion power degrees of data is combined according to the sequencing of hammer action, generation taps operational order.Processor 406, when the step of percussion power degrees of data is combined according to the sequencing of hammer action is performed, can include:It is based on Slight hammer action and severe hammer action are classified to the percussion power degrees of data, obtain corresponding solution code.Will decryption Coding is combined according to the sequencing of hammer action.
Processor 406 can include when execution judges that user percussion operational order meets pre-conditioned step: Whether the solution code for judging to tap in operational order is consistent with the solution code recorded in default percussion operational order.Work as percussion When solution code in operational order is consistent with the solution code recorded in default percussion operational order, it is judged to that the user taps Operational order meets pre-conditioned.
Processor 406, can when performing the step of the data for determining data edition instruction instruction are predetermined encryption data To include:Obtain the data that data edition instruction is indicated;Exist in the data that data edition instruction is indicated are judged and add When secret mark is known, it is judged to that the data that data edition instruction is indicated are predetermined encryption data.
The edit methods of any one data that inventive embodiments are provided can be performed by the terminal, therefore, it can reality Beneficial effect achieved by the edit methods of any one data that existing inventive embodiments are provided, refers to embodiment above, Will not be repeated here.
During specific implementation, above unit can be realized as independent entity, it is also possible to be combined, and be made Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not Repeat again.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, the detailed description of the edit methods above with respect to data is may refer to, here is omitted.
The edit methods of data provided in an embodiment of the present invention, device and terminal are for example mobile phone, panel computer, palm Computer (PDA, Personal Digital Assistant) etc., the editing side of the terminal, the editing device of data and data It is owned by France in same design, any provided in the edit methods embodiment of the data can be provided on the editing device of the data Method, it implements the edit methods embodiment that process refers to the data, and here is omitted.
It should be noted that for the edit methods of the data of the invention, this area common test personnel be appreciated that All or part of flow of the edit methods of embodiment of the present invention data is realized, can be by computer program to control correlation Hardware complete, the computer program can be stored in a computer read/write memory medium, such as storage of the storage in terminal In device, and by least one computing device in the terminal, edit methods such as the data are may include in the process of implementation The flow of embodiment.Wherein, the storage medium can for magnetic disc, CD, read-only storage (ROM, Read Only Memory), with Machine access/memory body (RAM, Random Access Memory) etc..
For the editing device of the data of the embodiment of the present invention, its each functional module can be integrated in a treatment core In piece, or modules are individually physically present, it is also possible to which two or more modules are integrated in a module.On Stating integrated module can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.This is integrated If module to realize in the form of software function module and as independent production marketing or when using, it is also possible to storage is one In individual computer read/write memory medium, the storage medium is for example read-only storage, disk or CD etc..
A kind of edit methods of the data for being provided the embodiment of the present invention above, device and terminal have carried out detailed Jie Continue, specific case used herein is set forth to principle of the invention and implementation method, the explanation of above example is only It is to be used to help understand the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to of the invention Thought, will change in specific embodiments and applications, to sum up be somebody's turn to do, and it is right that this specification content should not be construed as Limitation of the invention.

Claims (11)

1. a kind of edit methods of data, it is characterised in that including:
Receive data edition instruction;
When it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtain user and tap operational order;
When judging that user's percussion operational order meets pre-conditioned, the data that data edition instruction is indicated are entered Edlin is operated.
2. edit methods of data as claimed in claim 1, it is characterised in that the acquisition user taps the step of operational order Suddenly, including:
The hammer action of user is sensed by the pressure sensitive screen for pre-setting;
Obtain the corresponding percussion power degrees of data of the hammer action;
The percussion power degrees of data is combined according to the sequencing of hammer action, generation taps operational order.
3. edit methods of data as claimed in claim 2, it is characterised in that it is described by the percussion power degrees of data according to striking The step of sequencing for hitting action is combined, including:
The percussion power degrees of data is classified based on slight hammer action and severe hammer action, is obtained corresponding decryption and is compiled Code;
Solution code is combined according to the sequencing of hammer action.
4. edit methods of data as claimed in claim 3, it is characterised in that described to judge that the user taps operation and refers to Order meets pre-conditioned step, including:
Whether the solution code for judging to tap in operational order is consistent with the solution code recorded in default percussion operational order;
When the solution code in tapping operational order is consistent with the solution code recorded in default percussion operational order, it is judged to The user taps operational order and meets pre-conditioned.
5. edit methods of the data as any one of Claims 1-4, it is characterised in that the determination data The step of data that edit instruction is indicated are predetermined encryption data, including:
Obtain the data that the data edition instruction is indicated;
When there is encryption identification in judging the data that the data edition instruction is indicated, it is judged to the data edition instruction The data of instruction are predetermined encryption data.
6. a kind of editing device of data, it is characterised in that including:
Receiver module, for receiving data edition instruction;
Acquisition module, for when it is determined that the data that data edition instruction is indicated are predetermined encryption data, obtaining user and striking Hit operational order;
Editor module, for when judging that user's percussion operational order meets pre-conditioned, referring to the data edition Making the data for indicating carries out edit operation.
7. the editing device of data as claimed in claim 6, it is characterised in that the acquisition module, including:
Sensing submodule, for when it is determined that the data that data edition instruction is indicated are predetermined encryption data, by advance The pressure sensitive screen of setting senses the hammer action of user;
Acquisition submodule, for obtaining the corresponding percussion power degrees of data of the hammer action;
Generation submodule, for the percussion power degrees of data to be combined according to the sequencing of hammer action, generation is tapped Operational order.
8. the editing device of data as claimed in claim 7, it is characterised in that the generation submodule is used for:
The percussion power degrees of data is classified based on slight hammer action and severe hammer action, is obtained corresponding decryption and is compiled Code;
Solution code is combined according to the sequencing of hammer action, generation taps operational order.
9. the editing device of data as claimed in claim 8, it is characterised in that described device, also includes:
Judge module, for judging that the user taps whether operational order meets pre-conditioned;
The judge module is used for:Judge to tap the solution of the solution code and record in default percussion operational order in operational order Whether code is consistent, when the decryption recorded in the solution code in judging to tap operational order with default percussion operational order When encoding consistent, it is judged to that the user taps operational order and meets pre-conditioned, the solution in judging to tap operational order When code is inconsistent with the solution code of record in default percussion operational order, it is judged to that the user taps operational order not Meet pre-conditioned.
10. the editing device of the data as any one of claim 6 to 9, it is characterised in that the acquisition module, uses In:
Obtain the data that the data edition instruction is indicated;
When there is encryption identification in judging the data that the data edition instruction is indicated, it is judged to the data edition instruction The data of instruction are predetermined encryption data;
Obtain user and tap operational order.
A kind of 11. terminals, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the edit methods of the data described in 5 any one.
CN201611089010.2A 2016-11-30 2016-11-30 Data editing method and device and terminal Active CN106778166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611089010.2A CN106778166B (en) 2016-11-30 2016-11-30 Data editing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611089010.2A CN106778166B (en) 2016-11-30 2016-11-30 Data editing method and device and terminal

Publications (2)

Publication Number Publication Date
CN106778166A true CN106778166A (en) 2017-05-31
CN106778166B CN106778166B (en) 2020-04-10

Family

ID=58914165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611089010.2A Active CN106778166B (en) 2016-11-30 2016-11-30 Data editing method and device and terminal

Country Status (1)

Country Link
CN (1) CN106778166B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306255A (en) * 2011-08-29 2012-01-04 飞天诚信科技股份有限公司 Document protection method and system
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102542210A (en) * 2010-12-31 2012-07-04 富泰华工业(深圳)有限公司 Electronic device and method for managing file permissions
CN105512565A (en) * 2015-11-26 2016-04-20 浪潮电子信息产业股份有限公司 Method and server for preventing electronic document leakage
CN105678186A (en) * 2016-01-05 2016-06-15 上海卓易科技股份有限公司 Information encryption method and device
CN105718179A (en) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 Information processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455842A (en) * 2010-10-21 2012-05-16 北京创新方舟科技有限公司 Method and equipment for unlocking screen according to clicking operation of user
CN102542210A (en) * 2010-12-31 2012-07-04 富泰华工业(深圳)有限公司 Electronic device and method for managing file permissions
CN102306255A (en) * 2011-08-29 2012-01-04 飞天诚信科技股份有限公司 Document protection method and system
CN105512565A (en) * 2015-11-26 2016-04-20 浪潮电子信息产业股份有限公司 Method and server for preventing electronic document leakage
CN105678186A (en) * 2016-01-05 2016-06-15 上海卓易科技股份有限公司 Information encryption method and device
CN105718179A (en) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 Information processing method and device

Also Published As

Publication number Publication date
CN106778166B (en) 2020-04-10

Similar Documents

Publication Publication Date Title
Buriro et al. Hold and sign: A novel behavioral biometrics for smartphone user authentication
CN106778130B (en) Message display method, display device and mobile terminal
CN104335561B (en) The communication that bio-identification is initiated
CN105493054B (en) It is protected using the rapid data of double file system
CN107506634B (en) Data display method and device, storage medium and terminal
CN102902484A (en) Unlocking method of touch screen terminal
CN104335216B (en) Expedited biometric validation
TW201135509A (en) Human presence detection techniques
CN104573479A (en) Method and device for use control on user equipment
CN105519038A (en) Data protection based on user input during device boot-up, user login, and device shut-down states
CN106709383A (en) Communication message protection method and device and mobile terminal
CN107862194A (en) A kind of method, device and mobile terminal of safety verification
CN109753777A (en) A kind of personal identification method, device, storage medium and mobile terminal
CN108632758A (en) Terminal tracing method, processing unit and terminal and storage medium
CN111510557B (en) Content processing method and electronic equipment
CN106775259A (en) A kind of processing method of information, device and terminal
CN104346073B (en) A kind of information processing method and electronic equipment
CN107787478A (en) Content item is selected in user interface display
CN102209136A (en) Mobile communications terminal authentication and settlement system and method
CN107766708A (en) Nullify method, terminal and the computer-readable recording medium of account Entered state
CN107832603A (en) The startup method and mobile terminal of a kind of application program
CN106778336A (en) A kind of processing method of file content, device and mobile terminal
CN106778131A (en) A kind of display methods of hiding information, device and terminal
CN106778340A (en) The delet method of data, device and mobile terminal
CN106778166A (en) A kind of edit methods of data, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant