CN104270516A - Decryption method and mobile terminal - Google Patents
Decryption method and mobile terminal Download PDFInfo
- Publication number
- CN104270516A CN104270516A CN201410491631.8A CN201410491631A CN104270516A CN 104270516 A CN104270516 A CN 104270516A CN 201410491631 A CN201410491631 A CN 201410491631A CN 104270516 A CN104270516 A CN 104270516A
- Authority
- CN
- China
- Prior art keywords
- ciphertext
- information
- key
- decryption
- decryption mode
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a decryption method and a mobile terminal, and relates to the field of communication. The purpose of improving the session safety of the mobile terminal is achieved. The method comprises the steps that a cipher text contained in information of session records of a current session is decrypted to obtain a plain text corresponding to the cipher text, and the cipher text is replaced with the plain text for display. The decryption method is applicable to communication software, and a batch of encrypted information can be decrypted under the one-to-one session or multi-user session scene.
Description
Technical field
The present invention relates to the communications field, particularly relate to a kind of decryption method and mobile terminal of inter-terminal session.
Background technology
Current mobile Internet develop rapidly, smart mobile phone is popularized, and based on the social software of smart mobile phone, instant communication software changes communication and the communication way of people greatly.In communication process, often need the personal information sending some sensitivities, such as bank's card number, password, or the information such as the important trade secret that both sides only can be allowed to know.If transmission can be encrypted to these information in process of transmitting, the safety guarantee of feeling more relieved will be provided for user.In transmitting procedure, encryption is not had at present as clients such as notes, very easily intercepted and captured or revealed, although and the clients such as such as micro-letter, QQ have carried out encryption in process of transmitting when bottom transmits, but when client represents display be the plaintext directly shown, if lost mobile phone, or other people share mobile phone, or server account is stolen by other people, the responsive chat record in past still can be revealed, and brings about great losses to user.
Summary of the invention
The invention provides a kind of decryption method and mobile terminal, solve the problem of mobile terminal secure session.
A kind of decryption method, comprising:
The ciphertext comprised in information to the conversation recording of current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
Described ciphertext is replaced to show with described plaintext.
Preferably, the ciphertext comprised in the information of the described conversation recording to current sessions is decrypted, and before obtaining the corresponding step expressly of described ciphertext, also comprises:
Determine whether the automatic decryption mode opening current sessions;
After determining to open automatic decryption mode, start deciphering flow process.
Preferably, the described information information that comprises issued information and receive from Correspondent Node.
Preferably, determine whether that the automatic decryption mode opening current sessions comprises:
After entering session interface, detect the information comprising ciphertext in the conversation recording of current sessions;
When the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode;
When detecting that opening decryption mode indicates, open automatic decryption mode.
Preferably, determine whether that the automatic decryption mode opening current sessions comprises:
When detecting that opening decryption mode indicates, directly open automatic decryption mode.
Preferably, described ciphertext in information in conversation recording to be decrypted, to obtain described ciphertext and expressly comprise accordingly:
Obtain decruption key;
Use described decruption key to be decrypted the ciphertext in described information, obtain the corresponding plaintext of described ciphertext.
Preferably, described acquisition decruption key comprises:
Preset multiple keys are traveled through one by one to the information comprising ciphertext in described current sessions record;
Using the key that matches after traversal as decruption key.
Preferably, the method also comprises:
At local maintenance decruption key configuration information, in this decruption key configuration information, comprise multiple key.
Preferably, described acquisition decruption key comprises:
Obtain the decruption key of outside input.
Preferably, the method also comprises:
In mobile terminal storage inside, store the ciphertext comprised in described information all the time with ciphertext form.
Preferably, after the step replacing described ciphertext to show with described plaintext, also comprise:
To newly receive or the information including ciphertext that newly sends out be decrypted, obtain the plaintext that in described information, ciphertext is corresponding;
The display of described ciphertext is replaced with described plaintext.
Preferably, after the step replacing described ciphertext to show with described plaintext, also comprise:
When the instruction of display ciphertext being detected, to decrypted and be shown as the ciphertext of corresponding plaintext, recover display ciphertext.
Preferably, described display ciphertext is designated as the instruction of closing automatic decryption mode, and the method also comprises:
After the session is completed, the automatic decryption mode of described session is closed; Or,
After the indication information of closing automatic decryption mode being detected, according to this indication information, close automatic decryption mode.
Preferably, the method also comprises:
When the instruction of specifying and one or more information comprising ciphertext being decrypted being detected, the ciphertext in this one or more information is decrypted, obtains the corresponding plaintext of described ciphertext.
Preferably, described session is the session of the communications applications on mobile terminal.
Present invention also offers a kind of mobile terminal, comprising:
Deciphering Executive Module, the ciphertext comprised in the information for the conversation recording to current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
Display module, for replacing described ciphertext to show with described plaintext.
Preferably, this mobile terminal also comprises:
Mode decision module, determines whether the automatic decryption mode opening current sessions;
Schema management module, for after determining to open automatic decryption mode, starts deciphering flow process.
Preferably, described mode decision module comprises:
Steganalytic unit, for after entering session interface, detects the information comprising ciphertext in the conversation recording of current sessions;
Tip element, for when the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode;
Pattern opens unit, for when detecting that opening decryption mode indicates, opens automatic decryption mode.
Preferably, described pattern opens unit, also for when detecting that opening decryption mode indicates, directly opens automatic decryption mode.
Preferably, described deciphering Executive Module comprises:
Key acquiring unit, for obtaining decruption key;
Decryption unit, for using described decruption key to be decrypted the ciphertext in described information, obtains the corresponding plaintext of described ciphertext.
Preferably, described key acquiring unit comprises:
Key traversal subelement, for traveling through preset multiple keys one by one to the information comprising ciphertext in described current sessions record;
Key determining unit, for will after traversal the key that matches as decruption key.
Preferably, described key acquiring unit also comprises:
Key management subelement, at local maintenance decruption key configuration information, comprises multiple key in this decruption key configuration information.
Preferably, described key acquiring unit also comprises:
External key acquiring unit, for obtaining the decruption key of outside input.
Preferably, this mobile terminal also comprises:
Memory module, in system background, stores the ciphertext comprised in described information all the time with ciphertext form.
Preferably, described display module, also for when the instruction of display ciphertext being detected, to decrypted and be shown as the ciphertext of corresponding plaintext, recovers display ciphertext.
Preferably, described schema management module, also for after the session is completed, closes the automatic decryption mode of described session, or,
After the indication information of closing automatic decryption mode being detected, according to this indication information, close automatic decryption mode.
Preferably, described deciphering Executive Module, also for when the instruction that appointment is decrypted one or more information comprising ciphertext being detected, being decrypted the ciphertext in this one or more information, obtaining the corresponding plaintext of described ciphertext.
The invention provides a kind of decryption method and mobile terminal, the ciphertext comprised in the information to the conversation recording of current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext, replaces described ciphertext to show with described plaintext.To achieve under session one to one or multi-conference scene the deciphering of encrypted information batch, solve the problem of mobile terminal secure session.
Accompanying drawing explanation
Fig. 1 is input schematic diagram expressly;
Fig. 2 is the schematic diagram be encrypted;
Fig. 3 is the schematic diagram that after ciphertext being detected in conversation recording, hover button is deciphered in display automatically;
Fig. 4 is the schematic diagram clicking deciphering button input key automatically;
Fig. 5 is the schematic diagram of automatic decrypting ciphertext after opening automatic decryption mode;
Fig. 6 is the schematic diagram automatically deciphering new ciphertext after continuing bulk encryption session;
Fig. 7 is the schematic diagram of only display ciphertext after deciphering is automatically closed;
Fig. 8 is bulk encryption session main flow schematic diagram;
Fig. 9 is many people encryption session main flow schematic diagram;
The flow chart of a kind of decryption method that Figure 10 provides for embodiments of the invention two;
The structural representation of a kind of mobile terminal that Figure 11 provides for embodiments of the invention three;
Figure 12 is the structural representation of mode decision module 1103 in Figure 11;
Figure 13 is the structural representation deciphering Executive Module 1101 in Figure 11;
Figure 14 is the structural representation of key acquiring unit 1301 in Figure 13.
Embodiment
For the feature of the batch session of the client such as instant messaging, note and multi-conference on the equipment such as mobile terminal, the present invention proposes to carry out bulk encryption chat and many people encrypt the method for chat, chat content can represent with the form of ciphertext, only has correct key and could automatically decipher and batch deciphering display plaintext.
Hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Below in conjunction with accompanying drawing, embodiments of the invention one are described.
During bulk encryption session, the both sides of communication are before the session carrying out batch or in conversation procedure, open automatic decryption mode in advance and configure the automatic decruption key of oneself client, like this in batch conversation procedure, after the both sides communicated receive and dispatch enciphered message, system by the ciphertext in automatic decrypted session record and show in conversation recording deciphering after plaintext (just in interface display, be automatically shown as the plaintext after deciphering, still store with ciphertext in the conversation recording of backstage), conversation recording still can ciphertext after conversation end or when next time consults, key must be re-entered could again decipher.Reach like this and both achieved bulk encryption session, be convenient to again the plaintext conversation recording checking ciphertext in communicating pair communication process intuitively.
Many people encryption session is the popularization of above-mentioned bulk encryption session method, and the object of session can be many people group session more than two people and two people.During many people encryption session, different people can configure the key of varying number---and the universal key that everyone has can be configured, also groups of people the private key only having this part talent to have can be configured.Universal key is used for all encryption sessions; Private key is used in group session process, and just can be encrypted deciphering between the groups of people only grasping this key and exchange, other group session member only can see ciphertext.In conversation procedure, all participation people of session or the people of partial session open automatic decryption mode in advance and configure the automatic decruption key of oneself client, like this in conversation procedure, after having encrypted cipher text session to occur, the people with association key can decrypting ciphertext automatically, does not have key or the incorrect side of key can only see other people ciphertext conversation recording.
The key link of bulk encryption session is:
(1) both sides communicated appoint the key of session in advance, before session or in conversation procedure, configure the encryption key of information encryption in systems in which.
(2) side communicated inputs expressly in the information input frame of communication software, when being necessary encryption, there is the control of encryption function or other interface is encrypted the information in input frame by clicking, be encrypted as the plaintext in the ciphertext replacement input frame of specific format, send ciphertext afterwards, ciphertext sends to the other side by the existing communication function of software.
Input expressly has encryption function hover button with click and sees Fig. 1 ~ Fig. 2 to the schematic diagram be expressly encrypted.
(3) the transmitting-receiving record interface of communicating pair is ejected and is automatically deciphered hover button after monitoring the ciphertext of specific format, the one side or both sides of communication ejects the key dialog box of deciphering automatically after clicking self-suspending button, opens the automatic decryption mode of oneself client after input key.
After ciphertext being detected in conversation recording, Fig. 3 is shown in by the schematic diagram of display automatic deciphering hover button, and Fig. 4 is shown in by the schematic diagram that click automatic deciphering button inputs key.
After automatic decryption mode is opened, be expressly (just in interface display, be automatically shown as the plaintext after deciphering, still store with ciphertext in the conversation recording of backstage) automatically by the decrypt ciphertext in current sessions record.When continuing batch session, often during a newly-increased conversation recording, if conversation recording is also specific ciphertext form, and when the key of current automatic decryption mode mates with ciphertext, then automatic is expressly display by newly-increased decrypt ciphertext, otherwise does not deal with newly-increased session content.Whether automatic decryption mode is only effective to communication one side opening this pattern, open do not affect the opposing party, if the opposing party does not open automatic decryption mode, chat record is still ciphertext display.
After opening automatic decryption mode, Fig. 5 is shown in by the schematic diagram of automatic decrypting ciphertext, and after continuing bulk encryption session, Fig. 6 is shown in by the schematic diagram of the ciphertext that deciphering is new automatically.
In conversation procedure, when opening automatic decryption mode, again clicking and automatically deciphering button, will close automatic decipher function, now recovery is shown as ciphertext by all decrypted plaintexts.
(4) work as conversation end, again open former conversation recording, or return to again interface, foreground after session interface is placed in backstage, automatic decryption mode gives tacit consent to closedown all automatically.Again open automatic decryption mode to need to re-enter decruption key.
Fig. 7 is shown in by automatic decryption mode shows ciphertext schematic diagram after being closed by step (4) situation.
Fig. 8 is shown in by the entire flow schematic diagram of bulk encryption session of the present invention.
Many people encryption session is the popularization of above-mentioned bulk encryption session, is applicable to the group session situation of more than two people and two people.The key link of many people encryption session is:
(1) each side's part communicated or all members appoint the key of session in advance, before session or in conversation procedure, configure the encryption key of information encryption in systems in which.Owing to being many people group session, different people can configure the key of varying number.Such as, the universal key that everyone has can be configured, also groups of people can configure the private key only having this part talent to have.In the layoutprocedure of key, need, to the corresponding self-defined title code name of each cipher key configuration, to select when being convenient to subsequent decryption.
(2) in multi-conference process, one side of communication inputs expressly in the information input frame of communication software, when being necessary encryption, select to there is the control of encryption function or other interface is encrypted the information in input frame by clicking, be encrypted as the plaintext in the ciphertext replacement input frame of specific format, send ciphertext afterwards, ciphertext sends to the other side by the existing communication function of software.In click ciphering process, if transmit leg configured in advance multiple encryption key (as being configured with universal key and private key simultaneously), then the applicable scope needing transmit leg to send content according to this selects corresponding universal key or private key.For the fail safe of key, key selects the title code name only arranged with step (1) of the public or private key in interface to show, certainly, selects interface also can add or revise new key at this key.
(3) the transmitting-receiving record interface of communication parties is ejected and is automatically deciphered hover button after monitoring the ciphertext of specific format, the each side of communication ejects the key automatically deciphered and adds interface after clicking self-suspending button, opens the automatic decryption mode of oneself client after input key.If user has multiple key, then can add interface at key and add multiple automatic decruption key.
(4) after decryption mode is opened automatically, by each decruption key that traversal step (3) configures, attempt with each key come automatically by the decrypt ciphertext in current sessions record for expressly (being just automatically shown as the plaintext after deciphering in interface display, still with ciphertext storage in the conversation recording of backstage).If there is key energy successful decryption ciphertext in ergodic process, then no longer travel through other key; If all keys all can not successful decryption, then session content is kept not deal with.When continuing batch session, often during a newly-increased conversation recording, then automatically automatically travel through key according to mode above and carry out decryption processing, reach the effect of deciphering automatically.Whether automatic decryption mode is only effective to communication one side opening this pattern, open do not affect other communication parties, if other communication parties do not open automatic decryption mode, chat record is still ciphertext display.
(5) in conversation procedure, when opening automatic decryption mode, again clicking and automatically deciphering button, will close automatic decipher function, now recovery is shown as ciphertext by all decrypted plaintexts.
(6) work as conversation end, secondaryly open former conversation recording, or return to again interface, foreground after session interface is placed in backstage, automatic decryption mode gives tacit consent to closedown all automatically.Again open automatic decryption mode to need to re-enter decruption key.
Fig. 9 is shown in by the entire flow schematic diagram of the present invention many people encryption session.
For above-mentioned bulk encryption session and many people encryption session, can modify in interactive mode, encryption and decryption mode, cipher key configuration etc., include but not limited to other alternate embodiments:
In above-mentioned decryption method, automatic decryption mode open be detect there is ciphertext in conversation recording after self-suspending show, and after clicking automatic deciphering button, input that clear crytpographic key opens again again.Password configuration during the opening and encrypt of automatic deciphering is separately and independently, and for the purpose of simplification, these two modules can combine: 1) configure encryption and decryption key in cipher key configuration module simultaneously, and automatic decruption key directly calls encryption key to decipher;
2) automatically decryption mode can when configuring cipher key with regard to manual unlocking, and just self-suspending and just opening after needing input decruption key after not needing to detect ciphertext; 3) decryption mode can global configuration be opened automatically, as long as namely have input after correct security permission controls and open automatic decryption mode with regard to the overall situation, only have the automatic decryption mode of manual-lock just to close this function, thus save the operation of frequently opening automatic decryption mode.
In above-mentioned decryption method based on the identical symmetrical encryption and decryption mode of encryption and decryption key, the asymmetric encryption and decryption mode of public key encryption, private key deciphering can be replaced with.Such as, in many people many people encryption session methods, the PKI of the groups of people in sender-selected group session is encrypted, and communication parties only has the private key ability decrypting ciphertext of the groups of people of selected PKI after receiving ciphertext.
Such as:
1, in above-mentioned decryption method, implementation can only realize for communication software itself or realize the present invention by cell phone platform framework.For unrealized mobile phone terminal of the present invention, also can receive the ciphertext realizing terminal of the present invention and send, but the function of deciphering automatically can not be possessed.This can substitute by providing independent decrypt ciphertext client application.
2, in above-mentioned decryption method, automatically decipher except all ciphertexts except opening automatic decryption mode, user also can decipher the encryption session of each band ciphertext one by one when not opening and maybe can not opening automatic decryption mode.
3, in encryption process, the input mode of the key of encryption and decryption is except the text such as digital, alphabetical, other key modes can also be included but not limited to: a) pattern key mode, namely in Encrypt and Decrypt process, key is the pattern of agreement in advance, be encrypted by the corresponding relation of pattern and specific key, and when deciphering, first input pattern, deciphered by the corresponding relation of pattern and specific key.B) gesture key mode, namely in Encrypt and Decrypt process, key is the gesture of agreement in advance, is encrypted, and first inputs gesture when deciphering, deciphered by the corresponding relation of gesture and specific key by the corresponding relation of gesture and specific key; B) mode such as other bio-identification such as face, palmmprint, vocal print, fingerprint, encryption process be all first set up associated biomolecule feature and specific key corresponding relation to carry out encryption and decryption process.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
Embodiments provide a kind of decryption method, use the method, in the session of the communications applications of mobile terminal, can be encrypted display and deciphering display to information, improve fail safe, idiographic flow as shown in Figure 10, comprising:
Step 1001, determine whether to open the automatic decryption mode of current sessions;
In the embodiment of the present invention, the information that described information comprises issued information and receives from Correspondent Node.
In this step, mobile terminal can be set and point out when ciphertext being detected user to open automatic decryption mode, also can receive user at any time and indicate unlatching, specific as follows:
1, mobile terminal points out user to open automatic decryption mode when ciphertext being detected;
First, after entering session interface, detect the information comprising ciphertext in the conversation recording of current sessions; When the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode; When the unlatching decryption mode instruction that user inputs being detected, open automatic decryption mode.
2, receive user at any time and indicate unlatching;
Namely, when the unlatching decryption mode instruction that user inputs being detected, automatic decryption mode is opened.
It should be noted that, the automatic decryption mode of choice for use is one of them of multiple implementation to unlatching or closedown decipher function, and other implementations that can realize unlatching or closing function are on mobile terminals all among scope.
The ciphertext comprised in step 1002, information to the conversation recording of described current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
This step specifically has two kinds of implementations, and one is that real-time prompting user inputs decruption key, uses this decruption key to be decrypted; Two is use preset one or more decryption key decryption.Specific as follows:
1, real-time prompting user inputs decruption key, uses this decruption key to be decrypted;
First, the decruption key of user's input is detected; Then use described decruption key to be decrypted the ciphertext in described information, obtain the corresponding plaintext of described ciphertext.
2, preset one or more decryption key decryption are used;
First, preset multiple decruption keys are traveled through one by one to the information comprising ciphertext in described current sessions record, then the ciphertext matching corresponding decruption key after traversal is decrypted, obtains the plaintext that this ciphertext is corresponding.To the ciphertext without corresponding decruption key after traversal, be not decrypted operation.
Accordingly, need, at mobile terminal local maintenance decruption key configuration information, in this decruption key configuration information, to comprise multiple decruption key.In described decruption key configuration information, add new decruption key, or delete the decruption key comprised in described decruption key configuration information, or revise the decruption key comprised in described decruption key configuration information, to upgrade this decryption key information.
Step 1003, described ciphertext is replaced to show with described plaintext;
In this step, after deciphering completes, namely can ciphertext be expressly replaced to show; For in an information, comprise ciphertext and expressly two kinds of contents of encryption, ciphertext is replaced with corresponding expressly display, original plaintext is constant.
Meanwhile, in system background, still store described ciphertext.
Under described automatic decryption mode opening, follow-up continuation receives new information or sends new information.To newly receive or the information including ciphertext that newly sends out be decrypted, obtain the plaintext that in described information, ciphertext is corresponding, replace the display of described ciphertext with described plaintext.
After automatic decryption mode is opened, this automatic decryption mode can be closed, mainly through the following two kinds mode:
1, after the session is completed, the automatic decryption mode of described session is closed;
That is, after user exits current sessions, namely close the automatic decryption mode of this session, when user enters same session again, still need the operation of again opening automatic decryption mode.
2, the indication information of closing automatic decryption mode detected, according to this indication information, close automatic decryption mode;
Under this kind of mode, user can close automatic decryption mode at any time as required.
When being in session and decryption mode becomes closedown from unlatching automatically, to decrypted and be shown as the ciphertext of corresponding plaintext, recover display ciphertext.
In addition, under described automatic decryption mode closed condition, when detecting that user specifies the instruction be decrypted one or more information comprising ciphertext, the ciphertext in this one or more information is decrypted, obtains the corresponding plaintext of described ciphertext.Add the flexibility of system.
Below in conjunction with accompanying drawing, embodiments of the invention three are described.
Embodiments provide a kind of mobile terminal, its structure as shown in figure 11, comprising:
Deciphering Executive Module 1101, the ciphertext comprised in the information for the conversation recording to current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
Display module 1102, for replacing described ciphertext to show with described plaintext.
Preferably, this mobile terminal also comprises:
Mode decision module 1103, determines whether the automatic decryption mode opening current sessions;
Schema management module 1104, for after determining to open automatic decryption mode, starts deciphering flow process.
Preferably, the structure of described mode decision module 1103 as shown in figure 12, comprising:
Steganalytic unit 1201, for after entering session interface, detects the information comprising ciphertext in the conversation recording of current sessions;
Tip element 1202, for when the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode;
Pattern opens unit 1203, for when detecting that opening decryption mode indicates, opens automatic decryption mode.
Preferably, described pattern opens unit 1203, also for when detecting that opening decryption mode indicates, directly opens automatic decryption mode.
Preferably, the structure of described deciphering Executive Module 1101 as shown in figure 13, also comprises:
Key acquiring unit 1301, for obtaining decruption key;
Decryption unit 1302, for using described decruption key to be decrypted the ciphertext in described information, obtains the corresponding plaintext of described ciphertext.
Preferably, the structure of described key acquiring unit 1301 as shown in figure 14, comprising:
Key traversal subelement 1401, for traveling through preset multiple keys one by one to the information comprising ciphertext in described current sessions record;
Key determining unit 1402, for will after traversal the key that matches as decruption key.
Preferably, described key acquiring unit 1301 also comprises:
Key management subelement 1403, at local maintenance decruption key configuration information, comprises multiple key in this decruption key configuration information.
Preferably, described key acquiring unit 1301 also comprises:
External key acquiring unit 1404, for obtaining the decruption key of outside input.
Preferably, this mobile terminal also comprises:
Memory module 1105, in system background, stores the ciphertext comprised in described information all the time with ciphertext form.
Preferably, described display module 1102, also for when the instruction of display ciphertext being detected, to decrypted and be shown as the ciphertext of corresponding plaintext, recovers display ciphertext.
Preferably, described schema management module 1104, also for after the session is completed, closes the automatic decryption mode of described session, or,
After the indication information of closing automatic decryption mode being detected, according to this indication information, close automatic decryption mode.
Preferably, described deciphering Executive Module 1101, also for when the instruction that appointment is decrypted one or more information comprising ciphertext being detected, being decrypted the ciphertext in this one or more information, obtaining the corresponding plaintext of described ciphertext.
The embodiment provides a kind of decryption method and mobile terminal, the ciphertext comprised in the information to the conversation recording of current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext, replaces described ciphertext to show with described plaintext.To achieve under session one to one or multi-conference scene the deciphering of encrypted information batch, solve the problem of mobile terminal secure session.
Only carry out bulk encryption or multi-conference to encrypted content itself in embodiments of the invention, the ciphertext after encryption can directly be sent by existing transmission channel or existing communication customer end or be preserved, and has and adapts to advantage wide, with low cost.
Embodiments of the invention are encrypted content, and user directly can see the ciphertext effect after encryption, and secret effect is intuitively visible, have good secret experience.
The technical scheme that embodiments of the invention provide is specially adapted to business user or secure communication requires that high user carries out secure session and many people group session based on existing general instant communication software.
One of ordinary skill in the art will appreciate that all or part of step of above-described embodiment can use computer program flow process to realize, described computer program can be stored in a computer-readable recording medium, described computer program (as system, unit, device etc.) on corresponding hardware platform performs, when performing, step comprising embodiment of the method one or a combination set of.
Alternatively, all or part of step of above-described embodiment also can use integrated circuit to realize, and these steps can be made into integrated circuit modules one by one respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in above-described embodiment can adopt general calculation element to realize, and they can concentrate on single calculation element, also can be distributed on network that multiple calculation element forms.
Each device/functional module/functional unit in above-described embodiment using the form of software function module realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.The above-mentioned computer read/write memory medium mentioned can be read-only memory, disk or CD etc.
Anyly be familiar with those skilled in the art in the technical scope that the present invention discloses, change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range described in claim.
Claims (27)
1. a decryption method, is characterized in that, comprising:
The ciphertext comprised in information to the conversation recording of current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
Described ciphertext is replaced to show with described plaintext.
2. decryption method according to claim 1, is characterized in that, the ciphertext comprised in the information of the described conversation recording to current sessions is decrypted, and before obtaining the corresponding step expressly of described ciphertext, also comprises:
Determine whether the automatic decryption mode opening current sessions;
After determining to open automatic decryption mode, start deciphering flow process.
3. decryption method according to claim 1, is characterized in that, the information that described information comprises issued information and receives from Correspondent Node.
4. decryption method according to claim 2, is characterized in that, determines whether that the automatic decryption mode opening current sessions comprises:
After entering session interface, detect the information comprising ciphertext in the conversation recording of current sessions;
When the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode;
When detecting that opening decryption mode indicates, open automatic decryption mode.
5. decryption method according to claim 2, is characterized in that, determines whether that the automatic decryption mode opening current sessions comprises:
When detecting that opening decryption mode indicates, directly open automatic decryption mode.
6. decryption method according to claim 1, is characterized in that, is describedly decrypted the ciphertext in the information in conversation recording, obtains described ciphertext and expressly comprises accordingly:
Obtain decruption key;
Use described decruption key to be decrypted the ciphertext in described information, obtain the corresponding plaintext of described ciphertext.
7. decryption method according to claim 6, is characterized in that, described acquisition decruption key comprises:
Preset multiple keys are traveled through one by one to the information comprising ciphertext in described current sessions record;
Using the key that matches after traversal as decruption key.
8. decryption method according to claim 7, is characterized in that, the method also comprises:
At local maintenance decruption key configuration information, in this decruption key configuration information, comprise multiple key.
9. decryption method according to claim 6, is characterized in that, described acquisition decruption key comprises:
Obtain the decruption key of outside input.
10. decryption method according to claim 1, is characterized in that, the method also comprises:
In mobile terminal storage inside, store the ciphertext comprised in described information all the time with ciphertext form.
11. decryption methods according to claim 1, is characterized in that, after the step replacing described ciphertext to show, also comprise with described plaintext:
To newly receive or the information including ciphertext that newly sends out be decrypted, obtain the plaintext that in described information, ciphertext is corresponding;
The display of described ciphertext is replaced with described plaintext.
12. decryption methods according to claim 1 and 2, is characterized in that, after the step replacing described ciphertext to show, also comprise with described plaintext:
When the instruction of display ciphertext being detected, to decrypted and be shown as the ciphertext of corresponding plaintext, recover display ciphertext.
13. decryption methods according to claim 12, is characterized in that, described display ciphertext is designated as the instruction of closing automatic decryption mode, and the method also comprises:
After the session is completed, the automatic decryption mode of described session is closed; Or,
After the indication information of closing automatic decryption mode being detected, according to this indication information, close automatic decryption mode.
14. decryption methods according to claim 1, it is characterized in that, the method also comprises:
When the instruction of specifying and one or more information comprising ciphertext being decrypted being detected, the ciphertext in this one or more information is decrypted, obtains the corresponding plaintext of described ciphertext.
15. decryption methods according to claim 1, is characterized in that, described session is the session of the communications applications on mobile terminal.
16. 1 kinds of mobile terminals, is characterized in that, comprising:
Deciphering Executive Module, the ciphertext comprised in the information for the conversation recording to current sessions is decrypted, and obtains the corresponding plaintext of described ciphertext;
Display module, for replacing described ciphertext to show with described plaintext.
17. mobile terminals according to claim 16, is characterized in that, this mobile terminal also comprises:
Mode decision module, determines whether the automatic decryption mode opening current sessions;
Schema management module, for after determining to open automatic decryption mode, starts deciphering flow process.
18. mobile terminals according to claim 17, is characterized in that, described mode decision module comprises:
Steganalytic unit, for after entering session interface, detects the information comprising ciphertext in the conversation recording of current sessions;
Tip element, for when the information comprising ciphertext being detected, whether display opens the information of automatic decryption mode;
Pattern opens unit, for when detecting that opening decryption mode indicates, opens automatic decryption mode.
19. mobile terminals according to claim 17, is characterized in that:
Described pattern opens unit, also for when detecting that opening decryption mode indicates, directly opens automatic decryption mode.
20. mobile terminals according to claim 16, is characterized in that, described deciphering Executive Module comprises:
Key acquiring unit, for obtaining decruption key;
Decryption unit, for using described decruption key to be decrypted the ciphertext in described information, obtains the corresponding plaintext of described ciphertext.
21. mobile terminals according to claim 22, is characterized in that, described key acquiring unit comprises:
Key traversal subelement, for traveling through preset multiple keys one by one to the information comprising ciphertext in described current sessions record;
Key determining unit, for will after traversal the key that matches as decruption key.
22. mobile terminals according to claim 21, is characterized in that, described key acquiring unit also comprises:
Key management subelement, at local maintenance decruption key configuration information, comprises multiple key in this decruption key configuration information.
23. mobile terminals according to claim 21, is characterized in that, described key acquiring unit also comprises:
External key acquiring unit, for obtaining the decruption key of outside input.
24. mobile terminals according to claim 16, is characterized in that, this mobile terminal also comprises:
Memory module, in system background, stores the ciphertext comprised in described information all the time with ciphertext form.
25. mobile terminals according to claim 16 or 17, is characterized in that,
Described display module, also for when the instruction of display ciphertext being detected, to decrypted and be shown as the ciphertext of corresponding plaintext, recovers display ciphertext.
26. mobile terminals according to claim 25, is characterized in that,
Described schema management module, also for after the session is completed, closes the automatic decryption mode of described session, or,
After the indication information of closing automatic decryption mode being detected, according to this indication information, close automatic decryption mode.
27. mobile terminals according to claim 16, is characterized in that,
Described deciphering Executive Module, also for when the instruction that appointment is decrypted one or more information comprising ciphertext being detected, being decrypted the ciphertext in this one or more information, obtaining the corresponding plaintext of described ciphertext.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410491631.8A CN104270516B (en) | 2014-09-23 | 2014-09-23 | Decryption method and mobile terminal |
PCT/CN2015/087040 WO2016045464A1 (en) | 2014-09-23 | 2015-08-14 | Decryption method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410491631.8A CN104270516B (en) | 2014-09-23 | 2014-09-23 | Decryption method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104270516A true CN104270516A (en) | 2015-01-07 |
CN104270516B CN104270516B (en) | 2019-05-24 |
Family
ID=52162004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410491631.8A Active CN104270516B (en) | 2014-09-23 | 2014-09-23 | Decryption method and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104270516B (en) |
WO (1) | WO2016045464A1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260887A (en) * | 2015-09-11 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | NFC payment method, NFC payment system and intelligent terminal |
WO2016045464A1 (en) * | 2014-09-23 | 2016-03-31 | 中兴通讯股份有限公司 | Decryption method and mobile terminal |
CN106156638A (en) * | 2015-04-22 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Message record processing method and equipment |
CN107453975A (en) * | 2016-05-31 | 2017-12-08 | 北京北信源软件股份有限公司 | It is close in a kind of instant messaging group to chat method |
CN107563216A (en) * | 2016-07-01 | 2018-01-09 | 四川秘无痕信息安全技术有限责任公司 | A kind of Android system QQ chat record decryption methods |
CN108667796A (en) * | 2018-03-23 | 2018-10-16 | 河南芯盾网安科技发展有限公司 | Data decryption method based on clipbook and system |
CN110943849A (en) * | 2019-12-26 | 2020-03-31 | 中国平安财产保险股份有限公司 | Communication group establishing method, communication group establishing device, computer equipment and storage medium |
CN116095033A (en) * | 2023-02-09 | 2023-05-09 | 网易(杭州)网络有限公司 | Social communication method, device, equipment and storage medium |
CN116112458A (en) * | 2023-02-09 | 2023-05-12 | 网易(杭州)网络有限公司 | Communication method, device, equipment and storage medium |
CN116170533A (en) * | 2022-12-27 | 2023-05-26 | 维沃移动通信有限公司 | Message reminding method and device, electronic equipment and readable storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060670A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | A mobile phone message encrypting and decrypting method |
CN101789865A (en) * | 2010-03-04 | 2010-07-28 | 深圳市华信安创科技有限公司 | Dedicated server used for encryption and encryption method |
CN101800799A (en) * | 2009-02-11 | 2010-08-11 | 英华达(西安)通信科技有限公司 | Short message encrypting method and mobile communication device encrypting short messages by using same |
US20100250919A1 (en) * | 2000-11-29 | 2010-09-30 | Newcombe Christopher R | Methods and systems for secure distribution of subscription-based game software |
EP2341682A1 (en) * | 2009-12-29 | 2011-07-06 | Kabuto Oy | Method and arrangement for encrypted data transmission |
EP2418800A1 (en) * | 2010-08-12 | 2012-02-15 | Research in Motion Limited | Method and device for automatically distributing updated key material |
CN103023653A (en) * | 2012-12-07 | 2013-04-03 | 哈尔滨工业大学深圳研究生院 | Low-power-consumption communication method and device for safety group of internet of things |
CN103081395A (en) * | 2010-08-23 | 2013-05-01 | 德国捷德有限公司 | Method for authenticating a portable data storage medium |
CN103597783A (en) * | 2011-06-03 | 2014-02-19 | 苹果公司 | System and method for secure instant messaging |
WO2014027725A1 (en) * | 2012-08-13 | 2014-02-20 | 한국과학기술원 | Method and system for providing user interface for interactive broadcast program using mobile instant messenger |
CN103918218A (en) * | 2011-07-04 | 2014-07-09 | 三星电子株式会社 | Method and apparatus for managing group key for mobile device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4809327A (en) * | 1986-09-02 | 1989-02-28 | Unisys Corporation | Encrtption of messages employing unique control words and randomly chosen encryption keys |
CN101867898B (en) * | 2010-07-02 | 2012-09-12 | 中国电信股份有限公司 | Short message encrypting communication system, method and secret key center |
CN104270516B (en) * | 2014-09-23 | 2019-05-24 | 中兴通讯股份有限公司 | Decryption method and mobile terminal |
-
2014
- 2014-09-23 CN CN201410491631.8A patent/CN104270516B/en active Active
-
2015
- 2015-08-14 WO PCT/CN2015/087040 patent/WO2016045464A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100250919A1 (en) * | 2000-11-29 | 2010-09-30 | Newcombe Christopher R | Methods and systems for secure distribution of subscription-based game software |
CN101060670A (en) * | 2007-05-24 | 2007-10-24 | 深圳市杰特电信控股有限公司 | A mobile phone message encrypting and decrypting method |
CN101800799A (en) * | 2009-02-11 | 2010-08-11 | 英华达(西安)通信科技有限公司 | Short message encrypting method and mobile communication device encrypting short messages by using same |
EP2341682A1 (en) * | 2009-12-29 | 2011-07-06 | Kabuto Oy | Method and arrangement for encrypted data transmission |
CN101789865A (en) * | 2010-03-04 | 2010-07-28 | 深圳市华信安创科技有限公司 | Dedicated server used for encryption and encryption method |
EP2418800A1 (en) * | 2010-08-12 | 2012-02-15 | Research in Motion Limited | Method and device for automatically distributing updated key material |
CN103081395A (en) * | 2010-08-23 | 2013-05-01 | 德国捷德有限公司 | Method for authenticating a portable data storage medium |
CN103597783A (en) * | 2011-06-03 | 2014-02-19 | 苹果公司 | System and method for secure instant messaging |
CN103918218A (en) * | 2011-07-04 | 2014-07-09 | 三星电子株式会社 | Method and apparatus for managing group key for mobile device |
WO2014027725A1 (en) * | 2012-08-13 | 2014-02-20 | 한국과학기술원 | Method and system for providing user interface for interactive broadcast program using mobile instant messenger |
CN103023653A (en) * | 2012-12-07 | 2013-04-03 | 哈尔滨工业大学深圳研究生院 | Low-power-consumption communication method and device for safety group of internet of things |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016045464A1 (en) * | 2014-09-23 | 2016-03-31 | 中兴通讯股份有限公司 | Decryption method and mobile terminal |
CN106156638B (en) * | 2015-04-22 | 2020-12-04 | 腾讯科技(深圳)有限公司 | Message record processing method and device |
CN106156638A (en) * | 2015-04-22 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Message record processing method and equipment |
CN105260887A (en) * | 2015-09-11 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | NFC payment method, NFC payment system and intelligent terminal |
CN107453975A (en) * | 2016-05-31 | 2017-12-08 | 北京北信源软件股份有限公司 | It is close in a kind of instant messaging group to chat method |
CN107563216A (en) * | 2016-07-01 | 2018-01-09 | 四川秘无痕信息安全技术有限责任公司 | A kind of Android system QQ chat record decryption methods |
CN108667796A (en) * | 2018-03-23 | 2018-10-16 | 河南芯盾网安科技发展有限公司 | Data decryption method based on clipbook and system |
CN110943849A (en) * | 2019-12-26 | 2020-03-31 | 中国平安财产保险股份有限公司 | Communication group establishing method, communication group establishing device, computer equipment and storage medium |
CN110943849B (en) * | 2019-12-26 | 2023-04-18 | 中国平安财产保险股份有限公司 | Communication group establishing method, communication group establishing device, computer equipment and storage medium |
CN116170533A (en) * | 2022-12-27 | 2023-05-26 | 维沃移动通信有限公司 | Message reminding method and device, electronic equipment and readable storage medium |
CN116095033A (en) * | 2023-02-09 | 2023-05-09 | 网易(杭州)网络有限公司 | Social communication method, device, equipment and storage medium |
CN116112458A (en) * | 2023-02-09 | 2023-05-12 | 网易(杭州)网络有限公司 | Communication method, device, equipment and storage medium |
CN116112458B (en) * | 2023-02-09 | 2024-08-23 | 网易(杭州)网络有限公司 | Communication method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016045464A1 (en) | 2016-03-31 |
CN104270516B (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104270516A (en) | Decryption method and mobile terminal | |
US9226147B2 (en) | System and method of securing instant messaging sessions | |
CN104270517A (en) | Information encryption method and mobile terminal | |
CN104660589B (en) | Method, system and terminal for encrypting control and information analysis of information | |
US20150134959A1 (en) | Instant Communication Method and System | |
CN107026824A (en) | A kind of message encryption, decryption method and device | |
CN104917603B (en) | A kind of information security transfer method receives terminal and sends terminal | |
CN104092550A (en) | Password protection method, system and device | |
CN102202299A (en) | Realization method of end-to-end voice encryption system based on 3G/B3G | |
CN103458400A (en) | Key management method for voice encryption communication system | |
CN105743917B (en) | Message transmission method and terminal | |
CN108200093A (en) | Transmit the encryption and decryption approaches and encryption and decryption devices of file | |
CN106357678A (en) | Cloud encryption storage method for intelligent terminal and intelligent terminal | |
CN105915336A (en) | Object cooperative decryption method and device thereof | |
CN107666395A (en) | One population file management method, user terminal, group chat system | |
CN106027530A (en) | Instant message encryption system based on smartphone and implementation method thereof | |
Alatawi et al. | Sok: An analysis of end-to-end encryption and authentication ceremonies in secure messaging systems | |
CN108206738B (en) | Quantum key output method and system | |
CN103067897A (en) | Asymmetrical mobile phone short message encryption method | |
CN104883682A (en) | WIFI hotspot connecting and selecting method, communication terminal and system | |
CN106789000A (en) | A kind of secret phone system and method based on TEE technologies and wearable device | |
CN107508814A (en) | Data ciphering method, decryption method, apparatus and system | |
US20150156173A1 (en) | Communication system utilizing fingerprint information and use thereof | |
CN106537962B (en) | Wireless network configuration, access and access method, device and equipment | |
KR101489447B1 (en) | System for encoding information by encrypting message into common conversation |
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 |