技术领域technical field
本发明属于彩信数据加密传输领域,具体涉及一种彩信数据的加密传输方法。The invention belongs to the field of encrypted transmission of multimedia message data, and in particular relates to an encrypted transmission method of multimedia message data.
背景技术Background technique
现有彩信数据传输是基于互联网的明文传输,数据安全性存在缺陷。如图1所示,移动终端A将打包好的彩信PDU数据经由IP网络发送至运营商的彩信服务中心,然后彩信服务中心推送一条彩信下载通知消息给移动终端B,在移动终端B收到该通知消息后,经由IP网络去彩信服务中心下载移动终端A发送的彩信PDU数据.Existing MMS data transmission is based on clear text transmission on the Internet, and there are defects in data security. As shown in Figure 1, mobile terminal A sends the packaged MMS PDU data to the operator's MMS service center via the IP network, and then the MMS service center pushes a MMS download notification message to mobile terminal B. After notifying the message, go to the MMS service center via the IP network to download the MMS PDU data sent by mobile terminal A.
发明内容Contents of the invention
针对现有技术中存在的上述技术问题,本发明提出了一种彩信数据的加密传输方法,设计合理,克服了现有技术的不足,具有良好的效果。Aiming at the above-mentioned technical problems existing in the prior art, the present invention proposes an encrypted transmission method of MMS data, which is reasonably designed, overcomes the deficiencies of the prior art, and has good effects.
为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一种彩信数据的加密传输方法,包括发送前基于非对称算法的加密密钥交换过程和基于短信承载的彩信加密数据的传输过程;A method for encrypted transmission of MMS data, comprising an encryption key exchange process based on an asymmetric algorithm before sending and a transmission process of MMS encrypted data based on short messages;
其中,发送前基于非对称算法的加密密钥交换过程,具体按照如下步骤进行:Among them, the encryption key exchange process based on the asymmetric algorithm before sending is carried out according to the following steps:
S11:当彩信发送方准备发送彩信时,先向彩信接收方发送一条请求消息;S11: When the multimedia message sender is ready to send the multimedia message, first send a request message to the multimedia message receiver;
S12:彩信接收方收到该请求后,回复一条请求确认消息给彩信发送方,该消息内携带彩信接收方的加密公钥PK;S12: After receiving the request, the multimedia message receiver returns a request confirmation message to the multimedia message sender, and the message carries the encrypted public key PK of the multimedia message receiver;
S13:当彩信发送方收到该确认消息后,使用其携带的公钥加密收发双方后续使用的对称加密算法的加密密钥SK,然后将经过加密的加密密钥SK发送给彩信接收方;S13: After the multimedia message sender receives the confirmation message, use the public key it carries to encrypt the encryption key SK of the symmetric encryption algorithm subsequently used by the sending and receiving parties, and then send the encrypted encryption key SK to the multimedia message receiver;
S14:彩信接收方在收到经过加密的加密密钥SK后,使用自己的私钥处理加密数据,解出加密密钥SK明文,得到解密密钥SK,做为后续要使用的对称加密算法的密钥,供彩信接收方和彩信发送方传输数据;S14: After receiving the encrypted encryption key SK, the MMS receiver uses its own private key to process the encrypted data, decrypts the plaintext of the encryption key SK, and obtains the decryption key SK, which is used as the key of the symmetric encryption algorithm to be used later. A key for transmitting data between the MMS receiver and the MMS sender;
基于短信承载的彩信加密数据的传输过程,具体按照如下步骤进行:The transmission process of MMS encrypted data carried by SMS is specifically carried out according to the following steps:
S21:将超长的加密数据进行分割,每140字符做为一个数据块;S21: Divide the ultra-long encrypted data, and use every 140 characters as a data block;
S22:将步骤S21中的数据块通过短信发送给彩信接收端;S22: Send the data block in step S21 to the multimedia message receiving end through a short message;
S23:彩信接收端收到基于短信承载的数据块后,将其拼接起来还原成一条完整的彩信PDU数据;S23: After receiving the data blocks carried by the short message, the MMS receiving end splices them together and restores them into a complete MMS PDU data;
S24:使用通过步骤S14获得的解密密钥SK对其进行解密,从而获得彩信PDU数据明文;S24: Use the decryption key SK obtained in step S14 to decrypt it, so as to obtain the plaintext of the MMS PDU data;
S25:通过现有彩信解析流程进行处理即可得到用以描述彩信播放时的播放参数SMIL数据和尾随其后的包括彩信中的音频、视频、图像、文本在内的彩信附件数据。S25: Processing through the existing MMS parsing process can obtain the playback parameter SMIL data used to describe the MMS playback and the MMS attachment data including the audio, video, image, and text in the MMS.
本发明所带来的有益技术效果:Beneficial technical effects brought by the present invention:
1、增强了彩信数据传输的安全性;1. Enhanced the security of MMS data transmission;
2、增强了彩信数据传输的稳定性;2. Enhanced the stability of MMS data transmission;
3、无需IP网络,即便用户电话卡无数据业务也可以收发彩信。3. No need for IP network, even if the user's phone card has no data service, it can send and receive MMS.
附图说明Description of drawings
图1为现有彩信数据传输的示意图。FIG. 1 is a schematic diagram of existing MMS data transmission.
图2为彩信数据的加密密钥交换过程示意图。Fig. 2 is a schematic diagram of an encryption key exchange process of MMS data.
图3为彩信加密数据的传输过程示意图。FIG. 3 is a schematic diagram of a transmission process of encrypted data of a multimedia message.
具体实施方式detailed description
下面结合附图以及具体实施方式对本发明作进一步详细说明:Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
1、彩信数据的加密密钥交换过程1. MMS data encryption key exchange process
本发明使用数据加密的方式增加传输安全性,由于受彩信PDU数据大小的限制,数据加密方式采用对称加密方式,而对称加密方式的密钥SK则是通过非对称加密算法进行发送接收方的交换,如图2所示。The present invention uses a data encryption method to increase transmission security. Due to the limitation of the MMS PDU data size, the data encryption method adopts a symmetric encryption method, and the key SK of the symmetric encryption method is exchanged by the sending and receiving parties through an asymmetric encryption algorithm. ,as shown in picture 2.
当发送方准备发送彩信时,先向彩信接收方发送一条请求消息(这条消息可以使用短信承载,或者使用其它通信方式皆可);When the sender is ready to send a multimedia message, first send a request message to the multimedia message receiver (this message can be carried by a short message, or other communication methods can be used);
接收方收到该请求后,回复一条请求确认消息给发送方(该消息内携带彩信接收方的加密公钥PK);After receiving the request, the receiver replies with a request confirmation message to the sender (the message carries the encrypted public key PK of the multimedia message receiver);
当彩信发送方收到该确认消息后,使用其携带的公钥加密后续收发双方使用的对称加密算法的加密密钥SK,然后将经过加密的加密密钥SK发送给彩信接收方;When the MMS sender receives the confirmation message, use the public key it carries to encrypt the encryption key SK of the symmetric encryption algorithm used by the sending and receiving parties, and then send the encrypted encryption key SK to the MMS receiver;
彩信接收方在收到经过加密的密钥SK后,使用自己的私钥处理加密数据,解出密钥SK明文,作为后续要使用的对称加密算法的密钥,供收发双发传输数据。After receiving the encrypted key SK, the MMS receiver uses its own private key to process the encrypted data, and decrypts the plaintext of the key SK, which will be used as the key of the symmetric encryption algorithm to be used later for both sending and receiving data transmission.
2、彩信加密数据的传输过程,如图3所示。2. The transmission process of the MMS encrypted data is shown in FIG. 3 .
对于加密后的彩信数据,本发明以彩信短信承载的方式传输给接收端,这是因为短信数据传输并不经过互联网,安全等级较现有彩信传输实现所使用的互联网传输要高得多。因为短信协议规定每一条短信长度不能超过140个字符,所以,本发明将超长的加密数据进行分割,分割成n个彩信加密数据块,其中每个彩信加密数据块包括140个字符,然后将这些彩信加密数据块通过短信发送给彩信接收端。For encrypted MMS data, the present invention transmits to the receiving end in the form of MMS short message bearing, this is because the short message data transmission does not go through the Internet, and the security level is much higher than the Internet transmission used by the existing MMS transmission. Because the short message protocol stipulates that the length of each short message cannot exceed 140 characters, the present invention divides the superlong encrypted data into n multimedia message encrypted data blocks, wherein each multimedia message encrypted data block includes 140 characters, and then These MMS encrypted data blocks are sent to the MMS receiving end through a short message.
接受端收到这些通过短信承载的数据块后,将其拼接起来还原成一条完整的彩信PDU数据,然后使用获得的解密密钥SK对其进行解密,从而获得彩信PDU数据明文,最后交由现有彩信解析流程进行处理即可。After the receiving end receives these data blocks carried by the SMS, it splices them together and restores them into a complete MMS PDU data, and then uses the obtained decryption key SK to decrypt it, thereby obtaining the plain text of the MMS PDU data, and finally submits it to the present Only MMS analysis process can be used for processing.
本发明可以有效地增强现有彩信数据传输的安全性。The invention can effectively enhance the security of existing multimedia message data transmission.
当然,上述说明并非是对本发明的限制,本发明也并不仅限于上述举例,本技术领域的技术人员在本发明的实质范围内所做出的变化、改型、添加或替换,也应属于本发明的保护范围。Of course, the above descriptions are not intended to limit the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or replacements made by those skilled in the art within the scope of the present invention shall also belong to the present invention. protection scope of the invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710504182.XACN107277785A (en) | 2017-06-28 | 2017-06-28 | A kind of encrypted transmission method of multimedia message data |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710504182.XACN107277785A (en) | 2017-06-28 | 2017-06-28 | A kind of encrypted transmission method of multimedia message data |
| Publication Number | Publication Date |
|---|---|
| CN107277785Atrue CN107277785A (en) | 2017-10-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710504182.XAPendingCN107277785A (en) | 2017-06-28 | 2017-06-28 | A kind of encrypted transmission method of multimedia message data |
| Country | Link |
|---|---|
| CN (1) | CN107277785A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108235265A (en)* | 2018-04-13 | 2018-06-29 | 中卓信(北京)科技有限公司 | Short message issue and rendering method, server and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101068373A (en)* | 2007-06-07 | 2007-11-07 | 中兴通讯股份有限公司 | Method for receiving and realizing speech short message |
| CN101500204A (en)* | 2008-01-29 | 2009-08-05 | 丰达软件(苏州)有限公司 | Method, server terminal and system for multimedia conversion |
| CN101616142A (en)* | 2008-06-24 | 2009-12-30 | 香港城市大学 | Method and system for realizing information encryption transmission |
| CN101711015A (en)* | 2009-12-30 | 2010-05-19 | 中兴通讯股份有限公司 | Method, system and terminal for transmitting multimedia message |
| US20120099727A1 (en)* | 2010-10-21 | 2012-04-26 | Microsoft Corporation | Provisioning techniques |
| CN102523563A (en)* | 2011-12-26 | 2012-06-27 | 深圳市华信安创科技有限公司 | Multimedia messaging service (MMS) encrypting method based on identity-based cryptograph (IBC) technology |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101068373A (en)* | 2007-06-07 | 2007-11-07 | 中兴通讯股份有限公司 | Method for receiving and realizing speech short message |
| CN101500204A (en)* | 2008-01-29 | 2009-08-05 | 丰达软件(苏州)有限公司 | Method, server terminal and system for multimedia conversion |
| CN101616142A (en)* | 2008-06-24 | 2009-12-30 | 香港城市大学 | Method and system for realizing information encryption transmission |
| CN101711015A (en)* | 2009-12-30 | 2010-05-19 | 中兴通讯股份有限公司 | Method, system and terminal for transmitting multimedia message |
| US20120099727A1 (en)* | 2010-10-21 | 2012-04-26 | Microsoft Corporation | Provisioning techniques |
| CN102523563A (en)* | 2011-12-26 | 2012-06-27 | 深圳市华信安创科技有限公司 | Multimedia messaging service (MMS) encrypting method based on identity-based cryptograph (IBC) technology |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108235265A (en)* | 2018-04-13 | 2018-06-29 | 中卓信(北京)科技有限公司 | Short message issue and rendering method, server and mobile terminal |
| Publication | Publication Date | Title |
|---|---|---|
| US11777716B2 (en) | Key exchange method and apparatus | |
| CN103096302B (en) | An encryption method, decryption method and related device | |
| CN103338437A (en) | Encryption method and system of mobile instant message | |
| CN103152748B (en) | communication monitoring method, base station and terminal | |
| UA97721C2 (en) | Method and apparatus for transfer of message on common control channel for random access in wireless communication network | |
| GB2444445B (en) | Secure data transmission | |
| CN112291196B (en) | End-to-end encryption method and system suitable for instant messaging | |
| CN101568110A (en) | Wireless data transmission method and system | |
| WO2010025638A1 (en) | Method, equipment and system of peer to peer live broadcast stream transfer | |
| CN103209389B (en) | Short message push method, note supplying system and note push cloud server | |
| WO2011127804A1 (en) | Method, apparatus and system for data encryption transmission in m2m | |
| CN108156604B (en) | Group calling encryption transmission method and device of cluster system, cluster terminal and system | |
| CN109714295B (en) | Voice encryption and decryption synchronous processing method and device | |
| CN107277785A (en) | A kind of encrypted transmission method of multimedia message data | |
| CN106487501B (en) | Key distribution and reception method, key management center, first and second network elements | |
| CN106534044A (en) | Method and device for encrypting voice call | |
| CN205051736U (en) | Safe high -efficient satellite data transmission system | |
| CN115915119A (en) | An implementation method for Beidou quantum encryption communication | |
| CN102685033B (en) | Instant message sending-receiving method based on identity encryption | |
| WO2010124549A1 (en) | Method, apparatus and system for obtaining public key | |
| CN106912029B (en) | Method, system and base station for instant message broadcasting | |
| CN101335927A (en) | Method and system for notifying terminal to acquire service cipher key | |
| CN103139174B (en) | Communication service processing method and communication business processing system | |
| CN104301332B (en) | A kind of key distribution system based on wireless cascade | |
| CN111328077A (en) | Pseudo base station short message identification method, base station short message encryption method and system |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20171020 |