CN108989324B - Encrypted data transmission method - Google Patents

Encrypted data transmission method Download PDF

Info

Publication number
CN108989324B
CN108989324B CN201810871462.9A CN201810871462A CN108989324B CN 108989324 B CN108989324 B CN 108989324B CN 201810871462 A CN201810871462 A CN 201810871462A CN 108989324 B CN108989324 B CN 108989324B
Authority
CN
China
Prior art keywords
segment
message body
data
random
data packet
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.)
Active
Application number
CN201810871462.9A
Other languages
Chinese (zh)
Other versions
CN108989324A (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.)
Quanzhou Heyi Electronics Co ltd
Original Assignee
Quanzhou Heyi Electronics 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 Quanzhou Heyi Electronics Co ltd filed Critical Quanzhou Heyi Electronics Co ltd
Priority to CN201810871462.9A priority Critical patent/CN108989324B/en
Publication of CN108989324A publication Critical patent/CN108989324A/en
Application granted granted Critical
Publication of CN108989324B publication Critical patent/CN108989324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0457Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply dynamic encryption, e.g. stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments

Abstract

The invention relates to the technical field of communication, and provides an encrypted data transmission method, which comprises the following steps: s1, setting the number of bytes as Ni2Is in Ni4The channels are transmitted freely, a random number N is generated by a timing counteri1The number of bytes to be transmitted is Ni2According to the random number Ni1Random splitting into Ni3Segment message body segments data packets; s2, completing the split N in the previous stepi3The segment message block segment data packet is randomly arranged in a wrong order by adopting an encoder and then is dynamically encrypted and randomly transmitted in multiple channels; and S3, message body restoration, wherein the receiving end receives each segment of message body segment data packet, stores the segment data packet and decrypts the real value of the restored data through a decoder, namely, each segment of message body segment data is recombined through the packet sequence number and the out-of-sequence rule and is spliced into complete message body data in sequence. The invention solves the problem that the encryption mode of the existing intelligent security system is simple and easy to crack intercepted information, and has potential safety hazard.

Description

Encrypted data transmission method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an encrypted data transmission method.
Background
At present, the requirement for security in the data transmission process is higher and higher. In the existing data transmission technology, the following two ways are generally adopted to ensure the security of data, namely: and encrypting the plaintext data and then transmitting the encrypted plaintext data, or performing identity authentication on two parties transmitting the data in advance before transmitting the data. In the prior art, one of the above modes can be used alone, but the two modes are usually used in combination, namely plaintext data is transmitted in an encrypted manner after the identity authentication of two parties. The specific method for encrypting and then transmitting the plaintext data comprises the following steps: the sending end processes the secret key and the plaintext data by using a certain secret key and a security algorithm to obtain encrypted data and transmits the encrypted data to the receiving end; and after receiving the encrypted data, the receiving end decrypts the encrypted data by adopting the same secret key and security algorithm to restore plaintext data. In the existing data transmission technology, various security algorithms are generated based on different ways of achieving various security purposes and various security requirements. The complexity of various encryption algorithms varies according to the level of security. However, for a certain application, the security algorithm and the key used for data encryption are fixed and unchangeable, so that the security of data transmission is low. Taking the example of transmitting a certain instruction, because the security algorithm and the key used by the same instruction are fixed and unchangeable, if the instruction is cracked in a certain transmission, and a cracker obtains the security algorithm and the key, then in each subsequent transmission, the cracker can use the same security algorithm and key to crack the instruction. It can be seen that the security algorithm and the key in the existing data transmission technology are fixed, so that the security of data transmission is low. Particularly, the intelligent home system is widely applied to the field of intelligent security, data transmitted by a transmitting end and a receiving end of the intelligent home system are mainly encrypted and transmitted through DES, AES, RSA and MD5, the data are transmitted in a single channel, only the data are encrypted and are easy to be stolen and then cracked by lawbreakers, and thus the lawbreakers can randomly control intelligent home products to enter rooms for crime, and great threat is formed on property and personal safety of users.
Disclosure of Invention
Therefore, aiming at the problems, the invention provides an encrypted data transmission method which has high data transmission safety, reduces the probability of intercepting data by lawless persons and is difficult to decrypt data encryption.
In order to solve the technical problem, the invention adopts the following scheme: an encrypted data transmission method, comprising the steps of:
s1, setting the number of bytes as Ni2Is in Ni4The channels are transmitted freely, a random number N is generated by a timing counteri1The number of bytes to be transmitted is Ni2According to the random number Ni1Random splitting into Ni3Segment message body segments the packet as a random number Ni1< number of message body bytes Ni2Time message body split segment number Ni3= random number Ni1Segment, when random number Ni1Number of bytes of message is greater than or equal to Ni2Time message body split segment number Ni3Number of bytes of message Ni2Stage/2 wherein Ni1、Ni2、Ni3And Ni4Are all natural numbers and Ni4Is a natural number greater than 1;
s2, completing the split N in the previous stepi3The segment message body segment data packet adopts an encoder to carry out random out-of-sequence arrangement and then carry out dynamic encryption and random multi-channel transmission, wherein the dynamic encryption is to carry out randomN after misorderingi3Respectively carrying out rolling code encryption and XOR encryption on the segment message body segment data packets; random multi-channel transmission is at Ni4Randomly selecting N from total channelsi5Number of channels, where 1 is not more than Ni5Less than or equal to the total number N of channelsi4,Ni5N for completing dynamic encryption of each segment for natural numberi3Randomly distributing the segmented data packets of the segment message body to the selected Ni5The data is transmitted in the channels according to the data packet structure, when random multi-channel transmission is sent for the first time, the network is firstly found in the whole channel of the transmitting end and the receiving end is in the same channel, then the receiving end is told to hop to the next receiving channel, and the real message body segment data packet is received, wherein the content of each segment of the message body segment data packet comprises: the packet sequence number, the rolling sequence number, the missequence arrangement rule, the channel for transmitting the next segment of message body segmented data packet and the segment of data split by the message body;
and S3, message body restoration, wherein the receiving end receives each segment of message body segment data packet, stores the segment data packet and decrypts the real value of the restored data through a decoder, namely, the segment data of the message body in each segment of message body segment data packet is recombined through the packet sequence number and the out-of-order arrangement rule and is spliced into complete message body data in sequence.
Further, the split random number N of the message body in the step S1i1Is a natural number less than or equal to 20 generated by the timer, each segment of message body segment data at least contains 1 byte of message body data.
By adopting the technical scheme, the invention has the beneficial effects that: the data to be transmitted is randomly split into a plurality of message body segment data packets, the plurality of message body segment data packets are randomly staggered and then dynamically encrypted and randomly transmitted in a plurality of channels, the message body segment data in each message body segment data packet are recombined through the packet sequence number and the staggered arrangement rule at the receiving end to be sequentially spliced into complete message body data, the data transmission adopts a plurality of encryption modes and segmented staggered transmission and adopts a plurality of channels to randomly transmit the segmented message body segment data packets, so that the encrypted data transmission method has high data transmission safety, reduces the probability of interception of data by lawless persons, is difficult to crack by data encryption, eliminates the hidden danger of cracking control of intelligent household products and the like of an intelligent security system, and can be widely popularized and applied.
Drawings
FIG. 1 is a schematic flow chart of an embodiment of the present invention.
Detailed Description
The present invention will now be further described with reference to the accompanying drawings and specific embodiments, wherein the manner of performing rolling code encryption and xor encryption processing on the transmitted message segment packets in the present invention is an existing encryption manner, and thus, the embodiment of the present invention will not be described in detail.
Referring to fig. 1, a preferred encrypted data transmission method of the present invention includes the steps of:
s1, setting the number of bytes as Ni2Is in Ni4The channels are transmitted freely, a random number N is generated by a timing counteri1The number of bytes to be transmitted is Ni2According to the random number Ni1Random splitting into Ni3Segment message body segments the packet as a random number Ni1< number of message body bytes Ni2Time message body split segment number Ni3= random number Ni1Segment, when random number Ni1Number of bytes of message is greater than or equal to Ni2Time message body split segment number Ni3Number of bytes of message Ni2Stage/2 wherein Ni1、Ni2、Ni3And Ni4Are all natural numbers and Ni4A split random number N of the message body being a natural number greater than 1i1The message body segment data at least comprises 1 byte of message body data, and is a natural number which is not more than 20 and is randomly generated by a timing counter;
s2, completing the split N in the previous stepi3The segment message body segment data packet adopts an encoder to carry out random out-of-sequence arrangement and then carry out dynamic encryption and random multi-channel transmission, wherein the dynamic encryption is to carry out N after random out-of-sequence arrangementi3Respectively carrying out rolling code encryption and XOR encryption on the segment message body segment data packets; the random multi-channel transmission isIs indicated by Ni4Randomly selecting N from total channelsi5Number of channels, where 1 is not more than Ni5Less than or equal to the total number N of channelsi4,Ni5N for completing dynamic encryption of each segment for natural numberi3Randomly distributing the segmented data packets of the segment message body to the selected Ni5The data is transmitted in the channels according to the data packet structure, when random multi-channel transmission is sent for the first time, the network is firstly found in the whole channel of the transmitting end and the receiving end is in the same channel, then the receiving end is told to hop to the next receiving channel, and the real message body segment data packet is received, wherein the content of each segment of the message body segment data packet comprises: the packet sequence number, the rolling sequence number, the missequence arrangement rule, the channel for transmitting the next segment of message body segmented data packet and the segment of data split by the message body;
and S3, message body restoration, wherein the receiving end receives each segment of message body segment data packet, stores the segment data packet and decrypts the real value of the restored data through a decoder, namely, the segment data of the message body in each segment of message body segment data packet is recombined through the packet sequence number and the out-of-order arrangement rule and is spliced into complete message body data in sequence.
The invention randomly splits the data to be transmitted into a plurality of message body segment data packets, randomly arranges the message body segment data packets in a staggered order, dynamically encrypts and randomly transmits a plurality of channels, recombines the message body segment data in each message body segment data packet by a packet sequence number and a staggered order arrangement rule at a receiving end, and splices the message body segment data in each message body segment data packet into complete message body data in sequence, and transmits the data by adopting a plurality of encryption modes and segmented staggered order transmission and randomly transmits the segmented message body segment data packet by adopting a plurality of channels.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (2)

1. An encrypted data transmission method, characterized by: the method comprises the following steps:
s1, setting the number of bytes as Ni2Is in Ni4The channels are transmitted freely, a random number N is generated by a timing counteri1The number of bytes to be transmitted is Ni2According to the random number Ni1Random splitting into Ni3Segment message body segments the packet as a random number Ni1< number of message body bytes Ni2Time message body split segment number Ni3= random number Ni1Segment, when random number Ni1Number of bytes of message is greater than or equal to Ni2Time message body split segment number Ni3Number of bytes of message Ni2Stage/2 wherein Ni1、Ni2、Ni3And Ni4Are all natural numbers and Ni4Is a natural number greater than 1;
s2, completing the split N in the previous stepi3The segment message body segment data packet adopts an encoder to carry out random out-of-sequence arrangement and then carry out dynamic encryption and random multi-channel transmission, wherein the dynamic encryption is to carry out N after random out-of-sequence arrangementi3Respectively carrying out rolling code encryption and XOR encryption on the segment message body segment data packets; random multi-channel transmission is at Ni4Randomly selecting N from total channelsi5Number of channels, where 1 is not more than Ni5Less than or equal to the total number N of channelsi4,Ni5N for completing dynamic encryption of each segment for natural numberi3Randomly distributing the segmented data packets of the segment message body to the selected Ni5The data is transmitted in the channels according to the data packet structure, when random multi-channel transmission is sent for the first time, the network is firstly found in the whole channel of the transmitting end and the receiving end is in the same channel, then the receiving end is told to hop to the next receiving channel, and the real message body segment data packet is received, wherein the content of each segment of the message body segment data packet comprises: packet sequence number, rolling sequence number, misordering rule, next segment message body segment data packet transmissionThe data of the segment split by the input channel and the message body;
and S3, message body restoration, wherein the receiving end receives each segment of message body segment data packet, stores the segment data packet and decrypts the real value of the restored data through a decoder, namely, the segment data of the message body in each segment of message body segment data packet is recombined through the packet sequence number and the out-of-order arrangement rule and is spliced into complete message body data in sequence.
2. The encrypted data transmission method according to claim 1, characterized in that: the split random number N of the message body in the step S1i1Is a natural number less than or equal to 20 generated by the timer, each segment of message body segment data at least contains 1 byte of message body data.
CN201810871462.9A 2018-08-02 2018-08-02 Encrypted data transmission method Active CN108989324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810871462.9A CN108989324B (en) 2018-08-02 2018-08-02 Encrypted data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810871462.9A CN108989324B (en) 2018-08-02 2018-08-02 Encrypted data transmission method

Publications (2)

Publication Number Publication Date
CN108989324A CN108989324A (en) 2018-12-11
CN108989324B true CN108989324B (en) 2021-11-30

Family

ID=64554437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810871462.9A Active CN108989324B (en) 2018-08-02 2018-08-02 Encrypted data transmission method

Country Status (1)

Country Link
CN (1) CN108989324B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787986A (en) * 2019-01-29 2019-05-21 黄策 File fragmentation public network safe transmission method
CN110177106A (en) * 2019-05-31 2019-08-27 贵州精准健康数据有限公司 Medical imaging data transmission system
CN112653652B (en) * 2019-10-11 2022-06-14 中移物联网有限公司 Streaming media transmission method, device, terminal and computer readable storage medium
CN111245818A (en) * 2020-01-08 2020-06-05 中国信息安全测评中心 File transmission method and system, sending end equipment and receiving end equipment
CN111612944A (en) * 2020-05-06 2020-09-01 浙江中邦数码科技有限公司 Intelligent lock and unlocking control method thereof
CN112291189B (en) * 2020-06-28 2023-09-26 神州融安数字科技(北京)有限公司 Method, device, equipment and storage medium for sending and checking ciphertext
CN111835751B (en) * 2020-07-09 2021-08-24 湖南皖湘科技有限公司 Multi-source heterogeneous data fusion method based on Internet of things
CN114124416B (en) * 2020-08-24 2024-03-08 中国航天系统工程有限公司 System and method for quickly exchanging data between networks
CN112399408A (en) * 2020-11-20 2021-02-23 张威 Anti-monitoring communication method, corresponding communication equipment and communication system
CN113111991B (en) * 2021-04-21 2022-07-26 深圳市合力思科技有限公司 Anti-counterfeiting code generation method and system and package unique code generation method
CN114553597B (en) * 2022-04-22 2022-07-19 中国长江三峡集团有限公司 Power equipment operation and maintenance data transmission management method and system
CN116542665B (en) * 2023-04-19 2024-02-13 天翼安全科技有限公司 Payment data safety protection system based on cloud computing
CN117077715B (en) * 2023-10-16 2024-01-26 深圳市国芯物联科技有限公司 Multichannel data transmission method of radio frequency identification reader-writer

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080123848A1 (en) * 2006-11-24 2008-05-29 Vimicro Corporation System and method for data security, encryption apparatus and decryption apparatus
CN101247635B (en) * 2007-02-16 2011-08-24 华为技术有限公司 Dynamic frequency hopping access method and apparatus
CN104243140A (en) * 2014-10-11 2014-12-24 江阴润玛电子材料股份有限公司 Safety communication system on basis of random segmental encryption
CN105763315A (en) * 2014-12-16 2016-07-13 展讯通信(深圳)有限公司 Data encryption and decryption method and apparatus thereof, and communication system
CN106330920A (en) * 2016-08-26 2017-01-11 中国科学院半导体研究所 Secure communication method based on multichannel signal fragmentization transmission technology
CN106788884A (en) * 2016-12-05 2017-05-31 渤海大学 A kind of multi-channel data transmission method

Also Published As

Publication number Publication date
CN108989324A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108989324B (en) Encrypted data transmission method
CA2690778C (en) System and method of creating and sending broadcast and multicast data
CN106712946B (en) Data safety transmission method
CN108259407B (en) Symmetric encryption method and system based on timestamp
CN104158653A (en) Method of secure communication based on commercial cipher algorithm
KR101608815B1 (en) Method and system for providing service encryption in closed type network
CN104683291B (en) Session key negotiation method based on IMS system
JP2022519688A (en) End-to-end double ratchet encryption with epoch key exchange
CN106921485A (en) Encrypting and decrypting method based on matrix operation
CN113726725A (en) Data encryption and decryption method and device, electronic equipment and storage medium
CN111988301A (en) Secure communication method for preventing client from hacker violence attack
CN103997405B (en) A kind of key generation method and device
CN113300842B (en) Method for improving security of symmetric encryption algorithm
US11368436B2 (en) Communication protocol
CN112532384B (en) Method for quickly encrypting and decrypting transmission key based on packet key mode
US20170041133A1 (en) Encryption method, program, and system
CN110730366B (en) Bit operation-based lightweight video stream encryption and decryption method and encryption and decryption method
CN104579645B (en) Key updating method based on AES encryption system
CN104394532A (en) Anti-brute force safe log-in method for mobile terminal
CN111510282A (en) Information encryption algorithm and device, information decryption algorithm and device and communication method
CN115001837A (en) Intelligent system data transmission and encryption system
CN101500146A (en) Digital television receiving control method and apparatus based on bi-directional network
CN112149166B (en) Unconventional password protection method and intelligent bank machine
CN112235789A (en) Interrupt recoverable secret communication processing method, device and system
CN107659396B (en) Dynamic encryption method

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