Detailed Description
The communication method provided by the embodiment of the application can be applied to terminal equipment, and the terminal equipment can be computing equipment with a wireless communication function, or other processing equipment connected to a wireless modem, or intelligent equipment containing a wireless module. The terminal equipment can be in wireless signal connection or physical serial port connection with the FTU terminal and the power distribution network master station, and the specific type of the terminal equipment is not limited in the embodiment of the application.
Referring to fig. 1, fig. 1 shows a flowchart of an implementation of a communication method provided in an embodiment of the present application, which is detailed as follows:
s101, acquiring monitoring data acquired by an automatic feeder terminal FTU of the power distribution network.
In application, the monitoring data provides the FTU terminal with operation data of the operation condition of the power distribution system, which includes various parameters for monitoring and controlling the power distribution system, such as parameters including a switch state, an electric energy parameter, a phase-to-phase fault, a ground fault, and a fault, and is not limited thereto. When the communication terminal acquires the monitoring data acquired by the FTU terminal, the monitoring data may be monitoring data only including an electric energy parameter, monitoring data only including a power distribution system fault, or monitoring data including multiple parameters at the same time, which is not limited to this.
In application, the terminal device may be a communication terminal having a communication function, and the communication terminal may be an independent terminal including a communication module and a data processing function, and may be connected to the FTU terminal 1 through a physical interface to implement transmission and acquisition of data with the FTU terminal, specifically referring to fig. 2, the communication terminal includes a data processing module 2 and a communication module. The communication module includes a big dipper Satellite Radio Determination Service (RDSS) antenna 3 and a mobile communication antenna 4. The mobile antenna 4 may communicate based on General Packet Radio Service (GPRS), and the communication mode may include 2G, 3G, 4G, 5G, and the like.
S102, monitoring the signal strength of a communication link communicated with a power distribution network main station, wherein the communication link at least comprises a Beidou satellite radio positioning system RDSS link and a mobile communication link.
In application, referring to fig. 2, the communication link of the distribution network main station is a communication link formed between the data processing module 2 and the communication module, and includes a bucket satellite radio positioning system RDSS link formed by the data processing module 2 and the beidou RDSS antenna 1, and a mobile communication link formed by the data module 2 and the GPRS/4G antenna 4.
In application, the communication terminal receives a signal sent by the base station through a Beidou RDSS antenna of the RDSS link, and a signal detection circuit or a detection device with the signal detection circuit is arranged in the communication terminal, for example, a data processing module with the signal detection circuit is included. Referring to fig. 3 and 4, fig. 3 is a design example of the inside of the beidou RDSS antenna, when the beidou RDSS antenna 3 receives RDSS signals, the beidou RDSS antenna 3 receives signals containing field intensity data from the beidou RDSS satellite system in the S frequency band, then inputs the signals into the transceiver isolator 35, distinguishes the transmitted signals from the received signals, and sequentially performs primary filtering processing by the second filter 36, filters the influence of interference signals, then performs power amplification by the LAN amplifier 37, returns signals with unmatched impedance, further performs filtering processing by the third filter 38, then transmits the received signals to the signal processing Unit 5, performs spread spectrum pseudo code correlation processing, signal demodulation, useful signal extraction and the like of the beidou RDSS signals, and transmits the processed beidou RDSS signals to the MicroController (MicroController Unit, MCU) main control unit 7, which is used for carrying out data analysis processing by MCU main control unit 7 and calculating the signal intensity of the signal. For example, the base station may transmit a signal at a certain power value, and write the power value into a field of the signal, and the communication terminal may analyze the signal to obtain the power value of the signal transmitted by the base station, and may calculate the signal strength of the signal according to the power value and the energy of the wave, which is not limited thereto. The communication terminal further includes a power management unit 9 for providing power support to each unit, or alternatively, receiving power provided by the FTU terminal 1, and the power management unit 9 is used for realizing power distribution to each unit, which is not limited in this respect.
In application, the mobile communication link receives the mobile signal transmitted by the base station through the GPRS/4G antenna, and the signal strength of the mobile communication link may also be the same as the method for acquiring the signal strength of the RDSS link, which is not described here.
S103, determining a target communication link according to the signal strength of the RDSS link and the mobile communication link.
In application, after the signal strengths corresponding to the two communication links are obtained, the optimal communication link can be determined by comparing the signal strengths. For example, if the signal strength of the RDSS link is stronger than that of the mobile communication link, the RDSS link is determined as the target communication link, otherwise, the mobile communication link is determined as the target communication link.
In application, the signal strength of the RDSS link and the signal strength of the mobile communication link can be obtained for multiple times, the average value of the signal strength of each communication link is compared for multiple times, the target communication link is determined, errors caused by comparison among the signal strengths of the communication links at one time are reduced, and the target communication link is determined to be more reliable through comparison among multiple times of data.
And S104, transmitting the monitoring data to a power distribution network master station through the target communication link.
In application, referring to fig. 3 and 4, when the communication terminal transmits monitoring data, the Beidou RDSS antenna 3 transmits the encapsulated Beidou RDSS data to the driving amplifier to improve the transmission power of signals and enable the signals to reach the input power required by the final-stage power amplifier, then the influence of interference signals is filtered by the first filter 32, the signals reaching the input power required by the final-stage power amplifier are transmitted to the PA power amplifier 33 to be further power amplified, and then the signals are transmitted to the power reverse isolator 34, so that the signals meeting the power requirements are transmitted to the Beidou satellite system in an L frequency band.
In specific application, taking receiving and processing of RDSS signals as an example, referring to fig. 3, 4, 5, and 6, the MCU main control unit 7 further includes an RDSS interface processing unit 6 therein, when transmitting monitoring data to a distribution network master station, the MCU main control unit 7 is a microprocessor STM32F103RF, and establishes physical connection with the FTU terminal 1 by using a UART1 serial port (main communication serial port) and a UART2 serial port (auxiliary communication serial port) of the microprocessor to obtain the monitoring data transmitted by the FTU terminal 1. And the RDSS interface processing unit 6 in the MCU main control unit 7 is responsible for extracting power data to be transmitted from the monitoring data according to a preset frame format parsing rule, and transmitting the power data to be transmitted to the RDSS signal processing unit 5 through a physical connection established between the UART3 serial port of the MCU main control unit 7 and the RDSS signal processing unit 5. And then the RDSS signal processing unit 5 performs signal modulation and spread spectrum pseudo code correlation processing on the power data to be transmitted. Specifically, the RDSS signal processing unit 5 mainly includes an analog signal processing chip DT-a6 and a digital signal processing chip TD1100A, and performs signal modulation and spread spectrum pseudo code correlation processing on power data to be transmitted. Referring to fig. 5 in particular, the left part inside the dashed line box is an analog signal processing circuit based on DT-a6, and the right part is a digital signal processing circuit based on TD1100A, wherein the connection relationship between the DT-a6 module and the TD1100A module is as shown in fig. 6: the connection between the DT-a6 module 51 and the TD1100A module 52 includes receive digital intermediate frequency interfaces D3-D0, a 50MHz synchronous clock, an SPI control interface, and a transmit data interface. The receiving digital intermediate frequency interface adopts a parallel interface form, the data format is signed data, wherein D3 represents a sign bit, and D2-D0 represent data bits. The DT-a6 module 51 processes the received signal through the interface by the ADC and then delivers the processed signal to the TD1100a42 for related signal processing; the transmitting data interface adopts a single-wire serial port form and transmits data bit serial data. The TD1100A module 52 processes the data sent through the interface by DAC, then sends the processed data to the DT-a6 module 51 for data modulation, and then sends the data to the transmission channel; the DT-A6 module 51 provides a reference 50MHz synchronous clock to the TD1100A module 52 to realize time synchronization during data interaction; the TD1100A module 52 and the DT-A6 module 51 are connected through an SPI interface, wherein the TD1100A module 52 serves as a master device of the SPI interface, and the DT-A6 module 51 serves as a slave device of the SPI interface; the TD1100A module 52 can monitor and control the state of the DT-A6 module 51 through the SPI interface; and then transmitting the modulated Beidou RDSS data to a Beidou RDSS antenna 3 for sending.
In other applications, referring to fig. 6, the mobile communication link takes the GPRS/4G antenna 4 as an example, and is configured to receive a 4G signal, and complete the resolution of the 4G signal through the GPRS/4G circuit unit 8, and a specific resolution process thereof is similar to the above-mentioned resolution process of the RDSS signal, and is not described in detail here.
In this embodiment, two communication links are formed by two different types of receiving antennas of the communication terminal to receive communication signals, an optimal communication link is selected as a target communication link according to signal strength corresponding to each communication link obtained by the communication signals, and monitoring data is transmitted to the power distribution network master station through the target communication link, so that when one of the communication links is abnormal or the signal strength of the communication link is poor, data transmission can be performed by using the other communication link, normal communication between the FTU terminal and the power distribution network master station is ensured, and data transmission between the FTU terminal and the power distribution network master station is more reliable.
Referring to fig. 7, in an embodiment, S102 includes:
s201, respectively acquiring the RDSS signal of the RDSS link and the mobile communication signal of the mobile communication link.
In application, the above-mentioned obtaining of the RDSS signal of the RDSS link and the mobile communication signal of the mobile communication link specifically refers to the description of the above-mentioned step S102, and this is not explained here.
S202, analyzing the RDSS signal to obtain RDSS identification information and RDSS data information of the RDSS signal, and determining the signal strength of the RDSS link according to the RDSS data information if the RDSS identification information is field strength type information.
In application, when the Beidou RDSS antenna receives and sends data, the transmitted power data to be sent all need to conform to a Beidou message frame format, namely the power data to be sent need to be packaged. For example, the message length of the beidou short message is different due to different communication levels of the beidou card, and the message length is not integral multiple of the length of the complete byte. For example, the Beidou telegraph text length of the Beidou civil three-level card is 628bit, and the converted number of bytes is 78.5 bytes; in order to improve the data loading capacity of the Beidou short message, format coding needs to be performed on the data. Specifically, the Beidou short message length is modulo 8 (bit number representing one byte), and the remainder is M (M is 1-7); the first (8+ M) bits of the coded data are used as a frame information area of the Beidou short message frame structure, and the remaining bits are used as a frame data area of the Beidou short message frame structure. That is, the RDSS signal is transmitted in an RDSS frame format including a first information area storing RDSS identification information and a data area storing RDSS data information. The RDSS frame format may specifically be as follows in table 1 format:
in application, if the RDSS link is used as a target communication link for transmitting monitoring data, the communication signal acquired through the RDSS link may be a communication signal containing power data or a communication signal containing field strength type information. Therefore, it is necessary to analyze the first information area in the RDSS signal to obtain the RDSS identification information of the RDSS signal for determination. In an application, the RDSS identification information, i.e., the information in the table 1, is obtained by analyzing the information in the first information area, and is used to indicate the data type of the RDSS data information, i.e., the data loaded in 77 bytes in the data area of the table 1. The RDSS identification information may be a number or a character, and may be, for example, a number such as 0, 1. The data type of the RDSS data information may be a power data type or a satellite field strength detection data type, for example, 0 represents the power data type, and 1 represents the satellite field strength detection data type (i.e., field strength type information), which is not limited herein. When the RDSS identification information is analyzed to be 1, the RDSS identification information is judged to be field intensity type information, and then the data information obtained by continuously analyzing the RDSS data area is used as the signal intensity of the corresponding RDSS link. When the RDSS signal is analyzed, a frame protocol of the Beidou RDSS signal is adopted for analysis.
S203, analyzing the mobile communication signal to obtain mobile communication identification information and mobile communication data information of the mobile communication signal, and if the mobile communication identification information is field intensity information, determining the signal intensity of the mobile communication link according to the mobile communication data information.
In application, the mobile communication signal is analyzed to obtain the mobile communication identification information and the signal strength of the mobile communication link, which are consistent with the RDSS identification information and the RDSS data information obtained by analyzing the RDSS signal, and this will not be described in detail.
In this embodiment, after the communication signals acquired by each link are acquired and analyzed, and the field strength category information is determined according to the identification information of the communication signals of each link, the data information in each communication signal is used as the signal strength, so that when the communication terminal performs signal strength comparison, the communication signals of other categories are not used as the field strength category signals for comparison, which results in inaccurate signal strength comparison.
In an embodiment, after S203, the method further includes:
and if the RDSS identification information is not field intensity type information, transmitting RDSS data information corresponding to the RDSS identification information to the FTU terminal, and continuously monitoring the signal intensity of the RDSS link.
In application, when it is determined that the RDSS identification information is not field strength type information, it represents that RDSS data information corresponding to the RDSS identification information is power data, and the power data needs to be transmitted to the FTU terminal, so as to prevent communication between the FTU terminal and the power distribution network master station from being affected. And then, the Beidou RDSS antenna needs to monitor the signal intensity of the RDSS link again until the communication signal representing the field intensity type information is obtained.
And if the mobile communication identification information is not field intensity type information, transmitting mobile communication data information corresponding to the mobile communication identification information to the FTU terminal, and continuously monitoring the signal intensity of the mobile communication link.
In the application, the processing step of determining that the mobile communication identification information is not field strength type information is the same as the processing step of determining that the RDSS identification information is not field strength type information, and the detailed description thereof is omitted. It should be noted that the frame format of the mobile communication is not consistent with the frame format of the beidou RDSS, and therefore, when the mobile communication signal is analyzed, a frame protocol of the mobile communication signal needs to be adopted for analysis.
In this embodiment, when it is determined that the RDSS identification information and the mobile communication identification information are not field strength type information, the communication information that is not field strength type is sent to the FTU terminal, so as to prevent the communication between the FTU terminal and the power distribution network master station from being affected, and the communication information that is not field strength type is continuously obtained until the received and analyzed corresponding identification information is the type information.
In one embodiment, S103 includes:
comparing the signal strengths of the RDSS link and the mobile communication link.
And if the signal strength of the RDSS link is stronger than that of the mobile communication link, determining the RDSS link as the target communication link, otherwise, determining the mobile communication link as the target communication link.
In application, the signal strength of the RDSS link is compared with the signal strength of the mobile communication link, and the target communication link with the high signal strength is determined. And after the target communication link is determined, closing the other communication link, and performing monitoring data transmission by adopting the target communication link. For example, referring to fig. 4, after determining that the target communication link is an RDSS link, the MCU master control unit may generate an instruction to close a mobile communication (GPRS/4G) link and send the instruction to the power management unit, causing the power management unit to disconnect the supply of power to the mobile communication link.
In application, because the coverage area of a mobile network is wide in the current practical situation, the distribution network master station and the FTU terminal can basically perform effective communication between data, the mobile communication link is a main communication link in the communication terminal, the RDSS link is a standby communication link in the communication terminal, and when the signal strengths of the two communication links are equal, the mobile communication link is still used as a target communication link. However, in remote areas covered by mobile networks or areas without mobile networks, the signal strength of mobile communication links is affected by the terrain and topography, and the signal strength is low, so that effective data communication cannot be performed between the FTU terminal and the power distribution network master station. Therefore, for these few regions, the RDSS communication link can be used as the target communication link, and the RDSS communication link is a satellite wireless communication channel, so that the FTU terminal and the distribution network master station can effectively communicate without being influenced by the terrain and the topography.
In this embodiment, the optimal target communication link is determined by comparing the signal strengths of the RDSS link and the mobile communication link, so that data transmission and interaction can be stably performed between the FTU terminal and the distribution network master station, and the distribution network master station can effectively monitor parameters of the distribution network system according to information of the data interaction.
In one embodiment, S104 includes:
and packaging the monitoring data into target data meeting the transmission requirement of the target communication link.
In application, the frame format of the monitoring data received by the communication terminal from the FTU terminal is the protocol format of the transmission data between the FTU terminal and the communication terminal, and the frame format cannot be analyzed by using the Beidou RDSS frame format protocol or the GPRS/4G communication protocol. Therefore, monitoring data transmitted by the FTU terminal needs to be encapsulated, and when it is determined that the target communication link is an RDSS link, the monitoring data is encapsulated into target data in an RDSS format, for example, if the monitoring data is operation data of an operation condition of a power distribution system, that is, power data or distribution fault parameter data, when the monitoring data is the power data, byte information in a first information area in an RDSS frame format is set to 0, and then other bytes are encoded according to data information of the monitoring data, for example, a frame number of a current frame, the number of frames, and the like, until the target data meeting the transmission requirements of the RDSS communication link is encapsulated.
And transmitting the encapsulated target data to a power distribution network master station through the target communication link.
In application, the target communication link is an RDSS communication link, the transmission process is as described in the step S104, and will not be described in detail here, and accordingly, the process of transmitting the target data by the mobile communication link is also consistent with the RDSS communication link process.
In this embodiment, the monitoring data from the FTU terminal is encapsulated to meet the transmission requirement of the target communication link, so that the target data transmitted from the communication terminal to the distribution network master station can be successfully analyzed by the distribution network master station, and effective transmission of data between the distribution network master station and the FTU terminal is realized.
In an embodiment, the target communication link is the RDSS link, and the encapsulating the monitoring data into target data meeting the transmission requirement of the target communication link includes:
and extracting power data to be sent from the monitoring data according to a preset frame format analysis rule.
In application, when data interaction is performed between the FTU terminal and the communication terminal, the frame formats of the message frames used for transmitting data are different according to the data types of the data to be transmitted. Therefore, it is necessary to extract the power data to be transmitted from the monitoring data according to a preset frame format analysis rule. Illustratively, when a frame of monitoring data is received, a frame header byte area of the message frame may be analyzed in advance to obtain identification information in the frame header byte area, and a data type of the power data, such as current data and voltage data, is determined according to the identification information, so as to select a corresponding frame format analysis rule to analyze information in the remaining byte areas of the message frame. For a frame of monitoring data, if the monitoring data includes current data, voltage data, power data, and the like, an identification information may be set to indicate that the monitoring data includes current data, voltage data, and power data, and the preset frame format parsing rule may be that the data sequentially parsed are defined as current data, voltage data, power data, and the like, so that the communication terminal may recognize and extract corresponding power data to be transmitted, which is not limited herein.
In an application, for a power data type, such as a current data type, extracted power data to be transmitted may be defaulted to be current data, and a frame format parsing rule corresponding to the current data type is that data obtained by parsing every two bytes is one current data, and if the power data type is voltage data, a frame format parsing rule corresponding to the power data type may be that data obtained by parsing every three bytes is one voltage data, which is not limited at this time. In this case, if there are a plurality of power data in the FTU frame format, the preset analysis rule may be to distinguish the power data type corresponding to each power data according to the sequence of analyzing the power data and the byte area of each analyzed power data. For example, when analyzing byte information in the FTU data area one by one, it may be considered that power data obtained by analyzing the first 10 bytes is current data, power data obtained by analyzing the middle 10 bytes is voltage data, and so on, and power data to be transmitted is extracted from the monitoring data. This is merely an example of the frame format parsing rule, and the frame format parsing rule may also be set according to other practical situations, which is not limited.
In other applications, the abnormal information parameter to be sent may also be extracted from the monitoring data, where the abnormal information parameter may be divided into parameters of phase-to-phase fault, ground fault, and the parameters are not limited thereto. When the FTU terminal transmits monitoring data to the communication terminal, the frame format of the transmission may be an FTU frame format, which includes an FTU information area and an FTU data area, where the FTU information area is an area for identifying the category of the monitoring data, information obtained by analyzing the area is FTU identification information, the FTU data area is an area containing power data (or abnormal parameter information), and information obtained by analyzing the area is power data to be transmitted (or abnormal information parameter to be transmitted).
And packaging the power data to be sent into target data meeting the transmission requirement of the target communication link.
In application, when the target communication link is an RDSS link, data transmission between the communication terminal and the beidou satellite radio system is carried out by adopting an RDSS frame format, so that if monitoring data are directly sent through the RDSS communication link, the FTU terminal cannot directly analyze the monitoring data to obtain power data to be sent due to the fact that an analysis protocol of the frame format of the FTU terminal is different from that of the RDSS frame format. The power data to be transmitted need to be encapsulated according to the RDSS frame format in table 1, so as to obtain target data meeting the RDSS link transmission requirement.
In this embodiment, the monitoring data is processed and transmitted through the communication terminal, the monitoring data in the FTU format is converted into target data in the RDSS frame format, and then the target data is transmitted to the distribution network master station terminal, so that the effectiveness of data interaction between the FTU terminal and the distribution network master station is realized.
In an embodiment, after S104, the method further includes:
and receiving the control data sent by the power distribution network master station through the target communication link.
And analyzing the control data according to the frame format analysis rule of the target communication link to obtain target control data.
In application, after the target communication link is determined, the control data is received through the target communication link. For example, if the target communication link is an RDSS link, the frame format parsing rule of the target communication link is the RDSS frame format parsing rule described in the above S202, the first information area in the RDSS frame format is parsed to obtain the data type of the control data, and the data area in the RDSS frame format is parsed to obtain the target control data, which is not described in detail herein.
And transmitting the target control data to the FTU terminal.
In application, when the target control data is obtained, the target control data needs to be encapsulated first, for example, according to a data type of the target control data, a corresponding frame format encapsulation rule is selected, the target control data is encapsulated, and the encapsulated target control data is transmitted to the FTU terminal. If the target control data analyzed by the communication terminal is directly transmitted, the FTU terminal does not directly analyze the frame format protocol of the target control data, and therefore, in order to enable the FTU terminal to receive the control data transmitted by the distribution network master station, frame format conversion between data needs to be performed through the communication terminal.
In this embodiment, FTU frame format conversion is performed on control data from the distribution network master station through the communication terminal, and frame format conversion corresponding to a target communication link is performed on monitoring data from the FTU terminal, so that effective transmission between the FTU terminal and the distribution network master station data is realized.
In other embodiments, S102 further comprises:
and monitoring the signal intensity of a communication link communicated with the power distribution network master station every a first preset time.
In application, the first preset time may be every 10 minutes or 20 minutes, the signal strength of the communication link is monitored, and then after the target communication link is determined, the target communication link is adopted to transmit the monitoring data to the power distribution network master station within the first preset time.
In other applications, the monitoring instruction issued by a worker can be received, and the signal intensity of a communication link communicated with the power distribution network master station is monitored according to the monitoring instruction. The monitoring instruction can be generated by directly operating the working personnel on an operation panel of the communication terminal, or the working personnel can send the monitoring instruction to the communication terminal through other communication terminals, and then the communication terminal monitors the signal intensity of a communication link communicated with the power distribution network master station according to the monitoring instruction, which is not limited. In the application, if in the first preset time, after monitoring the signal intensity of the communication link, a target communication link is determined, if in the first preset time, when a worker finds that monitoring data are sent through the target communication link, the power distribution main station does not receive the monitoring data, and the communication terminal does not receive control data from the power distribution main station, the worker can immediately issue or directly operate the communication terminal to generate a monitoring instruction remotely, and the target communication link is determined again, so that the data interaction between the FTU terminal and the power distribution main station is smoother. In other applications, after the target communication link is determined, the communication terminal can automatically generate a monitoring instruction for monitoring if the communication terminal does not receive the control data sent by the power distribution network master station within a second preset time before the next time of automatically monitoring the signal strength of the communication link communicated with the power distribution network master station. The second preset time is shorter than the first preset time, and if the first preset time is 10 minutes, the second preset time may be 1 minute, or may be other time lengths, which is not limited herein. However, the purpose of setting the second preset time is that the worker cannot find the abnormality of data transmission between the communication terminal and the distribution network master station in time, so that reliable data interaction cannot be performed between the distribution network master station and the FTU terminal.
In other embodiments, after S102, the method further includes:
in a third preset time, not obtaining the signal strength of the mobile communication signal through the mobile communication link; or, within a third preset time, the signal strength of the mobile communication signal acquired through the mobile communication link is lower than the first threshold; it is determined that the mobile communication link is down and the RDSS link is automatically selected as the target communication link.
In an application, the third preset time may be a time set by the communication terminal itself, or a time preset by the operator, and is not limited thereto. When the communication terminal needs to detect the signal strength of the communication link, the mobile communication link has not acquired the signal strength of the mobile communication signal or the acquired signal strength signal of the mobile communication signal has been too low within a third preset time, for example, within 10s, where the first threshold may be that the signal strength of the mobile communication signal is lower than a basic signal strength that needs to support data transmission and reception, and at this time, it is determined that the mobile communication link is faulty. The failure of the mobile communication link includes, but is not limited to, interference received by a transmitting/receiving antenna in the mobile communication link, or a failure.
In other applications, if the signal strength of the RDSS signal not obtained through the RDSS link within the third preset time is lower than the first threshold, it is determined that the RDSS link fails, and the mobile communication link is automatically selected as the target communication link. The decision rule is similar to the above steps and will not be described in detail.
As shown in fig. 8, the present embodiment also provides a communication terminal 100, including:
the acquisition module 10 is configured to acquire monitoring data acquired by an automatic feeder terminal FTU of a power distribution network.
And the monitoring module 20 is configured to monitor the signal strength of a communication link for communicating with the distribution network master station, where the communication link at least includes a beidou satellite radio positioning system RDSS link and a mobile communication link.
And a determining module 30, configured to determine a target communication link according to the signal strengths of the RDSS link and the mobile communication link.
And the first transmission module 40 is configured to transmit the monitoring data to the distribution network master station through the target communication link.
In one embodiment, the monitoring module 20 is further configured to:
respectively acquiring an RDSS signal of the RDSS link and a mobile communication signal of the mobile communication link;
analyzing the RDSS signal to obtain RDSS identification information and RDSS data information of the RDSS signal, and if the RDSS identification information is field intensity type information, determining the signal intensity of the RDSS link according to the RDSS data information;
and analyzing the mobile communication signal to obtain mobile communication identification information and mobile communication data information of the mobile communication signal, and if the mobile communication identification information is field intensity information, determining the signal intensity of the mobile communication link according to the mobile communication data information.
In one embodiment, the monitoring module 20 is further configured to:
if the RDSS identification information is not field intensity type information, transmitting RDSS data information corresponding to the RDSS identification information to the FTU terminal, and continuously monitoring the signal intensity of the RDSS link;
and if the mobile communication identification information is not field intensity type information, transmitting mobile communication data information corresponding to the mobile communication identification information to the FTU terminal, and continuously monitoring the signal intensity of the mobile communication link.
In one embodiment, the determination module 30 is further configured to:
comparing signal strengths of the RDSS link and the mobile communication link;
and if the signal strength of the RDSS link is stronger than that of the mobile communication link, determining the RDSS link as the target communication link, otherwise, determining the mobile communication link as the target communication link.
In one embodiment, the first transmission module 40 is further configured to:
packaging the monitoring data into target data meeting the transmission requirement of the target communication link;
and transmitting the encapsulated target data to a power distribution network master station through the target communication link.
In an embodiment, the target communication link is the RDSS link, and the first transmission module is further configured to:
extracting power data to be sent from the monitoring data according to a preset frame format analysis rule;
and packaging the power data to be sent into target data meeting the transmission requirement of the target communication link.
In one embodiment, the communication terminal 100 further includes:
and the receiving module is used for receiving the control data sent by the power distribution network master station through the target communication link.
And the analysis module is used for analyzing the control data according to the frame format analysis rule of the target communication link to obtain target control data.
And the second transmission module is used for transmitting the target control data to the FTU terminal.
In other embodiments, the monitoring module is further configured to:
and monitoring the signal intensity of a communication link communicated with the power distribution network master station every a first preset time.
In other embodiments, the communication terminal 100 is further configured to:
the judging module is used for not acquiring the signal strength of the mobile communication signal through the mobile communication link within a third preset time; or, within a third preset time, the signal strength of the mobile communication signal acquired through the mobile communication link is lower than the first threshold; and judging that the mobile communication link fails, and automatically selecting the RDSS link as a target communication link.
An embodiment of the present application further provides a terminal device, where the terminal device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments may be implemented.
The embodiments of the present application provide a computer program product, which when running on a terminal device, enables the terminal device to implement the steps in the above method embodiments when executed.
Fig. 9 is a schematic diagram of a terminal device 90 according to an embodiment of the present application. As shown in fig. 9, the terminal device 90 of this embodiment includes: a processor 903, a memory 901 and a computer program 902 stored in said memory 901 and executable on said processor 903. The processor 903 implements the steps in the above-described method embodiments, such as the steps S101 to S104 shown in fig. 1, when executing the computer program 902. Alternatively, the processor 903 realizes the functions of each module/unit in the above device embodiments when executing the computer program 902.
Illustratively, the computer program 902 may be divided into one or more modules/units, which are stored in the memory 901 and executed by the processor 903, to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 902 in the terminal device 90. For example, the computer program 902 may be divided into an acquisition module, a monitoring module, a determination module and a first transmission module, each module having the following specific functions:
and the acquisition module is used for acquiring monitoring data acquired by the FTU.
The monitoring module is used for monitoring the signal strength of a communication link communicated with a power distribution network main station, and the communication link at least comprises a Beidou satellite radio positioning system RDSS link and a mobile communication link.
And the determining module is used for determining a target communication link according to the signal strength of the RDSS link and the mobile communication link.
And the first transmission module is used for transmitting the monitoring data to the power distribution network master station through the target communication link.
The terminal device may include, but is not limited to, a processor 903, a memory 901. Those skilled in the art will appreciate that fig. 9 is merely an example of a terminal device 90 and does not constitute a limitation of the terminal device 90 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 903 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 901 may be an internal storage unit of the terminal device 90, such as a hard disk or a memory of the terminal device 90. The memory 901 may also be an external storage device of the terminal device 90, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 90. In one embodiment, the memory 901 may also include both internal storage units and external storage devices of the terminal device 90. The memory 901 is used for storing the computer program and other programs and data required by the terminal device. The memory 901 may also be used to temporarily store data that has been output or is to be output.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.