Cooperative power data secure transmission method and system
By determining the type of power data and processing it using segmentation and encryption formulas, the problem of insufficient security in power data transmission is solved and safe, complete and accurate data transmission is achieved.
Patent Information
- Application Number
- CN202410901854.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, there is a lack of security guarantee during the collaborative transmission process of power data, and the integrity and accuracy of the data cannot be effectively ensured.
By judging the type of power data, the segmentation formula is used to process text data and the encryption formula is used to process instruction data to achieve data segmentation and encryption to ensure the integrity and accuracy during the transmission process.
It realizes the safe transmission of power data, ensures the normal transmission of data within the channel, ensures the integrity of the data transmission process and the accuracy and timeliness of the command control objects.
Smart Images

Figure CN118659913A
Abstract
Description
[0001] The present application relates to the technical field of data transmission, and specifically to a collaborative power data secure transmission method and system. Background Art
[0002] Chinese patent number CN202311235999.3 discloses a monitoring data transmission system for digital power operation monitoring, the system includes: a power module, a main control unit module, a compilation module, a signal output module, a signal receiving module and a filtering module; the power module is used to supply power to other modules; the main control unit module is used to manage the resources of each module; the compilation module is an LDPC codec, which is used to channel encode the data; the signal output module and the signal receiving module are used to send and receive the encoded data; the filtering module is used to eliminate the useless signals received by the signal receiving module. The present invention improves the energy utilization efficiency while ensuring the signal transmission quality by optimizing the reasonable allocation of multi-point cooperative transmission, greatly reduces the coding complexity while taking into account the performance of the code, and greatly saves storage space. However, the security during its transmission process is not fully guaranteed.
[0003] In summary, the existing technology lacks a technical solution to achieve collaborative and secure transmission of power data. Summary of the invention
[0004] The purpose of this application is to provide a collaborative power data secure transmission method and system to solve the technical problems raised in the above background technology.
[0005] To achieve the above objectives, this application discloses the following technical solutions:
[0006] In a first aspect, the present application discloses a collaborative power data secure transmission method, the method comprising:
[0007] S1: Determine the type of power data, the power data type includes text data containing power information and instruction data containing control commands for power equipment, and when the power data type is the text data, execute step S2, and when the power data type is the instruction data, execute step S4;
[0008] S2: Processing the text data based on a segmentation formula to obtain text data for transmission;
[0009] S3: transmitting the transmission text data, and after the text transmission is completed, restoring the transmission text data to text data based on the segmentation formula;
[0010] S4: Processing the instruction data based on an encryption formula to obtain instruction data for transmission;
[0011] S5: Transmit the transmission instruction data. After the instruction transmission is completed, decrypt the transmission instruction data into instruction data based on the encryption command.
[0012] Preferably, the segmentation formula is specifically:
[0013]
[0014] Among them, D all is the total size of text data, D channel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
[0015] Preferably, step S2 specifically includes:
[0016] S201: Get D all and D channel And calculate P;
[0017] S202: Segment and sort the text data based on P to obtain n;
[0018] S203: Calculate N;
[0019] S204: reorganizing the text data based on the size of N to obtain the transmission text data;
[0020] S205: Transmit the transmission text data based on the size of N.
[0021] Preferably, step S3 specifically includes:
[0022] S301: When the transmission text data reaches a designated location, it is defined as when the text transmission is completed;
[0023] S302: Obtain α;
[0024] S303: Process N using the segmentation formula to obtain n;
[0025] S304: reorganize the transmission text data based on the size of n to restore the text data.
[0026] Preferably, the instruction data includes address data of the controlled object and the time of performing the control, and the address data corresponds to the time of performing the control;
[0027] The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located;
[0028] The control time is specifically 6 bits of data, the first and second bits of the control time are combined to represent the value of the hour, the third and fourth bits of the control time are combined to represent the value of the minute, and the fifth and sixth bits of the control time are combined to represent the value of the second;
[0029] The encryption formula is specifically:
[0030]
[0031] Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located;
[0032] i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
[0033] Preferably, step S4 specifically includes:
[0034] S401: Acquire and parse the instruction data to obtain the address location and the control time;
[0035] S402: Processing the address position and the control time based on the encryption formula;
[0036] S403: Obtain the transmission instruction data.
[0037] Preferably, step S5 specifically includes:
[0038] S501: The transmission instruction data is transmitted to any region position, and β1 is obtained. 1,2 Decryption is performed to determine whether the transmission instruction data is applied to the region. If yes, β2 is obtained and step S502 is executed. Otherwise, the region generates an instruction error signal and then uploads it and repeats step S501 in any region other than the region until the judgment result of S501 is yes.
[0039] S502: Transmit the transmission instruction data to any cell in the region, and obtain β2. 3,4 Decryption is performed to determine whether the transmission instruction data is applied to the cell. If yes, β3 is obtained and step S503 is executed. Otherwise, the cell generates an instruction error signal and then uploads it and repeats step S502 in any cell other than the cell in the large area until the judgment result of S502 is yes.
[0040] S503: Decrypting based on β3 to obtain a device number, and defining the time when the device number is obtained as the completion of the instruction transmission;
[0041] S504: After the instruction transmission is completed, the time at which the x-decryption is performed to obtain the control is obtained, and the instruction data is transmitted to the corresponding device at this time.
[0042] In a second aspect, the present application discloses a collaborative power data secure transmission system, which is applicable to any of the collaborative power data secure transmission methods described above, and the system includes:
[0043] An electric power data type determination module, wherein the electric power data type determination module is configured to: determine the electric power data type, wherein the electric power data type includes text data carrying electric power information and instruction data carrying control commands for electric power equipment, and when the electric power data type is the text data, the data is transmitted to the text data processing module, and when the electric power data type is the instruction data, the data is transmitted to the instruction data processing module;
[0044] The text data processing module is configured to: process the text data based on a segmentation formula to obtain text data for transmission;
[0045] Transmitting the transmission text data, and after the text transmission is completed, restoring the transmission text data to text data based on the segmentation formula;
[0046] The instruction data processing module is configured to: process the instruction data based on an encryption formula to obtain instruction data for transmission;
[0047] The transmission instruction data is transmitted, and after the instruction transmission is completed, the transmission instruction data is decrypted into instruction data based on the encryption command.
[0048] Preferably, the text data processing module is further configured as follows:
[0049] The preset segmentation formula is as follows:
[0050]
[0051] Among them, D all is the total size of text data, D channel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
[0052] Preferably, the instruction data processing module is further configured as follows:
[0053] The instruction data includes the address data of the control object and the time of control, and the address data corresponds to the time of control;
[0054] The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located;
[0055] The control time is specifically 6 bits of data, the first and second bits of the control time are combined to represent the value of the hour, the third and fourth bits of the control time are combined to represent the value of the minute, and the fifth and sixth bits of the control time are combined to represent the value of the second;
[0056] The preset encryption formula is as follows:
[0057]
[0058] Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located;
[0059] i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
[0060] Beneficial effects: The collaborative power data security transmission method and system of the present application realizes preliminary processing of power data by judging the type of power data, provides a data basis for refining power data transmission, realizes further processing of text data through segmentation formula, realizes encryption of text data, and realizes effective segmentation of data size, ensuring that power data can be transmitted normally within the channel, restores text data for transmission through segmentation formula to ensure the integrity of the data transmission process, realizes further processing of instruction data through encryption formula, realizes encryption of instruction data, decrypts instruction data for transmission through encryption formula to ensure the integrity of instruction data, and also ensures the accuracy and timeliness of the instruction control object. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0062] Figure 1A flowchart of a collaborative power data security transmission method provided in an embodiment of the present application;
[0063] Figure 2 A schematic block diagram of a collaborative power data secure transmission method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0065] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0066] The first aspect of this embodiment discloses Figure 1 A collaborative power data secure transmission method is shown, the method comprising:
[0067] S1: Determine the type of power data, which includes text data containing power information and instruction data containing control commands for power equipment. When the power data type is text data, execute step S2; when the power data type is instruction data, execute step S4;
[0068] S2: Process the text data based on the segmentation formula to obtain text data for transmission;
[0069] S3: Transmitting the transmission text data. After the text transmission is completed, the transmission text data is restored to text data based on the segmentation formula;
[0070] S4: Process the instruction data based on the encryption formula to obtain the instruction data for transmission;
[0071] S5: Transmitting the transmission instruction data. After the instruction transmission is completed, the transmission instruction data is decrypted into instruction data based on the encryption command.
[0072] It should be noted that the determination of the type of power data includes:
[0073] Performing feature annotation on the type of power data of the generated power data at the time when the power data is generated;
[0074] Obtain feature annotations and determine the type of power data.
[0075] By judging the type of power data, preliminary processing of power data is achieved, providing a data basis for refining power data transmission. The segmentation formula is used to further process text data, encrypt text data, and effectively segment data size, ensuring that power data can be transmitted normally within the channel. The segmentation formula is used to restore text data for transmission, ensuring the integrity of the data transmission process. The encryption formula is used to further process instruction data, encrypt instruction data, and decrypt instruction data for transmission through the encryption formula, ensuring the integrity of instruction data and the accuracy and timeliness of instruction control objects.
[0076] Specifically, the segmentation formula is:
[0077]
[0078] Among them, D all is the total size of text data, D channel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
[0079] Specifically, step S2 specifically includes:
[0080] S201: Get D all and D channel And calculate P;
[0081] S202: Segment and sort the text data based on P to obtain n;
[0082] S203: Calculate N;
[0083] S204: reorganizing the text data based on the size of N to obtain text data for transmission;
[0084] S205: Transmit text data based on the size of N.
[0085] Specifically, step S3 specifically includes:
[0086] S301: When the transmission text data arrives at the designated location, it is defined as the text transmission is completed;
[0087] S302: Obtain α;
[0088] S303: Process N using a segmentation formula to obtain n;
[0089] S304: reorganize the transmission text data based on the size of n to restore the text data.
[0090] Specifically, the instruction data includes the address data of the control object and the time of control, and the address data and the time of control correspond to each other;
[0091] The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located;
[0092] The time of control is specifically 6-bit data, the first and second digits of the time of control are combined to represent the value of the hour, the third and fourth digits of the time of control are combined to represent the value of the minute, and the fifth and sixth digits of the time of control are combined to represent the value of the second;
[0093] The encryption formula is as follows:
[0094]
[0095] Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located;
[0096] i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
[0097] Specifically, step S4 includes:
[0098] S401: Obtain instruction data and parse it to obtain the address location and control time;
[0099] S402: Processing the address location and the control time based on the encryption formula;
[0100] S403: Obtain transmission instruction data.
[0101] Specifically, step S5 specifically includes:
[0102] S501: Transfer the transmission instruction data to any region and obtain β1. 1,2 Decryption is performed to determine whether the transmission instruction data is applied to the region. If yes, β2 is obtained and step S502 is executed. Otherwise, the region generates an instruction error signal and then uploads it and repeats step S501 in any region other than the region until the judgment result of S501 is yes.
[0103] S502: Transmit the transmission instruction data to any cell in the region and obtain β2. 3,4 Decryption is performed to determine whether the transmission instruction data is applied to the cell. If yes, β3 is obtained and step S503 is executed. Otherwise, the cell generates an instruction error signal and then uploads it and repeats step S502 in any cell other than the cell in the large area until the judgment result of S502 is yes.
[0104] S503: Decrypting based on β3 to obtain a device number, and defining the time when the device number is obtained as the completion of the instruction transmission;
[0105] S504: After the instruction transmission is completed, the time at which the x-decryption is performed to obtain the control is obtained, and the instruction data is transmitted to the corresponding device at this time.
[0106] It should be noted that transmitting the transmission instruction type data to any large area location and transmitting the transmission instruction type data to any small area location in the large area is to traverse the large areas and small areas based on the judgment conditions of S501 and S502, and gradually decrypt the address data to ensure its security during the transmission process. The control time is decrypted after obtaining the device number to ensure its security during the transmission process. Correspondingly, the accuracy of its address data and the precision and timeliness of the controlled object are also guaranteed.
[0107] The second aspect of this embodiment discloses Figure 2 A collaborative power data secure transmission system is shown, which is applicable to any of the collaborative power data secure transmission methods described above, and includes:
[0108] The power data type judgment module is configured to: judge the power data type, the power data type includes text data containing power information and instruction data containing control commands for power equipment, when the power data type is text data, the data is transmitted to the text data processing module, when the power data type is instruction data, the data is transmitted to the instruction data processing module;
[0109] The text data processing module is configured to: process the text data based on the segmentation formula to obtain the text data for transmission;
[0110] Transmitting the transmission text data, after the text transmission is completed, restoring the transmission text data to text data based on the segmentation formula;
[0111] The instruction data processing module is configured to: process the instruction data based on the encryption formula to obtain the instruction data for transmission;
[0112] The transmission instruction data is transmitted, and after the instruction transmission is completed, the transmission instruction data is decrypted into instruction data based on the encryption command.
[0113] It should be noted that the collaborative power data security transmission system does not need to be installed in the existing power grid. It only needs to establish a communication connection with the power grid. The system cooperates with the power grid in a collaborative manner to achieve secure transmission of power data and does not increase the operating pressure of the power grid itself.
[0114] Specifically, the text data processing module is further configured as follows:
[0115] The preset segmentation formula is as follows:
[0116]
[0117] Among them, D all is the total size of text data, Dchannel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
[0118] Specifically, the instruction data includes the address data of the control object and the time of control, and the address data and the time of control correspond to each other;
[0119] The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located;
[0120] The time of control is specifically 6-bit data, the first and second digits of the time of control are combined to represent the value of the hour, the third and fourth digits of the time of control are combined to represent the value of the minute, and the fifth and sixth digits of the time of control are combined to represent the value of the second;
[0121] The instruction data processing module is also configured as follows:
[0122] The preset encryption formula is as follows:
[0123]
[0124] Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located;
[0125] i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
[0126] In summary, the collaborative power data secure transmission method and system of the present embodiment realizes preliminary processing of power data by judging the type of power data, provides a data basis for refining power data transmission, realizes further processing of text data through segmentation formula, realizes encryption of text data, and realizes effective segmentation of data size, ensuring that power data can be transmitted normally within the channel, restores text data for transmission through segmentation formula to ensure the integrity of the data transmission process, realizes further processing of instruction data through encryption formula, realizes encryption of instruction data, decrypts instruction data for transmission through encryption formula to ensure the integrity of instruction data, and also ensures the accuracy and timeliness of the instruction control object.
[0127] In the embodiments provided in the present application, it should be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, code or any appropriate combination thereof. For hardware implementation, the processor can be implemented in one or more of the following units: application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, other electronic units designed to implement the functions described herein or their combination. For software implementation, part or all of the flow of the embodiment can be completed by instructing the relevant hardware through a computer program. When implemented, the above program can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein the communication medium includes any medium that is convenient for transmitting a computer program from one place to another. The storage medium can be any available medium that a computer can access. The computer-readable storage medium can include but is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer.
[0128] Finally, it should be noted that the above are only preferred embodiments of the present application and are not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A collaborative power data secure transmission method, characterized in that: The method includes: S1: Determine the type of power data, the power data type includes text data containing power information and instruction data containing control commands for power equipment, and when the power data type is the text data, execute step S2, and when the power data type is the instruction data, execute step S4; S2: Processing the text data based on a segmentation formula to obtain text data for transmission; S3: transmitting the transmission text data, and after the text transmission is completed, restoring the transmission text data to text data based on the segmentation formula; S4: Processing the instruction data based on an encryption formula to obtain instruction data for transmission; S5: Transmit the transmission instruction data. After the instruction transmission is completed, decrypt the transmission instruction data into instruction data based on the encryption command.
2. The collaborative power data secure transmission method according to claim 1, characterized in that: The segmentation formula is specifically: Among them, D all is the total size of text data, D channel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
3. The collaborative power data secure transmission method according to claim 2, characterized in that: Step S2 specifically includes: S201: Get D all and D channel And calculate P; S202: Segment and sort the text data based on P to obtain n; S203: Calculate N; S204: reorganizing the text data based on the size of N to obtain the transmission text data; S205: Transmit the transmission text data based on the size of N.
4. The collaborative power data secure transmission method according to claim 3, characterized in that: Step S3 specifically includes: S301: When the transmission text data reaches a designated location, it is defined as when the text transmission is completed; S302: Obtain α; S303: Process N using the segmentation formula to obtain n; S304: reorganize the transmission text data based on the size of n to restore the text data.
5. The collaborative power data secure transmission method according to claim 1, characterized in that: The instruction data includes the address data of the control object and the time of control, and the address data corresponds to the time of control; The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located; The control time is specifically 6 bits of data, the first and second bits of the control time are combined to represent the value of the hour, the third and fourth bits of the control time are combined to represent the value of the minute, and the fifth and sixth bits of the control time are combined to represent the value of the second; The encryption formula is specifically: Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located; i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
6. The collaborative power data secure transmission method according to claim 5, characterized in that: Step S4 specifically includes: S401: Acquire and parse the instruction data to obtain the address location and the control time; S402: Processing the address position and the control time based on the encryption formula; S403: Obtain the transmission instruction data.
7. The collaborative power data secure transmission method according to claim 6, characterized in that: Step S5 specifically includes: S501: The transmission instruction data is transmitted to any region position, and β1 is obtained. 1,2 Decryption is performed to determine whether the transmission instruction data is applied to the region. If yes, β2 is obtained and step S502 is executed. Otherwise, the region generates an instruction error signal and then uploads it and repeats step S501 in any region other than the region until the judgment result of S501 is yes. S502: Transmit the transmission instruction data to any cell in the region, and obtain β2. 3,4 Decryption is performed to determine whether the transmission instruction data is applied to the cell. If yes, β3 is obtained and step S503 is executed. Otherwise, the cell generates an instruction error signal and then uploads it and repeats step S502 in any cell other than the cell in the large area until the judgment result of S502 is yes. S503: Decrypting based on β3 to obtain a device number, and defining the time when the device number is obtained as the completion of the instruction transmission; S504: After the instruction transmission is completed, the time at which the x-decryption is performed to obtain the control is obtained, and the instruction data is transmitted to the corresponding device at this time.
8. A collaborative power data secure transmission system, the system being applicable to the collaborative power data secure transmission method according to any one of claims 1 to 7, characterized in that: The system includes: An electric power data type determination module, wherein the electric power data type determination module is configured to: determine the electric power data type, wherein the electric power data type includes text data carrying electric power information and instruction data carrying control commands for electric power equipment, and when the electric power data type is the text data, the data is transmitted to the text data processing module, and when the electric power data type is the instruction data, the data is transmitted to the instruction data processing module; The text data processing module is configured to: process the text data based on a segmentation formula to obtain text data for transmission; Transmitting the transmission text data, and after the text transmission is completed, restoring the transmission text data to text data based on the segmentation formula; The instruction data processing module is configured to: process the instruction data based on an encryption formula to obtain instruction data for transmission; The transmission instruction data is transmitted, and after the instruction transmission is completed, the transmission instruction data is decrypted into instruction data based on the encryption command.
9. The collaborative power data secure transmission system according to claim 8, characterized in that: The text data processing module is also configured as follows: The preset segmentation formula is as follows: Among them, D all is the total size of text data, D channel is the data size that the channel for transmitting text data can bear, P means dividing the text data into P parts of text data for transmission based on the data size that the channel for transmitting text data can bear, n is the first label for directly sorting the P parts of text data for transmission after the segmentation is completed and is an integer, sin() means sinusoidal conversion of the variables in the parentheses, N is the second label corresponding to the adjusted P parts of text data for transmission, α is the second label adjustment parameter and is a random number.
10. The cooperative power data secure transmission system according to claim 8, characterized in that: The instruction data processing module is also configured as follows: The instruction data includes the address data of the control object and the time of control, and the address data corresponds to the time of control; The address data is specifically 6 bits of data, the first and second bits of the address data are combined to indicate the location of the large area where the control object is located, the third and fourth bits of the address data are combined to indicate the location of the small area in the large area where the control object is located, and the fifth and sixth bits of the address data are combined to indicate the device number in the small area where the control object is located; The control time is specifically 6 bits of data, the first and second bits of the control time are combined to represent the value of the hour, the third and fourth bits of the control time are combined to represent the value of the minute, and the fifth and sixth bits of the control time are combined to represent the value of the second; The preset encryption formula is as follows: Among them, β1, β2 and β3 are address data adjustment parameters and are random numbers, e 1,2 The first and second bits of the address data are combined to represent the value of the area where the control object is located. 1,2 The first and second bits of the adjusted address data are combined to represent the value of the area where the control object is located. 3,4 The third and fourth bits of the address data are combined to represent the value of the location of the control object in the large area. 3,4 The third and fourth bits of the adjusted address data are combined to represent the value of the location of the cell in the large area where the control object is located. 5,6 The fifth and sixth bits of the address data are combined to represent the value of the device number in the cell where the control object is located. 5,6 The fifth and sixth bits of the adjusted address data are combined to represent the numerical value of the device number in the community where the control object is located; Where i is the data position number at the time of control, f i is the value of the data position at the time of control numbered i, χ is the adjustment parameter at the time of control, F i It is the value at the data position at the time of control performed with number i after adjustment.
Citation Information
Patent Citations
Monitoring data transmission system for digital power operation monitoring
CN117335843A
