CN111211901B - 5G-based distribution network communication secure transmission method, system, device and storage medium - Google Patents
5G-based distribution network communication secure transmission method, system, device and storage medium Download PDFInfo
- Publication number
- CN111211901B CN111211901B CN202010319828.9A CN202010319828A CN111211901B CN 111211901 B CN111211901 B CN 111211901B CN 202010319828 A CN202010319828 A CN 202010319828A CN 111211901 B CN111211901 B CN 111211901B
- Authority
- CN
- China
- Prior art keywords
- random number
- character string
- encrypted
- number set
- character strings
- 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
Links
Images
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/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
Abstract
The invention discloses a 5G-based distribution network communication secure transmission method, a system, a device and a storage medium, wherein the method comprises the following steps: acquiring service data K, and splitting the service data K into N character strings according to the service type of the service data; obtaining N random numbers, scrambling the character strings according to the random numbers, and generating N scrambled character strings; encrypting the scrambling character string and the random number set G respectively to obtain N encrypted character strings and an encrypted random number set G ', and accessing the encrypted character strings and the encrypted random number set G' into N +1 5G network slices respectively; and transmitting the encrypted character string and the encrypted random number set to a power distribution terminal through the 5G network slice. The invention greatly enhances the safety of the distribution network automation system while improving the distribution network data transmission efficiency by utilizing the 5G network, and can be widely applied to the technical field of information safety.
Description
Technical Field
The invention relates to the technical field of information security, in particular to a 5G-based distribution network communication secure transmission method, a system, a device and a storage medium.
Background
With the continuous development of information technology, network communication faces more and more threats. Particularly, the safety of the power industry, which is taken as the national key energy industry, is directly related to the daily life of the vast people, the safe operation of the power grid depends on numerous automatic devices and systems, and the devices mostly depend on power optical fibers or wireless private networks for data transmission at present.
The 5G network is a fifth generation mobile communication network, and its peak theoretical transmission speed can reach 1GB per 8 seconds, hundreds of times faster than that of the 4G network. Compared with the prior mobile communication technology, the 5G has the characteristics of ultra-large bandwidth, ultra-high speed, ultra-low time delay, ultra-multi connection and the like, and is favorable for improving the power supply quality and the flexibility of a power system. However, the existing 5G network is still deficient in safety compared with an electric power optical fiber and a wireless private network, and the requirement on network safety is extremely high for control services in the distribution network automation system, such as a switching station, a distribution room control, a distribution box control, integrated access distribution network automation, metering automation and the like, so that how to apply the 5G technology to the distribution network automation system is how to improve the distribution network data transmission efficiency by using the 5G network and enhance the safety of the distribution network automation system, which is a problem to be solved urgently in the present stage.
Disclosure of Invention
To solve the above technical problems, the present invention aims to: the distribution network communication safety transmission method, system, device and storage medium based on the 5G are provided, so that the safety of a distribution network automation system is enhanced while the distribution network data transmission efficiency is improved by using the 5G network.
The technical scheme adopted by the invention on one hand is as follows:
A5G-based distribution network communication secure transmission method comprises the following steps:
acquiring service data K, and splitting the service data K into N character strings according to the service type of the service data;
obtaining N random numbers, scrambling the character strings according to the random numbers, and generating N scrambled character strings;
encrypting the scrambling character string and the random number set G respectively to obtain N encrypted character strings and an encrypted random number set G ', and accessing the encrypted character strings and the encrypted random number set G' into N +1 5G network slices respectively;
transmitting the encrypted character string and the encrypted random number set to a power distribution terminal through the 5G network slice;
the generation formula of the scrambled character string is as follows:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe values of i and j of the characters corresponding to the subscript j in the middle are all {0, 1,2,. P }, and satisfies,,TNRepresenting a random number, mod a remainder function,n is a positive integer;
the random number set G is { T }1,T2,...TN}。
Further, the step of acquiring the service data K and splitting the service data K into N character strings according to the service type of the service data includes:
acquiring service data K sent by a data center, and detecting the service type of the service data K;
determining the security level of the service data according to the service type, and selecting a corresponding splitting rule from a preset configuration table according to the security level;
and splitting the service data K into N character strings according to the splitting rule.
Further, the step of obtaining N random numbers, scrambling the character string according to the random numbers, and generating N scrambled character strings includes:
adding noise to the character string, adding filling characters to obtain a character string sequence { A }xA, wherein the value range of x is {0, 1, 2.. m, m +1, m + 2.. P }, a1、A2、...AmCharacters respectively representing the corresponding order in said string, A0、Am+1、Am+2、...APAre all filled characters, and;
obtaining random number T by random number chipNAccording to said random number TNScrambling the character string sequence to generate a scrambled character string { ByY is in the value range of {0, 1, 2.. m, m +1, m + 2.. P }, and B is satisfiedi=Aj,,TNIs a natural number and。
further, the step of encrypting the scrambling character string and the random number set G to obtain N encrypted character strings and encrypted random number sets G 'and accessing the encrypted character strings and the encrypted random number sets G' to N +1 5G network slices respectively includes:
performing key agreement with the power distribution terminal through a 5G network to generate a session key, and acquiring N +1 5G network slices;
encrypting the scrambling character string and the random number set G by using the session key to obtain N encrypted character strings and an encrypted random number set G';
and respectively accessing the encrypted character string and the encrypted random number set G' into the 5G network slice.
Further, the method also comprises the following steps:
decrypting the encrypted character string and the encrypted random number set G' to obtain a scrambled character string and a random number set G;
restoring the scrambled character string according to the random number set G and the generation formula to obtain N character strings;
and synthesizing the service data K according to the character string.
Further, the step of reducing the scrambled character string according to the random number set G and the generation formula to obtain N character strings includes:
determining a random number corresponding to each scrambled character string, and restoring the scrambled character strings according to the random numbers and the generation formula to obtain a character string sequence { Ax};
Noise cleaning is carried out on the character string sequence, and filling characters A are removed0、Am+1、Am+2、...APAnd obtaining the character string.
The technical scheme adopted by the other aspect of the invention is as follows:
a distribution network communication safety transmission system based on 5G comprises:
a data splitting module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for acquiring service data K and splitting the service data K into N character strings according to the service type of the service data;
a scrambling module: the device is used for acquiring N random numbers, scrambling the character strings according to the random numbers and generating N scrambled character strings;
the first encryption and decryption module: the encryption device is used for encrypting the scrambling character string and the random number set G respectively to obtain N encryption character strings and an encryption random number set G ', and respectively accessing the encryption character strings and the encryption random number set G' into N +1 5G network slices;
5G transmission module: the 5G network slice is used for transmitting the encrypted character string and the encrypted random number set to a power distribution terminal;
the generation formula of the scrambled character string is as follows:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe value ranges of i and j of the characters corresponding to the subscript j in the middle are {0, 1, 2.. P }, and satisfy,,TNRepresenting a random number, mod a remainder function,n is a positive integer;
the random number set G is { T }1,T2,...TN}。
Further, still include:
the second encryption and decryption module: the encryption device is used for decrypting the encrypted character string and the encrypted random number set G' to obtain a scrambled character string and a random number set G;
a reduction module: the random number generator is used for reducing the scrambled character string according to the random number set G and the generation formula to obtain N character strings;
a data synthesis module: and synthesizing the service data K according to the character string.
The technical scheme adopted by the other aspect of the invention is as follows:
a distribution network communication safety transmission device based on 5G comprises:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the 5G-based distribution network communication secure transmission method.
The technical scheme adopted by the other aspect of the invention is as follows:
a storage medium having stored therein processor-executable instructions for performing the 5G-based secure transmission method for distribution network communications when executed by a processor.
The invention has the beneficial effects that: the invention relates to a 5G-based distribution network communication secure transmission method, a system, a device and a storage medium, wherein business data is divided into a plurality of character strings according to the business type of the business data, random numbers are obtained, the character strings are scrambled according to the random numbers to obtain scrambled character strings, the scrambled character strings and a set of the random numbers are encrypted respectively to obtain encrypted character strings and encrypted random number sets, then the encrypted character strings and the encrypted random number sets are respectively sent to a power distribution terminal through a plurality of 5G network slices, due to the mutual isolation among the 5G network slices, when the character strings in one or a plurality of slices are intercepted, the secure transmission of the character strings in other slices is not influenced, and the character strings in each slice are subjected to encryption processing after scrambling, only random numbers used when session keys are simultaneously intercepted and scrambled, the character string can be restored, the risk that business data can be decoded by intercepting and capturing partial character strings due to too simple data splitting is avoided, the safety of the data transmission process is greatly enhanced, and the safety of a distribution network automation system is greatly enhanced while the distribution network data transmission efficiency is improved by using a 5G network through the quadruple safety guarantee of splitting, scrambling, encryption and 5G network slice transmission.
Drawings
Fig. 1 is a flowchart of a distribution network communication security transmission method based on 5G according to an embodiment of the present invention;
fig. 2 is a network topology diagram of a 5G-based distribution network communication secure transmission method according to an embodiment of the present invention;
fig. 3 is a block diagram of a 5G-based distribution network communication security transmission system according to an embodiment of the present invention;
fig. 4 is a structural block diagram of a 5G-based distribution network communication security transmission device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
In the description of the present invention, the meaning of a plurality is more than two, if there are first and second described for the purpose of distinguishing technical features, but not for indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the precedence of the indicated technical features. In addition, the terms "upper", "middle" and "lower" in the following embodiments are used only for clearly describing the positional relationship, and are relative positional relationship, not absolute positional relationship, and can be adaptively adjusted according to the understanding of those skilled in the art.
First, a generation formula of the scrambled character string according to the embodiment of the present invention will be described.
The generation formula is:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe value ranges of i and j of the characters corresponding to the subscript j in the middle are {0, 1, 2.. P }, and satisfy,,TNRepresenting a random number, mod a remainder function,n is a positive integer, TNIs a natural number and。
in particular, a sequence of numbers is definedN is a positive integer, and the character string sequence is { A }0,A1,A2,...Am,Am+1,...APIn which A1、A2、...AmAre respectively a character string KNIn the corresponding order of characters, A0、Am+1、Am+2、...APAre all filled characters, and;
the generated scrambled string sequence is { B }0,B1,B2,...Bm,Bm+1,...BPAnd satisfy Bi=AjWherein, in the step (A),,TNis a natural number and。
by definition of the known sequence FnIs Fibonacci series, i.e., 1, 2, 3, 5, 8, 13, 21, 34, 55, 89; taking the length of the character string m =9 as an example, F can be takenn+1=13,Fn=8, P =12, and the character string sequence is { a =0,A1,A2,...A12In which A is0、A10、A11、A12Is a fill character; generating a scrambled string { B0,B1,B2,...B12In which B isi=Aj,From the conversion characteristics of Fibonacci sequence, in the interval [0, P ]]For each i, there is a unique corresponding j, such as when the random number TNWhen =0, there is B0=A0,B1=A8,B2=A3,B3=A11,B4=A6,B5=A1,B6=A9,B7=A4,B8=A12,B9=A7,B10=A2,B11=A10,B12=A5(ii) a When the random number TNWhen =1, there is B0=A1,B1=A9,B2=A4,B3=A12,B4=A7,B5=A2,B6=A10,B7=A5,B8=A0,B9=A8,B10=A3,B11=A11,B12=A6(ii) a When the random number TNIf =12, there is B0=A12,B1=A7,B2=A2,B3=A10,B4=A5,B5=A0,B6=A8,B7=A3,B8=A11,B9=A6,B10=A1,B11=A9,B12=A4。
As can be seen from the above description, in the embodiments of the present invention, padding processing may be performed according to the length of an original character string, and then scrambling may be performed according to a generated random number, and restoration may be performed according to the random number and a padding character during restoration.
Referring to fig. 1, an embodiment of the present invention provides a 5G-based distribution network communication secure transmission method, including the following steps:
s101, obtaining service data K, and dividing the service data K into N character strings K according to the service type of the service data1、K2...KN;
Specifically, in the distribution network automation system, the service types include an acquisition service and a control service, wherein the acquisition service specifically includes terminal device information acquisition, power consumption information acquisition, fault information acquisition and the like, and the control service specifically includes a switching station, a distribution room control, a distribution box control, integrated access distribution network automation, metering automation and the like. Therefore, the acquisition-type service often needs a larger bandwidth and a higher transmission rate (such as equipment information acquisition and power consumption information acquisition) or a lower time delay (such as fault information acquisition), the requirement on the safety is lower, and the control-type service needs higher safety.
In the embodiment of the invention, the security level of the business data can be determined according to the business type of the business data, so that the corresponding splitting rule is obtained according to the security level, and then the business data is split according to the splitting rule, so that the proper splitting rule can be adopted for different types of business data to ensure the transmission security of the business data. Step S101 specifically includes the following steps.
S1011, acquiring service data K sent by a data center, and detecting the service type of the service data K;
s1012, determining the security level of the service data according to the service type, and selecting a corresponding splitting rule from a preset configuration table according to the security level;
s1013, splitting the service data K into N character strings K according to the splitting rule1、K2...KN。
Specifically, the splitting rule may adopt a segmented splitting (for example, the 1 st to 100 th characters are a first character string, the 101 th to 200 th characters are a second character string, and so on), an interval splitting (for example, the 1 st, the 4 th, the 7 th.. characters are a first character string, the 2 nd, the 5 th, the 6 th.. characters are a second character string, and so on), and so on, and meanwhile, the number of the split character strings is different according to the difference of the security level, a splitting rule configuration table may be preset according to a specific service type or security level, the security level of the service data is determined according to the service type of the service data, and a corresponding splitting rule is selected from the configuration table according to the security level to split the service data.
S102, obtaining N random numbers T1、T2...TNScrambling the character string according to the random number to generate a scrambled character string;
The generation formula of the scrambled character string according to the embodiment of the present invention has been described previously. Specifically, the character string may be filled, a random number range may be determined according to the length of the filled character string, then a random number may be obtained, and the character string may be scrambled according to the random number and the generation formula. Step S102 specifically includes the following steps.
S1021, adding noise to the character string, and adding filling characters to obtain a character string sequence { A }xA, wherein the value range of x is {0, 1, 2.. m, m +1, m + 2.. P }, a1、A2、...AmCharacters respectively representing the corresponding order in said string, A0、Am+1、Am+2、...APAre all filled characters, and;
s1022, acquiring the random number T by using the random number chipNAccording to said random number TNScrambling the character string sequence to generate a scrambled character string { ByY is in the value range of {0, 1, 2.. m, m +1, m + 2.. P }, and B is satisfiedi=Aj,,TNIs a natural number and。
specifically, the original character string may be filled with pre-negotiated filling characters, so that the filled character string sequence satisfies the requirementsScrambling the filled character string sequence by using the random number generated by the random number chip, wherein the generated scrambled character string sequence comprises the original character and the fillingAnd filling characters, wherein the original character string can be restored according to the random number and the filling characters. The embodiment of the invention adds the filling character by adding the noise, improves the safety of the character string and the service data, avoids the risk that the service data can be decoded by intercepting part of the character string due to too simple data splitting by scrambling the character string, and further enhances the safety of the data transmission process.
S103, encrypting the scrambled character strings and the random number set G respectively to obtain N encrypted character stringsAnd an encrypted random number set G', and respectively accessing the encrypted character string and the encrypted random number set into N +1 5G network slices;
wherein the random number set G is { T }1、T2,...TN}。
Specifically, the 5G network has the characteristics of ultra-large bandwidth, ultra-high speed, ultra-low delay, ultra-many connections, and the like, but the security is inferior to that of the power optical fiber and the wireless private network. The 5G network slicing technology can cut a physical network into a plurality of virtual end-to-end networks, and each virtual network, including devices, access networks, transmission networks and core networks in the network, is logically independent, so that the failure of any virtual network cannot affect other virtual networks, and meanwhile, the data of any virtual network is intercepted and the transmission of the data in other virtual networks cannot be affected. Step S103 specifically includes the following steps.
S1031, performing key agreement with the power distribution terminal through a 5G network to generate a session key, and acquiring N +1 5G network slices;
s1032, encrypting the scrambling character string and the random number set G by using the session key to obtain N encrypted character stringsAnd an encrypted random number set G';
s1033, the encrypted character string and the encrypted random number set G' are respectively accessed into the 5G network slice.
In the embodiment of the invention, key agreement can be carried out through a 5G network, a plurality of 5G network slices are obtained, a scrambled character string and a random number set are encrypted by using a session key, a plurality of encrypted character strings and encrypted random number sets are respectively transmitted by using the 5G network slices, and the security of a distribution network automation system is greatly enhanced while the transmission efficiency of the distribution network data is improved by using the characteristics of ultra-large bandwidth, ultra-high speed, ultra-low time delay and ultra-multiple connection of the 5G network through the quadruple security guarantee of splitting, scrambling, encryption and 5G network slice transmission.
And S104, sending the encrypted character string and the encrypted random number set to a power distribution terminal through the 5G network slice.
Specifically, after the encrypted character string and the encrypted random number are sent to the power distribution terminal in a set through the 5G network slice, the power distribution terminal can restore the service data according to the session key, the random number, the generation formula of the scrambled character string and the splitting rule, so that accurate and errorless service data can be obtained. Due to the mutual isolation among the 5G network slices, when the character strings in one or a plurality of slices are intercepted, the safe transmission of the character strings in other slices cannot be influenced, and the character strings in each slice are processed by scrambling and then encrypting, and the character strings can be restored only by simultaneously cracking the session secret key and intercepting the random number used in scrambling, so that the risk that the business data can be decoded by intercepting part of the character strings due to the fact that the data is split simply is avoided, the safety of the data transmission process is greatly enhanced, and the safety of the distribution network automation system is greatly enhanced by the quadruple safety guarantee of splitting, scrambling, encrypting and 5G network slice transmission, so that the distribution network data transmission efficiency is improved by using the 5G network.
Further as an optional implementation, the method further comprises the following steps:
s105, encrypting the character stringAnd the encryption is carried outDecrypting the machine number set G' to obtain the scrambled character stringAnd a set of random numbers G;
s106, reducing the scrambled character string according to the random number set G and the generation formula to obtain N character strings K1、K2...KN;
S107, according to the character string K1、K2...KNAnd synthesizing the service data K.
In the embodiment of the invention, the encrypted character string and the encrypted random number set are decrypted to obtain the scrambled character string and the random number set, and the conversion characteristic of the Fibonacci sequence shows that the random number set is in the interval [0, P ]]For each i, there is a unique corresponding j, so each BiAll have only one corresponding AjAnd restoring the messy character string according to the generation formula and the random number set, and synthesizing the original service data according to the restored character string and the corresponding splitting rule.
Further as an optional implementation manner, the scrambled character string is restored according to the random number set and the generation formula to obtain N character strings K1、K2...KNThis step S106, which includes:
s1061, determining a random number corresponding to each scrambled character string, and reducing the scrambled character strings according to the random numbers and the generation formula to obtain a character string sequence { Ax};
S1062, performing noise cleaning on the character string sequence, and removing the padding character A0、Am+1、Am+2、...APTo obtain a character string K1、K2...KN。
Specifically, when a character string is scrambled, a corresponding label may be added to each scrambled character string to correspond to a random number in a random number set, and when the scrambled character string is restored, the corresponding random number is determined according to the label, then the scrambled character string is restored according to the random number and a generation formula of the scrambled character string, and then noise cleaning is performed to remove pre-negotiated padding characters, so as to obtain an original character string.
Fig. 2 is a network topology diagram of a 5G-based distribution network communication security transmission method according to an embodiment of the present invention. Optionally, when the power distribution terminal returns the response data, the response data can be split, scrambled and encrypted by the same method when the service data is issued, and the response data is transmitted through different 5G network slices, so that the security of the distribution network automation system can be further enhanced.
In the embodiment of the invention, the distribution network data are all decomposed into a plurality of character strings and are transmitted through different 5G network slices after scrambling and encryption, so that the distribution network data are prevented from being intercepted and captured in the 5G network, the defect of low safety of the 5G network is overcome, and the safety of a distribution network automation system is greatly enhanced while the transmission efficiency of the distribution network data is improved by using the 5G network. Meanwhile, the 5G network has ultralow time delay and high-reliability information transmission characteristics, and is also beneficial to reducing the influence range and duration of potential power failure risks of a power system. For example, when a power distribution network has a fault, a field fault indicator transmits fault information to an acquisition server, an equipment fault diagnosis algorithm in the acquisition server monitors data according to a fault indicator signal and the state of the power distribution network, calculates a result and issues an emergency instruction for cutting off a fault part in real time, after the emergency instruction is issued, the time for executing the instruction can be greatly shortened by means of high-speed transmission and low-delay characteristics of a 5G network, and meanwhile, the emergency instruction is split, scrambled and encrypted and transmitted by different 5G network slices by using a 5G network slicing technology, so that the safe transmission of the emergency instruction is ensured, the emergency instruction is prevented from being intercepted and tampered, the accident time is shortened, the accident loss is reduced, and the safety of a distribution network automation system is greatly enhanced.
Alternatively, the cryptographic standard algorithms SM1, SM2, SM3, and SM4 may be used for key agreement authentication. In practical application, one power distribution master station often needs to communicate with a plurality of power distribution terminals, so that monitoring data and control signaling between the embodiment of the invention and the plurality of power distribution terminals are encrypted and decrypted by adopting different session keys, and the keys are dynamically negotiated and dynamically updated by two communication parties, thereby further enhancing the safety of a power distribution automation system.
Referring to fig. 3, an embodiment of the present invention further provides a 5G-based distribution network communication secure transmission system, including:
a data splitting module: is used for acquiring service data K and splitting the service data K into N character strings K according to the service type of the service data1、K2...KN;
A scrambling module: for obtaining N random numbers T1、T2...TNScrambling the character string according to the random number to generate a scrambled character string;
The first encryption and decryption module: used for respectively encrypting the scrambling character string and the random number set G to obtain N encrypted character stringsAnd an encrypted random number set G', and respectively accessing the encrypted character string and the encrypted random number set into N +1 5G network slices;
5G transmission module: the 5G network slice is used for transmitting the encrypted character string and the encrypted random number set to a power distribution terminal;
the generation formula of the scrambled character string is as follows:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe character corresponding to the index j in (j),the value ranges of i and j are all {0, 1, 2,. P }, and satisfy,,TNRepresenting a random number, mod a remainder function,n is a positive integer;
the random number set G is { T }1,T2,...TN}。
Further as an optional implementation, the method further includes:
the second encryption and decryption module: for encrypting the encrypted character stringAnd decrypting the encrypted random number set G' to obtain a scrambled character stringAnd a set of random numbers G;
a reduction module: the random number set is used for reducing the scrambled character string according to the random number set and the generation formula to obtain N character strings K1、K2...KN;
A data synthesis module: for according to character string K1、K2...KNAnd synthesizing the service data K.
The contents in the above method embodiments are all applicable to the present system embodiment, the functions specifically implemented by the present system embodiment are the same as those in the above method embodiment, and the beneficial effects achieved by the present system embodiment are also the same as those achieved by the above method embodiment.
Referring to fig. 4, an embodiment of the present invention further provides a distribution network communication security transmission apparatus based on 5G, including:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement the 5G-based distribution network communication secure transmission method.
The contents in the above method embodiments are all applicable to the present apparatus embodiment, the functions specifically implemented by the present apparatus embodiment are the same as those in the above method embodiments, and the advantageous effects achieved by the present apparatus embodiment are also the same as those achieved by the above method embodiments.
In addition, the embodiment of the present invention further provides a storage medium, where processor-executable instructions are stored, and when the processor-executable instructions are executed by a processor, the processor-executable instructions are configured to execute the above 5G-based distribution network communication secure transmission method.
The invention relates to a 5G-based distribution network communication secure transmission method, a system, a device and a storage medium, wherein business data is divided into a plurality of character strings according to the business type of the business data, random numbers are obtained, the character strings are scrambled according to the random numbers to obtain scrambled character strings, the scrambled character strings and a set of the random numbers are encrypted respectively to obtain encrypted character strings and encrypted random number sets, then the encrypted character strings and the encrypted random number sets are respectively sent to a power distribution terminal through a plurality of 5G network slices, due to the mutual isolation among the 5G network slices, when the character strings in one or a plurality of slices are intercepted, the secure transmission of the character strings in other slices is not influenced, and the character strings in each slice are subjected to encryption processing after scrambling, only random numbers used when session keys are simultaneously intercepted and scrambled, the character string can be restored, the risk that business data can be decoded by intercepting part of the character string due to too simple data splitting is avoided, and the safety of the data transmission process is greatly enhanced; by the quadruple security guarantee of splitting, scrambling, encrypting and 5G network slice transmission, the security of the distribution network automation system is greatly enhanced while the 5G network is utilized to improve the distribution network data transmission efficiency; and the safety of character strings and service data is further improved by adding noise and filling characters.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A distribution network communication safety transmission method based on 5G is characterized by comprising the following steps:
acquiring service data K, and splitting the service data K into N character strings according to the service type of the service data;
obtaining N random numbers, scrambling the character strings according to the random numbers, and generating N scrambled character strings;
encrypting the scrambling character string and the random number set G respectively to obtain N encrypted character strings and an encrypted random number set G ', and accessing the encrypted character strings and the encrypted random number set G' into N +1 5G network slices respectively;
transmitting the encrypted character string and the encrypted random number set to a power distribution terminal through the 5G network slice;
the generation formula of the scrambled character string is as follows:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe characters corresponding to the subscript j in the Chinese character image are all {0, 1, 2.. P } in the value ranges of x, y, i and j, and P is a positive integer greater than 2 and satisfies the requirement,TNRepresenting a random number, mod a remainder function, FnRepresents a sequence of numbers FnIn Fn+1Previous term of (2), array of numbers { FnThe recurrence formula isN is a positive integer;
the random number set G is { T }N}。
2. The distribution network communication secure transmission method based on 5G according to claim 1, wherein the step of acquiring the service data K and splitting the service data K into N character strings according to the service type of the service data comprises:
acquiring service data K sent by a data center, and detecting the service type of the service data K;
determining the security level of the service data according to the service type, and selecting a corresponding splitting rule from a preset configuration table according to the security level;
and splitting the service data K into N character strings according to the splitting rule.
3. The distribution network communication secure transmission method based on 5G according to claim 1, wherein the step of obtaining N random numbers, scrambling the character strings according to the random numbers, and generating N scrambled character strings comprises:
adding noise to the character string, adding filling characters to obtain a character string sequence { A }xA, wherein the value range of x is {0, 1, 2.. m, m +1, m + 2.. P }, a1、A2、...AmAre respectively provided withThe characters representing the corresponding order in the string, A0、Am+1、Am+2、...APAre all filled characters, and;
4. the distribution network communication secure transmission method based on 5G according to claim 1, wherein the step of encrypting the scrambling character string and the random number set G respectively to obtain N encrypted character strings and an encrypted random number set G 'and accessing the encrypted character strings and the encrypted random number set G' into N +1 network slices respectively comprises:
performing key agreement with the power distribution terminal through a 5G network to generate a session key, and acquiring N +1 5G network slices;
encrypting the scrambling character string and the random number set G by using the session key to obtain N encrypted character strings and an encrypted random number set G';
and respectively accessing the encrypted character string and the encrypted random number set G' into the 5G network slice.
5. The distribution network communication secure transmission method based on 5G according to claim 1, further comprising the following steps:
decrypting the encrypted character string and the encrypted random number set G' to obtain a scrambled character string and a random number set G;
restoring the scrambled character string according to the random number set G and the generation formula to obtain N character strings;
and synthesizing the service data K according to the character string.
6. The distribution network communication secure transmission method based on 5G according to claim 5, wherein the step of recovering the scrambled character string according to the random number set G and the generation formula to obtain N character strings comprises:
determining a random number corresponding to each scrambled character string, and restoring the scrambled character strings according to the random numbers and the generation formula to obtain a character string sequence { Ax};
Noise cleaning is carried out on the character string sequence, and filling characters A are removed0、Am+1、Am+2、...APAnd obtaining the character string.
7. A distribution network communication safety transmission system based on 5G is characterized by comprising:
a data splitting module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for acquiring service data K and splitting the service data K into N character strings according to the service type of the service data;
a scrambling module: the device is used for acquiring N random numbers, scrambling the character strings according to the random numbers and generating N scrambled character strings;
the first encryption and decryption module: the encryption device is used for encrypting the scrambling character string and the random number set G respectively to obtain N encryption character strings and an encryption random number set G ', and respectively accessing the encryption character strings and the encryption random number set G' into N +1 5G network slices;
5G transmission module: the 5G network slice is used for transmitting the encrypted character string and the encrypted random number set to a power distribution terminal;
the generation formula of the scrambled character string is as follows:
Bi=Aj
wherein, BiRepresenting scrambled string ByThe character corresponding to the index i injRepresenting a sequence of character strings AxThe characters corresponding to the subscript j in the Chinese character image are all {0, 1, 2.. P } in the value ranges of x, y, i and j, and P is a positive integer greater than 2 and satisfies the requirement,TNRepresenting a random number, mod a remainder function, FnRepresents a sequence of numbers FnIn Fn+1Previous term of (2), array of numbers { FnThe recurrence formula isN is a positive integer;
the random number set G is { T }N}。
8. The 5G-based distribution network communication secure transmission system according to claim 7, further comprising:
the second encryption and decryption module: the encryption device is used for decrypting the encrypted character string and the encrypted random number set G' to obtain a scrambled character string and a random number set G;
a reduction module: the random number generator is used for reducing the scrambled character string according to the random number set G and the generation formula to obtain N character strings;
a data synthesis module: and synthesizing the service data K according to the character string.
9. The utility model provides a join in marriage net communication safety transmission device based on 5G which characterized in that includes:
at least one processor;
at least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is enabled to implement a 5G-based secure transmission method for distribution network communication according to any one of claims 1 to 6.
10. A computer readable storage medium having stored therein processor-executable instructions, which when executed by a processor, are configured to perform a 5G-based method for secure transmission of distribution network communications according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010319828.9A CN111211901B (en) | 2020-04-22 | 2020-04-22 | 5G-based distribution network communication secure transmission method, system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010319828.9A CN111211901B (en) | 2020-04-22 | 2020-04-22 | 5G-based distribution network communication secure transmission method, system, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111211901A CN111211901A (en) | 2020-05-29 |
CN111211901B true CN111211901B (en) | 2020-07-28 |
Family
ID=70787811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010319828.9A Active CN111211901B (en) | 2020-04-22 | 2020-04-22 | 5G-based distribution network communication secure transmission method, system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111211901B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112492549A (en) * | 2019-09-11 | 2021-03-12 | 中兴通讯股份有限公司 | Data transmission method, device, terminal equipment and storage medium |
CN112243228A (en) * | 2020-07-31 | 2021-01-19 | 国网浙江省电力有限公司培训中心 | Energy Internet terminal access system and method based on 5G access network slice |
CN112866998B (en) * | 2021-01-26 | 2023-06-16 | 国网福建省电力有限公司泉州供电公司 | Trusted computing-based 5G slice configuration data security protection method |
CN113660181A (en) * | 2021-06-28 | 2021-11-16 | 广东电网有限责任公司广州供电局 | Network resource configuration method and device, computer equipment and storage medium |
CN114125947A (en) * | 2021-06-30 | 2022-03-01 | 北京中电飞华通信有限公司 | Wireless private network base station based on slice management and resource allocation method thereof |
CN113783887B (en) * | 2021-09-22 | 2023-07-18 | 广东九联科技股份有限公司 | Remote control method, system and storage medium based on network communication |
CN114531403A (en) * | 2021-11-15 | 2022-05-24 | 海盐南原电力工程有限责任公司 | Power service network distinguishing method and system |
CN114168993B (en) * | 2022-02-15 | 2022-06-03 | 佛山市达衍数据科技有限公司 | Enterprise data processing method, system, computer device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173881A (en) * | 2018-02-23 | 2018-06-15 | 苏州汉辰数字科技有限公司 | A kind of random storage method and system of quantum flow data block |
CN108183973A (en) * | 2018-02-23 | 2018-06-19 | 苏州汉辰数字科技有限公司 | A kind of Streaming Media quantum flow block data structure and encipher-decipher method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103906274A (en) * | 2014-04-10 | 2014-07-02 | 云南电网公司 | Distribution network information transmission application method based on Zigbee and GPRS |
US10276177B2 (en) * | 2016-10-01 | 2019-04-30 | Intel Corporation | Technologies for privately processing voice data using a repositioned reordered fragmentation of the voice data |
CN106950436A (en) * | 2017-03-29 | 2017-07-14 | 国网安徽省电力公司宣城供电公司 | Phase color designation system is unified based on the 4G distributions transmitted |
-
2020
- 2020-04-22 CN CN202010319828.9A patent/CN111211901B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108173881A (en) * | 2018-02-23 | 2018-06-15 | 苏州汉辰数字科技有限公司 | A kind of random storage method and system of quantum flow data block |
CN108183973A (en) * | 2018-02-23 | 2018-06-19 | 苏州汉辰数字科技有限公司 | A kind of Streaming Media quantum flow block data structure and encipher-decipher method |
Non-Patent Citations (3)
Title |
---|
"基于云灾备的数据安全存储关键技术研究";陈钊;《中国博士学位论文全文数据库信息科技辑》;20130115(第9期);第I138-8页 * |
"广电融合新闻中心云平台安全设计";何杰;《广播与电视技术》;20190215;第46卷(第2期);第21-25页,图3 * |
"面向DaaS的隐私保护机制研究综述";杨进;《太原科技大学》;20130416;第30卷(第9期);第2565-2582页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111211901A (en) | 2020-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111211901B (en) | 5G-based distribution network communication secure transmission method, system, device and storage medium | |
CN103442059B (en) | File sharing method and device | |
CN112671809A (en) | Data transmission method, signal source end and receiving end | |
CN105791245B (en) | A kind of data sending, receiving method and device | |
CN109474594B (en) | Ship-side data light-weight device, shore-side data reduction device, ship-shore integrated data light-weight transmission system and transmission method | |
MX2013003670A (en) | Communications source authentication. | |
CN109005027B (en) | Random data encryption and decryption method, device and system | |
CN106453391A (en) | Long repeating data encryption and transmission method and system | |
CN115022102B (en) | Transmission line monitoring data transmission method and device, computer equipment and storage medium | |
CN107249002B (en) | Method, system and device for improving safety of intelligent electric energy meter | |
CN108737353B (en) | Data encryption method and device based on data analysis system | |
CN105592121A (en) | RDP data acquisition apparatus and method | |
CN107222473B (en) | Method and system for encrypting and decrypting API service data at transport layer | |
CN114679265B (en) | Flow acquisition method, device, electronic equipment and storage medium | |
CN110113340A (en) | Based on distribution RSA in Hadoop platform and DES mixed encryption method | |
CN115567219A (en) | Secure communication method, device and storage medium based on 5G virtual private network slice | |
CN107566335A (en) | The treating method and apparatus of message | |
CN111654502B (en) | Virtual card power restoration instruction transmission method and device based on digital token | |
CN109218009A (en) | It is a kind of to improve the method for device id safety, client and server | |
CN111414341B (en) | Data normalization description method in Internet of things environment | |
CN114401148A (en) | Communication data encryption and decryption optimization method | |
CN109150867B (en) | Network information transmission encryption/decryption device and encryption/decryption method | |
CN113438079A (en) | Hybrid encryption method for low-voltage Internet of things sensing terminal and intelligent electric meter | |
CN116318686B (en) | Data encryption transmission method and device, electronic equipment and storage medium | |
CN114726594B (en) | Stream media encryption method based on network transmission |
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 |