CN112839132A - Method and system for realizing mobile phone input method with information encryption function - Google Patents

Method and system for realizing mobile phone input method with information encryption function Download PDF

Info

Publication number
CN112839132A
CN112839132A CN202011632602.0A CN202011632602A CN112839132A CN 112839132 A CN112839132 A CN 112839132A CN 202011632602 A CN202011632602 A CN 202011632602A CN 112839132 A CN112839132 A CN 112839132A
Authority
CN
China
Prior art keywords
information
mobile phone
input method
identification information
message content
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
CN202011632602.0A
Other languages
Chinese (zh)
Other versions
CN112839132B (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.)
BEIJING ZHONGFU TAIHE TECHNOLOGY DEVELOPMENT CO LTD
Nanjing Zhongfu Information Technology Co Ltd
Zhongfu Information Co Ltd
Zhongfu Safety Technology Co Ltd
Original Assignee
BEIJING ZHONGFU TAIHE TECHNOLOGY DEVELOPMENT CO LTD
Nanjing Zhongfu Information Technology Co Ltd
Zhongfu Information Co Ltd
Zhongfu Safety Technology Co 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 BEIJING ZHONGFU TAIHE TECHNOLOGY DEVELOPMENT CO LTD, Nanjing Zhongfu Information Technology Co Ltd, Zhongfu Information Co Ltd, Zhongfu Safety Technology Co Ltd filed Critical BEIJING ZHONGFU TAIHE TECHNOLOGY DEVELOPMENT CO LTD
Priority to CN202011632602.0A priority Critical patent/CN112839132B/en
Publication of CN112839132A publication Critical patent/CN112839132A/en
Application granted granted Critical
Publication of CN112839132B publication Critical patent/CN112839132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/72Signcrypting, i.e. digital signing and encrypting simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Abstract

The invention provides a method and a system for realizing a mobile phone input method with an information encryption function, which comprises the following steps: configuring a user mobile phone to register to a ciphertext server; compiling instant messages, intercepting message contents of the instant messages, and calculating a secret key of the communication session; encrypting the message content by using the secret key and generating the current identification information ID; sending the identification information ID to an information receiving end; the information receiving terminal uploads the identification information ID to a ciphertext server, and the ciphertext server finds the encrypted message content according to the identification information ID and sends the encrypted message content to the information receiving terminal; and the information receiving end calculates a key corresponding to the identification information ID, and decrypts the encrypted message content according to the key to generate plaintext information. The invention adopts the input method to encrypt the information, thereby ensuring the safety and the confidentiality of the communication data.

Description

Method and system for realizing mobile phone input method with information encryption function
Technical Field
The invention relates to the technical field of information encryption, in particular to a method and a system for realizing a mobile phone input method with an information encryption function.
Background
In recent years, the number of mobile phone users has increased at a rapid pace. Mobile phones are becoming more and more intelligent and integrated, and fully have the functions of computers. The method for processing a large amount of text information by using the mobile phone is embodied by mobile phone intellectualization, so that a mobile phone input method serving as a text processing basis is also rapidly developed. The mobile phone input method is an input method used by a mobile phone in writing short messages or telephone books and other items. The type of the mobile phone input method, the English input method and the Chinese input method; the Chinese input methods mainly comprise: t9 smart input method, word energy input method, iTAP input method, etc.
At present, in the face of complex information security environment and rapid industry informatization surge, the requirements of industry informatization users on data transmission information security of intelligent mobile terminals, particularly mobile phones, are higher and higher, and how to guarantee the security of data transmission also becomes a decisive factor for determining the success or failure of the intelligent mobile terminal market.
In view of this, the present invention provides a method and a system for implementing a mobile phone input method with an information encryption function; it is very necessary to solve the above-mentioned defects existing in the prior art.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method and a system for implementing an input method of a mobile phone with an information encryption function, which perform encryption processing on information by using an input method, thereby ensuring the security and confidentiality of communication data.
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for realizing a mobile phone input method with an information encryption function comprises the following steps:
s1: installing mobile phone input method modules at an information sending end and an information receiving end, and configuring a user mobile phone to register to a ciphertext server;
s2: compiling instant messages through a mobile phone input method module, intercepting message contents of the instant messages by using an input method monitoring event module, and calling a key management module to calculate keys of the communication session;
s3: encrypting the message content by using the secret key and generating the current identification information ID;
s4: sending the identification information ID to an information receiving end;
s5: sending the encrypted message content and the current identification information ID to a ciphertext server;
s6: the information receiving terminal uploads the identification information ID to a ciphertext server through a mobile phone input method module, and the ciphertext server finds the encrypted message content according to the identification information ID and sends the encrypted message content to the information receiving terminal; s7: and the information receiving end calls a key management module to calculate a key corresponding to the identification information ID, and decrypts the encrypted message content according to the key to generate plaintext information.
Further, the step S3 includes:
signing and encrypting the message content by using the secret key according to a preset protocol and a cryptographic algorithm to generate encrypted message content;
and generating the current identification information ID through a mobile phone input method module.
Further, the current identification information ID is used to check the names of the information sending end and the information receiving end, the information sending time, and the information type.
Further, the step S7 includes:
the information receiving end calls a key management module to calculate a key corresponding to the identification information ID;
calling a cryptographic algorithm according to the secret key to decrypt the encrypted message content;
and generating plaintext information after decryption is completed.
Further, the cryptographic algorithm adopts the national cryptographic SM2, SM4, SM3 and SM9 algorithms.
Correspondingly, the invention also discloses a system for realizing the mobile phone input method with the information encryption function, which comprises the following steps:
the mobile phone input method module is used for compiling instant messages, configuring the mobile phone of a user to register to the ciphertext server, and calling the input method monitoring event module and the key management module;
the input method monitoring event module is used for intercepting the message content of the instant message written by the mobile phone input method module; the key management module is used for generating a working key for data encryption and decryption by adopting a hierarchical key management mechanism; and the mobile security encryption and decryption module is used for signing and encrypting and decrypting the data to be transmitted according to the requirements according to a preset protocol and a cryptographic algorithm, and submitting the processed ciphertext to a ciphertext server.
Further, the working key is encrypted and protected through a master key under a hierarchical key management mechanism.
Further, the system also comprises a ciphertext server; and the ciphertext server is used for managing the ciphertext information and the identification information of the sender and the mobile phone registration information of the user.
Compared with the prior art, the invention has the beneficial effects that:
1. the invention encrypts the instant message at the input source to protect the chat content, personal privacy, etc. And moreover, the algorithms such as SM2 SM4 SM3 and SM9 are supported, so that the universality is strong and the safety is high.
2. The invention can be directly installed in the information terminal, does not need external hardware mounting and has stable operation.
3. The invention has wide application scene and excellent performance, supports various instant communication software of the information terminal and can realize seamless combination.
4. The invention can intercept and capture the message content of the instant message and encrypt the message content, thereby ensuring the security of data transfer.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of the method of the present invention.
Fig. 2 is a system block diagram of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
The first embodiment is as follows:
the method for implementing the mobile phone input method with the information encryption function shown in fig. 1 comprises the following steps:
s1: and mobile phone input method modules are installed at the information sending end and the information receiving end, and the mobile phone of the user is configured to be registered to the ciphertext server.
And after the registration is finished, indicating that the current user and the mobile phone start the registration activation state.
S2: the instant message is compiled through the mobile phone input method module, the message content of the instant message is intercepted by the input method monitoring event module, and the secret key of the communication session is calculated by calling the secret key management module.
S3: the message content is encrypted using the key and the current identification information ID is generated.
Firstly, signing and encrypting the message content by using a secret key according to a preset protocol and a cryptographic algorithm to generate encrypted message content. And then, generating the current identification information ID through a mobile phone input method module.
The current identification information ID is used for checking the names of the information sending end and the information receiving end, the information sending time and the information type. The cryptographic algorithm can adopt national cryptographic algorithms of SM2, SM4, SM3, SM9 and the like.
S4: and sending the identification information ID to an information receiving end.
S5: and sending the encrypted message content and the current identification information ID to a ciphertext server.
S6: the information receiving terminal uploads the identification information ID to the ciphertext server through the mobile phone input method module, and the ciphertext server finds the encrypted message content according to the identification information ID and sends the encrypted message content to the information receiving terminal.
S7: and the information receiving end calls a key management module to calculate a key corresponding to the identification information ID, and decrypts the encrypted message content according to the key to generate plaintext information.
Firstly, an information receiving end calls a key management module to calculate a key corresponding to the identification information ID; and calling a cryptographic algorithm according to the key to decrypt the encrypted message content. And generating plaintext information after decryption is completed.
The implementation method of the mobile phone input method with the information encryption function provided by this embodiment can encrypt and decrypt instant messaging data, and complete secure transmission of the instant data through the mobile phone input method module scheduling cryptograph server and the key management module.
Example two:
based on the first embodiment, the present embodiment provides a method for implementing a mobile phone input method with an information encryption function, which can be implemented by an instant messaging APP, and specifically includes the following steps:
the method comprises the steps of firstly installing an instant messaging APP on a mobile phone at a sending end, selecting a mobile phone at a receiving end in the instant messaging APP through an input method, compiling an instant message in the APP, intercepting message content in the instant messaging APP through an input method monitoring event module, calculating a communication session key at this time by combining a key management module, encrypting the message content and generating an identification information ID at this time, sending the identification information ID to the mobile phone at the receiving end through the instant messaging APP, and sending the encrypted message content and the identification information ID to a ciphertext server.
The receiving end mobile phone uploads the received identification information ID to the ciphertext server, the ciphertext server searches the corresponding encrypted message content according to the identification information ID, and the key management module is combined to calculate the communication session key. And finally, decrypting to obtain the plaintext information.
Example three:
based on the above embodiment, as shown in fig. 2, the present invention further discloses a system for implementing a mobile phone input method with an information encryption function, including:
the mobile phone input method module is used for compiling instant messages, configuring the mobile phone of a user to register in the ciphertext server, calling the input method monitoring event module and the key management module. The mobile phone input method module realizes information acquisition at an input source and is used for protecting chat contents, personal privacy and the like.
And the input method monitoring event module is used for intercepting the message content of the instant message written by the mobile phone input method module.
And the key management module is used for generating a working key for encrypting and decrypting the data by adopting a hierarchical key management mechanism. The key management module is an important ring in data encryption technology, and aims to ensure the safety, authenticity and validity of keys. The key management module adopts a hierarchical key management mode. Namely, the working key for data encryption is dynamically generated; the work key is protected by an encryption key at the upper layer, and the key at the upper layer is called a master key and is the core of the whole key management module; the reliability of the cryptosystem is greatly enhanced by the multi-layer key system, because the most used working keys are frequently replaced, and the high-layer keys are less used, so that the safety is greatly enhanced.
And the mobile security encryption and decryption module is used for signing and encrypting and decrypting the data to be transmitted according to the requirements according to a preset protocol and a cryptographic algorithm, and submitting the processed ciphertext to a ciphertext server.
And the ciphertext server is used for managing the ciphertext information and the identification information of the sender and the mobile phone registration information of the user.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention. The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
Similarly, each processing unit in the embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units are integrated into one functional module.
The invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of the present application.

Claims (8)

1. A method for realizing a mobile phone input method with an information encryption function is characterized by comprising the following steps:
s1: installing mobile phone input method modules at an information sending end and an information receiving end, and configuring a user mobile phone to register to a ciphertext server;
s2: compiling instant messages through a mobile phone input method module, intercepting message contents of the instant messages by using an input method monitoring event module, and calling a key management module to calculate keys of the communication session;
s3: encrypting the message content by using the secret key and generating the current identification information ID;
s4: sending the identification information ID to an information receiving end;
s5: sending the encrypted message content and the current identification information ID to a ciphertext server;
s6: the information receiving terminal uploads the identification information ID to a ciphertext server through a mobile phone input method module, and the ciphertext server finds the encrypted message content according to the identification information ID and sends the encrypted message content to the information receiving terminal;
s7: and the information receiving end calls a key management module to calculate a key corresponding to the identification information ID, and decrypts the encrypted message content according to the key to generate plaintext information.
2. The method for implementing a mobile phone input method with an information encryption function according to claim 1, wherein the step S3 includes:
signing and encrypting the message content by using the secret key according to a preset protocol and a cryptographic algorithm to generate encrypted message content;
and generating the current identification information ID through a mobile phone input method module.
3. The method for implementing the mobile phone input method with the information encryption function as claimed in claim 2, wherein the current identification information ID is used to check names, information transmission time and information types of the information transmitting end and the information receiving end.
4. The method for implementing a mobile phone input method with an information encryption function according to claim 2, wherein the step S7 includes:
the information receiving end calls a key management module to calculate a key corresponding to the identification information ID;
calling a cryptographic algorithm according to the secret key to decrypt the encrypted message content;
and generating plaintext information after decryption is completed.
5. The method for implementing mobile phone input method with information encryption function as claimed in claim 2, wherein the cryptographic algorithm is SM2, SM4, SM3 or SM 9.
6. A system for realizing a mobile phone input method with an information encryption function is characterized by comprising the following steps:
the mobile phone input method module is used for compiling instant messages, configuring the mobile phone of a user to register to the ciphertext server, and calling the input method monitoring event module and the key management module;
the input method monitoring event module is used for intercepting the message content of the instant message written by the mobile phone input method module;
the key management module is used for generating a working key for data encryption and decryption by adopting a hierarchical key management mechanism;
and the mobile security encryption and decryption module is used for signing and encrypting and decrypting the data to be transmitted according to the requirements according to a preset protocol and a cryptographic algorithm, and submitting the processed ciphertext to a ciphertext server.
7. The system for implementing the mobile phone input method with the information encryption function according to claim 6, wherein: the working key is encrypted and protected through a master key under a hierarchical key management mechanism.
8. The system for implementing the mobile phone input method with the information encryption function according to claim 6, further comprising a ciphertext server;
and the ciphertext server is used for managing the ciphertext information and the identification information of the sender and the mobile phone registration information of the user.
CN202011632602.0A 2020-12-31 2020-12-31 Method and system for realizing mobile phone input method with information encryption function Active CN112839132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011632602.0A CN112839132B (en) 2020-12-31 2020-12-31 Method and system for realizing mobile phone input method with information encryption function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011632602.0A CN112839132B (en) 2020-12-31 2020-12-31 Method and system for realizing mobile phone input method with information encryption function

Publications (2)

Publication Number Publication Date
CN112839132A true CN112839132A (en) 2021-05-25
CN112839132B CN112839132B (en) 2022-03-11

Family

ID=75926123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011632602.0A Active CN112839132B (en) 2020-12-31 2020-12-31 Method and system for realizing mobile phone input method with information encryption function

Country Status (1)

Country Link
CN (1) CN112839132B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634276A (en) * 2012-08-23 2014-03-12 上海凌攀信息科技有限公司 Privacy protection method for instant communication messages
CN105898740A (en) * 2016-06-12 2016-08-24 Tcl集团股份有限公司 Information encryption and decryption method and system based on mobile device communication
CN106850522A (en) * 2016-05-24 2017-06-13 中国科学院信息工程研究所 The implementation method of Group file encrypted transmission in a kind of instant messaging
US20180287792A1 (en) * 2017-03-28 2018-10-04 Alibaba Group Holding Limited Method and system for protecting data keys in trusted computing
CN109088810A (en) * 2017-06-14 2018-12-25 北京信威通信技术股份有限公司 Communication means, device, relevant device, system and the storage medium of group message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634276A (en) * 2012-08-23 2014-03-12 上海凌攀信息科技有限公司 Privacy protection method for instant communication messages
CN106850522A (en) * 2016-05-24 2017-06-13 中国科学院信息工程研究所 The implementation method of Group file encrypted transmission in a kind of instant messaging
CN105898740A (en) * 2016-06-12 2016-08-24 Tcl集团股份有限公司 Information encryption and decryption method and system based on mobile device communication
US20180287792A1 (en) * 2017-03-28 2018-10-04 Alibaba Group Holding Limited Method and system for protecting data keys in trusted computing
CN109088810A (en) * 2017-06-14 2018-12-25 北京信威通信技术股份有限公司 Communication means, device, relevant device, system and the storage medium of group message

Also Published As

Publication number Publication date
CN112839132B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN101340443B (en) Session key negotiating method, system and server in communication network
GB2538052B (en) Encoder, decoder, encryption system, encryption key wallet and method
US8499156B2 (en) Method for implementing encryption and transmission of information and system thereof
CN101720071A (en) Short message two-stage encryption transmission and secure storage method based on safety SIM card
CN103457932A (en) Data safety storage method and system under cloud computing environment
CN104243149A (en) Encrypting and decrypting method, device and server
US20180083935A1 (en) Method and system for secure sms communications
CN109067700A (en) A kind of cross-platform information input output protection system
CN110401531B (en) Cooperative signature and decryption system based on SM9 algorithm
CN111787495A (en) System and method for realizing RCS enhanced short message encryption
CN114221927A (en) Mail encryption service system and method based on national encryption algorithm
Chaeikar et al. Secure SMS transmission based on social network messages
KR101760376B1 (en) Terminal and method for providing secure messenger service
CN112839132B (en) Method and system for realizing mobile phone input method with information encryption function
CN112637230B (en) Instant messaging method and system
CN109274690A (en) Group's data ciphering method
Jitha et al. SMS security system using encryption techniques
CN113992669A (en) Distributed data distribution method for trusted messages in industry
CN103634313A (en) Address list processing method and device, as well as mobile terminal
Grillo et al. Transaction oriented text messaging with Trusted-SMS
Mitchell et al. Standardising Authentication Protocols Based on Public-Key Techniques.
KR101275470B1 (en) Method for administering message input program and agent program by using the process of encoding-decoding process of multimedia message
CN113411347B (en) Transaction message processing method and processing device
CN115865530B (en) File management method, file management system and computer storage medium
CN114765595B (en) Chat message display method, chat message sending device, electronic equipment and media

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
GR01 Patent grant
GR01 Patent grant