Data transmission control method and system for power system

By expanding data bits and identifying priority of power system data and selecting appropriate communication modes, the problem of data transmission priority processing in power system is solved, the efficiency and reliability of data transmission are improved, and the stable operation of the smart grid is ensured.

CN119135724APending Publication Date: 2024-12-13CHINA SOUTHERN POWER GRID COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411466267.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The existing power system communication technology is difficult to effectively distinguish and prioritize the processing of control data and service data, especially in the event of power line failure, which leads to interruption or delay in data transmission, affecting the normal operation of the system.

Method used

By expanding the original data bits, marking the priority in advance, identifying the data priority according to the extended bits, selecting power line communication or wireless communication mode for data transmission, ensuring reliable transmission of high-priority data.

Benefits of technology

It improves the efficiency and reliability of the power system data transmission, ensures that control data can still be transmitted in a timely and reliably manner when power lines fail, and meets the efficient communication needs of the smart grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135724A_ABST
    Figure CN119135724A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission control method and system for a power system, and the method comprises the steps: obtaining target data to be transmitted, the target data being generated by carrying out data bit extension on original data and then packaging the data; identifying the priority of the target data according to the extended data bit of the target data; according to the priority of the target data, determining a transmission mode of the target data, the transmission mode including a first transmission mode based on power line communication and a second transmission mode based on wireless communication; and performing data transmission of the target data according to the transmission mode of the target data. The data transmission efficiency and reliability of the power system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power system communication technology, and in particular to a data transmission control method and system for a power system. Background Art

[0002] With the development of smart grids, communication technology in power systems has become increasingly important. Smart grids require not only efficient power transmission, but also real-time monitoring and control of the status of power facilities to ensure the safe and stable operation of the power grid. In this context, communication technology in power systems must not only be able to support the transmission of large amounts of data, but also be able to distinguish the importance of different data and select the most appropriate transmission method based on the characteristics of different data. In power systems, control data (such as emergency shutdown instructions, grid status updates, etc.) usually require a higher transmission priority than business data (such as daily monitoring data). This is because control data is directly related to the operation and safety of the system and requires very reliable transmission. Current communication systems may not be able to distinguish these two types of data faster and more accurately and give them appropriate priority processing. As an important part of the power system, power lines may fail due to natural factors (such as lightning strikes, storms, etc.), human factors (such as construction damage, equipment aging, etc.) or technical failures. Once a power line fails, it may cause data transmission interruption or delay, which in turn affects the normal operation of the power system. In this case, it becomes more important to ensure that control data can be transmitted in a timely and reliable manner. In order to ensure that control data can be transmitted in a timely and reliable manner, a mechanism is needed to guarantee the priority and reliability of its transmission even in the event of a power line failure.

[0003] Traditional power communication technologies usually include high-speed power line carrier communication (HPLC) and high-speed wireless communication (HRF). Among them, high-speed power line carrier communication is a technology that uses low-voltage power lines for high-speed data transmission. It has high speed, real-time performance, strong anti-interference ability and good interconnection performance, and can meet the information collection needs of households and other electrical equipment. However, due to the widespread application of power electronic equipment and inverters, the electromagnetic environment of the power grid has become increasingly complex, which has brought severe challenges to power line carrier communication, manifested in the reduction of fault reporting success rate, shortened single-hop communication distance, and the appearance of "island / isolated point" phenomenon in the network. The traditional PLC communication mode faces significant pressure in terms of coverage, communication reliability and deployment cost, and cannot fully meet the latest intelligent requirements. High-speed wireless communication is a technology that can realize remote information transmission without physical connection. Due to its low energy consumption and flexible network building capabilities, it has gradually become a key means of regional network construction. Compared with traditional PLC, HRF can avoid various noise interferences on power lines, solve problems such as island / isolated point problems, low success rate of power outage reporting, and limited single-hop communication distance, thus becoming a powerful supplement to PLC. Nevertheless, HRF is still easily affected by the external environment, especially in complex environments such as densely populated buildings or underground parking lots, where serious signal attenuation and insufficient signal coverage may occur.

[0004] Traditional power communication technology often relies on only one communication method, such as power line carrier communication or wireless communication. However, with the increase in the amount of data in the power system and the improvement in the requirements for communication quality, single-mode communication technology can no longer meet the needs. Therefore, dual-mode communication technology came into being. Dual-mode communication combines the advantages of high-speed power line carrier communication (HPLC) and high-speed wireless communication (HRF), realizes the complementarity of the two technologies, and provides dual options for power line transmission and wireless transmission. This communication method improves the reliability of data transmission and ensures communication efficiency and stability through dual-channel concurrency. Dual-mode communication goes beyond the single HPLC or HRF communication mode. Its characteristics include automatic dual-mode switching, stable communication links, high speeds, and strong anti-interference capabilities. Summary of the invention

[0005] In response to the above technical problems, the present application provides a data transmission control method and system for an electric power system to improve the efficiency and reliability of data transmission in the electric power system.

[0006] In a first aspect, an embodiment of the present application provides a data transmission control method for a power system, comprising:

[0007] Acquire target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data;

[0008] identifying the priority of the target data according to the extended data bits of the target data;

[0009] Determining a transmission mode of the target data according to the priority of the target data, the transmission mode comprising a first transmission mode based on power line communication and a second transmission mode based on wireless communication;

[0010] The data transmission of the target data is performed according to the transmission mode of the target data.

[0011] The embodiment of the present application provides a data transmission control method for a power system, which expands the data bit of the original data and marks the priority of the data in advance, so that when the target data is transmitted, the priority of the target data can be identified according to the data extension bit, and then the transmission mode of the target data can be determined. In the scenario of large-scale data transmission, the power system can effectively distinguish the importance of data according to the priority of the data, reasonably allocate transmission resources, give priority to the transmission of high-priority data, and improve the efficiency of data transmission in the power system.

[0012] In a possible implementation, performing data bit expansion on the original data and then encapsulating the original data to generate the target data includes:

[0013] Get unpacked raw data;

[0014] Determining the number of data bit extensions of the original data according to a preset data priority type;

[0015] Determining the priority of the original data according to the data content of the original data and a preset data priority type;

[0016] According to the data bit extension number, a number of data bits are added before the data content of the original data, and the value of each of the newly added data bits is set according to the priority of the original data to obtain the extended data;

[0017] The expanded data is encapsulated to obtain the target data.

[0018] The embodiment of the present application provides a method for data bit expansion of original data. In a communication system, especially between the network layer and the physical layer, data usually needs to be encapsulated for transmission. Before data encapsulation, the data control unit needs to classify the data by priority, and then encapsulate it. For example, when the data bit expansion number is 1, the target data is classified by adding 1 data bit, and the data with high priority is set to "0", and the data with low priority is set to "1". When the physical layer is encapsulated later, the high priority data with the data bit of "0" and the low priority data with the data bit of "1" are encapsulated respectively. Such a design is not only easy to understand, but also does not destroy the data packet structure of the original communication protocol, which is convenient for developers and users to use and improves data processing efficiency. In addition, the involvement of the priority data bit also allows future expansion, and multi-layer priority expansion is performed to adapt to new data types and priority requirements, such as dividing the service data priority again, 01-high priority data, 10-medium priority service data, 11-low priority service data, etc. This expansion will not only not affect the operation of the existing system, but also can flexibly adjust the data transmission strategy according to the actual application scenario.

[0019] In a possible implementation manner, when the transmission mode of the target data is the first transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0020] Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data;

[0021] Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data;

[0022] If all of the power line carrier communication transmission lines are faulty and the signal strength indicators of all of the wireless communication transmission lines are less than the first preset threshold, data transmission is stopped and a fault report is performed.

[0023] Furthermore, when wireless communication is used to transmit the target data, a two-way handshake mechanism is used to confirm the data transmission on the wireless communication transmission line used to transmit the target data.

[0024] The embodiment of the present application provides a data transmission method based on the first transmission mode. In the embodiment of the present application, the first transmission mode is used to transmit important data such as emergency shutdown instructions, power grid status updates, etc., and such data is usually small in size, so it is necessary to give priority to ensuring the stable transmission of such data. In the first transmission mode, power line communication is used preferentially for data transmission. This is because within the power system, the power line itself is part of the infrastructure, and the use of power line communication can provide a more reliable and stable transmission effect. When the power line fails and cannot be restored in a short time, a backup plan is needed to ensure the timely transmission of control data. At this time, it is determined whether there is a wireless communication transmission line with a signal strength index greater than or equal to the first preset threshold value in each transmission line. If there is a wireless communication transmission line that meets the above conditions, it is considered that the transmission quality of the wireless communication transmission line is good enough, and the wireless communication transmission line can be switched to for data transmission, which ensures the reliability of data transmission in the power system. Further, after switching to wireless communication, a two-way handshake mechanism is needed to confirm again whether the wireless communication transmission line is reliable, which helps to ensure the accurate transmission of data.

[0025] In a possible implementation manner, when the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0026] The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered.

[0027] If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported;

[0028] The first preset condition is that: among the transmission lines, there is a wireless communication transmission line whose signal strength index is greater than or equal to a second preset threshold;

[0029] The second preset condition is that there is a power line carrier communication transmission line among the transmission lines whose signal strength index is greater than or equal to a third preset threshold.

[0030] The embodiment of the present application provides a data transmission method based on the second transmission mode. In the embodiment of the present application, the second transmission mode is used to transmit massive business data, such as daily monitoring data. Compared with control data, business data has a lower priority, so the second transmission mode is mainly wireless communication to achieve efficient transmission of massive data, but in some cases power line communication is also used for data transmission. The embodiment of the present application maximizes the use of available resources through a multi-stage selection process. By gradually reducing the requirements for wireless communication and power line communication, effective data transmission can be achieved in a variety of situations. Even under poor communication conditions, try to find feasible communication paths to complete data transmission. This mechanism can improve the reliability of data transmission as much as possible and ensure the normal operation of the power system to a certain extent.

[0031] In one possible implementation, the data transmission control method further includes calculating a signal strength index of each transmission line, specifically: calculating an RSSI value of each transmission line according to a real-time power value of each transmission line as a signal strength index of each transmission line.

[0032] Furthermore, the RSSI value of each transmission line is calculated according to the transmission power of each transmission line. The specific formula is:

[0033]

[0034] Wherein, x is the RSSI value of a transmission line, dbm is the unit: decibel milliwatt, and p is the transmission power of a transmission line at a preset time.

[0035] In an embodiment of the present application, the signal strength of each transmission line is represented by an RSSI value. Received Signal Strength Indicator (RSSI) is an important indicator for measuring the quality of a wireless communication link, which reflects the strength of the received wireless signal. RSSI can help determine factors that affect the communication link, such as the transmission distance, path loss, and multipath effect of the signal. In wireless communication systems, RSSI is often used to evaluate link quality and select the best transmission path because it has the characteristics of simple implementation and small amount of calculation. The embodiment of the present application uses RSSI values ​​to represent the signal strength of each transmission line, which improves the accuracy of transmission line selection under different transmission modes, thereby improving the efficiency and reliability of data transmission in the power system.

[0036] In a possible implementation, each transmission line uses a dynamic allocation mechanism to perform data transmission, and preferentially performs data transmission on data using a first transmission mode, including:

[0037] When any first transmission line is transmitting first data using a first transmission mode, if the first transmission line newly receives second data using a second transmission mode, the second data is temporarily buffered and transmitted after the first data transmission is completed;

[0038] When the first transmission line is transmitting second data using the second transmission mode, if the first transmission line is newly connected to first data using the first transmission mode, the data transmission of the second data is suspended, and the second data is transmitted after the first data transmission is completed.

[0039] The embodiment of the present application provides a method for data transmission using a dynamic allocation mechanism. Through the dynamic allocation mechanism, the system can prioritize high-priority data and ensure that critical information can be transmitted in a timely manner. The mechanism allows the system to respond quickly to emergencies and reduce delays. By intelligently switching modes, it can maximize the use of existing resources and ensure the transmission efficiency of important data.

[0040] In a second aspect, accordingly, the present application provides a data transmission control system for an electric power system, comprising an acquisition module, an identification module, a transmission mode determination module, and a data transmission module;

[0041] The acquisition module is used to acquire target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data;

[0042] The identification module is used to identify the priority of the target data according to the extended data bits of the target data;

[0043] The transmission mode determination module is used to determine the transmission mode of the target data according to the priority of the target data, and the transmission mode includes a first transmission mode and a second transmission mode;

[0044] The data transmission module is used for performing data transmission of the target data according to the transmission mode of the target data.

[0045] In a possible implementation, the data transmission control system further includes a packaging module, which is used to perform data bit expansion on the original data and then package it to generate the target data, including an acquisition unit, a data bit expansion quantity determination unit, a priority determination unit, a data bit expansion unit and a packaging unit;

[0046] Wherein, the acquisition unit is used to acquire unpackaged original data;

[0047] The data bit extension quantity determination unit is used to determine the data bit extension quantity of the original data according to a preset data priority type;

[0048] The priority determination unit is used to determine the priority of the original data according to the data content of the original data and the preset data priority type;

[0049] The data bit expansion unit is used to add a number of data bits before the data content of the original data according to the data bit expansion quantity, and set the value of each newly added data bit according to the priority of the original data to obtain the expanded data;

[0050] The encapsulation unit is used to encapsulate the expanded data to obtain the target data. In a possible implementation, when the transmission mode of the target data is the first transmission mode, the data transmission of the target data according to the transmission mode of the target data includes:

[0051] Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data;

[0052] Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data;

[0053] If all of the power line carrier communication transmission lines are faulty and the signal strength index of each of the wireless communication transmission lines is less than the first preset threshold, data transmission is stopped and a fault report is performed;

[0054] When the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0055] The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered.

[0056] If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported;

[0057] The first preset condition is that: among the transmission lines, there is a wireless communication transmission line whose signal strength index is greater than or equal to a second preset threshold;

[0058] The second preset condition is that there is a power line carrier communication transmission line among the transmission lines whose signal strength index is greater than or equal to a third preset threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 : A flow chart of a data transmission control method for a power system provided in an embodiment of the present application.

[0060] Figure 2 : A schematic diagram of a control system structure for implementing a data transmission control method for an electric power system provided in an embodiment of the present application.

[0061] Figure 3 : A logical flow chart of a first data transmission mode in a data transmission control method for an electric power system provided in an embodiment of the present application.

[0062] Figure 4 : A schematic diagram of a secondary handshake process in a data transmission control method for an electric power system provided in an embodiment of the present application.

[0063] Figure 5 : A logical flow chart of a second data transmission mode in a data transmission control method for an electric power system provided in an embodiment of the present application.

[0064] Figure 6 : A flow chart of a data transmission control method for a power system combined with a dynamic allocation mechanism provided in an embodiment of the present application.

[0065] Figure 7 : A structural diagram of a data transmission control system for an electric power system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. 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 this application.

[0067] It should be noted that the step numbers in the text are only for the convenience of explanation of the specific embodiments and do not serve to limit the order in which the steps are executed. In the description of this application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0068] Embodiment 1:

[0069] like Figure 1 As shown, embodiment 1 provides a data transmission control method for a power system, including steps S1-S4:

[0070] Step S1, obtaining target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data;

[0071] Step S2, identifying the priority of the target data according to the extended data bits of the target data;

[0072] Step S3, determining a transmission mode of the target data according to the priority of the target data, wherein the transmission mode includes a first transmission mode based on power line communication and a second transmission mode based on wireless communication;

[0073] Step S4: Transmit the target data according to the transmission mode of the target data.

[0074] The embodiment of the present application provides a data transmission control method for a power system, which expands the data bit of the original data and marks the priority of the data in advance, so that when the target data is transmitted, the priority of the target data can be identified according to the data extension bit, and then the transmission mode of the target data can be determined. In the scenario of large-scale data transmission, the power system can effectively distinguish the importance of data according to the priority of the data, reasonably allocate transmission resources, give priority to the transmission of high-priority data, and improve the efficiency of data transmission in the power system.

[0075] In a possible implementation, in step S1, performing data bit expansion on the original data and then encapsulating and generating the target data includes:

[0076] Get unpacked raw data;

[0077] Determining the number of data bit extensions of the original data according to a preset data priority type;

[0078] Determining the priority of the original data according to the data content of the original data and a preset data priority type;

[0079] According to the data bit extension number, a number of data bits are added before the data content of the original data, and the value of each of the newly added data bits is set according to the priority of the original data to obtain the extended data;

[0080] The expanded data is encapsulated to obtain the target data.

[0081] The embodiment of the present application provides a method for data bit expansion of original data. In a communication system, especially between the network layer and the physical layer, data usually needs to be encapsulated for transmission. Before data encapsulation, the data control unit needs to classify the data by priority, and then encapsulate it. For example, when the data bit expansion number is 1, the data control unit increases the data bit by 1 bit to classify the data, and the data with high priority is set to "0" and the data with low priority is set to "1". When the physical layer is encapsulated later, the high priority data with the data bit of "0" and the low priority data with the data bit of "1" are encapsulated respectively. Such a design is not only easy to understand, but also does not destroy the data packet structure of the original communication protocol, which is convenient for developers and users to use and improves data processing efficiency. In addition, the involvement of the priority data bit also allows future expansion, and multi-layer priority expansion is performed to adapt to new data types and priority requirements, such as dividing the service data priority again, 01-high priority data, 10-medium priority service data, 11-low priority service data, etc. This expansion will not only not affect the operation of the existing system, but also can flexibly adjust the data transmission strategy according to the actual application scenario.

[0082] In a preferred embodiment, Figure 2 As shown, in step S2, a data logic classification module is used to identify the priority of the target data. In step S3, a mode allocation module is used to allocate the transmission mode of the target data. The function of the data logic classification module is to perform preliminary identification and classification of all data packets entering the system. It can identify the priority of the target data by extending the data bit. Next, the mode allocation module allocates a transmission mode for each data packet based on the information provided by the data logic classification module. The priority is set to ensure that key information such as control data can be processed in a timely manner, and its transmission priority can be guaranteed even in the case of network congestion or power line failure. For example, high-priority control data will preferentially select mode 1 for transmission; while low-priority business data will select mode 2 for transmission to achieve the best transmission effect. The module will select a suitable transmission mode for the data packet. Such a design can ensure that key data is transmitted in a timely manner, and different data types and priorities correspond to different transmission strategies, which helps to optimize the use of network resources and improve the efficiency of the overall system.

[0083] In a possible implementation, in step S4, when the transmission mode of the target data is the first transmission mode, transmitting the target data according to the transmission mode of the target data includes:

[0084] Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data;

[0085] Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data;

[0086] If all of the power line carrier communication transmission lines are faulty and the signal strength indicators of all of the wireless communication transmission lines are less than the first preset threshold, data transmission is stopped and a fault report is performed.

[0087] Furthermore, when wireless communication is used to transmit the target data, a two-way handshake mechanism is used to confirm the data transmission on the wireless communication transmission line used to transmit the target data.

[0088] The embodiment of the present application provides a data transmission method based on the first transmission mode. In the embodiment of the present application, the first transmission mode is used to transmit important data such as emergency shutdown instructions, power grid status updates, etc., and such data is usually small in size, so it is necessary to give priority to ensuring the stable transmission of such data. In the first transmission mode, power line communication is used preferentially for data transmission. This is because within the power system, the power line itself is part of the infrastructure, and the use of power line communication can provide a more reliable and stable transmission effect. When the power line fails and cannot be restored in a short time, a backup plan is needed to ensure the timely transmission of control data. At this time, it is determined whether there is a wireless communication transmission line with a signal strength index greater than or equal to the first preset threshold value in each transmission line. If there is a wireless communication transmission line that meets the above conditions, it is considered that the transmission quality of the wireless communication transmission line is good enough, and the wireless communication transmission line can be switched to for data transmission, which ensures the reliability of data transmission in the power system. Further, after switching to wireless communication, a two-way handshake mechanism is needed to confirm again whether the wireless communication transmission line is reliable, which helps to ensure the accurate transmission of data.

[0089] In a preferred embodiment, control data (such as emergency shutdown instructions, power grid status updates, etc.) usually requires a higher transmission priority than business data (such as daily monitoring data) and control data is often directly related to the operation and safety of the system, so the first data transmission mode is used to transmit control data. The logical flow diagram of the first data transmission mode is as follows Figure 3As shown, the data in the first data transmission mode is sent by high-speed power line carrier communication by default. When the power line fails and cannot be restored in a short time, if the RSSI value of the wireless channel is greater than or equal to x (x is generally -70dBm), the wireless channel quality is considered to be good enough and can be switched to high-speed wireless communication for data transmission. However, after switching to wireless communication, a two-way handshake mechanism is required to confirm whether the data is reliable to determine whether to execute the control data transmitted by wireless communication. This helps to ensure the accurate transmission of data. If the quality of the wireless channel is average or poor (RSSI is less than x), stop the transmission and report the fault. Fault reporting may include operations such as notifying the maintenance team to ensure that the problem can be discovered and resolved in a timely manner. When the power line fails, mode one has higher requirements for the quality of the wireless channel, that is, the RSSI value must meet certain standards to start wireless communication. Such a design ensures the transmission reliability of control data in the power system, especially in the case of power line failure, by using wireless communication as a backup solution to ensure the stable operation of the system.

[0090] In addition, the two-way handshake mechanism ensures that the control data is received correctly and both parties confirm the validity of the data. The two-way handshake process diagram is as follows Figure 4 As shown. After the control data is encapsulated, the sender sends a data packet with control data, in which the data bit is set to 0. After the receiver receives the data packet, it parses the data bit, confirms it as control data, and checks whether the data packet is correct. If there is no error in the data packet, the receiver will send a positive confirmation (ACK) to the sender; if the data packet is incorrect, it will send a negative confirmation (NACK). It confirms that the receiver has received the data packet and informs the sender of the status of the data packet (correct or incorrect). If the sender receives NACK or does not receive any confirmation within a certain period of time (timeout), it is assumed that the data packet is lost or damaged, and the sender will resend the same data packet. If the sender receives ACK, it believes that the data has been successfully received and continues to send the next data packet. Finally, after receiving the confirmation message, the receiver performs the corresponding control action.

[0091] Furthermore, the two-way handshake mechanism is combined with HARQ technology. During the initial transmission, the sender not only sends the original data, but also sends additional redundant information (i.e., error correction code). This redundant information allows the receiver to try to recover the original data even if the received data is partially erroneous. Moreover, in HARQ, the receiver will not discard the erroneous data packet received for the first time, but save it. When the retransmitted data packet arrives, the receiver will soft combine the first received data with the retransmitted data, that is, use all the information received twice to try to decode the original data. This method improves the probability of successful decoding and reduces the number of unnecessary retransmissions. In some HARQ implementations, the retransmitted data packet may only contain additional redundant information instead of the entire data packet. The receiver uses the previously received data and the new redundant information to decode together, which is called incremental redundancy. In this way, the amount of data that needs to be transmitted is reduced, and the number of retransmissions is further reduced. In this way, the integrity and accuracy of the data are ensured through the two-way handshake process. If the receiver finds that the data packet error cannot be corrected by FEC, it will send a NACK to the sender to request retransmission. The sender knows which data packets need to be retransmitted based on the NACK signal, so as to perform targeted data retransmission.

[0092] HARQ technology is a hybrid automatic repeat request technology that combines forward error correction (FEC) and automatic repeat request (ARQ) to improve the reliability and efficiency of data transmission. Among them, the forward error correction (FEC) is: the data will be encoded before sending, and additional redundant information will be added. Even if part of the data is lost or damaged, the receiving end can restore the original data based on the redundant information. The automatic repeat request (ARQ) is: if the receiving party detects a data error, it can use a feedback mechanism to notify the sender to retransmit. If the sender does not receive the correct confirmation message, it can also actively retransmit the data.

[0093] The embodiment of the present application uses a combination of a two-way handshake mechanism and HARQ technology to ensure reliable transmission of control data, reduce the number of retransmissions, and improve transmission efficiency. This mechanism is very suitable for application scenarios that require high reliability and low latency.

[0094] In a possible implementation manner, in step S4, when the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0095] The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered.

[0096] If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported;

[0097] The first preset condition is that: among the transmission lines, there is a wireless communication transmission line whose signal strength index is greater than or equal to a second preset threshold;

[0098] The second preset condition is that there is a power line carrier communication transmission line among the transmission lines whose signal strength index is greater than or equal to a third preset threshold.

[0099] The embodiment of the present application provides a data transmission method based on the second transmission mode. In the embodiment of the present application, the second transmission mode is used to transmit massive business data, such as daily monitoring data. Compared with control data, business data has a lower priority, so the second transmission mode is mainly wireless communication to achieve efficient transmission of massive data, but in some cases power line communication is also used for data transmission. The embodiment of the present application maximizes the use of available resources through a multi-stage selection process. By gradually reducing the requirements for wireless communication and power line communication, effective data transmission can be achieved in a variety of situations. Even under poor communication conditions, try to find feasible communication paths to complete data transmission. This mechanism can improve the reliability of data transmission as much as possible and ensure the normal operation of the power system to a certain extent.

[0100] In one possible implementation, the data transmission control method further includes calculating a signal strength index of each transmission line, specifically: calculating an RSSI value of each transmission line according to a real-time power value of each transmission line as a signal strength index of each transmission line.

[0101] Furthermore, the RSSI value of each transmission line is calculated according to the transmission power of each transmission line. The specific formula is:

[0102]

[0103] Wherein, x is the RSSI value of a transmission line, dbm is the unit: decibel milliwatt, and p is the transmission power of a transmission line at a preset time.

[0104] For example, when the transmit power P is 1mw, the corresponding RSSI value is 0dBm. When the transmit power P is 40W, the RSSI value converted in dBm units should be:

[0105] 10lg(40W / 1mw)=10lg(40000)=10lg4+10lg10+10lg1000=46dBm.

[0106] Checking the average value of RSSI is an important means of judging interference. The RSSI value under no-load is generally around -110dBm. When there is business, the RSSI average value generally does not exceed -95dBm. If the RSSI value is found to be significantly increased, then there must be reverse link interference. If the RSSI average value is greater than or equal to -70dBm, the channel quality is considered to be good enough. The RSSI value decays with the increase of distance and is usually negative. The closer the value is to zero, the higher the signal strength. In terms of signal demodulation, when the RSSI is continuously too low, it means that the uplink signal received by the base station is too weak, which may cause demodulation failure. If the RSSI is continuously too high, it means that the received uplink signal is too strong, and the mutual interference is too large, which also affects signal demodulation.

[0107] In an embodiment of the present application, the signal strength of each transmission line is represented by an RSSI value. Received Signal Strength Indicator (RSSI) is an important indicator for measuring the quality of a wireless communication link, which reflects the strength of the received wireless signal. RSSI can help determine factors that affect the communication link, such as the transmission distance, path loss, and multipath effect of the signal. In wireless communication systems, RSSI is often used to evaluate link quality and select the best transmission path because it has the characteristics of simple implementation and small amount of calculation. The embodiment of the present application uses RSSI values ​​to represent the signal strength of each transmission line, which improves the accuracy of transmission line selection under different transmission modes, thereby improving the efficiency and reliability of data transmission in the power system.

[0108] In a preferred embodiment, since the priority of service data is lower than that of control data, the second data transmission mode is adopted for service data transmission. The logic flow diagram of the second data transmission mode is shown in FIG. Figure 5 As shown in Figure 1, high-speed wireless communication is the main method, but power line communication is also used in some cases. This mode evaluates and selects the best communication method in three stages to ensure that data transmission can be completed as much as possible even under poor communication conditions.

[0109] In the first stage, if the RSSI value of wireless communication is greater than or equal to -80dBm, wireless communication is selected to send data. Otherwise, if the RSSI value of power line communication is greater than or equal to 15dBm, power line communication is selected to send data. If none of the above conditions are met, the second stage is entered.

[0110] In the second stage, if the RSSI value of wireless communication is greater than or equal to -85dBm, wireless communication is selected to send data. Otherwise, if the RSSI value of power line communication is greater than or equal to 10dBm, power line communication is selected to send data. If none of the above conditions are met, the third stage is entered.

[0111] In the third stage, if the RSSI value of wireless communication is greater than or equal to -95dBm, wireless communication is selected to send data. If the RSSI value of wireless communication is less than -95dBm, transmission is stopped and a fault report is performed.

[0112] The second data transmission mode maximizes the use of available resources through a multi-stage selection process. By gradually reducing the requirements for wireless communication and power line communication, effective data transmission can be achieved in many situations. Even under poor communication conditions, feasible communication paths are tried to complete data transmission. This mechanism can improve the reliability of data transmission as much as possible and ensure the normal operation of the power system to a certain extent.

[0113] In a possible implementation, each transmission line uses a dynamic allocation mechanism to perform data transmission, and preferentially performs data transmission on data using a first transmission mode, including:

[0114] When any first transmission line is transmitting first data using a first transmission mode, if the first transmission line newly receives second data using a second transmission mode, the second data is temporarily buffered and transmitted after the first data transmission is completed;

[0115] When the first transmission line is transmitting second data using the second transmission mode, if the first transmission line is newly connected to first data using the first transmission mode, the data transmission of the second data is suspended, and the second data is transmitted after the first data transmission is completed.

[0116] The embodiment of the present application provides a method for data transmission using a dynamic allocation mechanism. Through the dynamic allocation mechanism, the system can prioritize high-priority data and ensure that critical information can be transmitted in a timely manner. The mechanism allows the system to respond quickly to emergencies and reduce delays. By intelligently switching modes, it can maximize the use of existing resources and ensure the transmission efficiency of important data.

[0117] In a preferred embodiment, the flow chart of the data transmission control method combined with the dynamic allocation mechanism is as follows: Figure 6 As shown, since the first data transmission mode and the second data transmission mode can exist simultaneously in the system, the first data transmission mode and the second data transmission mode may use the same channel transmission at the same time, so the embodiment of the present application introduces a dynamic allocation mechanism, through the mode switching controller to continuously monitor the data flow state and priority, when high priority data is detected, the resource allocation mechanism is immediately triggered after resource analysis, and the resources are allocated from the second data transmission mode to the first data transmission mode to ensure the timely transmission of key data. During the allocation process, the controller will ensure that the resources are preferentially allocated to the first data transmission mode to support the timely transmission of high priority data. For example, a power line communication resource is using the second data transmission mode (applicable to business data) for data transmission. When high priority control data is detected, the system will switch the power line communication resource from the second data transmission mode to the first data transmission mode, and suspend the current business data transmission at the same time, and give priority to the control data. After the control data transmission is completed, the system resources automatically return to the previous mode and continue to process the business data. If business data is detected in the first data transmission mode, and the first data transmission mode temporarily occupies the resources of the second data transmission mode, the system will temporarily cache these business data until the current control data transmission is completed, and then process these business data. This is also in line with the principle of giving priority to high priority data.

[0118] Embodiment 2:

[0119] like Figure 7 As shown, accordingly, embodiment 2 provides a data transmission control system for a power system, including an acquisition module 10, an identification module 20, a transmission mode determination module 30 and a data transmission module 40;

[0120] The acquisition module 10 is used to acquire target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data;

[0121] The identification module 20 is used to identify the priority of the target data according to the extended data bits of the target data;

[0122] The transmission mode determination module 30 is used to determine the transmission mode of the target data according to the priority of the target data, and the transmission mode includes a first transmission mode and a second transmission mode;

[0123] The data transmission module 40 is used for performing data transmission of the target data according to the transmission mode of the target data.

[0124] In a possible implementation, the data transmission control system further includes a packaging module, which is used to perform data bit expansion on the original data and then package it to generate the target data, including an acquisition unit, a data bit expansion quantity determination unit, a priority determination unit, a data bit expansion unit and a packaging unit;

[0125] Wherein, the acquisition unit is used to acquire unpackaged original data;

[0126] The data bit extension quantity determination unit is used to determine the data bit extension quantity of the original data according to a preset data priority type;

[0127] The priority determination unit is used to determine the priority of the original data according to the data content of the original data and the preset data priority type;

[0128] The data bit expansion unit is used to add a number of data bits before the data content of the original data according to the data bit expansion quantity, and set the value of each newly added data bit according to the priority of the original data to obtain the expanded data;

[0129] The encapsulation unit is used to encapsulate the expanded data to obtain the target data.

[0130] In a possible implementation manner, when the transmission mode of the target data is the first transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0131] Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data;

[0132] Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data;

[0133] If all of the power line carrier communication transmission lines are faulty and the signal strength index of each of the wireless communication transmission lines is less than the first preset threshold, data transmission is stopped and a fault report is performed;

[0134] When the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes:

[0135] The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered.

[0136] If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported;

[0137] The first preset condition is that: among the transmission lines, there is a wireless communication transmission line whose signal strength index is greater than or equal to a second preset threshold;

[0138] The second preset condition is that there is a power line carrier communication transmission line among the transmission lines whose signal strength index is greater than or equal to a third preset threshold.

[0139] The embodiment of the present application provides a data transmission control system for an electric power system, which expands the data bit of the original data and marks the priority of the data in advance, so that when the target data is transmitted, the priority of the target data can be identified according to the data extension bit, and then the transmission mode of the target data can be determined. In the scenario of large-scale data transmission, the electric power system can effectively distinguish the importance of the data according to the priority of the data, reasonably allocate transmission resources, give priority to the transmission of high-priority data, and improve the efficiency of data transmission in the electric power system.

[0140] The more detailed working principle and step flow of this embodiment can refer to, but are not limited to, the relevant records of Embodiment 1.

[0141] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A data transmission control method for a power system, characterized in that: include: Acquire target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data; identifying the priority of the target data according to the extended data bits of the target data; Determining a transmission mode of the target data according to the priority of the target data, the transmission mode comprising a first transmission mode based on power line communication and a second transmission mode based on wireless communication; The data transmission of the target data is performed according to the transmission mode of the target data.

2. A data transmission control method for a power system according to claim 1, characterized in that: The step of performing data bit expansion on the original data and then encapsulating the original data to generate the target data comprises: Get unpacked raw data; Determining the number of data bit extensions of the original data according to a preset data priority type; Determining the priority of the original data according to the data content of the original data and a preset data priority type; According to the data bit extension number, a number of data bits are added before the data content of the original data, and the value of each of the newly added data bits is set according to the priority of the original data to obtain the extended data; The expanded data is encapsulated to obtain the target data.

3. A data transmission control method for a power system according to claim 1, characterized in that: When the transmission mode of the target data is the first transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes: Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data; Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data; If all of the power line carrier communication transmission lines are faulty and the signal strength indicators of all of the wireless communication transmission lines are less than the first preset threshold, data transmission is stopped and a fault report is performed.

4. A data transmission control method for a power system as claimed in claim 3, characterized in that: When wireless communication is used to transmit the target data, a two-way handshake mechanism is used to confirm the data transmission on the wireless communication transmission line used to transmit the target data.

5. A data transmission control method for a power system according to claim 1, characterized in that: When the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes: The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered. If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported; The first preset condition is that: among the transmission lines, there is a wireless communication transmission line whose signal strength index is greater than or equal to a second preset threshold; The second preset condition is that there is a power line carrier communication transmission line among the transmission lines whose signal strength index is greater than or equal to a third preset threshold.

6. A data transmission control method for a power system according to any one of claims 3 to 5, characterized in that: The data transmission control method further includes calculating a signal strength index of each transmission line, specifically: calculating an RSSI value of each transmission line according to a real-time power value of each transmission line as a signal strength index of each transmission line.

7. A data transmission control method for a power system according to any one of claims 1 to 5, characterized in that: Each transmission line uses a dynamic allocation mechanism to transmit data, giving priority to data using the first transmission mode, including: When any first transmission line is transmitting first data using a first transmission mode, if the first transmission line newly receives second data using a second transmission mode, the second data is temporarily buffered and transmitted after the first data transmission is completed; When the first transmission line is transmitting second data using the second transmission mode, if the first transmission line is newly connected to first data using the first transmission mode, the data transmission of the second data is suspended, and the second data is transmitted after the first data transmission is completed.

8. A data transmission control system for an electric power system, characterized in that: It includes an acquisition module, an identification module, a transmission mode determination module and a data transmission module; The acquisition module is used to acquire target data to be transmitted, wherein the target data is generated by encapsulating and expanding the original data; The identification module is used to identify the priority of the target data according to the extended data bits of the target data; The transmission mode determination module is used to determine the transmission mode of the target data according to the priority of the target data, and the transmission mode includes a first transmission mode and a second transmission mode; The data transmission module is used for performing data transmission of the target data according to the transmission mode of the target data.

9. A data transmission control system for a power system as claimed in claim 8, characterized in that: The data transmission control system further includes a packaging module, which is used to perform data bit expansion on the original data and then encapsulate it to generate the target data, including an acquisition unit, a data bit expansion quantity determination unit, a priority determination unit, a data bit expansion unit and a packaging unit; Wherein, the acquisition unit is used to acquire unpackaged original data; The data bit extension quantity determination unit is used to determine the data bit extension quantity of the original data according to a preset data priority type; The priority determination unit is used to determine the priority of the original data according to the data content of the original data and the preset data priority type; The data bit expansion unit is used to add a number of data bits before the data content of the original data according to the data bit expansion quantity, and set the value of each newly added data bit according to the priority of the original data to obtain the expanded data; The encapsulation unit is used to encapsulate the expanded data to obtain the target data.

10. A data transmission control system for a power system as claimed in claim 8, characterized in that: When the transmission mode of the target data is the first transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes: Determine whether there is a normally operating power line carrier communication transmission line among the transmission lines, and if so, use the power line communication method to transmit the target data; Otherwise, determining whether there is a wireless communication transmission line among the transmission lines whose signal strength index is greater than or equal to the first preset threshold value, and if so, using wireless communication to transmit the target data; If all of the power line carrier communication transmission lines are faulty and the signal strength index of each of the wireless communication transmission lines is less than the first preset threshold, data transmission is stopped and a fault report is performed; When the transmission mode of the target data is the second transmission mode, transmitting the data of the target data according to the transmission mode of the target data includes: The signal strength index of each transmission line is subjected to conditional judgment in several stages, wherein in one of the stages, it is first determined whether there is a wireless communication transmission line among the transmission lines that satisfies a first preset condition. If the first preset condition is satisfied, it is determined to use wireless communication to transmit data. If the first preset condition is not satisfied, it is determined whether there is a power line carrier communication transmission line among the transmission lines that satisfies a second preset condition. If the second preset condition is satisfied, power line communication is used to transmit data. If the second preset condition is not satisfied, the next stage of conditional judgment is entered. If the conditional judgment results of all stages are negative, data transmission is stopped and the fault is reported; Among them, the first preset condition is: there is a wireless communication transmission line among each transmission line whose signal strength index is greater than or equal to the second preset threshold; the second preset condition is: there is a power line carrier communication transmission line among each transmission line whose signal strength index is greater than or equal to the third preset threshold.